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 github.com/pingcap/tidb/statistics.TestUpdateHistogram #28706

Closed
jyz0309 opened this issue Oct 11, 2021 · 3 comments
Closed
Assignees
Labels
type/bug The issue is confirmed as a bug.

Comments

@jyz0309
Copy link
Contributor

jyz0309 commented Oct 11, 2021

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

--- FAIL: TestUpdateHistogram (0.00s)

[2021-10-11T05:26:42.385Z] panic: runtime error: index out of range [3] with length 3 [recovered]

[2021-10-11T05:26:42.385Z] 	panic: runtime error: index out of range [3] with length 3

[2021-10-11T05:26:42.385Z] 

[2021-10-11T05:26:42.385Z] goroutine 309 [running]:

[2021-10-11T05:26:42.385Z] testing.tRunner.func1.2(0x3a0b560, 0xc008fa8000)

[2021-10-11T05:26:42.385Z] 	/usr/local/go/src/testing/testing.go:1143 +0x332

[2021-10-11T05:26:42.385Z] testing.tRunner.func1(0xc000e84780)

[2021-10-11T05:26:42.385Z] 	/usr/local/go/src/testing/testing.go:1146 +0x4b6

[2021-10-11T05:26:42.385Z] panic(0x3a0b560, 0xc008fa8000)

[2021-10-11T05:26:42.385Z] 	/usr/local/go/src/runtime/panic.go:965 +0x1b9

[2021-10-11T05:26:42.385Z] github.com/pingcap/tidb/statistics.mergeBuckets(0xc00a494340, 0x6, 0xa, 0xc008f00040, 0x6, 0x10, 0x40c3a28000000000, 0x10, 0x2745, 0x1)

[2021-10-11T05:26:42.385Z] 	/home/jenkins/agent/workspace/tidb_ghpr_check_2/go/src/github.com/pingcap/tidb/statistics/feedback.go:707 +0x5e9

[2021-10-11T05:26:42.385Z] github.com/pingcap/tidb/statistics.UpdateHistogram(0xc003196af0, 0xc0029cfb80, 0x2, 0xc0075d8a00)

[2021-10-11T05:26:42.385Z] 	/home/jenkins/agent/workspace/tidb_ghpr_check_2/go/src/github.com/pingcap/tidb/statistics/feedback.go:770 +0x109

[2021-10-11T05:26:42.385Z] github.com/pingcap/tidb/statistics.TestUpdateHistogram(0xc000e84780)

[2021-10-11T05:26:42.385Z] 	/home/jenkins/agent/workspace/tidb_ghpr_check_2/go/src/github.com/pingcap/tidb/statistics/feedback_test.go:82 +0xe98

[2021-10-11T05:26:42.385Z] testing.tRunner(0xc000e84780, 0x3d1dca0)

[2021-10-11T05:26:42.385Z] 	/usr/local/go/src/testing/testing.go:1193 +0xef

[2021-10-11T05:26:42.385Z] created by testing.(*T).Run

[2021-10-11T05:26:42.385Z] 	/usr/local/go/src/testing/testing.go:1238 +0x2b3

https://ci.pingcap.net/blue/organizations/jenkins/tidb_ghpr_check_2/detail/tidb_ghpr_check_2/37559/pipeline

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

Pass the test.

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

master

@jyz0309 jyz0309 added the type/bug The issue is confirmed as a bug. label Oct 11, 2021
@jyz0309
Copy link
Contributor Author

jyz0309 commented Oct 11, 2021

/assign

@tisonkun
Copy link
Contributor

Duplicate of #28676

@tisonkun tisonkun marked this as a duplicate of #28676 Oct 11, 2021
@github-actions
Copy link

Please check whether the issue should be labeled with 'affects-x.y' or 'fixes-x.y.z', and then remove 'needs-more-info' label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

2 participants