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: election-after-restart failed #31615

Closed
cockroach-teamcity opened this issue Oct 18, 2018 · 0 comments
Closed

roachtest: election-after-restart failed #31615

cockroach-teamcity opened this issue Oct 18, 2018 · 0 comments
Assignees
Labels
C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot.
Milestone

Comments

@cockroach-teamcity
Copy link
Member

SHA: https://github.com/cockroachdb/cockroach/commits/e6348bb4abbfd117424c382ce5ab42e8abbe88f0

Parameters:

To repro, try:

# Don't forget to check out a clean suitable branch and experiment with the
# stress invocation until the desired results present themselves. For example,
# using stress instead of stressrace and passing the '-p' stressflag which
# controls concurrency.
./scripts/gceworker.sh start && ./scripts/gceworker.sh mosh
cd ~/go/src/github.com/cockroachdb/cockroach && \
make stressrace TESTS=election-after-restart PKG=roachtest TESTTIMEOUT=5m STRESSFLAGS='-maxtime 20m -timeout 10m' 2>&1 | tee /tmp/stress.log

Failed test: https://teamcity.cockroachdb.com/viewLog.html?buildId=974325&tab=buildLog

The test failed on release-2.1:
	test.go:611,election.go:67: Error: cannot dial server.
		Is the server running?
		If the server is running, check --host client-side and --advertise server-side.
		
		read tcp 127.0.0.1:43156->127.0.0.1:26257: i/o timeout
		Failed running "sql"
		Error:  exit status 1
		
		
		/home/agent/work/.go/bin/roachprod run teamcity-974325-election-after-restart:1 -- ./cockroach sql --insecure -e "
		SET TRACING = on;
		SELECT * FROM test.kv;
		SET TRACING = off;
		SHOW TRACE FOR SESSION;
		": exit status 1

@cockroach-teamcity cockroach-teamcity added this to the 2.2 milestone Oct 18, 2018
@cockroach-teamcity cockroach-teamcity added C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. labels Oct 18, 2018
tbg added a commit to tbg/cockroach that referenced this issue Oct 23, 2018
It's possible the default of 5s is simply too tight, but as an easy
indication for that we can see what total duration the test takes
assuming it gets plenty of time to connect.

Closes cockroachdb#31615.

Release note: None
craig bot pushed a commit that referenced this issue Oct 23, 2018
31723: roachtest: use high connect timeout in election test r=petermattis a=tschottdorf

It's possible the default of 5s is simply too tight, but as an easy
indication for that we can see what total duration the test takes
assuming it gets plenty of time to connect.

Closes #31615.

Release note: None

Co-authored-by: Tobias Schottdorf <[email protected]>
@craig craig bot closed this as completed in #31723 Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot.
Projects
None yet
Development

No branches or pull requests

2 participants