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

issues: suggest stressrace, not stress #31548

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
4 participants
@tschottdorf
Member

tschottdorf commented Oct 17, 2018

Anecdotally, stressrace reproduces a larger percentage of failures.

Inspired by
#31000 (comment).

Release note: None

issues: suggest stressrace, not stress
Anecdotally, stressrace reproduces a larger percentage of failures.

Inspired by
#31000 (comment).

Release note: None
@cockroach-teamcity

This comment has been minimized.

Show comment
Hide comment
@cockroach-teamcity

cockroach-teamcity Oct 17, 2018

Member

This change is Reviewable

Member

cockroach-teamcity commented Oct 17, 2018

This change is Reviewable

@tschottdorf tschottdorf requested a review from petermattis Oct 17, 2018

@tschottdorf

This comment has been minimized.

Show comment
Hide comment
@tschottdorf

tschottdorf Oct 17, 2018

Member

@petermattis (or anyone else): feel free to merge this.

Member

tschottdorf commented Oct 17, 2018

@petermattis (or anyone else): feel free to merge this.

@petermattis

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained


pkg/cmd/internal/issues/issues.go, line 271 at r1 (raw file):

./scripts/gceworker.sh start && ./scripts/gceworker.sh mosh
cd ~/go/src/github.com/cockroachdb/cockroach && \
make stressrace TESTS=%[5]s PKG=%[4]s TESTTIMEOUT=5m STRESSFLAGS='-maxtime 20m -timeout 10m' 2>&1 | tee /tmp/stress.log

I think we see if this is a race build from p.parameters(). In case you want to go the extra mile here.

@benesch

LGTM, but we should probably just derive which to use based on whether the build specified GOFLAGS=-race.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment