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 #118637

Closed
cockroach-teamcity opened this issue Feb 2, 2024 · 4 comments
Closed

kv/kvnemesis: TestKVNemesisSingleNode failed #118637

cockroach-teamcity opened this issue Feb 2, 2024 · 4 comments
Assignees
Labels
A-testing Testing tools and infrastructure branch-release-22.2 Used to mark GA and release blockers, technical advisories, and bugs for 22.2 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. T-kv KV Team
Milestone

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Feb 2, 2024

kv/kvnemesis.TestKVNemesisSingleNode failed with artifacts on release-22.2 @ 6d16c97c1b9f553b81fb36200106bc6c5665ab3a:

=== RUN   TestKVNemesisSingleNode
    test_log_scope.go:161: test logs captured to: /artifacts/tmp/_tmp/1f42cf5be2fc021646bf9b2daf5eaef3/logTestKVNemesisSingleNode2576194197
    test_log_scope.go:79: use -show-logs to present logs inline
    kvnemesis_test.go:68: failure:
        error applying x.BarrierWithLAI(ctx, /Table/100/"d79c3d33", /Table/100/"fcf40c7b") // key range /Table/100/"d79c3d33"-/Table/100/"fcf40c7b" outside of bounds of range /Table/100/"95e5c230"-/Table/100/"e818d404"; suggested ranges: [desc: r71:/Table/100/"{95e5c230"-e818d404"} [(n1,s1):1, next=2, gen=15, sticky=9223372036.854775807,2147483647], lease: <empty>, closed_timestamp_policy: LAG_BY_CLUSTER_SETTING]: key range /Table/100/"d79c3d33"-/Table/100/"fcf40c7b" outside of bounds of range /Table/100/"95e5c230"-/Table/100/"e818d404"; suggested ranges: [desc: r71:/Table/100/"{95e5c230"-e818d404"} [(n1,s1):1, next=2, gen=15, sticky=9223372036.854775807,2147483647], lease: <empty>, closed_timestamp_policy: LAG_BY_CLUSTER_SETTING]
        (1) attached stack trace
          -- stack trace:
          | github.com/cockroachdb/cockroach/pkg/kv/kvnemesis.(*validator).failIfError
          | 	github.com/cockroachdb/cockroach/pkg/kv/kvnemesis/pkg/kv/kvnemesis/validator.go:894
          | github.com/cockroachdb/cockroach/pkg/kv/kvnemesis.(*validator).processOp
          | 	github.com/cockroachdb/cockroach/pkg/kv/kvnemesis/pkg/kv/kvnemesis/validator.go:444
          | github.com/cockroachdb/cockroach/pkg/kv/kvnemesis.Validate
          | 	github.com/cockroachdb/cockroach/pkg/kv/kvnemesis/pkg/kv/kvnemesis/validator.go:69
          | github.com/cockroachdb/cockroach/pkg/kv/kvnemesis.RunNemesis
          | 	github.com/cockroachdb/cockroach/pkg/kv/kvnemesis/pkg/kv/kvnemesis/kvnemesis.go:97
          | github.com/cockroachdb/cockroach/pkg/kv/kvnemesis.TestKVNemesisSingleNode
          | 	github.com/cockroachdb/cockroach/pkg/kv/kvnemesis/pkg/kv/kvnemesis/kvnemesis_test.go:64
          | testing.tRunner
          | 	GOROOT/src/testing/testing.go:1446
          | runtime.goexit
          | 	GOROOT/src/runtime/asm_amd64.s:1594
        Wraps: (2) error applying x.BarrierWithLAI(ctx, /Table/100/"d79c3d33", /Table/100/"fcf40c7b") // key range /Table/100/"d79c3d33"-/Table/100/"fcf40c7b" outside of bounds of range /Table/100/"95e5c230"-/Table/100/"e818d404"; suggested ranges: [desc: r71:/Table/100/"{95e5c230"-e818d404"} [(n1,s1):1, next=2, gen=15, sticky=9223372036.854775807,2147483647], lease: <empty>, closed_timestamp_policy: LAG_BY_CLUSTER_SETTING]
        Wraps: (3) key range /Table/100/"d79c3d33"-/Table/100/"fcf40c7b" outside of bounds of range /Table/100/"95e5c230"-/Table/100/"e818d404"; suggested ranges: [desc: r71:/Table/100/"{95e5c230"-e818d404"} [(n1,s1):1, next=2, gen=15, sticky=9223372036.854775807,2147483647], lease: <empty>, closed_timestamp_policy: LAG_BY_CLUSTER_SETTING]
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *roachpb.RangeKeyMismatchError
    kvnemesis_test.go:68: failure:
        error applying x.BarrierWithLAI(ctx, /Table/100/"13c43aa7", /Table/100/"21d677bd") // key range /Table/100/"13c43aa7"-/Table/100/"21d677bd" outside of bounds of range /Table/100/"13c43aa7"-/Table/100/"1a4ffa34"; suggested ranges: [desc: r78:/Table/100/"1{3c43aa7"-a4ffa34"} [(n1,s1):1, next=2, gen=6, sticky=9223372036.854775807,2147483647], lease: <empty>, closed_timestamp_policy: LAG_BY_CLUSTER_SETTING]: key range /Table/100/"13c43aa7"-/Table/100/"21d677bd" outside of bounds of range /Table/100/"13c43aa7"-/Table/100/"1a4ffa34"; suggested ranges: [desc: r78:/Table/100/"1{3c43aa7"-a4ffa34"} [(n1,s1):1, next=2, gen=6, sticky=9223372036.854775807,2147483647], lease: <empty>, closed_timestamp_policy: LAG_BY_CLUSTER_SETTING]
        (1) attached stack trace
          -- stack trace:
          | github.com/cockroachdb/cockroach/pkg/kv/kvnemesis.(*validator).failIfError
          | 	github.com/cockroachdb/cockroach/pkg/kv/kvnemesis/pkg/kv/kvnemesis/validator.go:894
          | github.com/cockroachdb/cockroach/pkg/kv/kvnemesis.(*validator).processOp
          | 	github.com/cockroachdb/cockroach/pkg/kv/kvnemesis/pkg/kv/kvnemesis/validator.go:444
          | github.com/cockroachdb/cockroach/pkg/kv/kvnemesis.Validate
          | 	github.com/cockroachdb/cockroach/pkg/kv/kvnemesis/pkg/kv/kvnemesis/validator.go:69
          | github.com/cockroachdb/cockroach/pkg/kv/kvnemesis.RunNemesis
          | 	github.com/cockroachdb/cockroach/pkg/kv/kvnemesis/pkg/kv/kvnemesis/kvnemesis.go:97
          | github.com/cockroachdb/cockroach/pkg/kv/kvnemesis.TestKVNemesisSingleNode
          | 	github.com/cockroachdb/cockroach/pkg/kv/kvnemesis/pkg/kv/kvnemesis/kvnemesis_test.go:64
          | testing.tRunner
          | 	GOROOT/src/testing/testing.go:1446
          | runtime.goexit
          | 	GOROOT/src/runtime/asm_amd64.s:1594
        Wraps: (2) error applying x.BarrierWithLAI(ctx, /Table/100/"13c43aa7", /Table/100/"21d677bd") // key range /Table/100/"13c43aa7"-/Table/100/"21d677bd" outside of bounds of range /Table/100/"13c43aa7"-/Table/100/"1a4ffa34"; suggested ranges: [desc: r78:/Table/100/"1{3c43aa7"-a4ffa34"} [(n1,s1):1, next=2, gen=6, sticky=9223372036.854775807,2147483647], lease: <empty>, closed_timestamp_policy: LAG_BY_CLUSTER_SETTING]
        Wraps: (3) key range /Table/100/"13c43aa7"-/Table/100/"21d677bd" outside of bounds of range /Table/100/"13c43aa7"-/Table/100/"1a4ffa34"; suggested ranges: [desc: r78:/Table/100/"1{3c43aa7"-a4ffa34"} [(n1,s1):1, next=2, gen=6, sticky=9223372036.854775807,2147483647], lease: <empty>, closed_timestamp_policy: LAG_BY_CLUSTER_SETTING]
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *roachpb.RangeKeyMismatchError
    kvnemesis_test.go:70: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/1f42cf5be2fc021646bf9b2daf5eaef3/logTestKVNemesisSingleNode2576194197
--- FAIL: TestKVNemesisSingleNode (13.23s)

Parameters: TAGS=bazel,gss

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-35819

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

kv/kvnemesis.TestKVNemesisSingleNode failed with artifacts on release-22.2 @ 6d16c97c1b9f553b81fb36200106bc6c5665ab3a:

=== RUN   TestKVNemesisSingleNode
    test_log_scope.go:161: test logs captured to: /artifacts/tmp/_tmp/1f42cf5be2fc021646bf9b2daf5eaef3/logTestKVNemesisSingleNode2689365093
    test_log_scope.go:79: use -show-logs to present logs inline
*
* INFO: Running test with the default test tenant. If you are only seeing a test case failure when this message appears, there may be a problem with your test case running within tenants.
*
    kvnemesis_test.go:68: failure:
        error applying x.BarrierWithLAI(ctx, /Table/100/"2b05eb52", /Table/100/"89479b35") // key range /Table/100/"2b05eb52"-/Table/100/"89479b35" outside of bounds of range /Table/52-/Table/100/"2f148165"; suggested ranges: [desc: r52:/Table/{52-100/"2f148165"} [(n1,s1):1, next=2, gen=6], lease: <empty>, closed_timestamp_policy: LAG_BY_CLUSTER_SETTING]: key range /Table/100/"2b05eb52"-/Table/100/"89479b35" outside of bounds of range /Table/52-/Table/100/"2f148165"; suggested ranges: [desc: r52:/Table/{52-100/"2f148165"} [(n1,s1):1, next=2, gen=6], lease: <empty>, closed_timestamp_policy: LAG_BY_CLUSTER_SETTING]
        (1) attached stack trace
          -- stack trace:
          | github.com/cockroachdb/cockroach/pkg/kv/kvnemesis.(*validator).failIfError
          | 	github.com/cockroachdb/cockroach/pkg/kv/kvnemesis/pkg/kv/kvnemesis/validator.go:894
          | github.com/cockroachdb/cockroach/pkg/kv/kvnemesis.(*validator).processOp
          | 	github.com/cockroachdb/cockroach/pkg/kv/kvnemesis/pkg/kv/kvnemesis/validator.go:444
          | github.com/cockroachdb/cockroach/pkg/kv/kvnemesis.Validate
          | 	github.com/cockroachdb/cockroach/pkg/kv/kvnemesis/pkg/kv/kvnemesis/validator.go:69
          | github.com/cockroachdb/cockroach/pkg/kv/kvnemesis.RunNemesis
          | 	github.com/cockroachdb/cockroach/pkg/kv/kvnemesis/pkg/kv/kvnemesis/kvnemesis.go:97
          | github.com/cockroachdb/cockroach/pkg/kv/kvnemesis.TestKVNemesisSingleNode
          | 	github.com/cockroachdb/cockroach/pkg/kv/kvnemesis/pkg/kv/kvnemesis/kvnemesis_test.go:64
          | testing.tRunner
          | 	GOROOT/src/testing/testing.go:1446
          | runtime.goexit
          | 	GOROOT/src/runtime/asm_amd64.s:1594
        Wraps: (2) error applying x.BarrierWithLAI(ctx, /Table/100/"2b05eb52", /Table/100/"89479b35") // key range /Table/100/"2b05eb52"-/Table/100/"89479b35" outside of bounds of range /Table/52-/Table/100/"2f148165"; suggested ranges: [desc: r52:/Table/{52-100/"2f148165"} [(n1,s1):1, next=2, gen=6], lease: <empty>, closed_timestamp_policy: LAG_BY_CLUSTER_SETTING]
        Wraps: (3) key range /Table/100/"2b05eb52"-/Table/100/"89479b35" outside of bounds of range /Table/52-/Table/100/"2f148165"; suggested ranges: [desc: r52:/Table/{52-100/"2f148165"} [(n1,s1):1, next=2, gen=6], lease: <empty>, closed_timestamp_policy: LAG_BY_CLUSTER_SETTING]
        Error types: (1) *withstack.withStack (2) *errutil.withPrefix (3) *roachpb.RangeKeyMismatchError
    kvnemesis_test.go:70: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/1f42cf5be2fc021646bf9b2daf5eaef3/logTestKVNemesisSingleNode2689365093
--- FAIL: TestKVNemesisSingleNode (16.96s)

Parameters: TAGS=bazel,gss,deadlock

Help

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

Same failure on other branches

This test on roachdash | Improve this report!

@erikgrinaker
Copy link
Contributor

Fallout from #118474. Needed significant changes to the kvnemesis testing, so I probably got something wrong. Doesn't seem like an actual bug, but will have a closer look.

@erikgrinaker erikgrinaker self-assigned this Feb 2, 2024
@erikgrinaker erikgrinaker 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 Feb 2, 2024
@erikgrinaker erikgrinaker removed the release-blocker Indicates a release-blocker. Use with branch-release-2x.x label to denote which branch is blocked. label Feb 2, 2024
@nvanbenschoten
Copy link
Member

@erikgrinaker we can close this now that #118639 is merged, right? And #118636?

@erikgrinaker
Copy link
Contributor

Yep -- thought GitHub would autoclose, but I guess that only works with master.

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-release-22.2 Used to mark GA and release blockers, technical advisories, and bugs for 22.2 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. T-kv KV Team
Projects
No open projects
Status: Closed
Development

No branches or pull requests

3 participants