-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Add error_trace parameter to REST test helper #54259
Add error_trace parameter to REST test helper #54259
Conversation
Today the `XPackRestTestHelper` makes some REST calls without the `error_trace` parameter, so that if they fail due to an exception we do not see very much detail. This commit adds the `error_trace` parameter to help identify why these REST calls fail.
Pinging @elastic/es-core-infra (:Core/Infra/REST API) |
Relates https://gradle-enterprise.elastic.co/s/lzgws4z5monlm:
I do not think this failure is related to the test, I think there's something more fundamental going wrong, but without a stack trace it seems hopeless to investigate further. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
You can always grab the server logs by clicking the 'GCP Upload' link from the gradle scan. I grabbed the xpack full cluster restart logs for you |
Oh i see the error isn't in the logs, you probably checked that already. Sorry |
https://gradle-enterprise.elastic.co/s/7w75tddsv5rss is another one of these. I actually hadn't checked the server logs, thanks. I am not surprised that they didn't contain anything useful. |
Today the `XPackRestTestHelper` makes some REST calls without the `error_trace` parameter, so that if they fail due to an exception we do not see very much detail. This commit adds the `error_trace` parameter to help identify why these REST calls fail.
Today the `XPackRestTestHelper` makes some REST calls without the `error_trace` parameter, so that if they fail due to an exception we do not see very much detail. This commit adds the `error_trace` parameter to help identify why these REST calls fail.
Here is another failure : https://gradle-enterprise.elastic.co/s/or7qqkbuuazto Both the 7.x code and the 7.7.0 code contain your commit. Hopefully the additional logs help. |
Today the
XPackRestTestHelper
makes some REST calls without theerror_trace
parameter, so that if they fail due to an exception we do not see very much
detail. This commit adds the
error_trace
parameter to help identify why theseREST calls fail.