cockroachdb / cockroachdb/cockroach

sql/importer: TestUDTChangeDuringImport failed

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

Nobody has claimed this yet.

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

Description

sql/importer.TestUDTChangeDuringImport failed on master @ 0ff013855fdee74d72243c42da24c01a62767848:


goroutine 495005 [select]:
github.com/cockroachdb/pebble.(*DB).maybeScheduleDelayedFlush.func1()
	external/com_github_cockroachdb_pebble/compaction.go:1480 +0xfd
created by github.com/cockroachdb/pebble.(*DB).maybeScheduleDelayedFlush in goroutine 494909
	external/com_github_cockroachdb_pebble/compaction.go:1476 +0x170

goroutine 494889 [select]:
github.com/cockroachdb/pebble.(*DB).manifestRotationLoop(0xfedea771808)
	external/com_github_cockroachdb_pebble/manifest_degradation.go:33 +0x127
created by github.com/cockroachdb/pebble.openInternal in goroutine 494708
	external/com_github_cockroachdb_pebble/open.go:820 +0x3885

goroutine 496683 [select, "gen":"2", "job":"AUTO SPAN CONFIG RECONCILIATION id=1211790520690999297", "mux_n":"1", "n":"1", "rangefeed":"sql-watcher-protected-ts-records-rangefeed"]:
github.com/cockroachdb/cockroach/pkg/rpc.(*pipe).recv(0xfee0dd31540, {0x7b0d1f8, 0xfee06546dc0})
	pkg/rpc/context.go:1281 +0xce
github.com/cockroachdb/cockroach/pkg/rpc.pipeReader.recv({0xfee0dd31540?, 0x7a6c640?}, {0x7b0d1f8?, 0xfee06546dc0?}, {0x7379420, 0xfedfa33b310})
	pkg/rpc/context.go:1317 +0x3c
github.com/cockroachdb/cockroach/pkg/rpc.clientStream.RecvMsg(...)
	pkg/rpc/context.go:1365
github.com/cockroachdb/cockroach/pkg/rpc.muxRangeFeedClientAdapter.Recv({{0x7b4e1c0?, 0xfedf33fa720?}, 0xfee0dd31570?, 0xfee1a10bee0?})
	pkg/rpc/context.go:1200 +0x5d
github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord.(*rangefeedMuxer).receiveEventsFromNode(0xfee00da75f0, {0x7b0d1f8, 0xfee06546dc0}, {0x7f04b2b54660, 0xfee1a270000}, 0xfee06546eb0)
	pkg/kv/kvclient/kvcoord/dist_sender_mux_rangefeed.go:469 +0x68
github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord.(*rangefeedMuxer).startNodeMuxRangeFeed(0xfee00da75f0, {0x7b0d1f8, 0xfee06546dc0}, {0x7ac8758, 0xfee01e293e0}, 0x1, 0xfee084c5ae8)
	pkg/kv/kvclient/kvcoord/dist_sender_mux_rangefeed.go:429 +0x88b
github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord.(*rangefeedMuxer).establishMuxConnection.func1({0x7b0d1f8?, 0xfee06546d70?})
	pkg/kv/kvclient/kvcoord/dist_sender_mux_rangefeed.go:360 +0x3a
github.com/cockroachdb/cockroach/pkg/kv/kvclient/kvcoord.(*rangefeedMuxer).establishMuxConnection.Group.GoCtx.func2()
	pkg/util/ctxgroup/ctxgroup.go:200 +0x79
golang.org/x/sync/errgroup.(*Group).Go.func1()
	external/org_golang_x_sync/errgroup/errgroup.go:93 +0x50
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 496682
	external/org_golang_x_sync/errgroup/errgroup.go:78 +0x95

goroutine 497382 [select]:
github.com/cockroachdb/cockroach/pkg/kv/kvclient/rangefeed/rangefeedcache.(*Watcher[...]).Run(0x7b5acc0, {0x7b0d1f8, 0xfedf47fd040})
	pkg/kv/kvclient/rangefeed/rangefeedcache/watcher.go:344 +0x950
github.com/cockroachdb/cockroach/pkg/kv/kvclient/rangefeed/rangefeedcache.Start[...].func1()
	pkg/kv/kvclient/rangefeed/rangefeedcache/watcher.go:202 +0x345
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTaskEx.func1({0x7b0f740, 0xfedfb949860})
	pkg/util/stop/stopper.go:447 +0x8a
created by github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTaskEx in goroutine 494240
	pkg/util/stop/stopper.go:445 +0x125

goroutine 494267 [select]:
github.com/cockroachdb/cockroach/pkg/util/admission.(*WorkQueue).startClosingEpochs.func1()
	pkg/util/admission/work_queue.go:631 +0x145
created by github.com/cockroachdb/cockroach/pkg/util/admission.(*WorkQueue).startClosingEpochs in goroutine 494240
	pkg/util/admission/work_queue.go:602 +0x4f

Parameters:

  • attempt=1
  • run=6
  • shard=1
Help

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

/cc @cockroachlabs/sql-foundations

Improve this report!

Jira issue: CRDB-68567

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/importer.TestUDTChangeDuringImport using the reported commit 0ff013855fdee74d72243c42da24c01a62767848 and inspect the linked test report alongside the goroutine stack. Trace the failure in the sql/importer test area and verify that the test completes reliably without the reported failure.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.