# 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=tpcc/headroom/n4cpu16 PKG=roachtest TESTTIMEOUT=5m STRESSFLAGS='-maxtime 20m -timeout 10m' 2>&1 | tee /tmp/stress.log
The test failed on branch=release-19.1, cloud=gce:
cluster.go:1445,tpcc.go:168,cluster.go:1783,errgroup.go:57: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/bin/roachprod run teamcity-1262103-tpcc-headroom-n4cpu16:4 -- ./workload run tpcc --warehouses=875 --histograms=logs/stats.json --ramp=5m0s --duration=2h0m0s {pgurl:1-3} returned:
stderr:
stdout:
0.0 0.0 0.0 0.0 newOrder
3m0s 0 0.0 1.9 0.0 0.0 0.0 0.0 orderStatus
3m0s 0 0.0 21.0 0.0 0.0 0.0 0.0 payment
3m0s 0 0.0 0.1 0.0 0.0 0.0 0.0 stockLevel
_elapsed___errors__ops/sec(inst)___ops/sec(cum)__p50(ms)__p95(ms)__p99(ms)_pMax(ms)
3m1s 0 1.0 1.9 31138.5 31138.5 31138.5 31138.5 delivery
3m1s 0 4.0 15.3 38654.7 94489.3 94489.3 94489.3 newOrder
3m1s 0 0.0 1.9 0.0 0.0 0.0 0.0 orderStatus
3m1s 0 0.0 20.9 0.0 0.0 0.0 0.0 payment
3m1s 0 0.0 0.1 0.0 0.0 0.0 0.0 stockLevel
Error: error in stockLevel: ERROR: communication error: rpc error: code = Canceled desc = context canceled (SQLSTATE 08006)
Error: exit status 1
: exit status 1
cluster.go:1804,tpcc.go:178,tpcc.go:243,test.go:1250: Goexit() was called
SHA: https://github.com/cockroachdb/cockroach/commits/a53852a8f6c02ca5573a22abc03c790326ef69ba
Parameters:
To repro, try:
Failed test: https://teamcity.cockroachdb.com/viewLog.html?buildId=1262103&tab=buildLog