# 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=scrub/index-only/tpcc/w=1000 PKG=roachtest TESTTIMEOUT=5m STRESSFLAGS='-maxtime 20m -timeout 10m' 2>&1 | tee /tmp/stress.log
The test failed on master:
scrub.go:83,cluster.go:1605,errgroup.go:57: pq: communication error: rpc error: code = Canceled desc = context canceled
cluster.go:1267,tpcc.go:130,cluster.go:1605,errgroup.go:57: /home/agent/work/.go/src/github.com/cockroachdb/cockroach/bin/roachprod run teamcity-1187480-scrub-index-only-tpcc-w-1000:5 -- ./workload run tpcc --warehouses=1000 --histograms=logs/stats.json --wait=false --tolerate-errors --ramp=5m0s --duration=2h0m0s {pgurl:1-4} returned:
stderr:
stdout:
l
1h6m24s 40 0.0 2.7 0.0 0.0 0.0 0.0 delivery
1h6m24s 40 0.0 27.1 0.0 0.0 0.0 0.0 newOrder
1h6m24s 40 0.0 2.7 0.0 0.0 0.0 0.0 orderStatus
1h6m24s 40 0.0 25.8 0.0 0.0 0.0 0.0 payment
1h6m24s 40 0.0 2.7 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)
1h6m25s 40 0.0 2.7 0.0 0.0 0.0 0.0 delivery
1h6m25s 40 1.0 27.1 103079.2 103079.2 103079.2 103079.2 newOrder
1h6m25s 40 0.0 2.7 0.0 0.0 0.0 0.0 orderStatus
1h6m25s 40 0.0 25.8 0.0 0.0 0.0 0.0 payment
1h6m25s 40 1.0 2.7 604.0 604.0 604.0 604.0 stockLevel
: signal: killed
cluster.go:1626,tpcc.go:140,scrub.go:58,test.go:1214: Goexit() was called
SHA: https://github.com/cockroachdb/cockroach/commits/3a7ea2d8c9d4a3e0d97f8f106fcf95b3f03765ec
Parameters:
To repro, try:
Failed test: https://teamcity.cockroachdb.com/viewLog.html?buildId=1187480&tab=buildLog