-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
[CI] AzureBlobStoreRepositoryTests.testIndicesDeletedFromRepository #48978
Comments
Pinging @elastic/es-distributed (:Distributed/Snapshot/Restore) |
Mark mentioned a similar build failure: https://gradle-enterprise.elastic.co/s/42cmniylhr7g4/tests/lgycqkw2bfw46-clvf2uhrzpiw4 |
I suspect an issue on the server side logic, so I added some logging in #48991 in case it reproduces. |
This just happened again on an intake build: |
@tlrx just had this fail on me here https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+pull-request-1/10613/testReport/junit/org.elasticsearch.repositories.azure/AzureBlobStoreRepositoryTests/testIndicesDeletedFromRepository/ and it had the new logging active :) |
This commit fixes the server side logic of "List Objects" operations of Azure and S3 fixtures. Until today, the fixtures were returning a " flat" view of stored objects and were not correctly handling the delimiter parameter. This causes some objects listing to be wrongly interpreted by the snapshot deletion logic in Elasticsearch which relies on the ability to list child containers of BlobContainer (#42653) to correctly delete stale indices. As a consequence, the blobs were not correctly deleted from the emulated storage service and stayed in heap until they got garbage collected, causing CI failures like #48978. This commit fixes the server side logic of Azure and S3 fixture when listing objects so that it now return correct common blob prefixes as expected by the snapshot deletion process. It also adds an after-test check to ensure that tests leave the repository empty (besides the root index files). Closes #48978
This commit fixes the server side logic of "List Objects" operations of Azure and S3 fixtures. Until today, the fixtures were returning a " flat" view of stored objects and were not correctly handling the delimiter parameter. This causes some objects listing to be wrongly interpreted by the snapshot deletion logic in Elasticsearch which relies on the ability to list child containers of BlobContainer (#42653) to correctly delete stale indices. As a consequence, the blobs were not correctly deleted from the emulated storage service and stayed in heap until they got garbage collected, causing CI failures like #48978. This commit fixes the server side logic of Azure and S3 fixture when listing objects so that it now return correct common blob prefixes as expected by the snapshot deletion process. It also adds an after-test check to ensure that tests leave the repository empty (besides the root index files). Closes #48978
This commit fixes the server side logic of "List Objects" operations of Azure and S3 fixtures. Until today, the fixtures were returning a " flat" view of stored objects and were not correctly handling the delimiter parameter. This causes some objects listing to be wrongly interpreted by the snapshot deletion logic in Elasticsearch which relies on the ability to list child containers of BlobContainer (#42653) to correctly delete stale indices. As a consequence, the blobs were not correctly deleted from the emulated storage service and stayed in heap until they got garbage collected, causing CI failures like #48978. This commit fixes the server side logic of Azure and S3 fixture when listing objects so that it now return correct common blob prefixes as expected by the snapshot deletion process. It also adds an after-test check to ensure that tests leave the repository empty (besides the root index files). Closes #48978
It happened again today: https://gradle-enterprise.elastic.co/s/yfz6omddppwtu/console-log#L4299 |
Another instance https://gradle-enterprise.elastic.co/s/nvwjkfg6fmlmm. |
The above doesn't contain #49525 (assumed fix) it seems :) |
Yep |
@original-brownbear It can take more than a day for the failure to happen, but yeah let's close this and reopen if needed (I'm sure we won't :)) Thanks again for your expertise on this! |
Looks like a service unavailable but since the issue was raised before (#47120) I'm raising it for consistency.
CI https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+g1gc/483/
Scan: https://gradle-enterprise.elastic.co/s/2nryv35jtn7lo/tests/lgycqkw2bfw46-kysdm6ag7igo6
The text was updated successfully, but these errors were encountered: