Skip to content

pkg/kv/kvserver/protectedts/ptcache/ptcache_test: TestStart failed #109565

@cockroach-teamcity

Description

@cockroach-teamcity

pkg/kv/kvserver/protectedts/ptcache/ptcache_test.TestStart failed with artifacts on master @ 671500be0c22d14d3cb0089313cb49c736631bac:

Fatal error:

panic: attempting to start span with parent from different Tracer.
parent operation: refresh-protectedts-cache, tracer created at:

Stack:

goroutine 1159229 [running]:
runtime/debug.Stack()
	GOROOT/src/runtime/debug/stack.go:24 +0x65
github.com/cockroachdb/cockroach/pkg/util/tracing.NewTracer()
	github.com/cockroachdb/cockroach/pkg/util/tracing/tracer.go:613 +0x36
github.com/cockroachdb/cockroach/pkg/util/tracing.NewTracerWithOpt({0x63c46b0, 0xc000084080}, {0xc003578d78, 0x2, 0xc003578500?})
	github.com/cockroachdb/cockroach/pkg/util/tracing/tracer.go:655 +0x58
github.com/cockroachdb/cockroach/pkg/server.makeTestConfigFromParams({{{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, ...}, ...})
	github.com/cockroachdb/cockroach/pkg/server/testserver.go:162 +0x15e
github.com/cockroachdb/cockroach/pkg/server.testServerFactoryImpl.New({}, {{{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, ...}, ...}, ...})
	github.com/cockroachdb/cockroach/pkg/server/testserver.go:2250 +0x105
github.com/cockroachdb/cockroach/pkg/testutils/serverutils.NewServer({{{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, ...}, ...})
	github.com/cockroachdb/cockroach/pkg/testutils/serverutils/test_server_shim.go:246 +0x63
github.com/cockroachdb/cockroach/pkg/testutils/serverutils.StartServerOnlyE({_, _}, {{{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, ...}, ...})
	github.com/cockroachdb/cockroach/pkg/testutils/serverutils/test_server_shim.go:193 +0xba
github.com/cockroachdb/cockroach/pkg/testutils/serverutils.StartServerOnly({_, _}, {{{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, ...}, ...})
	github.com/cockroachdb/cockroach/pkg/testutils/serverutils/test_server_shim.go:215 +0x85
pkg/kv/kvserver/protectedts/ptcache/ptcache_test_test.TestStart.func1()
	pkg/kv/kvserver/protectedts/ptcache/ptcache_test_test/pkg/kv/kvserver/protectedts/ptcache/cache_test.go:302 +0xaa
pkg/kv/kvserver/protectedts/ptcache/ptcache_test_test.TestStart.func2(0xc00d244d00)
	pkg/kv/kvserver/protectedts/ptcache/ptcache_test_test/pkg/kv/kvserver/protectedts/ptcache/cache_test.go:326 +0xcd
testing.tRunner(0xc00d244d00, 0xc002dae0c0)
	GOROOT/src/testing/testing.go:1446 +0x10b
created by testing.(*T).Run
	GOROOT/src/testing/testing.go:1493 +0x35f
Log preceding fatal error

=== RUN   TestStart
    test_log_scope.go:167: test logs captured to: /artifacts/tmp/_tmp/38ac07ab4502a5d29d43ab1930ae73cb/logTestStart2709155995
    test_log_scope.go:81: use -show-logs to present logs inline
=== CONT  TestStart
    test_server_shim.go:131: automatically injected virtual cluster under test; see comment at top of test_server_shim.go for details.

Parameters: TAGS=bazel,gss,deadlock , stress=true

Help

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

/cc @cockroachdb/kv

This test on roachdash | Improve this report!

Jira issue: CRDB-30992

Metadata

Metadata

Assignees

Labels

A-testingTesting tools and infrastructureC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.C-test-failureBroken test (automatically or manually discovered).O-robotOriginated from a bot.T-kvKV Teambranch-masterFailures and bugs on the master branch.

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions