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: TestConcurrentDDLSwitch #39227

Closed
purelind opened this issue Nov 18, 2022 · 1 comment
Closed

unstable test: TestConcurrentDDLSwitch #39227

purelind opened this issue Nov 18, 2022 · 1 comment

Comments

@purelind
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Error Trace:	/home/jenkins/.tidb/tmp/5b8829669b2a941b840f9eb369e2b54f/sandbox/processwrapper-sandbox/7218/execroot/__main__/bazel-out/k8-fastbuild/bin/ddl/concurrentddltest/concurrentddltest_test_/concurrentddltest_test.runfiles/__main__/ddl/concurrentddltest/testkit.go:129
        	            				/home/jenkins/.tidb/tmp/5b8829669b2a941b840f9eb369e2b54f/sandbox/processwrapper-sandbox/7218/execroot/__main__/bazel-out/k8-fastbuild/bin/ddl/concurrentddltest/concurrentddltest_test_/concurrentddltest_test.runfiles/__main__/ddl/concurrentddltest/testkit.go:122
        	            				/home/jenkins/.tidb/tmp/5b8829669b2a941b840f9eb369e2b54f/sandbox/processwrapper-sandbox/7218/execroot/__main__/bazel-out/k8-fastbuild/bin/ddl/concurrentddltest/concurrentddltest_test_/concurrentddltest_test.runfiles/__main__/ddl/concurrentddltest/switch_test.go:81
        	            				/home/jenkins/.tidb/tmp/5b8829669b2a941b840f9eb369e2b54f/sandbox/processwrapper-sandbox/7218/execroot/__main__/bazel-out/k8-fastbuild/bin/ddl/concurrentddltest/concurrentddltest_test_/concurrentddltest_test.runfiles/__main__/ddl/concurrentddltest/asm_amd64.s:1594
        	Error:      	Received unexpected error:
        	            	context canceled
        	            	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).callHookOnChanged
        	            		ddl/ddl.go:1126
        	            	github.com/pingcap/tidb/ddl.(*ddl).createIndex
        	            		ddl/ddl_api.go:6265
        	            	github.com/pingcap/tidb/ddl.(*ddl).AlterTable
        	            		ddl/ddl_api.go:3289
        	            	github.com/pingcap/tidb/executor.(*DDLExec).executeAlterTable
        	            		executor/ddl.go:377
        	            	github.com/pingcap/tidb/executor.(*DDLExec).Next
        	            		executor/ddl.go:147
        	            	github.com/pingcap/tidb/executor.Next
        	            		executor/executor.go:329
        	            	github.com/pingcap/tidb/executor.(*ExecStmt).next
        	            		executor/adapter.go:1118
        	            	github.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelayExecutor
        	            		executor/adapter.go:891
        	            	github.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelay
        	            		executor/adapter.go:739
        	            	github.com/pingcap/tidb/executor.(*ExecStmt).Exec
        	            		executor/adapter.go:544
        	            	github.com/pingcap/tidb/session.runStmt
        	            		session/session.go:2322
        	            	github.com/pingcap/tidb/session.(*session).ExecuteStmt
        	            		session/session.go:2186
        	            	github.com/pingcap/tidb/testkit.(*TestKit).ExecWithContext
        	            		testkit/testkit.go:295
        	            	github.com/pingcap/tidb/testkit.(*TestKit).MustExecWithContext
        	            		testkit/testkit.go:127
        	            	github.com/pingcap/tidb/testkit.(*TestKit).MustExec
        	            		testkit/testkit.go:122
        	            	ddl/concurrentddltest/concurrentddltest_test.TestConcurrentDDLSwitch.func1.1
        	            		ddl/concurrentddltest/switch_test.go:81
        	            	runtime.goexit
        	            		src/runtime/asm_amd64.s:1594
        	Test:       	TestConcurrentDDLSwitch
        	Messages:   	sql:alter table t14 add index idx0 (col0), [], error stack context canceled
        	            	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).callHookOnChanged
        	            		ddl/ddl.go:1126
        	            	github.com/pingcap/tidb/ddl.(*ddl).createIndex
        	            		ddl/ddl_api.go:6265
        	            	github.com/pingcap/tidb/ddl.(*ddl).AlterTable
        	            		ddl/ddl_api.go:3289
        	            	github.com/pingcap/tidb/executor.(*DDLExec).executeAlterTable
        	            		executor/ddl.go:377
        	            	github.com/pingcap/tidb/executor.(*DDLExec).Next
        	            		executor/ddl.go:147
        	            	github.com/pingcap/tidb/executor.Next
        	            		executor/executor.go:329
        	            	github.com/pingcap/tidb/executor.(*ExecStmt).next
        	            		executor/adapter.go:1118
        	            	github.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelayExecutor
        	            		executor/adapter.go:891
        	            	github.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelay
        	            		executor/adapter.go:739
        	            	github.com/pingcap/tidb/executor.(*ExecStmt).Exec
        	            		executor/adapter.go:544
        	            	github.com/pingcap/tidb/session.runStmt
        	            		session/session.go:2322
        	            	github.com/pingcap/tidb/session.(*session).ExecuteStmt
        	            		session/session.go:2186
        	            	github.com/pingcap/tidb/testkit.(*TestKit).ExecWithContext
        	            		testkit/testkit.go:295
        	            	github.com/pingcap/tidb/testkit.(*TestKit).MustExecWithContext
        	            		testkit/testkit.go:127
        	            	github.com/pingcap/tidb/testkit.(*TestKit).MustExec
        	            		testkit/testkit.go:122
        	            	ddl/concurrentddltest/concurrentddltest_test.TestConcurrentDDLSwitch.func1.1
        	            		ddl/concurrentddltest/switch_test.go:81
        	            	runtime.goexit
        	            		src/runtime/asm_amd64.s:1594

link https://ci.pingcap.net/blue/organizations/jenkins/tidb-unit-test-hourly/detail/tidb-unit-test-hourly/11679/tests

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

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

@purelind purelind added the type/bug The issue is confirmed as a bug. label Nov 18, 2022
@ti-chi-bot ti-chi-bot added may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.0 This bug maybe affects 5.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. 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.0 may-affects-6.1 may-affects-6.2 may-affects-6.3 may-affects-6.4 labels Nov 21, 2022
@wjhuang2016 wjhuang2016 removed may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. 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-5.0 This bug maybe affects 5.0.x versions. may-affects-6.0 may-affects-6.1 labels Nov 29, 2022
@jebter jebter added the component/ddl This issue is related to DDL of TiDB. label Sep 11, 2023
@D3Hunter
Copy link
Contributor

the code is removed in #39684, so close this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants