Skip to content
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] AssertionError in GoogleCloudStorageBlobContainerRetriesTests testWriteLargeBlob #55317

Closed
cbuescher opened this issue Apr 16, 2020 · 3 comments
Assignees
Labels
:Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >test-failure Triaged test failures from CI

Comments

@cbuescher
Copy link
Member

Failure on 7.7: https://gradle-enterprise.elastic.co/s/6q5voyyn7k3vc

I couldn't reproduce locally (even leavign out the -Dbuild.snapshot=false):

./gradlew ':plugins:repository-gcs:test' --tests "org.elasticsearch.repositories.gcs.GoogleCloudStorageBlobContainerRetriesTests.testWriteLargeBlob" \
  -Dtests.seed=74CA5748F999C5E9 \
  -Dtests.security.manager=true \
  -Dbuild.snapshot=false \
  -Dtests.jvm.argline="-Dbuild.snapshot=false" \
  -Dtests.locale=ca-ES \
  -Dtests.timezone=Asia/Tomsk \
  -Dcompiler.java=14

There is an AssertionError in the logs like this:

java.lang.AssertionError: 
Expected: (<15728640> or <7388234>)
     but: was <1949696>
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18) ~[hamcrest-2.1.jar:2.1]
	at org.junit.Assert.assertThat(Assert.java:956) ~[junit-4.12.jar:4.12]
	at org.junit.Assert.assertThat(Assert.java:923) ~[junit-4.12.jar:4.12]
	at org.elasticsearch.repositories.gcs.GoogleCloudStorageBlobContainerRetriesTests.lambda$testWriteLargeBlob$12(GoogleCloudStorageBlobContainerRetriesTests.java:411) ~[test/:?]
	at org.elasticsearch.repositories.blobstore.ESMockAPIBasedRepositoryIntegTestCase.lambda$wrap$4(ESMockAPIBasedRepositoryIntegTestCase.java:238) ~[framework-7.7.0.jar:7.7.0]
	at org.elasticsearch.repositories.gcs.GoogleCloudStorageBlobContainerRetriesTests.lambda$safeHandler$13(GoogleCloudStorageBlobContainerRetriesTests.java:452) ~[test/:?]
	at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79) [?:1.8.0_241]

I found #52906 but the errors in the log look different so I opted for opening a new issue, please close or continue the investigation in that one if after all the issues seem to be related.

@cbuescher cbuescher added :Distributed Coordination/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs >test-failure Triaged test failures from CI labels Apr 16, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (:Distributed/Snapshot/Restore)

@original-brownbear original-brownbear self-assigned this Apr 16, 2020
@original-brownbear
Copy link
Member

original-brownbear commented Apr 16, 2020

This looks like a different issue than the JDK8 bug, I'll take a look.
Edit: I think this is just the JDK 8 issue yet again killing the HTTP connection on the mock server. Fix PR incoming to mute this on JDK8 as well.

original-brownbear added a commit that referenced this issue Apr 17, 2020
Same as #53119 but for the retries tests.
Closes #55317
@original-brownbear
Copy link
Member

Closed via #55372

original-brownbear added a commit to original-brownbear/elasticsearch that referenced this issue Apr 17, 2020
original-brownbear added a commit that referenced this issue Apr 17, 2020
Same as #53119 but for the retries tests.
Closes #55317
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 >test-failure Triaged test failures from CI
Projects
None yet
Development

No branches or pull requests

3 participants