-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
A-storageRelating to our storage engine (Pebble) on-disk storage.Relating to our storage engine (Pebble) on-disk storage.C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.C-test-failureBroken test (automatically or manually discovered).Broken test (automatically or manually discovered).O-robotOriginated from a bot.Originated from a bot.P-2Issues/test failures with a fix SLA of 3 monthsIssues/test failures with a fix SLA of 3 monthsT-storageStorage TeamStorage Teambranch-masterFailures and bugs on the master branch.Failures and bugs on the master branch.
Description
kv/kvserver.TestCheckConsistencyInconsistent failed on master @ f43db402f520dd947d2aa3f742879ba2fe03e048:
Fatal error:
panic: range local key /Local/Range/Table/54/1/1091558191622750209/"legacy_progress"/Transaction/"0c229443-3dc9-4184-9fc9-3713c10ad02c" outside of a known range [recovered]
panic: range local key /Local/Range/Table/54/1/1091558191622750209/"legacy_progress"/Transaction/"0c229443-3dc9-4184-9fc9-3713c10ad02c" outside of a known range [recovered]
panic: range local key /Local/Range/Table/54/1/1091558191622750209/"legacy_progress"/Transaction/"0c229443-3dc9-4184-9fc9-3713c10ad02c" outside of a known range [recovered]
panic: range local key /Local/Range/Table/54/1/1091558191622750209/"legacy_progress"/Transaction/"0c229443-3dc9-4184-9fc9-3713c10ad02c" outside of a known range [recovered]
panic: range local key /Local/Range/Table/54/1/1091558191622750209/"legacy_progress"/Transaction/"0c229443-3dc9-4184-9fc9-3713c10ad02c" outside of a known range
Stack:
goroutine 28388 [running]:
testing.tRunner.func1.2({0xb6f7160, 0xc007cd5710})
GOROOT/src/testing/testing.go:1632 +0x3fc
testing.tRunner.func1()
GOROOT/src/testing/testing.go:1635 +0x6b6
panic({0xb6f7160?, 0xc007cd5710?})
GOROOT/src/runtime/panic.go:791 +0x132
github.com/cockroachdb/cockroach/pkg/util/leaktest.AfterTest.func2()
pkg/util/leaktest/leaktest.go:136 +0x51a
panic({0xb6f7160?, 0xc007cd5710?})
GOROOT/src/runtime/panic.go:791 +0x132
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).recover(0xc0021e4090?, {0xd772668, 0x13abba00})
pkg/util/stop/stopper.go:226 +0x74
panic({0xb6f7160?, 0xc007cd5710?})
GOROOT/src/runtime/panic.go:791 +0x132
github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).Stop(0xc004e6e3c0, {0xd772668, 0x13abba00})
pkg/util/stop/stopper.go:566 +0x2c5
panic({0xb6f7160?, 0xc007cd5710?})
GOROOT/src/runtime/panic.go:791 +0x132
github.com/cockroachdb/cockroach/pkg/kv/kvserver/kvstorage.IterateRangeDescriptorsFromDisk({0xd772668, 0x13abba00}, {0xd7c39a8, 0xc0040ac2c8}, 0xc0021e57e0)
pkg/kv/kvserver/kvstorage/init.go:302 +0x19b2
github.com/cockroachdb/cockroach/pkg/kv/kvserver_test.TestCheckConsistencyInconsistent(0xc0016c1040)
pkg/kv/kvserver/consistency_queue_test.go:399 +0x18bf
testing.tRunner(0xc0016c1040, 0xc319248)
GOROOT/src/testing/testing.go:1690 +0x227
created by testing.(*T).Run in goroutine 1
GOROOT/src/testing/testing.go:1743 +0x826
Log preceding fatal error
=== RUN TestCheckConsistencyInconsistent
test_log_scope.go:171: test logs captured to: outputs.zip/logTestCheckConsistencyInconsistent4157754914
test_log_scope.go:82: use -show-logs to present logs inline
consistency_queue_test.go:380: found a checkpoint at auxiliary/checkpoints/r5_at_29
consistency_queue_test.go:380: found a checkpoint at auxiliary/checkpoints/r5_at_29
*
* ERROR: a panic has occurred!
* range local key /Local/Range/Table/54/1/1091558191622750209/"legacy_progress"/Transaction/"0c229443-3dc9-4184-9fc9-3713c10ad02c" outside of a known range
* (1) attached stack trace
* -- stack trace:
* | runtime.gopanic
* | GOROOT/src/runtime/panic.go:791
* | github.com/cockroachdb/cockroach/pkg/util/stop.(*Stopper).Stop
* | pkg/util/stop/stopper.go:566
* | runtime.gopanic
* | GOROOT/src/runtime/panic.go:791
* | [...repeated from below...]
* Wraps: (2) assertion failure
* Wraps: (3) attached stack trace
* -- stack trace:
* | github.com/cockroachdb/cockroach/pkg/kv/kvserver/kvstorage.IterateRangeDescriptorsFromDisk
* | pkg/kv/kvserver/kvstorage/init.go:302
* | github.com/cockroachdb/cockroach/pkg/kv/kvserver_test.TestCheckConsistencyInconsistent
* | pkg/kv/kvserver/consistency_queue_test.go:399
* | testing.tRunner
* | GOROOT/src/testing/testing.go:1690
* | runtime.goexit
* | src/runtime/asm_amd64.s:1700
* Wraps: (4) range local key /Local/Range/Table/54/1/1091558191622750209/"legacy_progress"/Transaction/"0c229443-3dc9-4184-9fc9-3713c10ad02c" outside of a known range
* Error types: (1) *withstack.withStack (2) *assert.withAssertionFailure (3) *withstack.withStack (4) *errutil.leafError
*
stopper.go:226: -- test log scope end --
ERROR: a panic has occurred!
Details cannot be printed yet because we are still unwinding.
Hopefully the test harness prints the panic below, otherwise check the test logs.
stopper.go:226: panic: range local key /Local/Range/Table/54/1/1091558191622750209/"legacy_progress"/Transaction/"0c229443-3dc9-4184-9fc9-3713c10ad02c" outside of a known range
test logs left over in: outputs.zip/logTestCheckConsistencyInconsistent4157754914
--- FAIL: TestCheckConsistencyInconsistent (47.57s)
Parameters:
attempt=1race=truerun=2shard=10
This test on roachdash | Improve this report!
Jira issue: CRDB-52836
Metadata
Metadata
Assignees
Labels
A-storageRelating to our storage engine (Pebble) on-disk storage.Relating to our storage engine (Pebble) on-disk storage.C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.C-test-failureBroken test (automatically or manually discovered).Broken test (automatically or manually discovered).O-robotOriginated from a bot.Originated from a bot.P-2Issues/test failures with a fix SLA of 3 monthsIssues/test failures with a fix SLA of 3 monthsT-storageStorage TeamStorage Teambranch-masterFailures and bugs on the master branch.Failures and bugs on the master branch.