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 TestBackupAndRestore #42571

Closed
Tracked by #41316
Defined2014 opened this issue Mar 24, 2023 · 1 comment
Closed
Tracked by #41316

Unstable test TestBackupAndRestore #42571

Defined2014 opened this issue Mar 24, 2023 · 1 comment
Labels
affects-7.1 component/br This issue is related to BR of TiDB. component/test severity/major type/bug The issue is confirmed as a bug.

Comments

@Defined2014
Copy link
Contributor

Defined2014 commented Mar 24, 2023

[2023/03/24 20:11:18.774 +08:00] [WARN] [session.go:2201] ["run statement failed"] [schemaVersion=52] [error="[schema:1050]Table 'br.t1' already exists"] [errorVerbose="[schema:1050]Table 'br.t1' already exists\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:174\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:164\ngithub.com/pingcap/tidb/ddl.(*ddl).createTableWithInfoJob\n\tddl/ddl_api.go:2433\ngithub.com/pingcap/tidb/ddl.(*ddl).CreateTableWithInfo\n\tddl/ddl_api.go:2533\ngithub.com/pingcap/tidb/ddl.(*ddl).CreateTable\n\tddl/ddl_api.go:2391\ngithub.com/pingcap/tidb/executor.(*DDLExec).executeCreateTable\n\texecutor/ddl.go:264\ngithub.com/pingcap/tidb/executor.(*DDLExec).Next\n\texecutor/ddl.go:156\ngithub.com/pingcap/tidb/executor.Next\n\texecutor/executor.go:326\ngithub.com/pingcap/tidb/executor.(*ExecStmt).next\n\texecutor/adapter.go:1199\ngithub.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelayExecutor\n\texecutor/adapter.go:944\ngithub.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelay\n\texecutor/adapter.go:769\ngithub.com/pingcap/tidb/executor.(*ExecStmt).Exec\n\texecutor/adapter.go:564\ngithub.com/pingcap/tidb/session.runStmt\n\tsession/session.go:2332\ngithub.com/pingcap/tidb/session.(*session).ExecuteStmt\n\tsession/session.go:2189\ngithub.com/pingcap/tidb/testkit.(*TestKit).ExecWithContext\n\ttestkit/testkit.go:325\ngithub.com/pingcap/tidb/testkit.(*TestKit).MustExecWithContext\n\ttestkit/testkit.go:133\ngithub.com/pingcap/tidb/testkit.(*TestKit).MustExec\n\ttestkit/testkit.go:128\ntests/realtikvtest/brietest/brietest_test.TestBackupAndRestore\n\ttests/realtikvtest/brietest/backup_restore_test.go:43\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1576\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1598"] [session="{\n  \"currDBName\": \"br\",\n  \"id\": 2,\n  \"status\": 2,\n  \"strictMode\": true,\n  \"user\": null\n}"]

    testkit.go:135: 

        	Error Trace:	testkit/testkit.go:135

        	            				testkit/testkit.go:128

        	            				tests/realtikvtest/brietest/backup_restore_test.go:43

        	Error:      	Received unexpected error:

        	            	[schema:1050]Table 'br.t1' already exists

        	            	github.com/pingcap/errors.AddStack

        	            		external/com_github_pingcap_errors/errors.go:174

        	            	github.com/pingcap/errors.(*Error).GenWithStackByArgs

        	            		external/com_github_pingcap_errors/normalize.go:164

        	            	github.com/pingcap/tidb/ddl.(*ddl).createTableWithInfoJob

        	            		ddl/ddl_api.go:2433

        	            	github.com/pingcap/tidb/ddl.(*ddl).CreateTableWithInfo

        	            		ddl/ddl_api.go:2533

        	            	github.com/pingcap/tidb/ddl.(*ddl).CreateTable

        	            		ddl/ddl_api.go:2391

        	            	github.com/pingcap/tidb/executor.(*DDLExec).executeCreateTable

        	            		executor/ddl.go:264

        	            	github.com/pingcap/tidb/executor.(*DDLExec).Next

        	            		executor/ddl.go:156

        	            	github.com/pingcap/tidb/executor.Next

        	            		executor/executor.go:326

        	            	github.com/pingcap/tidb/executor.(*ExecStmt).next

        	            		executor/adapter.go:1199

        	            	github.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelayExecutor

        	            		executor/adapter.go:944

        	            	github.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelay

        	            		executor/adapter.go:769

        	            	github.com/pingcap/tidb/executor.(*ExecStmt).Exec

        	            		executor/adapter.go:564

        	            	github.com/pingcap/tidb/session.runStmt

        	            		session/session.go:2332

        	            	github.com/pingcap/tidb/session.(*session).ExecuteStmt

        	            		session/session.go:2189

        	            	github.com/pingcap/tidb/testkit.(*TestKit).ExecWithContext

        	            		testkit/testkit.go:325

        	            	github.com/pingcap/tidb/testkit.(*TestKit).MustExecWithContext

        	            		testkit/testkit.go:133

        	            	github.com/pingcap/tidb/testkit.(*TestKit).MustExec

        	            		testkit/testkit.go:128

        	            	tests/realtikvtest/brietest/brietest_test.TestBackupAndRestore

        	            		tests/realtikvtest/brietest/backup_restore_test.go:43

        	            	testing.tRunner

        	            		GOROOT/src/testing/testing.go:1576

        	            	runtime.goexit

        	            		src/runtime/asm_amd64.s:1598

        	Test:       	TestBackupAndRestore

        	Messages:   	sql:create table t1(v int), [], error stack [schema:1050]Table 'br.t1' already exists

        	            	github.com/pingcap/errors.AddStack

        	            		external/com_github_pingcap_errors/errors.go:174

        	            	github.com/pingcap/errors.(*Error).GenWithStackByArgs

        	            		external/com_github_pingcap_errors/normalize.go:164

        	            	github.com/pingcap/tidb/ddl.(*ddl).createTableWithInfoJob

        	            		ddl/ddl_api.go:2433

        	            	github.com/pingcap/tidb/ddl.(*ddl).CreateTableWithInfo

        	            		ddl/ddl_api.go:2533

        	            	github.com/pingcap/tidb/ddl.(*ddl).CreateTable

        	            		ddl/ddl_api.go:2391

        	            	github.com/pingcap/tidb/executor.(*DDLExec).executeCreateTable

        	            		executor/ddl.go:264

        	            	github.com/pingcap/tidb/executor.(*DDLExec).Next

        	            		executor/ddl.go:156

        	            	github.com/pingcap/tidb/executor.Next

        	            		executor/executor.go:326

        	            	github.com/pingcap/tidb/executor.(*ExecStmt).next

        	            		executor/adapter.go:1199

        	            	github.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelayExecutor

        	            		executor/adapter.go:944

        	            	github.com/pingcap/tidb/executor.(*ExecStmt).handleNoDelay

        	            		executor/adapter.go:769

        	            	github.com/pingcap/tidb/executor.(*ExecStmt).Exec

        	            		executor/adapter.go:564

        	            	github.com/pingcap/tidb/session.runStmt

        	            		session/session.go:2332

        	            	github.com/pingcap/tidb/session.(*session).ExecuteStmt

        	            		session/session.go:2189

        	            	github.com/pingcap/tidb/testkit.(*TestKit).ExecWithContext

        	            		testkit/testkit.go:325

        	            	github.com/pingcap/tidb/testkit.(*TestKit).MustExecWithContext

        	            		testkit/testkit.go:133

        	            	github.com/pingcap/tidb/testkit.(*TestKit).MustExec

        	            		testkit/testkit.go:128

        	            	tests/realtikvtest/brietest/brietest_test.TestBackupAndRestore

        	            		tests/realtikvtest/brietest/backup_restore_test.go:43

        	            	testing.tRunner

        	            		GOROOT/src/testing/testing.go:1576

        	            	runtime.goexit

        	            		src/runtime/asm_amd64.s:1598

[2023/03/24 20:11:18.778 +08:00] [WARN] [manager.go:261] ["is not the owner"] ["owner info"="[ddl] /tidb/ddl/fg/owner ownerManager 145af0df-f605-40df-adf3-c23f41570240"]

https://do.pingcap.net/jenkins/blue/organizations/jenkins/pingcap%2Ftidb%2Fghpr_check2/detail/ghpr_check2/17307/pipeline/232

@Defined2014 Defined2014 added the type/bug The issue is confirmed as a bug. label Mar 24, 2023
@Defined2014 Defined2014 changed the title Unstable Unstable test TestBackupAndRestore Mar 24, 2023
@Defined2014 Defined2014 added the component/br This issue is related to BR of TiDB. label Mar 24, 2023
@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.1 may-affects-6.5 labels Mar 31, 2023
@seiya-annie seiya-annie 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.1 may-affects-6.5 labels Mar 31, 2023
@Defined2014
Copy link
Contributor Author

Not seen it recently, so close it first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.1 component/br This issue is related to BR of TiDB. component/test severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

5 participants