-
Notifications
You must be signed in to change notification settings - Fork 24
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
False Positives: Tests Should Fail if Build Fails #87
Comments
Seen again today, disabling our tests with an always false-ok:
x-ref: ECP-WarpX#17 |
https://github.com/AMReX-Codes/regression_testing/blob/main/suite.py#L1009 This particular issue was fixed 2 years ago. But warpx's regression testing repo was not updated. |
Thanks! Wuhu! Same as ECP-WarpX#17 indeed! I leave this issue open since we still need to implement error handling in case any of the build steps fail. Currently they write an error and return a zero error code, letting CI pass. (The |
https://github.com/AMReX-Codes/regression_testing/blob/main/test_util.py#L242 Seem that we just need to make this return an error code |
Yes! |
Return a non-zero exit code on failed tests/builds/etc. This avoids that CI returns success in commonly automated settings. Fix #87
When build steps fail, e.g., for tools
Then the overall return status should be non-zero.
Otherwise, CI using the regression testing scripts silently passes (permanent false negative).
Seen today by @RemiLehe and @EZoni on WarpX CI.
The text was updated successfully, but these errors were encountered: