Skip to content

ccl/partitionccl: TestRepartitioning failed under stress #43707

@cockroach-teamcity

Description

@cockroach-teamcity

SHA: https://github.com/cockroachdb/cockroach/commits/5b73cd419b514452492226c0ea1b19639356ebb8

Parameters:

TAGS=
GOFLAGS=

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=TestRepartitioning PKG=github.com/cockroachdb/cockroach/pkg/ccl/partitionccl TESTTIMEOUT=5m STRESSFLAGS='-maxtime 20m -timeout 10m' 2>&1 | tee /tmp/stress.log

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

              [n1,client=127.0.0.1:36422,user=root] executing: SELECT count(*) FROM "multi col list partitioning - DEFAULT" WHERE (a = 5) AND (b > 8) in state: Open
              [n1,client=127.0.0.1:36422,user=root] planning starts: SELECT
              [n1,client=127.0.0.1:36422,user=root] generating optimizer plan
              [n1,client=127.0.0.1:36422,user=root] added table 'data.public."multi col list partitioning - DEFAULT"' to table collection
              [n1,client=127.0.0.1:36422,user=root] query cache hit
              [n1,client=127.0.0.1:36422,user=root] planning ends
              [n1,client=127.0.0.1:36422,user=root] checking distributability
              [n1,client=127.0.0.1:36422,user=root] will distribute plan: true
              [n1,client=127.0.0.1:36422,user=root] execution starts: distributed engine
               === SPAN START: consuming rows ===
              [n1,client=127.0.0.1:36422,user=root] creating DistSQL plan with isLocal=false
              [n1,client=127.0.0.1:36422,user=root] querying next range at /Table/68/1/5/9
              [n1,client=127.0.0.1:36422,user=root] running DistSQL plan
               === SPAN START: flow ===
              [n1,client=127.0.0.1:36422,user=root] starting (0 processors, 0 startables)
               === SPAN START: table reader ===
            cockroach.processorid: 0
            cockroach.stat.tablereader.input.rows: 0
            cockroach.stat.tablereader.stalltime: 0s
              [n1,client=127.0.0.1:36422,user=root] starting scan with limitBatches true
              [n1,client=127.0.0.1:36422,user=root] Scan /Table/68/1/{5/9-6}
               === SPAN START: txn coordinator send ===
               === SPAN START: dist sender send ===
              [n1,client=127.0.0.1:36422,user=root,txn=15adfab2] querying next range at /Table/68/1/5/9
              [n1,client=127.0.0.1:36422,user=root,txn=15adfab2] r76: sending batch 1 Scan to (n1,s1):1
              [n1,client=127.0.0.1:36422,user=root,txn=15adfab2] sending request to local client
               === SPAN START: /cockroach.roachpb.Internal/Batch ===
              [n1] 1 Scan
              [n1,s1] executing 1 requests
              [n1,s1,r76/1:/Table/68/1/{5/9-6}] read-only path
              [n1,s1,r76/1:/Table/68/1/{5/9-6}] read has no clock uncertainty
              [n1,s1,r76/1:/Table/68/1/{5/9-6}] acquire latches
              [n1,s1,r76/1:/Table/68/1/{5/9-6}] waited 3.319µs to acquire latches
              [n1,s1,r76/1:/Table/68/1/{5/9-6}] waiting for read lock
              [n1,s1,r76/1:/Table/68/1/{5/9-6}] read completed
               === SPAN START: count rows ===
            cockroach.processorid: 1
            cockroach.stat.aggregator.input.rows: 0
            cockroach.stat.aggregator.mem.max: 0 B
            cockroach.stat.aggregator.stalltime: 36µs
              [n1,client=127.0.0.1:36422,user=root] execution ends
              [n1,client=127.0.0.1:36422,user=root] rows affected: 1
              [n1,client=127.0.0.1:36422,user=root] AutoCommit. err: <nil>
              [n1,client=127.0.0.1:36422,user=root] releasing 1 tables
              [n1,client=127.0.0.1:36422,user=root] [NoTxn pos:4715] executing ExecStmt: SET TRACING = off
              [n1,client=127.0.0.1:36422,user=root] executing: SET TRACING = off in state: NoTxn
            goroutine 41406 [running]:
            runtime/debug.Stack(0xa7a358200, 0xc0015b5f20, 0x375cc20)
            	/usr/local/go/src/runtime/debug/stack.go:24 +0xa7
            github.com/cockroachdb/cockroach/pkg/testutils.SucceedsSoon(0x37c9c40, 0xc003a8db00, 0xc0015b5ef0)
            	/go/src/github.com/cockroachdb/cockroach/pkg/testutils/soon.go:49 +0x103
            github.com/cockroachdb/cockroach/pkg/ccl/partitionccl.TestRepartitioning.func1(0xc003a8db00)
            	/go/src/github.com/cockroachdb/cockroach/pkg/ccl/partitionccl/partition_test.go:1360 +0xaa1
            testing.tRunner(0xc003a8db00, 0xc003608c30)
            	/usr/local/go/src/testing/testing.go:827 +0xbf
            created by testing.(*T).Run
            	/usr/local/go/src/testing/testing.go:878 +0x35c

Metadata

Metadata

Assignees

Labels

C-test-failureBroken test (automatically or manually discovered).O-robotOriginated from a bot.branch-masterFailures and bugs on the master branch.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions