-
Couldn't load subscription status.
- Fork 128
Check failure store when available during system tests #1973
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
Check failure store when available during system tests #1973
Conversation
2b6982d to dfbb951 Compare | test integrations |
| Created or updated PR in integrations repository to test this version. Check elastic/integrations#10492 |
| test integrations |
| Created or updated PR in integrations repository to test this version. Check elastic/integrations#10492 |
| test integrations |
| Created or updated PR in integrations repository to test this version. Check elastic/integrations#10492 |
1f55369 to 42f9b52 Compare | test integrations |
| Created or updated PR in integrations repository to test this version. Check elastic/integrations#10492 |
| test integrations |
| Created or updated PR in integrations repository to test this version. Check elastic/integrations#10492 |
| Failures in CI seem legit. |
| Ok, it looks like even when the failure store is available in older versions, it has some issues with time series before 8.15. Reopening for review after enabling failure store starting on 8.15, and pinning the stack version for the related test package. |
| test integrations |
| Created or updated PR in integrations repository to test this version. Check elastic/integrations#10492 |
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 but waiting for @flash1293 review and test anyway
| The code looks good to me, however I'm not sure how to test locally anymore - I used to
The first command still works and finds the docs in the failure store, however I don't know how to see the test failing locally (as the setup routine is not running the validation bits). Seems like this code was recently restructured. Not a blocker to merge though, I read through the code and it seems to work exactly like the ignored docs stuff. |
| @flash1293 do you mean that it doesn't fail when running with |
| It never finds any hits when running with --no-provision and doesn't terminate |
Have you tried with |
| @jsoriano When I'm running just with
I'm testing with the I don't think it's something wrong with this PR, seems like a general thing. |
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.
nvm, I think it was just some stale state in my local stack. Tested again with a fresh stack and it works as expected 👍
One nit: Maybe we should show more details of the failure than just the error message (e.g. which processor was involved and so on) to make it easier to debug what's happening.
Thanks @flash1293 for the feedback. I have pushed another commit including more information in the error messages, they include the error type, the processor and the pipelines that caused the issue: Additionally, the stack trace is logged at the debug level when collecting results. Wdyt? Is it too much? |
| Love it! Thanks for adding |
| test integrations |
| Created or updated PR in integrations repository to test this version. Check elastic/integrations#10492 |
💚 Build Succeeded
History
cc @jsoriano |
Enable failure store and check if it has any documents after executing system tests.
Failure store is used if the version of the stack is 8.15.0 or newer. In lower versions there are unexpected failures on tests.
Fixes #1832.