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 722 forks source link

JDK8 java/util/logging/FileHandlerAccessTest.java - AssertionError at sun.nio.ch.SharedFileLockTable.removeKeyIfEmpty(FileLockTable.java:167) #13223

Open JasonFengJ9 opened 3 years ago

JasonFengJ9 commented 3 years ago

Failure link

https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_sanity.openjdk_ppc64le_linux_Nightly/57/console

22:24:33  openjdk version "1.8.0_302-internal"
22:24:33  OpenJDK Runtime Environment (build 1.8.0_302-internal-****_2021_07_19_22_12-b00)
22:24:33  Eclipse OpenJ9 VM (build master-88dbf3b34f4, JRE 1.8.0 Linux ppc64le-64-Bit Compressed References 20210719_56 (JIT enabled, AOT enabled)
22:24:33  OpenJ9   - 88dbf3b34f4
22:24:33  OMR      - 88427d6420f
22:24:33  JCL      - 4b45aeb5fab based on jdk8u302-b07)

Re-run in Grinder

Optional info

Failure output (captured from console output)

22:48:49  --------------------------------------------------
22:48:49  TEST: java/util/logging/FileHandlerAccessTest.java

22:48:49  STDERR:
22:48:49  STATUS:Passed.
22:48:49  java.lang.AssertionError
22:48:49    at sun.nio.ch.SharedFileLockTable.removeKeyIfEmpty(FileLockTable.java:167)
22:48:49    at sun.nio.ch.SharedFileLockTable.removeAll(FileLockTable.java:222)
22:48:49    at sun.nio.ch.FileChannelImpl.implCloseChannel(FileChannelImpl.java:119)
22:48:49    at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:115)
22:48:49    at java.util.logging.FileHandler.close(FileHandler.java:751)
22:48:49    at FileHandlerAccessTest.access(FileHandlerAccessTest.java:50)
22:48:49    at FileHandlerAccessTest$$Lambda$1/0x0000000000000000.run(Unknown Source)
22:48:49    at java.lang.Thread.run(Thread.java:826)
22:48:49  STATUS:Failed.`main' threw exception: java.lang.AssertionError

22:48:49  --------------------------------------------------
22:54:28  Test results: passed: 650; failed: 1
22:54:28  Report written to /home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_ppc64le_linux_Nightly/jvmtest/openjdk/report/html/report.html
22:54:28  Results written to /home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_ppc64le_linux_Nightly/aqa-tests/TKG/output_16267484876022/jdk_util_0/work
22:54:28  Error: Some tests failed or other problems occurred.
22:54:28  
22:54:28  jdk_util_0_FAILED
pshipton commented 2 years ago

https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_sanity.openjdk_ppc64_aix_Nightly/177 jdk_util_1 -Xdump:system:none -Xdump:heap:none -Xdump:system:events=gpf+abort+traceassert+corruptcache -XX:-UseCompressedOops java/util/logging/FileHandlerAccessTest.java

01:59:23  STDOUT:
01:59:23  Testing with 20 threads
01:59:23  STDERR:
01:59:23  STATUS:Passed.
01:59:23  java.lang.AssertionError
01:59:23    at sun.nio.ch.SharedFileLockTable.removeKeyIfEmpty(FileLockTable.java:167)
01:59:23    at sun.nio.ch.SharedFileLockTable.removeAll(FileLockTable.java:222)
01:59:23    at sun.nio.ch.FileChannelImpl.implCloseChannel(FileChannelImpl.java:119)
01:59:23    at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:115)
01:59:23    at java.util.logging.FileHandler.close(FileHandler.java:751)
01:59:23    at FileHandlerAccessTest.access(FileHandlerAccessTest.java:50)
01:59:23    at FileHandlerAccessTest$$Lambda$1/0x0000000000000000.run(Unknown Source)
01:59:23    at java.lang.Thread.run(Thread.java:827)
01:59:23  STATUS:Failed.`main' threw exception: java.lang.AssertionError
pshipton commented 2 years ago

https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/224 - rh7-390-3 jdk_util_0 -Xdump:system:none -Xdump:heap:none -Xdump:system:events=gpf+abort+traceassert+corruptcache -XX:+UseCompressedOops java/util/logging/FileHandlerAccessTest.java

02:59:13  ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.AssertionError
02:59:13  REASON: User specified action: run main/othervm FileHandlerAccessTest 20 
02:59:13  TIME:   0.159 seconds
02:59:13  messages:
02:59:13  command: main FileHandlerAccessTest 20
02:59:13  reason: User specified action: run main/othervm FileHandlerAccessTest 20 
02:59:13  Mode: othervm [/othervm specified]
02:59:13  elapsed time (seconds): 0.159
02:59:13  configuration:
02:59:13  STDOUT:
02:59:13  Testing with 20 threads
02:59:13  STDERR:
02:59:13  STATUS:Passed.
02:59:13  java.lang.AssertionError
02:59:13    at sun.nio.ch.SharedFileLockTable.removeKeyIfEmpty(FileLockTable.java:167)
02:59:13    at sun.nio.ch.SharedFileLockTable.removeAll(FileLockTable.java:222)
02:59:13    at sun.nio.ch.FileChannelImpl.implCloseChannel(FileChannelImpl.java:119)
02:59:13    at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:115)
02:59:13    at java.util.logging.FileHandler.close(FileHandler.java:751)
02:59:13    at FileHandlerAccessTest.access(FileHandlerAccessTest.java:50)
02:59:13    at java.lang.Thread.run(Thread.java:832)
02:59:13  STATUS:Failed.`main' threw exception: java.lang.AssertionError
pshipton commented 2 years ago

https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/321 jdk_util_0 java/util/logging/FileHandlerAccessTest.java

22:58:46  ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.AssertionError
22:58:46  REASON: User specified action: run main/othervm FileHandlerAccessTest 20 
22:58:46  TIME:   0.193 seconds
22:58:46  messages:
22:58:46  command: main FileHandlerAccessTest 20
22:58:46  reason: User specified action: run main/othervm FileHandlerAccessTest 20 
22:58:46  Mode: othervm [/othervm specified]
22:58:46  elapsed time (seconds): 0.193
22:58:46  configuration:
22:58:46  STDOUT:
22:58:46  Testing with 20 threads
22:58:46  STDERR:
22:58:46  STATUS:Passed.
22:58:46  java.lang.AssertionError
22:58:46    at sun.nio.ch.SharedFileLockTable.removeKeyIfEmpty(FileLockTable.java:167)
22:58:46    at sun.nio.ch.SharedFileLockTable.removeAll(FileLockTable.java:222)
22:58:46    at sun.nio.ch.FileChannelImpl.implCloseChannel(FileChannelImpl.java:119)
22:58:46    at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:115)
22:58:46    at java.util.logging.FileHandler.close(FileHandler.java:751)
22:58:46    at FileHandlerAccessTest.access(FileHandlerAccessTest.java:50)
22:58:46    at java.lang.Thread.run(Thread.java:831)
22:58:46  STATUS:Failed.`main' threw exception: java.lang.AssertionError
22:58:46  rerun:
22:58:46  cd /home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/aqa-tests/TKG/output_16571618102372/jdk_util_0/work/scratch/1 && \
22:58:46  DISPLAY=:0 \
22:58:46  HOME=/home/jenkins \
22:58:46  LANG=en_US.UTF-8 \
22:58:46  PATH=/bin:/usr/bin:/usr/sbin \
22:58:46  CLASSPATH=/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/aqa-tests/TKG/output_16571618102372/jdk_util_0/work/classes/0/java/util/logging:/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/aqa-tests/openjdk/openjdk-jdk/jdk/test/java/util/logging:/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/openjdkbinary/j2sdk-image/lib/tools.jar:/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/jvmtest/openjdk/jtreg/lib/jtreg.jar \
22:58:46      /home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/openjdkbinary/j2sdk-image/bin/java \
22:58:46          -Dtest.vm.opts='-ea -esa -Xmx1540m -Xdump:system:none -Xdump:heap:none -Xdump:system:events=gpf+abort+traceassert+corruptcache -XX:+UseCompressedOops' \
22:58:46          -Dtest.tool.vm.opts='-J-ea -J-esa -J-Xmx1540m -J-Xdump:system:none -J-Xdump:heap:none -J-Xdump:system:events=gpf+abort+traceassert+corruptcache -J-XX:+UseCompressedOops' \
22:58:46          -Dtest.compiler.opts= \
22:58:46          -Dtest.java.opts= \
22:58:46          -Dtest.jdk=/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/openjdkbinary/j2sdk-image \
22:58:46          -Dcompile.jdk=/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/openjdkbinary/j2sdk-image \
22:58:46          -Dtest.timeout.factor=8.0 \
22:58:46          -Dtest.root=/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/aqa-tests/openjdk/openjdk-jdk/jdk/test \
22:58:46          -Dtest.name=java/util/logging/FileHandlerAccessTest.java \
22:58:46          -Dtest.file=/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/aqa-tests/openjdk/openjdk-jdk/jdk/test/java/util/logging/FileHandlerAccessTest.java \
22:58:46          -Dtest.src=/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/aqa-tests/openjdk/openjdk-jdk/jdk/test/java/util/logging \
22:58:46          -Dtest.src.path=/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/aqa-tests/openjdk/openjdk-jdk/jdk/test/java/util/logging \
22:58:46          -Dtest.classes=/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/aqa-tests/TKG/output_16571618102372/jdk_util_0/work/classes/0/java/util/logging \
22:58:46          -Dtest.class.path=/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/aqa-tests/TKG/output_16571618102372/jdk_util_0/work/classes/0/java/util/logging \
22:58:46          -Dtest.class.path.prefix=/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/aqa-tests/TKG/output_16571618102372/jdk_util_0/work/classes/0/java/util/logging:/home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/aqa-tests/openjdk/openjdk-jdk/jdk/test/java/util/logging \
22:58:46          -ea \
22:58:46          -esa \
22:58:46          -Xmx1540m \
22:58:46          -Xdump:system:none \
22:58:46          -Xdump:heap:none \
22:58:46          -Xdump:system:events=gpf+abort+traceassert+corruptcache \
22:58:46          -XX:+UseCompressedOops \
22:58:46          com.sun.javatest.regtest.agent.MainWrapper /home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/aqa-tests/TKG/output_16571618102372/jdk_util_0/work/java/util/logging/FileHandlerAccessTest.d/main.0.jta 20
pshipton commented 2 years ago

https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly/374 jdk_util_0, jdk_util_1 java/util/logging/FileHandlerAccessTest.java

22:16:56  STDOUT:
22:16:56  Testing with 20 threads
22:16:56  STDERR:
22:16:56  STATUS:Passed.
22:16:56  java.lang.AssertionError
22:16:56    at sun.nio.ch.SharedFileLockTable.removeKeyIfEmpty(FileLockTable.java:167)
22:16:56    at sun.nio.ch.SharedFileLockTable.removeAll(FileLockTable.java:222)
22:16:56    at sun.nio.ch.FileChannelImpl.implCloseChannel(FileChannelImpl.java:119)
22:16:56    at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:115)
22:16:56    at java.util.logging.FileHandler.close(FileHandler.java:751)
22:16:56    at FileHandlerAccessTest.access(FileHandlerAccessTest.java:50)
22:16:56    at java.lang.Thread.run(Thread.java:826)
22:16:56  STATUS:Failed.`main' threw exception: java.lang.AssertionError
JasonFengJ9 commented 5 months ago

JDK8 s390x_linux(rhel8s390x-svl-rt10-1)

[2024-05-31T03:20:36.267Z] variation: -Xdump:system:none -Xdump:heap:none -Xdump:system:events=gpf+abort+traceassert+corruptcache Mode150
[2024-05-31T03:20:36.267Z] JVM_OPTIONS:  -Xdump:system:none -Xdump:heap:none -Xdump:system:events=gpf+abort+traceassert+corruptcache -XX:+UseCompressedOops -Xverbosegclog 

[2024-05-31T03:28:07.716Z] TEST: java/util/logging/FileHandlerAccessTest.java

[2024-05-31T03:28:07.716Z] STDERR:
[2024-05-31T03:28:07.716Z] STATUS:Passed.
[2024-05-31T03:28:07.716Z] java.lang.AssertionError
[2024-05-31T03:28:07.716Z]  at sun.nio.ch.SharedFileLockTable.removeKeyIfEmpty(FileLockTable.java:167)
[2024-05-31T03:28:07.716Z]  at sun.nio.ch.SharedFileLockTable.removeAll(FileLockTable.java:222)
[2024-05-31T03:28:07.716Z]  at sun.nio.ch.FileChannelImpl.implCloseChannel(FileChannelImpl.java:119)
[2024-05-31T03:28:07.716Z]  at java.nio.channels.spi.AbstractInterruptibleChannel.close(AbstractInterruptibleChannel.java:115)
[2024-05-31T03:28:07.716Z]  at java.util.logging.FileHandler.close(FileHandler.java:751)
[2024-05-31T03:28:07.716Z]  at FileHandlerAccessTest.access(FileHandlerAccessTest.java:50)
[2024-05-31T03:28:07.716Z]  at java.lang.Thread.run(Thread.java:826)
[2024-05-31T03:28:07.716Z] STATUS:Failed.`main' threw exception: java.lang.AssertionError

[2024-05-31T03:28:07.716Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.AssertionError
[2024-05-31T03:28:07.716Z] --------------------------------------------------
[2024-05-31T03:39:06.249Z] Test results: passed: 656; failed: 1
[2024-05-31T03:39:12.677Z] Report written to /home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_testList_0/aqa-tests/TKG/output_17171234894383/jdk_util_0/report/html/report.html
[2024-05-31T03:39:12.677Z] Results written to /home/jenkins/workspace/Test_openjdk8_j9_sanity.openjdk_s390x_linux_testList_0/aqa-tests/TKG/output_17171234894383/jdk_util_0/work
[2024-05-31T03:39:12.677Z] Error: Some tests failed or other problems occurred.
[2024-05-31T03:39:12.677Z] -----------------------------------
[2024-05-31T03:39:12.677Z] jdk_util_0_FAILED

50x grinder - passed

pshipton commented 1 week ago

https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly_testList_2/339

pshipton commented 1 day ago

https://openj9-jenkins.osuosl.org/job/Test_openjdk8_j9_sanity.openjdk_s390x_linux_Nightly_testList_1/348