-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Distributed Coordination/Snapshot/RestoreAnything directly related to the `_snapshot/*` APIsAnything directly related to the `_snapshot/*` APIs>test-failureTriaged test failures from CITriaged test failures from CI
Description
Failed on 7.x with:
java.lang.AssertionError:
Expected: <7>
but: was <4>
Close stacktrace
at __randomizedtesting.SeedInfo.seed([D6D6F325AB1133B1:E88211DBE45C8808]:0)
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
at org.junit.Assert.assertThat(Assert.java:956)
at org.junit.Assert.assertThat(Assert.java:923)
at org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase.assertSuccessfulRestore(ESBlobStoreRepositoryIntegTestCase.java:317)
at org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase.assertSuccessfulRestore(ESBlobStoreRepositoryIntegTestCase.java:312)
at org.elasticsearch.repositories.blobstore.ESBlobStoreRepositoryIntegTestCase.testMultipleSnapshotAndRollback(ESBlobStoreRepositoryIntegTestCase.java:208)
and from master:
org.elasticsearch.snapshots.SnapshotException: [qyqtw:ujgavvr-4/3MRHMgvaRAGThWsmmkmONA] failed to write metadata for snapshotOpen stacktrace
Caused by: java.io.IOException: Unable to upload object [meta-3MRHMgvaRAGThWsmmkmONA.dat] using a single uploadClose stacktrace
at org.elasticsearch.repositories.s3.S3BlobContainer.executeSingleUpload(S3BlobContainer.java:338)
at org.elasticsearch.repositories.s3.S3BlobContainer.lambda$writeBlob$1(S3BlobContainer.java:106)
at java.security.AccessController.doPrivileged(AccessController.java:551)
at org.elasticsearch.repositories.s3.SocketAccess.doPrivilegedIOException(SocketAccess.java:48)
at org.elasticsearch.repositories.s3.S3BlobContainer.writeBlob(S3BlobContainer.java:104)
at org.elasticsearch.repositories.blobstore.ChecksumBlobStoreFormat.lambda$write$1(ChecksumBlobStoreFormat.java:187)
at org.elasticsearch.repositories.blobstore.ChecksumBlobStoreFormat.writeTo(ChecksumBlobStoreFormat.java:219)
at org.elasticsearch.repositories.blobstore.ChecksumBlobStoreFormat.write(ChecksumBlobStoreFormat.java:185)
looks like underlying cause in first case could be:
Caused by: com.amazonaws.services.s3.model.AmazonS3Exception: Internal Server Error (Service: Amazon S3; Status Code: 500; Error Code: 500 Internal Server Error; Request ID: 7cc42b0e-f8ac-780b-dfd2-e44d1842cdf3; S3 Extended Request ID: null)
Example failures:
Were able to reproduce this using:
./gradlew :plugins:repository-s3:test --tests "org.elasticsearch.repositories.s3.S3BlobStoreRepositoryTests.testMultipleSnapshotAndRollback" -Dtests.seed=7EACA78186296F35 -Dtests.security.manager=true -Dtests.locale=ur-IN -Dtests.timezone=America/Menominee -Dcompiler.java=12 -Druntime.java=12
Two tries gave me one of each type of failure from above.
Looks like it started failing more frequently on August 31st.
Metadata
Metadata
Assignees
Labels
:Distributed Coordination/Snapshot/RestoreAnything directly related to the `_snapshot/*` APIsAnything directly related to the `_snapshot/*` APIs>test-failureTriaged test failures from CITriaged test failures from CI