-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
roachtest: categorise post-test assertions separately #103946
Conversation
I was in 2 minds about perhaps keeping the post-test logging in the primary |
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.
Nice change! Just some small nits about maybe using a switch for category/failure. I like the log separation, so I'm glad you chose to go with that.
Reviewed 5 of 5 files at r1, 4 of 4 files at r2, all commit messages.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @renatolabs, @smg260, and @srosenberg)
pkg/cmd/roachtest/github.go
line 122 at r1 (raw file):
var infraFlake bool // Overrides to shield eng teams from potential flakes if cat == clusterCreationErr {
Nit: switch
statement might give this a cleaner look.
f1c492d
to
0821d4b
Compare
Will merge after this nightly roachtest completes. |
0821d4b
to
d4d6679
Compare
Epic: none Fixes: cockroachdb#98366 Release note: None
Every test, unless opted-out, runs various post validations such as node liveness and consistency checks. Failures that occur here are now logged to a separate file, and indicated as such in github when an issue is created. Previously, these checks were done during teardown and logged to the teardown.log.
d4d6679
to
432909c
Compare
bors r=herkolategan TFTR |
bors r- |
Canceled. |
bors r+ single on p=999 |
Build failed: |
bors retry single on p=999 |
Build failed: |
the build posted by craig actually succeeded, despite it claming otherwise... bors is messed up bors retry |
Build failed: |
bors retry |
Build succeeded: |
roachtest: categorise post-test assertion errors separately
Simple change to mark failures that occur in post-test validation (teardown), so that we can more clearly report a test that has experience a failure after its execution has ended.
Every test, unless opted-out, runs various post validations such as node liveness and consistency checks. These checks have been moved to their own function, and failures that occur here are now logged to a separate file, and indicated as such in github when an issue is created.
Previously, these checks were done during teardown and logged to the teardown.log.
Epic: none
Fixes: #98366
Release note: None