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: TestKVNemesisMultiNode failed #121984

Closed
cockroach-teamcity opened this issue Apr 8, 2024 · 1 comment
Closed

kv/kvnemesis: TestKVNemesisMultiNode failed #121984

cockroach-teamcity opened this issue Apr 8, 2024 · 1 comment
Labels
branch-release-24.1 Used to mark GA and release blockers, technical advisories, and bugs for 24.1 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 Apr 8, 2024

kv/kvnemesis.TestKVNemesisMultiNode failed with artifacts on release-24.1 @ 815447fbcca0ce72401f2aab6b66d23e2fb24899:

          txn.GetForUpdate(ctx, tk(11498302297213409235)) // @1712614762.088823115,1 (<nil>, <nil>)
          txn.GetForUpdateGuaranteedDurability(ctx, tk(2452517736899405536)) // @1712614762.088823115,1 (v17, <nil>)
          txn.ReverseScanForShareGuaranteedDurability(ctx, tk(1331614356899733166), tk(1728259775480010297), 0) // @1712614762.088823115,1 (/Table/100/"137687b863cd00f0":v19, <nil>)
          txn.GetForUpdateSkipLocked(ctx, tk(16115974618416974376)) // @1712614762.088823115,1 (<nil>, <nil>)
          {
            b := &kv.Batch{}
            b.GetForUpdate(tk(11207997101941470390)) // (<nil>, <nil>)
            txn.Run(ctx, b) // @1712614762.088823115,1 <nil>
          }
          txn.GetForUpdateSkipLocked(ctx, tk(3255757545205435038)) // @1712614762.088823115,1 (v19, <nil>)
          txn.ScanForUpdateGuaranteedDurability(ctx, tk(2742720225571143393), tk(12474589213802019645), 0) // @1712614762.088823115,1 (/Table/100/"2d2ec63cd4c48a9e":v19, /Table/100/"32ba0c95d18152bf":v19, /Table/100/"3c60d5fe14ac797f":v19, /Table/100/"3d3e00bbf87b40ce":v19, /Table/100/"47371fdc01881ea2":v16, /Table/100/"50321bfb68bfae1e":v19, /Table/100/"8158142894fc59bc":v4, /Table/100/"9e679411f7dd34b8":v34, <nil>)
          txn.ReverseScanSkipLocked(ctx, tk(8898065496640925205), tk(11541056172437782963), 0) // @1712614762.088823115,1 (/Table/100/"9e679411f7dd34b8":v34, /Table/100/"8158142894fc59bc":v4, <nil>)
          txn.ScanForUpdateSkipLockedGuaranteedDurability(ctx, tk(2222487917158495472), tk(12318679587824379701), 0) // @1712614762.088823115,1 (/Table/100/"220917e3413be6e0":v17, /Table/100/"2d2ec63cd4c48a9e":v19, /Table/100/"32ba0c95d18152bf":v19, /Table/100/"3c60d5fe14ac797f":v19, /Table/100/"3d3e00bbf87b40ce":v19, /Table/100/"47371fdc01881ea2":v16, /Table/100/"50321bfb68bfae1e":v19, /Table/100/"8158142894fc59bc":v4, /Table/100/"9e679411f7dd34b8":v34, <nil>)
          txn.Put(ctx, tk(11747696169800705150), sv(29)) // @1712614762.088823115,1 <nil>
          txn.Put(ctx, tk(2079474402154222592), sv(30)) // @1712614762.088823115,1 <nil>
          txn.CreateSavepoint(ctx, 12) // <nil>
          txn.DelRange(ctx, tk(5619963742471429132), tk(17961651196561609303), true /* @s31 */) // @1712614762.088823115,1 (/Table/100/"50321bfb68bfae1e", /Table/100/"8158142894fc59bc", /Table/100/"9e679411f7dd34b8", /Table/100/"a308336caa30247e", /Table/100/"be4dd25091edd6d2", /Table/100/"dc49bfb4e434072b", /Table/100/"e311cfa2bbc70d41", /Table/100/"e4db834b5a65176f", /Table/100/"f8d58a931c61ed94", <nil>)
          txn.GetForUpdateGuaranteedDurability(ctx, tk(14400028794028334532)) // @1712614762.088823115,1 (<nil>, <nil>)
          txn.Put(ctx, tk(17678448777900585855), sv(32)) // @1712614762.088823115,1 <nil>
          txn.RollbackSavepoint(ctx, 12) // <nil>
          txn.ReverseScanForUpdateGuaranteedDurability(ctx, tk(5808494902666865911), tk(14810360718621657655), 0) // @1712614762.088823115,1 (/Table/100/"be4dd25091edd6d2":v21, /Table/100/"a308336caa30247e":v29, /Table/100/"9e679411f7dd34b8":v34, /Table/100/"8158142894fc59bc":v4, <nil>)
          txn.ScanForUpdateSkipLockedGuaranteedDurability(ctx, tk(4997272738876045775), tk(15873259517136216849), 0) // TransactionRetryWithProtoRefreshError: TransactionRetryError: retry txn (RETRY_ASYNC_WRITE_FAILURE - missing intent on: /Table/100/"a308336caa30247e"): "unnamed" meta={id=86794802 key=/Table/100/"9f922d04c97697d3" iso=Serializable pri=0.07736366 epo=100 ts=1712614762.088823115,1 min=1712614761.947548640,0 seq=6} lock=true stat=PENDING rts=1712614762.088823115,1 wto=false gul=1712614761.957548640,0 isn=1
          txn.GetSkipLocked(ctx, tk(13712847683900528338)) // omitted
          return errors.New("rollback")
        }) // have retried transaction: unnamed (id: 86794802-80fa-4743-a214-4ed87511a41c) 101 times, most recently because of the retryable error: TransactionRetryWithProtoRefreshError: TransactionRetryError: retry txn (RETRY_ASYNC_WRITE_FAILURE - missing intent on: /Table/100/"a308336caa30247e"): "unnamed" meta={id=86794802 key=/Table/100/"9f922d04c97697d3" iso=Serializable pri=0.07736366 epo=100 ts=1712614762.088823115,1 min=1712614761.947548640,0 seq=6} lock=true stat=PENDING rts=1712614762.088823115,1 wto=false gul=1712614761.957548640,0 isn=1. Terminating retry loop and returning error due to cluster setting kv.transaction.internal.max_auto_retries (100). Rollback error: <nil>.: have retried transaction: unnamed (id: 86794802-80fa-4743-a214-4ed87511a41c) 101 times, most recently because of the retryable error: TransactionRetryWithProtoRefreshError: TransactionRetryError: retry txn (RETRY_ASYNC_WRITE_FAILURE - missing intent on: /Table/100/"a308336caa30247e"): "unnamed" meta={id=86794802 key=/Table/100/"9f922d04c97697d3" iso=Serializable pri=0.07736366 epo=100 ts=1712614762.088823115,1 min=1712614761.947548640,0 seq=6} lock=true stat=PENDING rts=1712614762.088823115,1 wto=false gul=1712614761.957548640,0 isn=1. Terminating retry loop and returning error due to cluster setting kv.transaction.internal.max_auto_retries (100). Rollback error: <nil>.
    kvnemesis.go:213: failures(verbose): /artifacts/tmp/_tmp/4aeb9c412c16a003ed8ddc43788d2bba/kvnemesis546583010/failures
        repro steps: /artifacts/tmp/_tmp/4aeb9c412c16a003ed8ddc43788d2bba/kvnemesis546583010/repro.go
        rangefeed KVs: /artifacts/tmp/_tmp/4aeb9c412c16a003ed8ddc43788d2bba/kvnemesis546583010/kvs-rangefeed.txt
        scan KVs: /artifacts/tmp/_tmp/4aeb9c412c16a003ed8ddc43788d2bba/kvnemesis546583010/kvs-scan.txt
    kvnemesis_test.go:356: [0] proposed: 2898
    kvnemesis_test.go:358: [0] reproposed unchanged: 62
    kvnemesis_test.go:360: [0] reproposed with new LAI: 7
    kvnemesis_test.go:356: [1] proposed: 877
    kvnemesis_test.go:358: [1] reproposed unchanged: 0
    kvnemesis_test.go:360: [1] reproposed with new LAI: 4
    kvnemesis_test.go:356: [2] proposed: 264
    kvnemesis_test.go:358: [2] reproposed unchanged: 2
    kvnemesis_test.go:360: [2] reproposed with new LAI: 0
    kvnemesis_test.go:356: [3] proposed: 42
    kvnemesis_test.go:358: [3] reproposed unchanged: 2
    kvnemesis_test.go:360: [3] reproposed with new LAI: 0
    kvnemesis_test.go:365: 
        	Error Trace:	github.com/cockroachdb/cockroach/pkg/kv/kvnemesis/pkg/kv/kvnemesis/kvnemesis_test.go:365
        	            				github.com/cockroachdb/cockroach/pkg/kv/kvnemesis/pkg/kv/kvnemesis/kvnemesis_test.go:305
        	Error:      	Should be zero, but was 1
        	Test:       	TestKVNemesisMultiNode
        	Messages:   	kvnemesis detected failures
    panic.go:626: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/4aeb9c412c16a003ed8ddc43788d2bba/logTestKVNemesisMultiNode1825137040
--- FAIL: TestKVNemesisMultiNode (13.06s)
Help

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

Same failure on other branches

/cc @cockroachdb/kv

This test on roachdash | Improve this report!

Jira issue: CRDB-37649

@cockroach-teamcity cockroach-teamcity added branch-release-24.1 Used to mark GA and release blockers, technical advisories, and bugs for 24.1 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 Apr 8, 2024
@cockroach-teamcity cockroach-teamcity added this to the 24.1 milestone Apr 8, 2024
@nvanbenschoten
Copy link
Member

Fixed by #121981.

@kvoli kvoli added the C-bug Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior. label Apr 9, 2024
@github-project-automation github-project-automation bot moved this to roachtest/unit test backlog in KV Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-release-24.1 Used to mark GA and release blockers, technical advisories, and bugs for 24.1 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
Status: roachtest/unit test backlog
Development

No branches or pull requests

3 participants