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 TestAddIndexIngestRecoverPartition #45070

Closed
hawkingrei opened this issue Jun 30, 2023 · 0 comments · Fixed by #46855
Closed

unstable test TestAddIndexIngestRecoverPartition #45070

hawkingrei opened this issue Jun 30, 2023 · 0 comments · Fixed by #46855
Assignees
Labels
component/test severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@hawkingrei
Copy link
Member

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

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

3. What did you see instead (Required)

     testkit.go:134: 
        	Error Trace:	testkit/testkit.go:134
        	            				testkit/testkit.go:127
        	            				ddl/ingest/integration_test.go:323
        	Error:      	Received unexpected error:
        	            	[ddl:8214]Cancelled DDL job
        	            	github.com/pingcap/errors.AddStack
        	            		external/com_github_pingcap_errors/errors.go:174
        	            	github.com/pingcap/errors.Trace
        	            		external/com_github_pingcap_errors/juju_adaptor.go:15
        	            	github.com/pingcap/tidb/ddl.(*ddl).DoDDLJob
        	            		ddl/ddl.go:1176
        	            	github.com/pingcap/tidb/ddl.(*ddl).createIndex
        	            		ddl/ddl_api.go:7057
        	            	github.com/pingcap/tidb/ddl.(*ddl).AlterTable
        	            		ddl/ddl_api.go:3570
        	            	github.com/pingcap/tidb/executor.(*DDLExec).executeAlterTable
        	            		executor/ddl.go:384
        	            	github.com/pingcap/tidb/executor.(*DDLExec).Next
        	            		executor/ddl.go:148
        	            	github.com/pingcap/tidb/executor.Next
        	            		executor/executor.go:342
        	            	github.com/pingcap/tidb/executor.(*ExecStmt).next
        	            		executor/adapter.go:1218
        	            	github.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelayExecutor
        	            		executor/adapter.go:963
        	            	github.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelay
        	            		executor/adapter.go:789
        	            	github.com/pingcap/tidb/executor.(*ExecStmt).Exec
        	            		executor/adapter.go:570
        	            	github.com/pingcap/tidb/session.runStmt
        	            		session/session.go:2422
        	            	github.com/pingcap/tidb/session.(*session).ExecuteStmt
        	            		session/session.go:2272
        	            	github.com/pingcap/tidb/testkit.(*TestKit).ExecWithContext
        	            		testkit/testkit.go:340
        	            	github.com/pingcap/tidb/testkit.(*TestKit).MustExecWithContext
        	            		testkit/testkit.go:132
        	            	github.com/pingcap/tidb/testkit.(*TestKit).MustExec
        	            		testkit/testkit.go:127
        	            	github.com/pingcap/tidb/ddl/ingest_test.TestAddIndexIngestRecoverPartition
        	            		ddl/ingest/integration_test.go:323
        	            	testing.tRunner
        	            		GOROOT/src/testing/testing.go:1576
        	            	runtime.goexit
        	            		src/runtime/asm_amd64.s:1598
        	Test:       	TestAddIndexIngestRecoverPartition
        	Messages:   	sql:alter table t add index idx(b);, [], error stack [ddl:8214]Cancelled DDL job
        	            	github.com/pingcap/errors.AddStack
        	            		external/com_github_pingcap_errors/errors.go:174
        	            	github.com/pingcap/errors.Trace
        	            		external/com_github_pingcap_errors/juju_adaptor.go:15
        	            	github.com/pingcap/tidb/ddl.(*ddl).DoDDLJob
        	            		ddl/ddl.go:1176
        	            	github.com/pingcap/tidb/ddl.(*ddl).createIndex
        	            		ddl/ddl_api.go:7057
        	            	github.com/pingcap/tidb/ddl.(*ddl).AlterTable
        	            		ddl/ddl_api.go:3570
        	            	github.com/pingcap/tidb/executor.(*DDLExec).executeAlterTable
        	            		executor/ddl.go:384
        	            	github.com/pingcap/tidb/executor.(*DDLExec).Next
        	            		executor/ddl.go:148
        	            	github.com/pingcap/tidb/executor.Next
        	            		executor/executor.go:342
        	            	github.com/pingcap/tidb/executor.(*ExecStmt).next
        	            		executor/adapter.go:1218
        	            	github.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelayExecutor
        	            		executor/adapter.go:963
        	            	github.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelay
        	            		executor/adapter.go:789
        	            	github.com/pingcap/tidb/executor.(*ExecStmt).Exec
        	            		executor/adapter.go:570
        	            	github.com/pingcap/tidb/session.runStmt
        	            		session/session.go:2422
        	            	github.com/pingcap/tidb/session.(*session).ExecuteStmt
        	            		session/session.go:2272
        	            	github.com/pingcap/tidb/testkit.(*TestKit).ExecWithContext
        	            		testkit/testkit.go:340
        	            	github.com/pingcap/tidb/testkit.(*TestKit).MustExecWithContext
        	            		testkit/testkit.go:132
        	            	github.com/pingcap/tidb/testkit.(*TestKit).MustExec
        	            		testkit/testkit.go:127
        	            	github.com/pingcap/tidb/ddl/ingest_test.TestAddIndexIngestRecoverPartition
        	            		ddl/ingest/integration_test.go:323
        	            	testing.tRunner
        	            		GOROOT/src/testing/testing.go:1576
        	            	runtime.goexit
        	            		src/runtime/asm_amd64.s:1598 

4. What is your TiDB version? (Required)

@hawkingrei hawkingrei added the type/bug The issue is confirmed as a bug. label Jun 30, 2023
@ti-chi-bot ti-chi-bot bot added may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 may-affects-7.1 labels Jul 3, 2023
@aytrack aytrack removed may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 may-affects-7.1 labels Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/test severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants