Skip to content

kv/kvnemesis: TestKVNemesisSingleNode failed #111506

@cockroach-teamcity

Description

@cockroach-teamcity

kv/kvnemesis.TestKVNemesisSingleNode failed with artifacts on master @ c68c083183cd28a94e52a887761396b167ac5acf:

=== RUN   TestKVNemesisSingleNode
    test_log_scope.go:167: test logs captured to: /artifacts/tmp/_tmp/4aeb9c412c16a003ed8ddc43788d2bba/logTestKVNemesisSingleNode2647358243
    test_log_scope.go:81: use -show-logs to present logs inline
    kvnemesis_test.go:283: seed: 2731215654406612617
    kvnemesis_test.go:197: kvnemesis logging to /artifacts/tmp/_tmp/4aeb9c412c16a003ed8ddc43788d2bba/kvnemesis4101612827
    kvnemesis.go:168: error applying x.Txn(ctx, func(ctx context.Context, txn *kv.Txn) error {
          txn.SetIsoLevel(isolation.Snapshot)
          txn.GetForUpdateSkipLocked(ctx, tk(5485478015997659574)) // SKIP LOCKED request should not find another waiting request from the same transaction
          txn.ScanForShareGuaranteedDurability(ctx, tk(3526123353113543282), tk(7290682834801179369), 0) // omitted
          b := &kv.Batch{}
          b.ReverseScanForUpdateGuaranteedDurability(tk(12562703835357299188), tk(13983064666580962983)) // omitted
          b.ReverseScanForShareSkipLocked(tk(11367160556208808004), tk(17320959537644070202)) // omitted
          txn.CommitInBatch(ctx, b) // omitted
          return nil
        }) // SKIP LOCKED request should not find another waiting request from the same transaction: SKIP LOCKED request should not find another waiting request from the same transaction
    kvnemesis.go:168: error applying x.GetForUpdateSkipLocked(ctx, tk(5485478015997659574)) // SKIP LOCKED request should not find another waiting request from the same transaction: SKIP LOCKED request should not find another waiting request from the same transaction
    kvnemesis.go:203: failures(verbose): /artifacts/tmp/_tmp/4aeb9c412c16a003ed8ddc43788d2bba/kvnemesis4101612827/failures
        repro steps: /artifacts/tmp/_tmp/4aeb9c412c16a003ed8ddc43788d2bba/kvnemesis4101612827/repro.go
        rangefeed KVs: /artifacts/tmp/_tmp/4aeb9c412c16a003ed8ddc43788d2bba/kvnemesis4101612827/kvs-rangefeed.txt
        scan KVs: /artifacts/tmp/_tmp/4aeb9c412c16a003ed8ddc43788d2bba/kvnemesis4101612827/kvs-scan.txt
    kvnemesis_test.go:310: 
        	Error Trace:	github.com/cockroachdb/cockroach/pkg/kv/kvnemesis/pkg/kv/kvnemesis/kvnemesis_test.go:310
        	            				github.com/cockroachdb/cockroach/pkg/kv/kvnemesis/pkg/kv/kvnemesis/kvnemesis_test.go:233
        	Error:      	Should be zero, but was 2
        	Test:       	TestKVNemesisSingleNode
        	Messages:   	kvnemesis detected failures
    panic.go:522: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/4aeb9c412c16a003ed8ddc43788d2bba/logTestKVNemesisSingleNode2647358243
--- FAIL: TestKVNemesisSingleNode (9.24s)
Help

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

/cc @cockroachdb/kv

This test on roachdash | Improve this report!

Jira issue: CRDB-31950

Metadata

Metadata

Assignees

Labels

A-testingTesting tools and infrastructureC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.C-test-failureBroken test (automatically or manually discovered).O-robotOriginated from a bot.T-kvKV Teambranch-masterFailures and bugs on the master branch.release-blockerIndicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked.

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions