Skip to content
New issue

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

Unstable test TestCreateUniqueIndex #45323

Open
Tracked by #41316
zimulala opened this issue Jul 12, 2023 · 0 comments
Open
Tracked by #41316

Unstable test TestCreateUniqueIndex #45323

zimulala opened this issue Jul 12, 2023 · 0 comments
Assignees
Labels
component/test severity/moderate sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@zimulala
Copy link
Contributor

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%2Frelease-7.1%2Fghpr_check2/detail/ghpr_check2/625/pipeline/298/

2. What did you expect to see? (Required)

Pass TestCreateUniqueIndex

3. What did you see instead (Required)

[2023/07/12 15:26:56.053 +08:00] [WARN] [session.go:2253] ["run statement failed"] [schemaVersion=362] [error="[ddl:8214]Cancelled DDL job"] [errorVerbose="[ddl:8214]Cancelled DDL job\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:174\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/ddl.(*ddl).DoDDLJob\n\tddl/ddl.go:1164\ngithub.com/pingcap/tidb/ddl.(*ddl).createIndex\n\tddl/ddl_api.go:6816\ngithub.com/pingcap/tidb/ddl.(*ddl).AlterTable\n\tddl/ddl_api.go:3426\ngithub.com/pingcap/tidb/executor.(*DDLExec).executeAlterTable\n\texecutor/ddl.go:384\ngithub.com/pingcap/tidb/executor.(*DDLExec).Next\n\texecutor/ddl.go:148\ngithub.com/pingcap/tidb/executor.Next\n\texecutor/executor.go:326\ngithub.com/pingcap/tidb/executor.(*ExecStmt).next\n\texecutor/adapter.go:1202\ngithub.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelayExecutor\n\texecutor/adapter.go:947\ngithub.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelay\n\texecutor/adapter.go:773\ngithub.com/pingcap/tidb/executor.(*ExecStmt).Exec\n\texecutor/adapter.go:568\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2384\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2241\ngithub.com/pingcap/tidb/testkit.(*TestKit).ExecWithContext\n\ttestkit/testkit.go:324\ngithub.com/pingcap/tidb/testkit.(*TestKit).Exec\n\ttestkit/testkit.go:297\ngithub.com/pingcap/tidb/tests/realtikvtest/addindextest.createIndexOneCol\n\ttests/realtikvtest/addindextest/common.go:249\ngithub.com/pingcap/tidb/tests/realtikvtest/addindextest.addIndexUnique\n\ttests/realtikvtest/addindextest/common.go:465\ngithub.com/pingcap/tidb/tests/realtikvtest/addindextest.testOneColFrame\n\ttests/realtikvtest/addindextest/common.go:358\ngithub.com/pingcap/tidb/tests/realtikvtest/addindextest.TestCreateUniqueIndex\n\ttests/realtikvtest/addindextest/add_index_test.go:66\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1576\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1598"] [session="{\n  \"currDBName\": \"addindex\",\n  \"id\": 85,\n  \"status\": 2,\n  \"strictMode\": true,\n  \"user\": null\n}"]
    common.go:253:
        	Error Trace:	tests/realtikvtest/addindextest/common.go:253
        	            				tests/realtikvtest/addindextest/common.go:465
        	            				tests/realtikvtest/addindextest/common.go:358
        	            				tests/realtikvtest/addindextest/add_index_test.go:66
        	Error:      	"[ddl:8214]Cancelled DDL job" does not contain "Duplicate entry"
        	Test:       	TestCreateUniqueIndex

4. What is your TiDB version? (Required)

v7.1
PR: #44242

@zimulala zimulala added type/bug The issue is confirmed as a bug. component/test labels Jul 12, 2023
@lcwangchao lcwangchao added the sig/sql-infra SIG: SQL Infra label Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/test severity/moderate sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

4 participants