eclipse-openj9 / openj9

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
Other
3.27k stars 721 forks source link

AArch64: java/net/httpclient/websocket/ReaderDriver.java.ReaderDriver timeout failure #9083

Open Akira1Saitoh opened 4 years ago

Akira1Saitoh commented 4 years ago

Failure link

https://ci.adoptopenjdk.net/job/Test_openjdk11_j9_sanity.openjdk_aarch64_linux/101/testReport/junit/java_net_httpclient_websocket_ReaderDriver/java/ReaderDriver/

09:11:02  openjdk version "11.0.7" 2020-04-14
09:11:02  OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.7+9-202003282325)
09:11:02  Eclipse OpenJ9 VM AdoptOpenJDK (build master-76a961cb3, JRE 11 Linux aarch64-64-Bit Compressed References 20200328_253 (JIT enabled, AOT enabled)
09:11:02  OpenJ9   - 76a961cb3
09:11:02  OMR      - 2394d6578
09:11:02  JCL      - 34c3dd7d55 based on jdk-11.0.7+9)

Optional info

Failure output (captured from console output)

10:58:40  ACTION: testng -- Error. Program `/home/jenkins/workspace/Test_openjdk11_j9_sanity.openjdk_aarch64_linux/openjdkbinary/j2sdk-image/jdk-11.0.7+9/bin/../bin/java' timed out (timeout set to 960000ms, elapsed time including timeout handling was 962206ms).

This test is known to intermittently timeout on aarch64. We will add this test to the exclude list and revisit later.

knn-k commented 4 years ago

The 0.21.0 m1 build takes 785 seconds on cent7-aarch64-1 to run this test. Timeout value is 960 seconds.

0xdaryl commented 4 years ago

We should find out how long this test takes to run on x86 for relative comparison. If there is a wide difference then there might be something pathologically wrong with AArch64 (e.g., methods are being interpreted) rather than just device slowness.

knn-k commented 4 years ago

@0xdaryl It seems java/net tests are not executed in sanity.openjdk now, and I don't have numbers. https://ci.adoptopenjdk.net/job/Test_openjdk11_j9_sanity.openjdk_x86-64_linux/256/testReport/ https://ci.adoptopenjdk.net/job/Test_openjdk11_j9_sanity.openjdk_ppc64le_linux/260/testReport/

My local AArch64 build with recompilation runs this test in 420 seconds on cent7-aarch64-1, 47% shorter than 785 seconds without recompilation.

knn-k commented 3 years ago

I believe this issue can be closed. The test has been enabled since June last year.