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

flaky test TestExchangePartitionStates #49777

Closed
hawkingrei opened this issue Dec 26, 2023 · 1 comment · Fixed by #49879
Closed

flaky test TestExchangePartitionStates #49777

hawkingrei opened this issue Dec 26, 2023 · 1 comment · Fixed by #49879
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)

 --- FAIL: TestExchangePartitionStates (14.08s)
    testkit.go:138: 
        	Error Trace:	pkg/testkit/testkit.go:138
        	            				pkg/testkit/testkit.go:131
        	            				pkg/table/tables/test/partition/partition_test.go:431
        	Error:      	Received unexpected error:
        	            	[table:1748]Found a row not matching the given partition set
        	            	github.com/pingcap/tidb/pkg/table/tables.(*partitionedTable).CheckForExchangePartition
        	            		pkg/table/tables/partition.go:1279
        	            	github.com/pingcap/tidb/pkg/executor.checkRowForExchangePartition
        	            		pkg/executor/write.go:330
        	            	github.com/pingcap/tidb/pkg/executor.(*InsertValues).fillRow
        	            		pkg/executor/insert_common.go:698
        	            	github.com/pingcap/tidb/pkg/executor.(*InsertValues).fastEvalRow
        	            		pkg/executor/insert_common.go:413
        	            	github.com/pingcap/tidb/pkg/executor.insertRows
        	            		pkg/executor/insert_common.go:219
        	            	github.com/pingcap/tidb/pkg/executor.(*InsertExec).Next
        	            		pkg/executor/insert.go:308
        	            	github.com/pingcap/tidb/pkg/executor/internal/exec.Next
        	            		pkg/executor/internal/exec/executor.go:309
        	            	github.com/pingcap/tidb/pkg/executor.(*ExecStmt).next
        	            		pkg/executor/adapter.go:1245
        	            	github.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor
        	            		pkg/executor/adapter.go:990
        	            	github.com/pingcap/tidb/pkg/executor.(*ExecStmt).handlePessimisticDML
        	            		pkg/executor/adapter.go:1051
        	            	github.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay
        	            		pkg/executor/adapter.go:813
        	            	github.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec
        	            		pkg/executor/adapter.go:597
        	            	github.com/pingcap/tidb/pkg/session.runStmt
        	            		pkg/session/session.go:2386
        	            	github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt
        	            		pkg/session/session.go:2228
        	            	github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext
        	            		pkg/testkit/testkit.go:364
        	            	github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext
        	            		pkg/testkit/testkit.go:136
        	            	github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec
        	            		pkg/testkit/testkit.go:131
        	            	pkg/table/tables/test/partition/partition_test.TestExchangePartitionStates
        	            		pkg/table/tables/test/partition/partition_test.go:431
        	            	testing.tRunner
        	            		GOROOT/src/testing/testing.go:1595
        	            	runtime.goexit
        	            		src/runtime/asm_amd64.s:1650
        	Test:       	TestExchangePartitionStates
        	Messages:   	sql:insert into t values (1000006,"1000006"), [], error stack [table:1748]Found a row not matching the given partition set
        	            	github.com/pingcap/tidb/pkg/table/tables.(*partitionedTable).CheckForExchangePartition
        	            		pkg/table/tables/partition.go:1279
        	            	github.com/pingcap/tidb/pkg/executor.checkRowForExchangePartition
        	            		pkg/executor/write.go:330
        	            	github.com/pingcap/tidb/pkg/executor.(*InsertValues).fillRow
        	            		pkg/executor/insert_common.go:698
        	            	github.com/pingcap/tidb/pkg/executor.(*InsertValues).fastEvalRow
        	            		pkg/executor/insert_common.go:413
        	            	github.com/pingcap/tidb/pkg/executor.insertRows
        	            		pkg/executor/insert_common.go:219
        	            	github.com/pingcap/tidb/pkg/executor.(*InsertExec).Next
        	            		pkg/executor/insert.go:308
        	            	github.com/pingcap/tidb/pkg/executor/internal/exec.Next
        	            		pkg/executor/internal/exec/executor.go:309
        	            	github.com/pingcap/tidb/pkg/executor.(*ExecStmt).next
        	            		pkg/executor/adapter.go:1245
        	            	github.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor
        	            		pkg/executor/adapter.go:990
        	            	github.com/pingcap/tidb/pkg/executor.(*ExecStmt).handlePessimisticDML
        	            		pkg/executor/adapter.go:1051
        	            	github.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay
        	            		pkg/executor/adapter.go:813
        	            	github.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec
        	            		pkg/executor/adapter.go:597
        	            	github.com/pingcap/tidb/pkg/session.runStmt
        	            		pkg/session/session.go:2386
        	            	github.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt
        	            		pkg/session/session.go:2228
        	            	github.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext
        	            		pkg/testkit/testkit.go:364
        	            	github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecWithContext
        	            		pkg/testkit/testkit.go:136
        	            	github.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExec
        	            		pkg/testkit/testkit.go:131
        	            	pkg/table/tables/test/partition/partition_test.TestExchangePartitionStates
        	            		pkg/table/tables/test/partition/partition_test.go:431
        	            	testing.tRunner
        	            		GOROOT/src/testing/testing.go:1595
        	            	runtime.goexit
        	            		src/runtime/asm_amd64.s:1650
FAIL

4. What is your TiDB version? (Required)

@hawkingrei hawkingrei added the type/bug The issue is confirmed as a bug. label Dec 26, 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.

4 participants