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 testPessimisticSuite.TestAmendForUniqueIndex and testStatsSuite.TestAnalyzeGlobalStatsWithOpts2 #25986

Closed
Tracked by #25899
mengxin9014 opened this issue Jul 6, 2021 · 6 comments
Assignees
Labels
severity/major sig/transaction SIG:Transaction type/bug The issue is confirmed as a bug.

Comments

@mengxin9014
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

[2021-07-06T05:27:13.697Z] ----------------------------------------------------------------------
[2021-07-06T05:27:13.697Z] FAIL: pessimistic_test.go:2212: testPessimisticSuite.TestAmendForUniqueIndex
[2021-07-06T05:27:13.697Z] 
[2021-07-06T05:27:13.697Z] pessimistic_test.go:2276:
[2021-07-06T05:27:13.697Z]     tk.MustExec("commit")
[2021-07-06T05:32:10.544Z] 
[2021-07-06T05:32:10.544Z] ----------------------------------------------------------------------
[2021-07-06T05:32:10.544Z] FAIL: handle_test.go:938: testStatsSuite.TestAnalyzeGlobalStatsWithOpts2
[2021-07-06T05:32:10.544Z] 
[2021-07-06T05:32:10.544Z] handle_test.go:949:

1. Minimal reproduce step (Required)

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

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

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

@mengxin9014 mengxin9014 added the type/bug The issue is confirmed as a bug. label Jul 6, 2021
@zhouqiang-cl
Copy link
Contributor

[2021-08-09T02:22:10.335Z] FAIL: handle_test.go:955: testStatsSuite.TestAnalyzeGlobalStatsWithOpts2

[2021-08-09T02:22:10.335Z] 

[2021-08-09T02:22:10.335Z] handle_test.go:966:

[2021-08-09T02:22:10.335Z]     s.checkForGlobalStatsWithOpts(c, tk, "test_gstats_opt2", "p1", 1, 50)

[2021-08-09T02:22:10.335Z] handle_test.go:911:

[2021-08-09T02:22:10.335Z]     // since the hist-building algorithm doesn't stipulate the final bucket number to be equal to the expected number exactly,

[2021-08-09T02:22:10.335Z]     // we have to check the results by a range here.

[2021-08-09T02:22:10.335Z]     c.Assert(numBuckets >= buckets-delta, IsTrue)

[2021-08-09T02:22:10.335Z] ... obtained bool = false

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

@lysu lysu assigned qw4990 and unassigned lysu Aug 9, 2021
@lysu
Copy link
Contributor

lysu commented Aug 9, 2021

@qw4990 PTAL if free, it seems caused by #23169

@tisonkun
Copy link
Contributor

@zhouqiang-cl is it duplicated with #24679? At least for the Opts2 part.

@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.

@tisonkun
Copy link
Contributor

@mengxin9014 why do you close this issue? If it is a duplicate, please confirm. And the next time please action with reason instead of changing silently but let other contributors guess what you want to do.

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

No branches or pull requests

6 participants