Skip to content

sql: TestBackfillWithProtectedTS failed #140043

@cockroach-teamcity

Description

@cockroach-teamcity

sql.TestBackfillWithProtectedTS failed on release-24.1 @ 22e9df13947261df0ad18d231b7d525f896eab9e:

=== RUN   TestBackfillWithProtectedTS
    test_log_scope.go:165: test logs captured to: outputs.zip/logTestBackfillWithProtectedTS2755283414
    test_log_scope.go:76: use -show-logs to present logs inline
    test_server_shim.go:139: cluster virtualization disabled in global scope due to issue: #76378 (expected label: C-bug)
    conditional_wrap.go:185: 
        pkg/sql_test/pkg/sql/backfill_protected_timestamp_test.go:336: (TestBackfillWithProtectedTS.func5)
        	NOTICE: .GetStores() called via implicit interface StorageLayerInterface;
        HINT: consider using .StorageLayer().GetStores() instead.
    conditional_wrap.go:185: 
        pkg/sql_test/pkg/sql/backfill_protected_timestamp_test.go:309: (TestBackfillWithProtectedTS.func4)
        	NOTICE: .Codec() called via implicit interface ApplicationLayerInterface;
        HINT: consider using .ApplicationLayer().Codec() instead.
    conditional_wrap.go:189: TIP: consider replacing the test server initialization from:
            ts, ... := serverutils.StartServer(t, ...)
            defer ts.Stopper().Stop(...)
        to:
            srv, ... := serverutils.StartServer(t, ...)
            defer srv.Stopper().Stop(...)
            ts := srv.ApplicationLayer()
        
        See also: https://go.crdb.dev/p/testserver-and-cluster-virtualization
    backfill_protected_timestamp_test.go:518: -- test log scope end --
test logs left over in: outputs.zip/logTestBackfillWithProtectedTS2755283414
--- FAIL: TestBackfillWithProtectedTS (81.98s)
=== RUN   TestBackfillWithProtectedTS/create_index
    backfill_protected_timestamp_test.go:472: running backfill with PTS not setup early enough
    backfill_protected_timestamp_test.go:425: i=0 begin running operations in the middle of backfill
    backfill_protected_timestamp_test.go:429: i=0 finished running operations in the middle of backfill
    backfill_protected_timestamp_test.go:425: i=1 begin running operations in the middle of backfill
    backfill_protected_timestamp_test.go:498: running backfill with PTS setup on time
    backfill_protected_timestamp_test.go:429: i=1 finished running operations in the middle of backfill
    backfill_protected_timestamp_test.go:507: 
        	Error Trace:	github.com/cockroachdb/cockroach/pkg/sql_test/pkg/sql/backfill_protected_timestamp_test.go:507
        	Error:      	Received unexpected error:
        	            	pq: crdb_internal.kv_enqueue_replica(): failed to set GC thresholds: key range /Table/107/1/1042221038428782593-/Table/107/2 outside of bounds of range /Table/107/1/1042221038428782593-/Table/107/1/1042221045965422593; suggested ranges: [desc: r74:/Table/107/1/10422210{38428782593-45965422593} [(n1,s1):1, next=2, gen=6, sticky=1738131342.498150192,0], lease: repl=(n1,s1):1 seq=1 start=0,0 epo=1 pro=1738130983.935349523,0, closed_timestamp_policy: LAG_BY_CLUSTER_SETTING]
        	Test:       	TestBackfillWithProtectedTS/create_index
    --- FAIL: TestBackfillWithProtectedTS/create_index (47.96s)

Parameters:

  • attempt=1
  • run=6
  • shard=5
Help

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

Same failure on other branches

/cc @cockroachdb/sql-foundations

This test on roachdash | Improve this report!

Jira issue: CRDB-46972

Metadata

Metadata

Assignees

Labels

C-test-failureBroken test (automatically or manually discovered).O-robotOriginated from a bot.P-1Issues/test failures with a fix SLA of 1 monthT-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)branch-release-24.1Used to mark GA and release blockers, technical advisories, and bugs for 24.1branch-release-24.3Used to mark GA and release blockers, technical advisories, and bugs for 24.3branch-release-25.1v24.1.15v24.3.9v25.1.2

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions