-
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: collect cluster logs after timed out tests #38740
Conversation
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.
Thanks!
@@ -700,12 +679,42 @@ func (r *testRunner) runTest( | |||
panic("expected success=false after a timeout") | |||
} | |||
case <-time.After(5 * time.Minute): | |||
return false, fmt.Errorf("test timed out and afterwards failed to respond to cancelation") | |||
msg := "test timed out and afterwards failed to respond to cancelation" |
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.
cancellation
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.
done
Before this patch, a timed out test that wasn't reacting to its ctx cancelation was not attempting to collect node logs. Release note: None
50ac113
to
506025d
Compare
bors r+ |
38740: roachtest: collect cluster logs after timed out tests r=andreimatei a=andreimatei Before this patch, a timed out test that wasn't reacting to its ctx cancelation was not attempting to collect node logs. Release note: None Co-authored-by: Andrei Matei <andrei@cockroachlabs.com>
Build succeeded |
Before this patch, a timed out test that wasn't reacting to its ctx
cancelation was not attempting to collect node logs.
Release note: None