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

panic in the TestAlterAddConstraintStateChange3 #49825

Closed
Tracked by #41316
hawkingrei opened this issue Dec 27, 2023 · 2 comments · Fixed by #50144
Closed
Tracked by #41316

panic in the TestAlterAddConstraintStateChange3 #49825

hawkingrei opened this issue Dec 27, 2023 · 2 comments · Fixed by #50144
Assignees
Labels
component/ddl This issue is related to DDL of TiDB. component/test severity/moderate 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)

panic: runtime error: index out of range [0] with length 0
goroutine 80540 [running]:
github.com/pingcap/tidb/pkg/ddl_test.TestAlterAddConstraintStateChange3.func1(0xc011fc5e00)
	pkg/ddl/constraint_test.go:235 +0x5af
github.com/pingcap/tidb/pkg/ddl/util/callback.(*TestDDLCallback).OnJobUpdated(0xc013e23e30, 0xc011fc5e00?)
	pkg/ddl/util/callback/callback.go:124 +0x1dd
github.com/pingcap/tidb/pkg/ddl.(*ddl).delivery2worker.func1()
	pkg/ddl/job_table.go:439 +0x171b
github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1()
	pkg/util/wait_group_wrapper.go:157 +0x87
created by github.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run in goroutine 79460
	pkg/util/wait_group_wrapper.go:155 +0xe5 

4. What is your TiDB version? (Required)

@hawkingrei hawkingrei added the type/bug The issue is confirmed as a bug. label Dec 27, 2023
@hawkingrei hawkingrei changed the title flaky test TestAlterAddConstraintStateChange3 panic in the TestAlterAddConstraintStateChange3 Dec 27, 2023
@jebter jebter added component/test component/ddl This issue is related to DDL of TiDB. labels Dec 28, 2023
@jiyfhust
Copy link
Contributor

jiyfhust commented Jan 4, 2024

/assign

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

Successfully merging a pull request may close this issue.

4 participants