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 testEvaluatorSuite.TestExprOnlyPushDownToFlash #25584

Closed
Tracked by #25899
zhouqiang-cl opened this issue Jun 20, 2021 · 8 comments · Fixed by #25952
Closed
Tracked by #25899

unstable test testEvaluatorSuite.TestExprOnlyPushDownToFlash #25584

zhouqiang-cl opened this issue Jun 20, 2021 · 8 comments · Fixed by #25952
Assignees
Labels
severity/major sig/execution SIG execution type/bug The issue is confirmed as a bug.

Comments

@zhouqiang-cl
Copy link
Contributor

Bug Report

[2021-06-20T02:17:33.559Z] FAIL: expr_to_pb_test.go:906: testEvaluatorSuite.TestExprOnlyPushDownToFlash

[2021-06-20T02:17:33.559Z] 

[2021-06-20T02:17:33.559Z] expr_to_pb_test.go:950:

[2021-06-20T02:17:33.559Z]     c.Assert(canPush, Equals, true)

[2021-06-20T02:17:33.559Z] ... obtained bool = false

[2021-06-20T02:17:33.559Z] ... expected bool = true

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

in ci https://ci.pingcap.net/blue/organizations/jenkins/tidb-unit-test-nightly/detail/tidb-unit-test-nightly/1296/pipeline

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

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

master 712fb1c

@wshwsh12
Copy link
Contributor

/cc @LittleFall

@LittleFall
Copy link
Contributor

/assign

@lzmhhh123
Copy link
Contributor

@LittleFall Any updates?

@LittleFall
Copy link
Contributor

investigating

@LittleFall
Copy link
Contributor

The root cause: the current version of TiDB server will add the date_add function to the blacklist when it bootstraps, so that the push down of this function is blocked. Even though the test suite initialization of TestExprOnlyPushDownToFlash does not execute this bootstrap process, it may still be initialized by other tests that are executed concurrently.

Another evidence is that the test TestExprPushDownToFlash is similar to TestExprOnlyPushDownToFlash, but it has no test for date_add and is very stable.

@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

@LittleFall do you know which commit introduce the blacklist logic for that expression? I'm curious why we do not detect the violation at the first place.

@LittleFall
Copy link
Contributor

LittleFall commented Jul 13, 2021

@LittleFall do you know which commit introduce the blacklist logic for that expression? I'm curious why we do not detect the violation at the first place.

blame this line you can get it's this pr

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

Successfully merging a pull request may close this issue.

7 participants