cockroachdb / cockroachdb/cockroach

release-26.4: sql/inspect: TestDetectIndexConsistencyErrors_PartialIndex failed

Open
#175,679 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

branch-release-26.4 C-test-failure O-robot release-blocker T-sql-queries
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

sql/inspect.TestDetectIndexConsistencyErrors_PartialIndex failed on release-26.4 @ b4884d371d74d172ab184bc4ef0924ccb758f3c2:

storj.io/drpc/drpcmux.(*Mux).HandleRPC(0x260f2bd92288, {0x6c61640, 0x260f31bb2a88}, {0x260f2ff52160, 0x1d})
	external/io_storj_drpc/drpcmux/handle_rpc.go:29 +0x177
storj.io/drpc/drpcserver.(*Server).handleRPC(0x260f45c14000?, 0x260f31bb2a88, {0x260f2ff52160?, 0xacfc?})
	external/io_storj_drpc/drpcserver/server.go:274 +0x42
storj.io/drpc/drpcserver.(*Server).ServeOne.func2()
	external/io_storj_drpc/drpcserver/server.go:155 +0x5c
created by storj.io/drpc/drpcserver.(*Server).ServeOne in goroutine 3240
	external/io_storj_drpc/drpcserver/server.go:150 +0x2d1

goroutine 1405227 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0x260f321be110, 0x0)
	GOROOT/src/runtime/sema.go:617 +0x1b3
sync.(*Cond).Wait(0x18b?)
	GOROOT/src/sync/cond.go:71 +0x73
storj.io/drpc/drpcwire.(*FrameBuffer).Dequeue(0x260f321be0f8)
	external/io_storj_drpc/drpcwire/frame_buffer.go:94 +0x85
storj.io/drpc/drpcstream.(*Stream).recvMessage(0x260f321be008)
	external/io_storj_drpc/drpcstream/stream.go:644 +0x98
storj.io/drpc/drpcstream.(*Stream).MsgRecv(0x260f321be008, {0x643ffe0, 0x260f54087880}, {0x6bf9a30, 0xc4a76c0})
	external/io_storj_drpc/drpcstream/stream.go:752 +0x125
storj.io/drpc/drpcmux.(*Mux).msgRecv(0x260f3a1c4e38?, {{0x5c33e00, 0x260f343ccde0}, {0x6bf9a30, 0xc4a76c0}, 0x6ba5268, {0x6ced590, 0x643ffe0}, {0x0, 0x0}, ...}, ...)
	external/io_storj_drpc/drpcmux/handle_rpc.go:83 +0x7a
storj.io/drpc/drpcmux.(*Mux).HandleRPC(0x260f30dafe48, {0x6c61640, 0x260f321be008}, {0x260f2ff53180, 0x1d})
	external/io_storj_drpc/drpcmux/handle_rpc.go:29 +0x177
storj.io/drpc/drpcserver.(*Server).handleRPC(0x260f4785d2c0?, 0x260f321be008, {0x260f2ff53180?, 0xbdf6?})
	external/io_storj_drpc/drpcserver/server.go:274 +0x42
storj.io/drpc/drpcserver.(*Server).ServeOne.func2()
	external/io_storj_drpc/drpcserver/server.go:155 +0x5c
created by storj.io/drpc/drpcserver.(*Server).ServeOne in goroutine 23192
	external/io_storj_drpc/drpcserver/server.go:150 +0x2d1

goroutine 1405195 [select]:
storj.io/drpc/drpcmanager.(*Manager).manageStream(0x499610?, {0x6c2c530, 0x260f523e5470}, 0x260f32595508)
	external/io_storj_drpc/drpcmanager/manager.go:300 +0x189
created by storj.io/drpc/drpcmanager.(*Manager).newStream in goroutine 3663
	external/io_storj_drpc/drpcmanager/manager.go:287 +0x30d

goroutine 1405151 [select]:
storj.io/drpc/drpcmanager.(*Manager).manageStream(0x260f318b9fd0?, {0x6c2c530, 0x260f43215e90}, 0x260f33377c08)
	external/io_storj_drpc/drpcmanager/manager.go:300 +0x189
created by storj.io/drpc/drpcmanager.(*Manager).newStream in goroutine 3663
	external/io_storj_drpc/drpcmanager/manager.go:287 +0x30d

goroutine 1405202 [runnable]:
github.com/cockroachdb/cockroach/pkg/server.(*testServer).NodeID(0x260f34e08508?)
	pkg/server/testserver.go:475
github.com/cockroachdb/cockroach/pkg/testutils/testcluster.(*TestCluster).stopServers.func1(0x0?, 0x260f2b4685a0)
	pkg/testutils/testcluster/testcluster.go:219 +0x9d
created by github.com/cockroachdb/cockroach/pkg/testutils/testcluster.(*TestCluster).stopServers in goroutine 18
	pkg/testutils/testcluster/testcluster.go:216 +0x152

Parameters:

  • attempt=1
  • run=10
  • shard=8
Help

See also: How To Investigate a Go Test Failure (internal)

Improve this report!

Jira issue: CRDB-68569

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing sql/inspect.TestDetectIndexConsistencyErrors_PartialIndex at the reported commit, using the linked test report and its attempt, run, and shard details. Inspect the failure through the reported drpc stack, then identify the cause and make the test pass reliably on release-26.4.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, sql
Domain
databases, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.