Skip to content

sql: TestBackfillWithProtectedTS failed #139901

@cockroach-teamcity

Description

@cockroach-teamcity

sql.TestBackfillWithProtectedTS failed with artifacts on release-24.3 @ dead42b4ca727caccb287a17a73e5028e0aca38b:

=== RUN   TestBackfillWithProtectedTS
    test_log_scope.go:165: test logs captured to: /artifacts/tmp/_tmp/230b14ff9b70e2729ccc9b9deabcc166/logTestBackfillWithProtectedTS614228816
    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)
    backfill_protected_timestamp_test.go:518: -- test log scope end --
test logs left over in: /artifacts/tmp/_tmp/230b14ff9b70e2729ccc9b9deabcc166/logTestBackfillWithProtectedTS614228816
--- FAIL: TestBackfillWithProtectedTS (48.96s)
=== RUN   TestBackfillWithProtectedTS/create_materialized_view
    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:	pkg/sql/backfill_protected_timestamp_test.go:507
        	Error:      	Received unexpected error:
        	            	no protected timestamp was set up by the schema change job (expected 1, got : 0)
        	            	(1) assertion failure
        	            	Wraps: (2) attached stack trace
        	            	  -- stack trace:
        	            	  | github.com/cockroachdb/cockroach/pkg/sql_test.TestBackfillWithProtectedTS.func7.2.1
        	            	  | 	pkg/sql/backfill_protected_timestamp_test.go:460
        	            	  | github.com/cockroachdb/cockroach/pkg/sql_test.TestBackfillWithProtectedTS.func7.2
        	            	  | 	pkg/sql/backfill_protected_timestamp_test.go:463
        	            	  | github.com/cockroachdb/cockroach/pkg/sql_test.TestBackfillWithProtectedTS.func7.Group.GoCtx.4
        	            	  | 	pkg/util/ctxgroup/ctxgroup.go:163
        	            	  | golang.org/x/sync/errgroup.(*Group).Go.func1
        	            	  | 	external/org_golang_x_sync/errgroup/errgroup.go:78
        	            	  | runtime.goexit
        	            	  | 	src/runtime/asm_arm64.s:1222
        	            	Wraps: (3) no protected timestamp was set up by the schema change job (expected 1, got : 0)
        	            	Error types: (1) *assert.withAssertionFailure (2) *withstack.withStack (3) *errutil.leafError
        	Test:       	TestBackfillWithProtectedTS/create_materialized_view
    --- FAIL: TestBackfillWithProtectedTS/create_materialized_view (20.10s)
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-46902

Metadata

Metadata

Assignees

Labels

C-test-failureBroken test (automatically or manually discovered).O-robotOriginated from a bot.P-2Issues/test failures with a fix SLA of 3 monthsT-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

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions