Skip to content

kv/kvserver: TestLeasePreferencesDuringOutage failed #72920

@cockroach-teamcity

Description

@cockroach-teamcity

kv/kvserver.TestLeasePreferencesDuringOutage failed with artifacts on release-21.2 @ de3aa0be93809feccd8040bf55cdbb8bea8cb1e9:

=== RUN   TestLeasePreferencesDuringOutage
    test_log_scope.go:79: test logs captured to: /go/src/github.com/cockroachdb/cockroach/artifacts/logTestLeasePreferencesDuringOutage432941734
    test_log_scope.go:80: use -show-logs to present logs inline
    client_lease_test.go:653: 
        	Error Trace:	client_lease_test.go:653
        	            				client_lease_test.go:659
        	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:59
        	            	  | runtime.doInit
        	            	  | 	/usr/local/go/src/runtime/proc.go:6309
        	            	  | runtime.doInit
        	            	  | 	/usr/local/go/src/runtime/proc.go:6286
        	            	  | runtime.doInit
        	            	  | 	/usr/local/go/src/runtime/proc.go:6286
        	            	  | runtime.main
        	            	  | 	/usr/local/go/src/runtime/proc.go:208
        	            	  | runtime.goexit
        	            	  | 	/usr/local/go/src/runtime/asm_amd64.s:1371
        	            	Wraps: (2) heartbeat failed on epoch increment
        	            	Error types: (1) *withstack.withStack (2) *errutil.leafError
        	Test:       	TestLeasePreferencesDuringOutage
    panic.go:632: -- test log scope end --
test logs left over in: /go/src/github.com/cockroachdb/cockroach/artifacts/logTestLeasePreferencesDuringOutage432941734
--- FAIL: TestLeasePreferencesDuringOutage (9.54s)
Reproduce

To reproduce, try:

make stressrace TESTS=TestLeasePreferencesDuringOutage PKG=./pkg/kv/kvserver TESTTIMEOUT=5m STRESSFLAGS='-timeout 5m' 2>&1

Parameters in this failure:

  • GOFLAGS=-json

Same failure on other branches

/cc @cockroachdb/kv lunevalex

This test on roachdash | Improve this report!

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-test-failureBroken test (automatically or manually discovered).O-robotOriginated from a bot.S-1High impact: many users impacted, serious risk of high unavailability or data lossT-kvKV TeamX-stale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions