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/kvserver: TestLeasePreferencesDuringOutage failed #73980

Closed
cockroach-teamcity opened this issue Dec 17, 2021 · 5 comments
Closed

kv/kvserver: TestLeasePreferencesDuringOutage failed #73980

cockroach-teamcity opened this issue Dec 17, 2021 · 5 comments
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). no-test-failure-activity O-robot Originated from a bot. S-1 High impact: many users impacted, serious risk of high unavailability or data loss T-kv KV Team

Comments

@cockroach-teamcity
Copy link
Member

kv/kvserver.TestLeasePreferencesDuringOutage failed with artifacts on master @ ce26e48fcc51c66b8e32502cb989cd7cb9d4af66:

=== RUN   TestLeasePreferencesDuringOutage
    test_log_scope.go:79: test logs captured to: /go/src/github.com/cockroachdb/cockroach/artifacts/logTestLeasePreferencesDuringOutage2302799883
    test_log_scope.go:80: use -show-logs to present logs inline
    client_lease_test.go:655: 
        	Error Trace:	client_lease_test.go:655
        	            				client_lease_test.go:661
        	Error:      	Received unexpected error:
        	            	heartbeat failed on epoch increment
        	            	(1) attached stack trace
        	            	  -- stack trace:
        	            	  | github.com/cockroachdb/cockroach/pkg/kv/kvserver/liveness.init
        	            	  | 	/go/src/github.com/cockroachdb/cockroach/pkg/kv/kvserver/liveness/liveness.go:60
        	            	  | runtime.doInit
        	            	  | 	/usr/local/go/src/runtime/proc.go:6498
        	            	  | runtime.doInit
        	            	  | 	/usr/local/go/src/runtime/proc.go:6475
        	            	  | runtime.doInit
        	            	  | 	/usr/local/go/src/runtime/proc.go:6475
        	            	  | runtime.main
        	            	  | 	/usr/local/go/src/runtime/proc.go:238
        	            	  | runtime.goexit
        	            	  | 	/usr/local/go/src/runtime/asm_amd64.s:1581
        	            	Wraps: (2) heartbeat failed on epoch increment
        	            	Error types: (1) *withstack.withStack (2) *errutil.leafError
        	Test:       	TestLeasePreferencesDuringOutage
    panic.go:661: -- test log scope end --
test logs left over in: /go/src/github.com/cockroachdb/cockroach/artifacts/logTestLeasePreferencesDuringOutage2302799883
--- FAIL: TestLeasePreferencesDuringOutage (9.00s)
Help

See also: [How To Investigate a Go Test Failure \(internal\)](https://cockroachlabs.atlassian.net/l/c/HgfXfJgM)Parameters in this failure:

  • GOFLAGS=-json

Same failure on other branches

/cc @cockroachdb/kv

This test on roachdash | Improve this report!

@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. labels Dec 17, 2021
@cockroach-teamcity cockroach-teamcity added this to roachtest/unit test backlog in KV Dec 17, 2021
@tbg tbg added the S-1 High impact: many users impacted, serious risk of high unavailability or data loss label Feb 1, 2022
@AlexTalks AlexTalks added the T-kv KV Team label Feb 18, 2022
@AlexTalks
Copy link
Contributor

Hasn't recurred in some time.

KV automation moved this from roachtest/unit test backlog to Closed Feb 18, 2022
@ajwerner ajwerner reopened this May 3, 2022
@tbg
Copy link
Member

tbg commented May 16, 2022

------- Stdout: -------
=== RUN   TestLeasePreferencesDuringOutage
    test_log_scope.go:79: test logs captured to: /go/src/github.com/cockroachdb/cockroach/artifacts/logTestLeasePreferencesDuringOutage332800662
    test_log_scope.go:80: use -show-logs to present logs inline
    client_lease_test.go:855: 
        	Error Trace:	client_lease_test.go:855
        	Error:      	Not equal: 
        	            	expected: "us"
        	            	actual  : "eu"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -1 +1 @@
        	            	-us
        	            	+eu
        	Test:       	TestLeasePreferencesDuringOutage
    panic.go:642: -- test log scope end --
test logs left over in: /go/src/github.com/cockroachdb/cockroach/artifacts/logTestLeasePreferencesDuringOutage332800662
--- FAIL: TestLeasePreferencesDuringOutage (8.47s)

@github-actions
Copy link

We have marked this test failure issue as stale because it has been
inactive for 1 month. If this failure is still relevant, removing the
stale label or adding a comment will keep it active. Otherwise,
we'll close it in 5 days to keep the test failure queue tidy.

@erikgrinaker
Copy link
Contributor

Fixed by #81136.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-master Failures and bugs on the master branch. C-test-failure Broken test (automatically or manually discovered). no-test-failure-activity O-robot Originated from a bot. S-1 High impact: many users impacted, serious risk of high unavailability or data loss T-kv KV Team
Projects
None yet
Development

No branches or pull requests

6 participants