Skip to content

pkg/ccl/testccl/workload/schemachange/schemachange_test: TestWorkload failed #160598

@cockroach-teamcity

Description

@cockroach-teamcity

pkg/ccl/testccl/workload/schemachange/schemachange_test.TestWorkload failed on release-25.4.3-rc @ 2770f15f38075705f292a6097c4c15a56507e84f:

    "queryArgs": [
     "schema_w1_262"
    ],
    "result": []
   }
  ],
  "previousStatements": [
   "DROP SCHEMA \"schema_w1_262\" CASCADE"
  ],
  "usesDeclarativeSchemaChanger": true
 }
}
    schema_change_external_test.go:165: 
        	Error Trace:	pkg/ccl/testccl/workload/schemachange/schema_change_external_test.go:165
        	Error:      	Received unexpected error:
        	            	***UNEXPECTED ERROR; Received an unexpected execution error.: ERROR: internal error: executing declarative schema change StatementPhase stage 1 of 1 with 430 MutationType ops (rollback=false) for DROP SCHEMA: error executing StatementPhase stage 1 of 1 with 430 MutationType ops: relation "table_w1_3" (119): depends-on relation "table_w1_263" (181) is dropped (SQLSTATE XX000)
        	            	(1) forced error mark
        	            	  | "fatal error when running txn"
        	            	  | github.com/cockroachdb/errors/withstack/*withstack.withStack::
        	            	Wraps: (2)
        	            	Wraps: (3) attached stack trace
        	            	  -- stack trace:
        	            	  | github.com/cockroachdb/cockroach/pkg/workload/schemachange.(*opStmt).executeStmt
        	            	  | 	pkg/workload/schemachange/operation_generator.go:3402
        	            	  | github.com/cockroachdb/cockroach/pkg/workload/schemachange.(*schemaChangeWorker).runInTxn
        	            	  | 	pkg/workload/schemachange/schemachange.go:523
        	            	  | github.com/cockroachdb/cockroach/pkg/workload/schemachange.(*schemaChangeWorker).run
        	            	  | 	pkg/workload/schemachange/schemachange.go:611
        	            	  | pkg/ccl/testccl/workload/schemachange/schemachange_test_test.TestWorkload.TestWorkload.func5.func7
        	            	  | 	pkg/ccl/testccl/workload/schemachange/schema_change_external_test.go:154
        	            	  | golang.org/x/sync/errgroup.(*Group).Go.func1
        	            	  | 	external/org_golang_x_sync/errgroup/errgroup.go:93
        	            	  | runtime.goexit
        	            	  | 	src/runtime/asm_amd64.s:1700
        	            	Wraps: (4) ***UNEXPECTED ERROR; Received an unexpected execution error.
        	            	Wraps: (5) ERROR: internal error: executing declarative schema change StatementPhase stage 1 of 1 with 430 MutationType ops (rollback=false) for DROP SCHEMA: error executing StatementPhase stage 1 of 1 with 430 MutationType ops: relation "table_w1_3" (119): depends-on relation "table_w1_263" (181) is dropped (SQLSTATE XX000)
        	            	Error types: (1) *markers.withMark (2) *schemachange.ErrorState (3) *withstack.withStack (4) *errutil.withPrefix (5) *pgconn.PgError
        	Test:       	TestWorkload
Schema Workload Stats
Total Schema Statements Executed = 176
Total Schema Statements Succeeded = 176
Total Schema Statement Expected Failures = 0
Total Transactions Committed = 98
Total Transactions Rolled Back = 88
Total Transactions Executed = 186
    schema_change_external_test.go:118: backup, tracing data, and system table dumps in /mnt/engflow/worker/work/0/exec/bazel-out/k8-fastbuild/testlogs/pkg/ccl/testccl/workload/schemachange/schemachange_test/run_1_of_10/test.outputs/logTestWorkload3870008515
    schema_change_external_test.go:127: running DROP with use_declarative_schema_changer = on
    panic.go:635: -- test log scope end --
test logs left over in: outputs.zip/logTestWorkload3870008515
--- FAIL: TestWorkload (99.77s)

Parameters:

  • attempt=1
  • run=1
  • shard=1
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-58428

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-25.4.3-rc

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions