-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
C-test-failureBroken test (automatically or manually discovered).Broken test (automatically or manually discovered).O-robotOriginated from a bot.Originated from a bot.P-2Issues/test failures with a fix SLA of 3 monthsIssues/test failures with a fix SLA of 3 monthsT-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)SQL Foundations Team (formerly SQL Schema + SQL Sessions)branch-masterFailures and bugs on the master branch.Failures and bugs on the master branch.branch-release-25.4Used to mark GA and release blockers and technical advisories for 25.4Used to mark GA and release blockers and technical advisories for 25.4target-release-25.4.0target-release-26.1.0
Description
pkg/ccl/testccl/workload/schemachange/schemachange_test.TestWorkload failed with artifacts on master @ bb1c098ecc7058a2b24a23820c5a8e235dfa714c:
true,
true,
true,
true,
true,
true,
true,
false
]
}
],
"previousStatements": [
"ALTER TABLE public.table_w0_141 ALTER PRIMARY KEY USING COLUMNS (col141_w0_147, col141_w0_149, col141_w0_152) USING HASH"
]
}
}
schema_change_external_test.go:165:
Error Trace: pkg/ccl/testccl/workload/schemachange/schema_change_external_test.go:165
Error: Received unexpected error:
***UNEXPECTED COMMIT ERROR; Received an unexpected commit error: ERROR: transaction committed but schema change aborted with error: (XX000): executing declarative schema change PostCommitPhase stage 7 of 16 with 3 ValidationType ops (rollback=false) for ALTER TABLE: validation of index crdb_internal_index_4_name_placeholder failed: expected 0 rows, found 4 (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.(*schemaChangeWorker).run
| pkg/workload/schemachange/schemachange.go:682
| 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_arm64.s:1223
Wraps: (4) ***UNEXPECTED COMMIT ERROR; Received an unexpected commit error
Wraps: (5) ERROR: transaction committed but schema change aborted with error: (XX000): executing declarative schema change PostCommitPhase stage 7 of 16 with 3 ValidationType ops (rollback=false) for ALTER TABLE: validation of index crdb_internal_index_4_name_placeholder failed: expected 0 rows, found 4 (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 = 84
Total Schema Statements Succeeded = 84
Total Schema Statement Expected Failures = 0
Total Transactions Committed = 57
Total Transactions Rolled Back = 40
Total Transactions Executed = 97
schema_change_external_test.go:118: backup, tracing data, and system table dumps in /artifacts/tmp/_tmp/67537770b84c3a4ea177539c1e46bd43/logTestWorkload4294111833
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: /artifacts/tmp/_tmp/67537770b84c3a4ea177539c1e46bd43/logTestWorkload4294111833
--- FAIL: TestWorkload (63.14s)
Same failure on other branches
- pkg/ccl/testccl/workload/schemachange/schemachange_test: TestWorkload failed [insert violates foreign key constraint] #154715 pkg/ccl/testccl/workload/schemachange/schemachange_test: TestWorkload failed [insert violates foreign key constraint] [C-test-failure O-robot P-2 T-sql-foundations branch-release-24.3.21-rc]
- pkg/ccl/testccl/workload/schemachange/schemachange_test: TestWorkload failed [depends-on relation is dropped during DROP SCHEMA CASCADE] #154221 pkg/ccl/testccl/workload/schemachange/schemachange_test: TestWorkload failed [depends-on relation is dropped during DROP SCHEMA CASCADE] [C-test-failure O-robot P-2 T-sql-foundations branch-release-25.3]
- pkg/ccl/testccl/workload/schemachange/schemachange_test: TestWorkload failed [did not received expected DependentObjectsStillExist error] #153823 pkg/ccl/testccl/workload/schemachange/schemachange_test: TestWorkload failed [did not received expected DependentObjectsStillExist error] [C-test-failure O-robot P-2 T-sql-foundations branch-release-24.3]
- pkg/ccl/testccl/workload/schemachange/schemachange_test: TestWorkload failed [column "crdb_internal_column_3_name_placeholder" does not exist] #153126 pkg/ccl/testccl/workload/schemachange/schemachange_test: TestWorkload failed [column "crdb_internal_column_3_name_placeholder" does not exist] [C-test-failure O-robot P-2 T-sql-foundations branch-release-24.3.20-rc]
This test on roachdash | Improve this report!
Jira issue: CRDB-55258
Metadata
Metadata
Assignees
Labels
C-test-failureBroken test (automatically or manually discovered).Broken test (automatically or manually discovered).O-robotOriginated from a bot.Originated from a bot.P-2Issues/test failures with a fix SLA of 3 monthsIssues/test failures with a fix SLA of 3 monthsT-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)SQL Foundations Team (formerly SQL Schema + SQL Sessions)branch-masterFailures and bugs on the master branch.Failures and bugs on the master branch.branch-release-25.4Used to mark GA and release blockers and technical advisories for 25.4Used to mark GA and release blockers and technical advisories for 25.4target-release-25.4.0target-release-26.1.0