Open pshipton opened 4 years ago
3x grinder on the same machine https://ci.eclipse.org/openj9/job/Grinder/761/ - passed
Occurred on jdk-11.0.7+10 GA build: https://ci.adoptopenjdk.net/job/Test_openjdk11_j9_sanity.openjdk_x86-64_windows_xl/188/consoleFull
Occurred on a nightly build https://ci.adoptopenjdk.net/view/Test_openjdk/job/Test_openjdk11_j9_sanity.openjdk_x86-64_windows_xl/191/
Exclude PR https://github.com/AdoptOpenJDK/openjdk-tests/pull/1740
Occurred in a JDK16 internal build Test_openjdknext_j9_sanity.openjdk_ppc64_aix_Nightly/232
:
22:28:13 openjdk version "16-internal" 2021-03-16
22:28:13 OpenJDK Runtime Environment (build 16-internal+0-adhoc.jenkins.BuildJDKnextppc64aixNightly)
22:28:13 Eclipse OpenJ9 VM (build master-c2d4f396055, JRE 16 AIX ppc64-64-Bit Compressed References 20200922_334 (JIT enabled, AOT enabled)
22:28:13 OpenJ9 - c2d4f396055
22:28:13 OMR - 4c2d9a1f1c2
22:28:13 JCL - ed102a5ef9d based on jdk-16+16)
23:21:18 --------------------------------------------------
23:21:18 TEST: java/util/logging/CheckZombieLockTest.java
23:21:18 TEST JDK: /home/jenkins/workspace/Test_openjdknext_j9_sanity.openjdk_ppc64_aix_Nightly/openjdkbinary/j2sdk-image
23:21:18
23:21:18 STDERR:
23:21:18 WARNING: unable to delete/cleanup writable test directory: /tmp/writable-lockfile-dir
23:21:18 java.lang.RuntimeException: Unexpected lock files found: []
23:21:18 /tmp/writable-lockfile-dir/log.log.lck should not have been reused
23:21:18 at CheckZombieLockTest.testFileHandlerReuse(CheckZombieLockTest.java:257)
23:21:18 at CheckZombieLockTest.runTests(CheckZombieLockTest.java:105)
23:21:18 at CheckZombieLockTest.main(CheckZombieLockTest.java:78)
23:21:18 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
23:21:18 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
23:21:18 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
23:21:18 at java.base/java.lang.reflect.Method.invoke(Method.java:564)
23:21:18 at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
23:21:18 at java.base/java.lang.Thread.run(Thread.java:845)
Also seen in an internal JDK11 AIX mixed build Test_openjdk11_j9_sanity.openjdk_ppc64_aix_mixed/1
.
Do we know if this has failed with -XX:-GlobalLockReservation
?
@tajila -XX:-GlobalLockReservation
is still the default until https://github.com/eclipse/openj9/issues/11424 is merged, so yes it has.
After taking a closer look at the issue, I believe it has nothing to do with globalLockReservation. Given the intermittent nature of the failure, it may be a file system issue.
JDK11 (0.27 release) jdk_util_1_FAILED
at https://openj9-jenkins.osuosl.org/job/Test_openjdk11_j9_sanity.openjdk_ppc64_aix_Release/5/consoleFull
17:52:23 --------------------------------------------------
17:52:23 TEST: java/util/logging/CheckZombieLockTest.java
17:52:23 STDERR:
17:52:23 WARNING: unable to delete/cleanup writable test directory: /tmp/writable-lockfile-dir
17:52:23 java.lang.RuntimeException: Unexpected lock files found: []
17:52:23 /tmp/writable-lockfile-dir/log.log.lck should not have been reused
17:52:23 at CheckZombieLockTest.testFileHandlerReuse(CheckZombieLockTest.java:257)
17:52:23 at CheckZombieLockTest.runTests(CheckZombieLockTest.java:105)
17:52:23 at CheckZombieLockTest.main(CheckZombieLockTest.java:78)
17:52:23 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
17:52:23 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
17:52:23 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
17:52:23 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
17:52:23 at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
17:52:23 at java.base/java.lang.Thread.run(Thread.java:866)
17:52:23
17:52:23 JavaTest Message: Test threw exception: java.lang.RuntimeException: Unexpected lock files found: []
17:52:23 /tmp/writable-lockfile-dir/log.log.lck should not have been reused
17:52:23 JavaTest Message: shutting down test
https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_sanity.openjdk_x86-64_windows_OpenJDK17/10 jdk_util_0 -Xdump:system:none -Xdump:heap:none -Xdump:system:events=gpf+abort+traceassert+corruptcache -XX:+UseCompressedOops java/util/logging/CheckZombieLockTest.java
12:48:34 java.lang.RuntimeException: Unexpected lock files found: []
12:48:34 C:\temp\writable-lockfile-dir\log.log.lck should not have been reused
12:48:34 at CheckZombieLockTest.testFileHandlerReuse(CheckZombieLockTest.java:257)
12:48:34 at CheckZombieLockTest.runTests(CheckZombieLockTest.java:105)
12:48:34 at CheckZombieLockTest.main(CheckZombieLockTest.java:78)
https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_sanity.openjdk_x86-64_windows_Nightly/68 jdk_util_0 java/util/logging/CheckZombieLockTest.java
22:28:45 ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Unexpected lock files found: [] C:\temp\writable-lockfile-dir\log.log.lck should not have been reused
22:28:45 REASON: User specified action: run main/othervm CheckZombieLockTest REUSE
22:28:45 TIME: 0.61 seconds
22:28:45 messages:
22:28:45 command: main CheckZombieLockTest REUSE
22:28:45 reason: User specified action: run main/othervm CheckZombieLockTest REUSE
22:28:45 Mode: othervm [/othervm specified]
22:28:45 Additional options from @modules: --add-modules java.logging
22:28:45 elapsed time (seconds): 0.61
22:28:45 configuration:
22:28:45 Boot Layer
22:28:45 add modules: java.logging
22:28:45
22:28:45 STDOUT:
22:28:45 Writable dir is: C:\temp\writable-lockfile-dir
22:28:45 before: 0 locks found
22:28:45 handler created: java.util.logging.FileHandler@cb28c645
22:28:45 Found file: log.log
22:28:45 Found file: log.log.lck
22:28:45 after creating handler: 1 locks found
22:28:45 Found file: log.log
22:28:45 after closing handler: 0 locks found
22:28:45 Found file: log.log
22:28:45 Found file: log.log.lck
22:28:45 before: 1 locks found
22:28:45 handler created: java.util.logging.FileHandler@c0252d4a
22:28:45 Found file: log.log
22:28:45 Found file: log.log.lck
22:28:45 after creating handler: 1 locks found
22:28:45 handler closed: java.util.logging.FileHandler@c0252d4a
22:28:45 Found file: log.log
22:28:45 after closing handler: 0 locks found
22:28:45 locked: C:\temp\writable-lockfile-dir\log.log.lck
22:28:45 handler created: java.util.logging.FileHandler@f2c74daa
22:28:45 Found file: log.log
22:28:45 Found file: log.log.lck
22:28:45 after creating handler: 1 locks found
22:28:45 end: 1 locks found
22:28:45 STDERR:
22:28:45 WARNING: unable to delete/cleanup writable test directory: C:\temp\writable-lockfile-dir\log.log
22:28:45 WARNING: unable to delete/cleanup writable test directory: C:\temp\writable-lockfile-dir\log.log.lck
22:28:45 WARNING: unable to delete/cleanup writable test directory: C:\temp\writable-lockfile-dir
22:28:45 WARNING: unable to delete/cleanup writable test directory: C:\temp\writable-lockfile-dir\log.log
22:28:45 WARNING: unable to delete/cleanup writable test directory: C:\temp\writable-lockfile-dir\log.log.lck
22:28:45 WARNING: unable to delete/cleanup writable test directory: C:\temp\writable-lockfile-dir
22:28:45 java.lang.RuntimeException: Unexpected lock files found: []
22:28:45 C:\temp\writable-lockfile-dir\log.log.lck should not have been reused
22:28:45 at CheckZombieLockTest.testFileHandlerReuse(CheckZombieLockTest.java:257)
22:28:45 at CheckZombieLockTest.runTests(CheckZombieLockTest.java:105)
22:28:45 at CheckZombieLockTest.main(CheckZombieLockTest.java:78)
@mikezhang1234567890 Can you please take a look at this
Looking into it.
https://ci.eclipse.org/openj9/job/Test_openjdk11_j9_sanity.openjdk_x86-64_windows_Nightly/3 win2012r2-x86-2 java/util/logging/CheckZombieLockTest.java.CheckZombieLockTest (from java_util_logging_CheckZombieLockTest.java)