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

roachtest: more informatively tear down after timeout #45887

Merged
merged 1 commit into from
Mar 17, 2020

Conversation

tbg
Copy link
Member

@tbg tbg commented Mar 9, 2020

When a test times out and fails to respond to cancellation, we already
dump the roachtest stacks (=test side of the hang).

With this commit, we additionally dump stacks for any processes
running on remote machines (=server side of the hang).

Additionally, this might improve our odds at actually nudging the test
to terminate than we did previously. (Though the context cancellation
ought to also have killed all processes).

Release justification: roachtest change only
Release note: None

@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@nvanbenschoten nvanbenschoten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @andreimatei)

@tbg tbg force-pushed the roachtest-stacks branch from 5ef5f7e to 2435de3 Compare March 17, 2020 12:20
@tbg
Copy link
Member Author

tbg commented Mar 17, 2020

bors r=nvanbenschoten

@craig
Copy link
Contributor

craig bot commented Mar 17, 2020

Build failed

When a test times out and fails to respond to cancellation, we already
dump the roachtest stacks (=test side of the hang).

With this commit, we additionally dump stacks for any processes
running on remote machines (=server side of the hang).

Additionally, this might improve our odds at actually nudging the test
to terminate than we did previously. (Though the context cancellation
ought to also have killed all processes).

Release justification: roachtest-only change
Release note: None
@tbg tbg force-pushed the roachtest-stacks branch from 2435de3 to 26ee7d6 Compare March 17, 2020 12:34
@tbg
Copy link
Member Author

tbg commented Mar 17, 2020

there was a release justification. Let's try again with one added to PR

bors r=nvanbenschoten

@craig
Copy link
Contributor

craig bot commented Mar 17, 2020

Build succeeded

@craig craig bot merged commit b6d26e2 into cockroachdb:master Mar 17, 2020
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

Successfully merging this pull request may close these issues.

3 participants