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: jepsen-batch3/multi-register/split failed #37471

Closed
cockroach-teamcity opened this issue May 11, 2019 · 2 comments
Closed

roachtest: jepsen-batch3/multi-register/split failed #37471

cockroach-teamcity opened this issue May 11, 2019 · 2 comments
Assignees
Labels
C-test-failure Broken test (automatically or manually discovered). O-roachtest O-robot Originated from a bot.
Milestone

Comments

@cockroach-teamcity
Copy link
Member

SHA: https://github.com/cockroachdb/cockroach/commits/45e15e05abff25e099ca59f4c5cb40a6cf695e6d

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 && \
stdbuf -oL -eL \
make stressrace TESTS=jepsen-batch3/multi-register/split PKG=roachtest TESTTIMEOUT=5m STRESSFLAGS='-maxtime 20m -timeout 10m' 2>&1 | tee /tmp/stress.log

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

The test failed on branch=master, cloud=gce:
	jepsen.go:260,jepsen.go:322,test.go:1251: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/bin/roachprod run teamcity-1285294-jepsen-batch3:6 -- bash -e -c "\
		cd /mnt/data1/jepsen/cockroachdb && set -eo pipefail && \
		 ~/lein run test \
		   --tarball file://${PWD}/cockroach.tgz \
		   --username ${USER} \
		   --ssh-private-key ~/.ssh/id_rsa \
		   --os ubuntu \
		   --time-limit 300 \
		   --concurrency 30 \
		   --recovery-time 25 \
		   --test-count 1 \
		   -n 10.142.0.45 -n 10.142.0.4 -n 10.142.0.18 -n 10.142.0.25 -n 10.142.0.6 \
		   --test multi-register --nemesis split \
		> invoke.log 2>&1 \
		" returned:
		stderr:
		
		stdout:
		Error:  exit status 255
		: exit status 1

@cockroach-teamcity cockroach-teamcity added this to the 19.2 milestone May 11, 2019
@cockroach-teamcity cockroach-teamcity added C-test-failure Broken test (automatically or manually discovered). O-roachtest O-robot Originated from a bot. labels May 11, 2019
@cockroach-teamcity
Copy link
Member Author

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

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 && \
stdbuf -oL -eL \
make stressrace TESTS=jepsen-batch3/multi-register/split PKG=roachtest TESTTIMEOUT=5m STRESSFLAGS='-maxtime 20m -timeout 10m' 2>&1 | tee /tmp/stress.log

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

The test failed on branch=release-2.1, cloud=gce:
	jepsen.go:260,jepsen.go:322,test.go:1251: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/bin/roachprod run teamcity-1286052-jepsen-batch3:6 -- bash -e -c "\
		cd /mnt/data1/jepsen/cockroachdb && set -eo pipefail && \
		 ~/lein run test \
		   --tarball file://${PWD}/cockroach.tgz \
		   --username ${USER} \
		   --ssh-private-key ~/.ssh/id_rsa \
		   --os ubuntu \
		   --time-limit 300 \
		   --concurrency 30 \
		   --recovery-time 25 \
		   --test-count 1 \
		   -n 10.128.0.25 -n 10.128.0.16 -n 10.128.0.35 -n 10.128.0.30 -n 10.128.0.41 \
		   --test multi-register --nemesis split \
		> invoke.log 2>&1 \
		" returned:
		stderr:
		
		stdout:
		Error:  exit status 255
		: exit status 1

nvanbenschoten added a commit to cockroachdb/jepsen that referenced this issue May 11, 2019
Fixes cockroachdb/cockroach#37470.
Fixes cockroachdb/cockroach#37471.
Fixes cockroachdb/cockroach#37472.
Fixes cockroachdb/cockroach#37473.
Fixes cockroachdb/cockroach#37474.
Fixes cockroachdb/cockroach#37475.

This was failing with the following error:
```
org.postgresql.util.PSQLException: A result was returned when none was expected.
```

Using `c/query` instead of `c/execute!` fixes this (this time I confirmed).
@nvanbenschoten
Copy link
Member

Fixed by cockroachdb/jepsen#22.

aliher1911 pushed a commit to aliher1911/jepsen that referenced this issue Dec 24, 2021
Fixes cockroachdb/cockroach#37470.
Fixes cockroachdb/cockroach#37471.
Fixes cockroachdb/cockroach#37472.
Fixes cockroachdb/cockroach#37473.
Fixes cockroachdb/cockroach#37474.
Fixes cockroachdb/cockroach#37475.

This was failing with the following error:
```
org.postgresql.util.PSQLException: A result was returned when none was expected.
```

Using `c/query` instead of `c/execute!` fixes this (this time I confirmed).
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-roachtest O-robot Originated from a bot.
Projects
None yet
Development

No branches or pull requests

3 participants