Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kv/kvnemesis: TestKVNemesisSingleNode failed #111506

Closed
cockroach-teamcity opened this issue Sep 29, 2023 · 1 comment · Fixed by #111512
Closed

kv/kvnemesis: TestKVNemesisSingleNode failed #111506

cockroach-teamcity opened this issue Sep 29, 2023 · 1 comment · Fixed by #111512
Assignees
Labels
A-testing Testing tools and infrastructure branch-master Failures and bugs on the master branch. C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-kv KV Team
Milestone

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Sep 29, 2023

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

@cockroach-teamcity cockroach-teamcity added branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-kv KV Team labels Sep 29, 2023
@cockroach-teamcity cockroach-teamcity added this to the 23.2 milestone Sep 29, 2023
@nvanbenschoten
Copy link
Member

Will be fixed by #111512.

@craig craig bot closed this as completed in #111512 Sep 29, 2023
@craig craig bot closed this as completed in 1787e21 Sep 29, 2023
@kvoli kvoli added C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. A-testing Testing tools and infrastructure labels Oct 2, 2023
@github-project-automation github-project-automation bot moved this to Closed in KV Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testing Testing tools and infrastructure branch-master Failures and bugs on the master branch. C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. C-test-failure Broken test (automatically or manually discovered). O-robot Originated from a bot. release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. T-kv KV Team
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants