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.28k stars 721 forks source link

JTReg Failure: java/lang/Runtime/loadLibrary/LoadLibraryTest.java (2) #8287

Open adam-thorpe opened 4 years ago

adam-thorpe commented 4 years ago

Failure link

https://ci.adoptopenjdk.net/user/adam-thorpe/my-views/view/Nightly%20test%20openjdk%20openJ9/job/Test_openjdk8_j9_sanity.openjdk_x86-64_mac/120/ Version: JDK8 Platform: Mac and MacXL JVM: Openj9 only

Optional info

Failure output (captured from console output)

Stacktrace
Program `/Users/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/../bin/java' timed out (timeout set to 960000ms, elapsed time including timeout handling was 960322ms).    
Standard Output
Command line: [/Users/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/../bin/javac -d classes /Users/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_x86-64_mac/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/lang/Runtime/loadLibrary/src/Target.java /Users/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_x86-64_mac/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/lang/Runtime/loadLibrary/src/Target2.java]
--- ProcessLog ---
cmd: /Users/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_x86-64_mac/openjdkbinary/j2sdk-image/Contents/Home/bin/../bin/javac -d classes /Users/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_x86-64_mac/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/lang/Runtime/loadLibrary/src/Target.java /Users/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_x86-64_mac/openjdk-tests/openjdk/openjdk-jdk/jdk/test/java/lang/Runtime/loadLibrary/src/Target2.java
exitvalue: 0
stderr: 
stdout: 

findLibrary someLibrary
Thread1 load
findLibrary awt
Thread2 load
Timeout refired 960 times

Standard Error
_RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL.
JasonFengJ9 commented 4 years ago

Will have a look this.

pshipton commented 4 years ago

This is an awt problem, related to https://github.com/eclipse/openj9/issues/7050#issuecomment-570296489.

pshipton commented 4 years ago

sanity.openjdk has been reconfigured to match OpenJDK tier1 testing. This test has been moved out of sanity. I'm removing the "Blocking openjdk.sanity".