Skip to content

jobs: flake in TestJobsProtectedTimestamp #91865

@knz

Description

@knz

Found here: https://teamcity.cockroachdb.com/buildConfiguration/Cockroach_BazelExtendedCi/7506818?showRootCauses=false&expandBuildProblemsSection=true&expandBuildTestsSection=true

jobs_protected_ts_test.go:176
                Error:          Received unexpected error:
                                protected timestamp record does not exist
                                (1) attached stack trace
                                  -- stack trace:
                                  | github.com/cockroachdb/cockroach/pkg/kv/kvserver/protectedts.init
                                  |     github.com/cockroachdb/cockroach/pkg/kv/kvserver/protectedts/protectedts.go:31
                                  | runtime.doInit
                                  |     GOROOT/src/runtime/proc.go:6321
                                  | runtime.doInit
                                  |     GOROOT/src/runtime/proc.go:6298
                                  | runtime.doInit
                                  |     GOROOT/src/runtime/proc.go:6298
                                  | runtime.doInit
                                  |     GOROOT/src/runtime/proc.go:6298
                                  | runtime.doInit
                                  |     GOROOT/src/runtime/proc.go:6298
                                  | runtime.main
                                  |     GOROOT/src/runtime/proc.go:233
                                  | runtime.goexit
                                  |     GOROOT/src/runtime/asm_amd64.s:1594
                                Wraps: (2) protected timestamp record does not exist
                                Error types: (1) *withstack.withStack (2) *errutil.leafError
                Test:           TestJobsProtectedTimestamp/system-tenant
FAIL

Also, this test would benefit from a defer log.Scope(t).Close(t)

Jira issue: CRDB-21464

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions