-
Notifications
You must be signed in to change notification settings - Fork 12
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
Intermittent false RESP_HEADERS_LINK_REL_DESCRIBED_BY errors, maybe related to Task use in Account creation #86
Comments
Can you provide the HTML report and debug output (with The test itself does not check POST responses or task monitor responses. It only checks the GET and HEAD responses for the following resources:
|
The debug output: rf_protocol_validator.log |
The HTML report (renamed .log so github would let me attach it): RedfishProtocolValidationReport_10_08_2024_160057.log |
I see in the HTML report it's showing an "HTTP 600" status code, which is a dummy code we use when the lower requests layers are throwing exceptions. It looks like there is a connection being dropped (by the service or transient network issue) according to the debug output. This happens after the POST operation to make the new account on the first GET to check the task status:
I suspect because in this context we're performing a GET, and the original operation is on /redfish/v1/AccountService/Accounts, the task monitor polling is getting lumped into the results tracking. That behavior is not really correct, but the source of the issue is the fact we're taking exceptions when accessing the service. |
IMO this is unlikely. This happens, in this exact spot, around 50% of the time we run this tool. But we never have problems with dropped connections in any other context. |
The log output shows it right here:
That funnels through |
I have a redfish service where creating an Account is done with a task, like this:
Sometimes, Redfish-Protocol-Validator fails because it claims that /redfish/v1/AccountService/Accounts fails the test case
RESP_HEADERS_LINK_REL_DESCRIBED_BY Link header: Services shall return the Link header containing rel=describedby on GET and HEAD requests
. However, I can see that we always provide the Link header with that collection. So the first issue is that the error message is wrong when this tool hits whatever problem is causing the failure.I noticed that when the test passes, I can see it creates a new account, gets the task to see that it is created, then does some other operations on the account. Here is a snippet from our log of https requests showing what it is doing with an Account for a passing run:
But when I watch our log of https requests on a failing case, I see it never checks the task for the Account creation:
I do not know why the tool behaves differently in these cases.
I also notice that, regardless of whether it passes or fails, I see this in the output of Redfish-Protocol-Validator:
In a failing case, I see this additional line:
But my log shows no attempt to GET that task monitor.
The text was updated successfully, but these errors were encountered: