-
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] GoogleCloudStorageBlobStoreRepositoryTests.testWriteReadLarge (and others) causes assertion error in HTTP server #52906
Comments
Pinging @elastic/es-distributed (:Distributed/Snapshot/Restore) |
This is very likely yet another instance of a JDK bug. |
This one looks like it might be related: https://gradle-enterprise.elastic.co/s/vrjiq7uidkdv4 it has the same Let me know if it looks related or whether I should open a new issue for it. |
@dakrone thanks for posting that one. It's related and explains the issue perfectly :) Somehow we're failing to fully drain a stream there ... |
@tlrx I don't have any more time to look into this one I'm afraid. Maybe you can have a look next week while I'm away? This is definitely the same assertion from https://bugs.openjdk.java.net/browse/JDK-8180754 but I can't find a spot where we wouldn't drain the input stream before writing the response at this point. |
This one failed again https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.x+periodic/833/console / https://gradle-enterprise.elastic.co/s/7bhod6xfqi5us I'm going to mute it for now. |
These intermittently fail due to an assertion triggered by a JDK bug. Relates to elastic#52906
These intermittently fail due to an assertion triggered by a JDK bug. Relates to #52906
These intermittently fail due to an assertion triggered by a JDK bug. Relates to #52906
These intermittently fail due to an assertion triggered by a JDK bug. Relates to #52906
I've spent some time today trying to reproduce locally with the same OS/JDK that almost all the test failures on CI and I did not reproduce the failure. I also looked at the code and saw nothing worrying, all the streams seem to be correctly closed. I've also not found any message in tests execution logs that could indicate that we were not fully draining the request's input stream. I verified the stats and I agree it only failed on JDK-8. Thus, I'm following your suggestion Armin and opened #53119 to mute the tests on JDK8. |
Tests in GoogleCloudStorageBlobStoreRepositoryTests are known to be flaky on JDK 8 (#51446, #52430 ) and we suspect a JDK bug (https://bugs.openjdk.java.net/browse/JDK-8180754) that triggers some assertion on the server side logic that emulates the Google Cloud Storage service. Sadly we were not able to reproduce the failures, even when using the same OS (Debian 9, Ubuntu 16.04) and JDK (Oracle Corporation 1.8.0_241 [Java HotSpot(TM) 64-Bit Server VM 25.241-b07]) of almost all the test failures on CI. While we spent some time fixing code (#51933, #52431) to circumvent the JDK bug they are still flaky on JDK-8. This commit mute these tests for JDK-8 only. Close ##52906
Tests in GoogleCloudStorageBlobStoreRepositoryTests are known to be flaky on JDK 8 (#51446, #52430 ) and we suspect a JDK bug (https://bugs.openjdk.java.net/browse/JDK-8180754) that triggers some assertion on the server side logic that emulates the Google Cloud Storage service. Sadly we were not able to reproduce the failures, even when using the same OS (Debian 9, Ubuntu 16.04) and JDK (Oracle Corporation 1.8.0_241 [Java HotSpot(TM) 64-Bit Server VM 25.241-b07]) of almost all the test failures on CI. While we spent some time fixing code (#51933, #52431) to circumvent the JDK bug they are still flaky on JDK-8. This commit mute these tests for JDK-8 only. Close ##52906
Tests muted for JDK8 in #53119 |
Failure elastic#52906 does not happen in master and is limited to the `7.x` branch so it wasn't unmuted when the `7.x` fix for this landed => unmuting it here.
Failure #52906 does not happen in master and is limited to the `7.x` branch so it wasn't unmuted when the `7.x` fix for this landed => unmuting it here.
On https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+7.x+matrix-java-periodic/ES_RUNTIME_JAVA=corretto8,nodes=general-purpose/538/console / https://gradle-enterprise.elastic.co/s/3f3lkoii653zq
The test fails due to
However, this is largely due in part to the HTTP server dying and causing a bunch of
The server seems to die due to a very unhelpful assertion failure in the actual
ServerImpl
:I was unable to reproduce this on the 7.x branch.
The text was updated successfully, but these errors were encountered: