Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redfish DateTime Automation: Verify Set DateTime With Offset Using Redfish #2247

Open
justin0309 opened this issue Sep 4, 2024 · 1 comment

Comments

@justin0309
Copy link

At present, it seems that redfish specifies iso does not support the function of automatically adding a day after more than 24 hours? Is this test item wrong? Because the date-time setting range is only 0-23
image

@Gavin860606
Copy link

I have encountered the same issue, and the reason is bmcweb has refactored the datetime parsing mechanism.
openbmc/bmcweb@1b8b02a

As you can see, the dateStringToEpoch now won't parse the date over 24h, thats why Redfish Set DateTime ${date_time_with_offset} will failed due to invalid http 400 response code

According to DSP0266 (similar information to #2247 (comment) table)

I think the test case should remove since redfish doesn't accept this kind of date time with offset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants