cockroachdb / cockroachdb/cockroach

pkg/sql/partitioning/partitioning_test: TestZoneConfigAppliesToTemporaryIndex failed

Open
#173,702 3 comments 0 reactions 0 assignees View on GitHub
branch-master C-autosolve C-test-failure O-robot T-sql-queries
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

pkg/sql/partitioning/partitioning_test.TestZoneConfigAppliesToTemporaryIndex [failed](https://mesolite.cluster.engflow.com/invocations/default/80e380c9-92a7-4b4b-9e91-019f3bdc0503?testReportRun=3&testReportShard=1&testReportAttempt=1#targets-Ly9wa2cvc3FsL3BhcnRpdGlvbmluZzpwYXJ0aXRpb25pbmdfdGVzdA==) on master @ [8499e276da6fc483c164d1c99fc5f0c33a0e995f](https://github.com/cockroachdb/cockroach/commits/8499e276da6fc483c164d1c99fc5f0c33a0e995f):

```

goroutine 335906 [select]:
github.com/cockroachdb/cockroach/pkg/obs/clustermetrics/cmwriter.(*Writer).Start.func1({0xa6bfa28, 0xc02b7e34a0})
pkg/obs/clustermetrics/cmwriter/writer.go:281 +0x26e
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTaskEx.func1({0xa6bfa28, 0xc02b7e34a0})
pkg/util/stop/stopper.go:447 +0x113
created by github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).RunAsyncTaskEx in goroutine 332747
pkg/util/stop/stopper.go:445 +0x247

goroutine 333237 [chan receive, "pebble":"gc"]:
github.com/cockroachdb/pebble/internal/deletepacer.(*DeletePacer).mainLoop(0xc022cbb208)
external/com_github_cockroachdb_pebble/internal/deletepacer/delete_pacer.go:395 +0x525
github.com/cockroachdb/pebble/internal/deletepacer.Open.func1.1.1({0xa6bf750?, 0xc020016630?})
external/com_github_cockroachdb_pebble/internal/deletepacer/delete_pacer.go:154 +0x2f
runtime/pprof.Do({0xa6bf4f0, 0x121cdc00}, {{0xc001679640?, 0xc03167e4e0?, 0xc001131160?}}, 0xc0158c0f98)
GOROOT/src/runtime/pprof/runtime.go:57 +0x112
github.com/cockroachdb/pebble/internal/deletepacer.Open.func1.1()
external/com_github_cockroachdb_pebble/internal/deletepacer/delete_pacer.go:153 +0xf6
created by github.com/cockroachdb/pebble/internal/deletepacer.Open.func1 in goroutine 333207
external/com_github_cockroachdb_pebble/internal/deletepacer/delete_pacer.go:152 +0xab

goroutine 337630 [select]:
google.golang.org/grpc/internal/transport.(*http2Server).keepalive(0xc01a822ea0)
external/org_golang_google_grpc/internal/transport/http2_server.go:1150 +0x3fd
created by google.golang.org/grpc/internal/transport.NewServerTransport in goroutine 337625
external/org_golang_google_grpc/internal/transport/http2_server.go:339 +0x3171

goroutine 337656 [select]:
github.com/cockroachdb/cockroach/pkg/kv/kvclient/rangefeed.(*RangeFeed).processEvents(0xc019d4b880, {0xa6bf718, 0xc01f4313b0}, {0xa7264c8, 0xc01947dc20}, 0xc01b13bce0)
pkg/kv/kvclient/rangefeed/rangefeed.go:437 +0x10f
github.com/cockroachdb/cockroach/pkg/kv/kvclient/rangefeed.(*RangeFeed).run.func3({0xa6bf718, 0xc01f4313b0})
pkg/kv/kvclient/rangefeed/rangefeed.go:393 +0x205
github.com/cockroachdb/cockroach/pkg/util/ctxgroup.GoAndWait.Group.GoCtx.func1()
pkg/util/ctxgroup/ctxgroup.go:200 +0x116
golang.org/x/sync/errgroup.(*Group).Go.func1()
external/org_golang_x_sync/errgroup/errgroup.go:93 +0x87
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 337600
external/org_golang_x_sync/errgroup/errgroup.go:78 +0x11d

goroutine 333333 [sync.Cond.Wait]:
sync.runtime_notifyListWait(0xc01622c410, 0x1baf)
GOROOT/src/runtime/sema.go:617 +0x1b3
sync.(*Cond).Wait(0xc01622c400)
GOROOT/src/sync/cond.go:71 +0x55
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*raftSchedulerShard).worker(0xc026654000, {0xa6bfa28, 0xc02b7e34a0}, {0xa6f5200, 0xc01add7008}, 0xc01add6008)
pkg/kv/kvserver/scheduler.go:379 +0x8a
github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*raftScheduler).Start.func2({0xa6bfa28, 0xc02b7e34a0}, 0xc01fb71540)
pkg/kv/kvserver/scheduler.go:314 +0x205
created by github.com/cockroachdb/cockroach/pkg/kv/kvserver.(*raftScheduler).Start in goroutine 333207
pkg/kv/kvserver/scheduler.go:329 +0x41c
```

Parameters:
- attempt=1
- race=true
- run=3
- shard=1
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)

[Improve this report!](https://github.com/cockroachdb/cockroach/tree/master/pkg/cmd/bazci/githubpost/issues)

Jira issue: CRDB-67009

Contributor guide

Open the contributing guide

Research direction

The failure is in pkg/sql/partitioning/partitioning_test.TestZoneConfigAppliesToTemporaryIndex. Reproduce that test with the reported race=true configuration and inspect the complete failure rather than relying on the goroutine dump; trace the failure from the test and its surrounding partitioning code. Done means the test passes reliably under the reported conditions without introducing a regression.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, sql
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.