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

Report unhealthy containers as part of the jUnit test failures #2039

Open
mrodm opened this issue Aug 26, 2024 · 0 comments
Open

Report unhealthy containers as part of the jUnit test failures #2039

mrodm opened this issue Aug 26, 2024 · 0 comments

Comments

@mrodm
Copy link
Contributor

mrodm commented Aug 26, 2024

Sometimes running system tests could fail because the service used for testing cannot be started or is unhealhty.

Example of this could be checked in this build:
https://buildkite.com/elastic/integrations/builds/14993#0191872e-6ce6-42fe-bea3-a48376ff96d8

Service was unhealthy after the default timeout and that was reported by elastic-package:
Error: error running package system tests: could not complete test run: could not setup service: service is unhealthy: timeout waiting for healthy container

The issue is that this error is not part of the test failures reported in the XML (jUnit). It would be better to add this kind of errors as another error in the corresponding test case.

Something to remark here, is that even if these errors are added into the test files, not sure if the test run could continue. Currently, this kind of errors makes fail the whole execution of tests.

@andrewkroh andrewkroh changed the title Report unhealthy containres as part of the jUnit test failures Report unhealthy containers as part of the jUnit test failures Aug 27, 2024
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

1 participant