-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Various RollupActionSingleNodeTests failing with IndexNotFoundException #69799
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-analytics-geo (Team:Analytics) |
Muted in |
this commit unmutes the tests so that more CI runs with new code that includes better error messages will highlight why tests are flaky. relates elastic#69506, elastic#69799, elastic#69733.
Unmuted in |
This PR implements downsampling operation on time series indices. The PR creates a _rollup endpoint that allows users to downsample an index and can be accessed by the following call: POST /<source_index>/_rollup/<rollup_index> { "fixed_interval": "1d" } Requirements An index can be downsampled if all of the following requirements are met: Must be a time series index (have the index.mode: time_series index setting) Must not be writeable (have the index.blocks.write: true index setting) Must have dimension fields marked with mapping parameter time_series_dimension: true Must have metric fields marked with mapping parameter time_series_metric Relates to #74660 Fixes #65769 Fixes #69799 Finally, this PR is based on the code written for #64900
This PR implements downsampling operation on time series indices. The PR creates a _rollup endpoint that allows users to downsample an index and can be accessed by the following call: POST /<source_index>/_rollup/<rollup_index> { "fixed_interval": "1d" } Requirements An index can be downsampled if all of the following requirements are met: Must be a time series index (have the index.mode: time_series index setting) Must not be writeable (have the index.blocks.write: true index setting) Must have dimension fields marked with mapping parameter time_series_dimension: true Must have metric fields marked with mapping parameter time_series_metric Relates to elastic#74660 Fixes elastic#65769 Fixes elastic#69799 Finally, this PR is based on the code written for elastic#64900
Reopening since this just failed with a very similar error message: https://gradle-enterprise.elastic.co/s/fklmbfwam4q2w. Failure excerpt:
|
Please don't mute this test ^^^ I would like to monitor its behavior. Thanks |
…tion (#87333) Looks like the failure reported at #69799 (comment) happens because of randomly generated index names conflict between two tests. Add more random numbers to test names, so that the probability of conflicts is negligible Generate source and rollup index names more carefully so that they are logged properly. Cleanup test code Fixes #69799
…tion (elastic#87333) Looks like the failure reported at elastic#69799 (comment) happens because of randomly generated index names conflict between two tests. Add more random numbers to test names, so that the probability of conflicts is negligible Generate source and rollup index names more carefully so that they are logged properly. Cleanup test code Fixes elastic#69799
…tion (#87333) (#87384) Looks like the failure reported at #69799 (comment) happens because of randomly generated index names conflict between two tests. Add more random numbers to test names, so that the probability of conflicts is negligible Generate source and rollup index names more carefully so that they are logged properly. Cleanup test code Fixes #69799
Build scan:
Repro line:
./gradlew ':x-pack:plugin:rollup:test' --tests "org.elasticsearch.xpack.rollup.v2.RollupActionSingleNodeTests.testMaxMetric" -Dtests.seed=AF76AE54E383FA3F -Dtests.security.manager=true -Dtests.locale=nb -Dtests.timezone=Asia/Pontianak -Druntime.java=11
Reproduces locally?: No
Applicable branches:
master
,7.x
and7.12
Failure history:
https://build-stats.elastic.co/goto/de41e6b94aa2ae417cbe342ddc4d0741 indicates a few failures a day.
Failure excerpt:
The text was updated successfully, but these errors were encountered: