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

UT unstable test case TestInvalidReadCacheTable #32825

Closed
tiancaiamao opened this issue Mar 4, 2022 · 0 comments · Fixed by #33093
Closed

UT unstable test case TestInvalidReadCacheTable #32825

tiancaiamao opened this issue Mar 4, 2022 · 0 comments · Fixed by #33093
Assignees
Labels
affects-6.0 component/test good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. severity/major type/bug The issue is confirmed as a bug.

Comments

@tiancaiamao
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Recently reproduce many time in CI

https://ci.pingcap.net/blue/organizations/jenkins/tidb_ghpr_unit_test/detail/tidb_ghpr_unit_test/38976/pipeline/

[2022-03-04T03:58:22.683Z] ----------------------------------------------------------------------
[2022-03-04T03:58:22.683Z] FAIL: executor_test.go:9077: testStaleTxnSuite.TestInvalidReadCacheTable
[2022-03-04T03:58:22.683Z] 
[2022-03-04T03:58:22.683Z] executor_test.go:9158:
[2022-03-04T03:58:22.683Z]     tk.MustQuery("select * from cache_tmp5 as of timestamp(@a) where id=1;").Check(testkit.Rows("1"))
[2022-03-04T03:58:22.683Z] /home/jenkins/agent/workspace/tidb_ghpr_unit_test/go/src/github.com/pingcap/tidb/util/testkit/testkit.go:67:
[2022-03-04T03:58:22.683Z]     res.c.Assert(resBuff.String(), check.Equals, needBuff.String(), res.comment)
[2022-03-04T03:58:22.684Z] ... obtained string = ""
[2022-03-04T03:58:22.684Z] ... expected string = "[1]\n"
[2022-03-04T03:58:22.684Z] ... sql:select * from cache_tmp5 as of timestamp(@a) where id=1;, args:[]

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

CI success

3. What did you see instead (Required)

Failed

4. What is your TiDB version? (Required)

master 74d74b0

@tiancaiamao tiancaiamao added type/bug The issue is confirmed as a bug. component/test labels Mar 4, 2022
@tiancaiamao tiancaiamao self-assigned this Mar 4, 2022
@ti-chi-bot ti-chi-bot added may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.0 This bug maybe affects 5.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. labels Mar 7, 2022
@tiancaiamao tiancaiamao added good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. and removed may-affects-4.0 This bug maybe affects 4.0.x versions. may-affects-5.1 This bug maybe affects 5.1.x versions. may-affects-5.2 This bug maybe affects 5.2.x versions. may-affects-5.3 This bug maybe affects 5.3.x versions. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-5.0 This bug maybe affects 5.0.x versions. labels Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.0 component/test good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants