-
Notifications
You must be signed in to change notification settings - Fork 25.2k
RollupIndexerIndexingTests#testRandomizedDateHisto fails with assertion error. #34762
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
Labels
:StorageEngine/Rollup
Turn fine-grained time-based data into coarser-grained data
>test-failure
Triaged test failures from CI
Comments
Pinging @elastic/es-search-aggs |
Ah, I see it. The random timestamps were landing too close to the current time, so an unlucky rollup interval would round such that the doc isn't included and the test fails. Will push a fix to make sure the test docs are always within the search boundary. |
polyfractal
added a commit
that referenced
this issue
Oct 23, 2018
The random timestamps were landing too close to the current time, so an unlucky rollup interval would round such that the doc wasn't included in the search range (and thus not "rolled up") which would then fail the test. The fix is to make sure the timestamp of all docs is sufficiently behind 'now' that the possible rounding intervals will always include them. Unmutes testRandomizedDateHisto, closes #34762
Forgot to comment earlier -- I muted the test in 90fd15b. |
This should be fixed... I just forgot to close the issue :) |
polyfractal
added a commit
to polyfractal/elasticsearch
that referenced
this issue
Feb 11, 2019
The random timestamps were landing too close to the current time, so an unlucky rollup interval would round such that the doc wasn't included in the search range (and thus not "rolled up") which would then fail the test. The fix is to make sure the timestamp of all docs is sufficiently behind 'now' that the possible rounding intervals will always include them. Unmutes testRandomizedDateHisto, closes elastic#34762 "Forward-port" of 368c6f2 (wasn't merged into master for some reason)
polyfractal
added a commit
that referenced
this issue
Feb 15, 2019
The random timestamps were landing too close to the current time, so an unlucky rollup interval would round such that the doc wasn't included in the search range (and thus not "rolled up") which would then fail the test. The fix is to make sure the timestamp of all docs is sufficiently behind 'now' that the possible rounding intervals will always include them. Unmutes testRandomizedDateHisto, closes #34762 "Forward-port" of 368c6f2 (wasn't merged into master for some reason)
cbuescher
pushed a commit
to cbuescher/elasticsearch
that referenced
this issue
Oct 9, 2019
The random timestamps were landing too close to the current time, so an unlucky rollup interval would round such that the doc wasn't included in the search range (and thus not "rolled up") which would then fail the test. The fix is to make sure the timestamp of all docs is sufficiently behind 'now' that the possible rounding intervals will always include them. Unmutes testRandomizedDateHisto, closes elastic#34762 "Forward-port" of 368c6f2 (wasn't merged into master for some reason)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
:StorageEngine/Rollup
Turn fine-grained time-based data into coarser-grained data
>test-failure
Triaged test failures from CI
The failure reliably reproduces for me locally on master and 6.x. We've also seen CI failures on 6.4 (that might require a different set of parameters to reproduce).
Link to the build: https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+6.x+multijob-darwin-compatibility/8/console
Command to reproduce:
Relevant excerpt from the logs:
The text was updated successfully, but these errors were encountered: