We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please answer these questions before submitting your issue. Thanks!
https://do.pingcap.net/jenkins/blue/organizations/jenkins/pingcap%2Ftidb%2Fghpr_unit_test/detail/ghpr_unit_test/9438/pipeline
testkit.go:158: Error Trace: pkg/testkit/testkit.go:158 pkg/testkit/testkit.go:151 pkg/ddl/db_test.go:1103 src/runtime/asm_amd64.s:1650 Error: Received unexpected error: [schema:1049]Unknown database '(Schema ID 2)' github.com/pingcap/errors.AddStack external/com_github_pingcap_errors/errors.go:178 github.com/pingcap/errors.Trace external/com_github_pingcap_errors/juju_adaptor.go:15 github.com/pingcap/tidb/pkg/ddl.(*ddl).DoDDLJob pkg/ddl/ddl.go:1293 github.com/pingcap/tidb/pkg/ddl.(*ddl).TruncateTable pkg/ddl/ddl_api.go:7135 github.com/pingcap/tidb/pkg/executor.(*DDLExec).executeTruncateTable pkg/executor/ddl.go:244 github.com/pingcap/tidb/pkg/executor.(*DDLExec).Next pkg/executor/ddl.go:191 github.com/pingcap/tidb/pkg/executor/internal/exec.Next pkg/executor/internal/exec/executor.go:410 github.com/pingcap/tidb/pkg/executor.(*ExecStmt).next pkg/executor/adapter.go:1211 github.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor pkg/executor/adapter.go:960 github.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay pkg/executor/adapter.go:794 github.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec pkg/executor/adapter.go:559 github.com/pingcap/tidb/pkg/session.runStmt pkg/session/session.go:2285 github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt pkg/session/session.go:2146 github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext pkg/testkit/testkit.go:384 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext pkg/testkit/testkit.go:156 github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec pkg/testkit/testkit.go:151 github.com/pingcap/tidb/pkg/ddl_test.TestTruncateTableAndSchemaDependence.func2 pkg/ddl/db_test.go:1103 runtime.goexit src/runtime/asm_amd64.s:1650 Test: TestTruncateTableAndSchemaDependence
[2024/05/14 02:11:10.598 +00:00] [INFO] [callback.go:122] ["on job updated"] [category=ddl] [job="ID:105, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:104, RowCount:0, ArgLen:0, start time: 2024-05-14 02:11:10.549 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false"] [2024/05/14 02:11:10.599 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=52] [cur_db=] [sql="truncate table test.t"] [user=] [2024/05/14 02:11:10.599 +00:00] [INFO] [session.go:3959] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=52] [cur_db=] [sql="drop database test"] [user=] [2024/05/14 02:11:10.601 +00:00] [INFO] [ddl_worker.go:259] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:drop schema, State:queueing, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2024-05-14 02:11:10.6 +0000 UTC, Err:<nil>, ErrCount:0, SnapshotVersion:0, LocalMode: false; "] [table=true]
No error
Test failed
4b91fee
The text was updated successfully, but these errors were encountered:
test: stabilize TestTruncateTableAndSchemaDependence (#53245)
39383e3
close #53244
test: stabilize TestTruncateTableAndSchemaDependence (pingcap#53245)
9146130
close pingcap#53244
589d2b0
Successfully merging a pull request may close this issue.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
https://do.pingcap.net/jenkins/blue/organizations/jenkins/pingcap%2Ftidb%2Fghpr_unit_test/detail/ghpr_unit_test/9438/pipeline
2. What did you expect to see? (Required)
No error
3. What did you see instead (Required)
Test failed
4. What is your TiDB version? (Required)
4b91fee
The text was updated successfully, but these errors were encountered: