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 testTopSQLReporter.TestCollectInternal #26321

Closed
Tracked by #25899
zhouqiang-cl opened this issue Jul 18, 2021 · 2 comments · Fixed by #26346
Closed
Tracked by #25899

Unstable test testTopSQLReporter.TestCollectInternal #26321

zhouqiang-cl opened this issue Jul 18, 2021 · 2 comments · Fixed by #26346
Assignees
Labels
severity/major sig/diagnosis SIG: Diagnosis type/bug The issue is confirmed as a bug.

Comments

@zhouqiang-cl
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!


[2021-07-18T12:10:23.616Z] FAIL: reporter_test.go:400: testTopSQLReporter.TestCollectInternal

[2021-07-18T12:10:23.616Z] 

[2021-07-18T12:10:23.616Z] reporter_test.go:432:

[2021-07-18T12:10:23.616Z]     c.Assert(exist, IsTrue)

[2021-07-18T12:10:23.616Z] ... obtained bool = false

[2021-07-18T12:10:23.616Z] 

[2021-07-18T12:10:23.617Z] [2021/07/18 20:08:34.168 +08:00] [WARN] [reporter.go:272] ["[top-sql] data points is invalid, it should never happen"] [self="{\"SQLDigest\":null,\"PlanDigest\":null,\"TimestampList\":null,\"CPUTimeMsList\":null,\"CPUTimeMsTotal\":0}"] [evict="{\"SQLDigest\":null,\"PlanDigest\":null,\"TimestampList\":[1],\"CPUTimeMsList\":[10,30],\"CPUTimeMsTotal\":0}"]

[2021-07-18T12:10:23.617Z] OOPS: 6 passed, 1 FAILED

[2021-07-18T12:10:23.617Z] --- FAIL: TestT (4.69s)

1. Minimal reproduce step (Required)

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

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

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

@ti-srebot
Copy link
Contributor

Please edit this comment or add a new comment to complete the following information

Not a bug

  1. Remove the 'type/bug' label
  2. Add notes to indicate why it is not a bug

Duplicate bug

  1. Add the 'type/duplicate' label
  2. Add the link to the original bug

Bug

Note: Make Sure that 'component', and 'severity' labels are added
Example for how to fill out the template: #20100

1. Root Cause Analysis (RCA) (optional)

2. Symptom (optional)

3. All Trigger Conditions (optional)

4. Workaround (optional)

5. Affected versions

6. Fixed versions

@tisonkun
Copy link
Contributor

@crazycs520 may you elaborate a bit the cause of this unstable tests? PR description is blank also.

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

Successfully merging a pull request may close this issue.

5 participants