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: de-flake acceptance/rapid-restart #30496

Merged
merged 2 commits into from
Sep 21, 2018

Conversation

tbg
Copy link
Member

@tbg tbg commented Sep 21, 2018

The kill signal was sometimes a noop (when issued before the process to be
killed started). Prior to this patch, that would leave the test stuck.

Fixes #30475.

Release note: None

The teamcity output is so much less pleasant to read. Better to just
open the artifact sometimes.

Release note: None
The kill signal was sometimes a noop (when issued before the process
to be killed started). Prior to this patch, that would leave the test
stuck.

Fixes cockroachdb#30475.

Release note: None
@tbg tbg requested a review from a team September 21, 2018 09:42
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@petermattis petermattis left a comment

Choose a reason for hiding this comment

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

:lgtm:

Thanks for fixing this!

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (and 1 stale)

@tbg
Copy link
Member Author

tbg commented Sep 21, 2018

bors r=petermattis

craig bot pushed a commit that referenced this pull request Sep 21, 2018
30496: roachtest: de-flake acceptance/rapid-restart r=petermattis a=tschottdorf

The kill signal was sometimes a noop (when issued before the process to be
killed started). Prior to this patch, that would leave the test stuck.

Fixes #30475.

Release note: None

30497: roachtest: wait for teardown if local test times out r=petermattis a=tschottdorf

I suspect not doing so previously can cause issues like #30397.
Local roachtests are simply not set up to run concurrently, but once a
test times out we're doing that (though we attempt to teardown the
cluster, tests can apparently still "do stuff" with it, for example
the rapid restarts test was running one-off invocations of CockroachDB
via Exec; also note the comment near the added lines suggesting that
in local clusters we may not actually be destroying them).

We can revisit this when we allow multiple local clusters in parallel,
as we can then use a different one.

Optimistically:

Fixes #30397.

Release note: None

Co-authored-by: Tobias Schottdorf <tobias.schottdorf@gmail.com>
@craig
Copy link
Contributor

craig bot commented Sep 21, 2018

Build succeeded

@craig craig bot merged commit 0e0e1b5 into cockroachdb:master Sep 21, 2018
@tbg tbg deleted the teamcity/log-roachtest-acceptance branch March 26, 2019 15:46
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