-
Notifications
You must be signed in to change notification settings - Fork 25k
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
AbstractSnapshotRepoTestKitRestTestCase#testRepositoryAnalysis fails with "Unable to verify integrity of data upload" #72358
Labels
:Distributed Coordination/Snapshot/Restore
Anything directly related to the `_snapshot/*` APIs
Team:Distributed (Obsolete)
Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.
>test-failure
Triaged test failures from CI
Comments
DaveCTurner
added
:Distributed Coordination/Snapshot/Restore
Anything directly related to the `_snapshot/*` APIs
>test-failure
Triaged test failures from CI
labels
Apr 28, 2021
elasticmachine
added
the
Team:Distributed (Obsolete)
Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.
label
Apr 28, 2021
Pinging @elastic/es-distributed (Team:Distributed) |
This was referenced Apr 28, 2021
DaveCTurner
added a commit
that referenced
this issue
Apr 28, 2021
Today we do not specify the `?seed=` parameter when running the repository analyzer in REST tests, so we cannot reproduce the set of operations that led to a failure. This commit introduces a deterministic value for this parameter. Relates #72358 which seems to indicate some kind of bug in how certain checksums are calculated in the test fixtures.
DaveCTurner
added a commit
that referenced
this issue
Apr 28, 2021
Today we do not specify the `?seed=` parameter when running the repository analyzer in REST tests, so we cannot reproduce the set of operations that led to a failure. This commit introduces a deterministic value for this parameter. Relates #72358 which seems to indicate some kind of bug in how certain checksums are calculated in the test fixtures.
DaveCTurner
added a commit
that referenced
this issue
Apr 28, 2021
Today we do not specify the `?seed=` parameter when running the repository analyzer in REST tests, so we cannot reproduce the set of operations that led to a failure. This commit introduces a deterministic value for this parameter. Relates #72358 which seems to indicate some kind of bug in how certain checksums are calculated in the test fixtures.
DaveCTurner
added a commit
to DaveCTurner/elasticsearch
that referenced
this issue
Apr 28, 2021
The `S3HttpHandler` reads the contents of the uploaded blob, but if the upload used chunked encoding then the reader would skip one or more `\r\n` sequences if they appeared at the start of a chunk. This commit reworks the reader to be stricter about its interpretation of chunks, and removes some indirection via streams since we can work pretty much entirely on the underlying `BytesReference` instead. Closes elastic#72358
DaveCTurner
added a commit
that referenced
this issue
Apr 28, 2021
The `S3HttpHandler` reads the contents of the uploaded blob, but if the upload used chunked encoding then the reader would skip one or more `\r\n` sequences if they appeared at the start of a chunk. This commit reworks the reader to be stricter about its interpretation of chunks, and removes some indirection via streams since we can work pretty much entirely on the underlying `BytesReference` instead. Closes #72358
DaveCTurner
added a commit
that referenced
this issue
Apr 28, 2021
The `S3HttpHandler` reads the contents of the uploaded blob, but if the upload used chunked encoding then the reader would skip one or more `\r\n` sequences if they appeared at the start of a chunk. This commit reworks the reader to be stricter about its interpretation of chunks, and removes some indirection via streams since we can work pretty much entirely on the underlying `BytesReference` instead. Closes #72358
DaveCTurner
added a commit
that referenced
this issue
Apr 28, 2021
The `S3HttpHandler` reads the contents of the uploaded blob, but if the upload used chunked encoding then the reader would skip one or more `\r\n` sequences if they appeared at the start of a chunk. This commit reworks the reader to be stricter about its interpretation of chunks, and removes some indirection via streams since we can work pretty much entirely on the underlying `BytesReference` instead. Closes #72358
DaveCTurner
added a commit
that referenced
this issue
Apr 28, 2021
The `S3HttpHandler` reads the contents of the uploaded blob, but if the upload used chunked encoding then the reader would skip one or more `\r\n` sequences if they appeared at the start of a chunk. This commit reworks the reader to be stricter about its interpretation of chunks, and removes some indirection via streams since we can work pretty much entirely on the underlying `BytesReference` instead. Closes #72358
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
:Distributed Coordination/Snapshot/Restore
Anything directly related to the `_snapshot/*` APIs
Team:Distributed (Obsolete)
Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.
>test-failure
Triaged test failures from CI
Build scan:
Repro line: e.g.
REPRODUCE WITH: ./gradlew ':x-pack:plugin:snapshot-repo-test-kit:qa:s3:integTest' --tests "org.elasticsearch.repositories.blobstore.testkit.S3SnapshotRepoTestKitIT.testRepositoryAnalysis" -Dtests.seed=987C4B3C71034593 -Dtests.locale=fr-CA -Dtests.timezone=Atlantic/Faeroe -Druntime.java=11
Reproduces locally?: No
Applicable branches: 7.12, master (probably 7.13 and 7.x too)
Failure history: https://build-stats.elastic.co/goto/ec1e3eb777247512d6089a2fe118056c
Failure excerpt:
There is a mismatch between the MD5 checksum computed by the client and by the server, which in these cases seems to be our own internal
S3Fixture
. The server-side checksum computation is a little tricky because of all the different ways the data might be encoded and chunked -- it contains no obvious bugs but nor does it obviously contain no bugs.I opened #72321 to try and improve the reproducibility of these failures.
The text was updated successfully, but these errors were encountered: