-
Notifications
You must be signed in to change notification settings - Fork 25.2k
[CI] RangeFieldTypeTests testFromLargerToErrors failing #86508
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
Comments
Pinging @elastic/es-search (Team:Search) |
This seems to be a rounding issue with dates. The particular seed failing uses a DATE range with |
The test seems to fail for all dates with ".001" milliseconds in the "from" field. In the test we substract 1ms to provoke an excetion, but instead of having a "to" value one ms less than "from" the round to the next second. This reproduces for other values as well. |
I think the same test passes on 7.17 but starts failing on 8.0. There are similar looking failures going back to December like this https://gradle-enterprise.elastic.co/s/p4id2plkhkcua/console-log?task=:server:test |
After some more analysis I'm closing this as a duplicate of #86284 where I left a few more reproduction details. |
Build scan:
https://gradle-enterprise.elastic.co/s/eaaph6dawki4q/tests/:server:test/org.elasticsearch.index.mapper.RangeFieldTypeTests/testFromLargerToErrors
Reproduction line:
./gradlew ':server:test' --tests "org.elasticsearch.index.mapper.RangeFieldTypeTests.testFromLargerToErrors" -Dtests.seed=E2361E3759000175 -Dtests.locale=pt-BR -Dtests.timezone=Asia/Qostanay -Druntime.java=17
Applicable branches:
master, 8.2
Reproduces locally?:
Yes
Failure history:
https://gradle-enterprise.elastic.co/scans/tests?tests.container=org.elasticsearch.index.mapper.RangeFieldTypeTests&tests.test=testFromLargerToErrors
Failure excerpt:
The text was updated successfully, but these errors were encountered: