openj9
openj9 copied to clipboard
JDK22 jdk_nio_1_FAILED java/nio/file/Files/CopyMoveVariations.java java.nio.file.AccessDeniedException
Failure link
From an internal build(sles12le-svl-rt4-1):
22:00:51 openjdk version "22-internal" 2024-03-19
22:00:51 OpenJDK Runtime Environment (build 22-internal-adhoc.jenkins.BuildJDK22ppc64lelinuxPersonal)
22:00:51 Eclipse OpenJ9 VM (build master-f524f995be4, JRE 22 Linux ppc64le-64-Bit Compressed References 20240215_20 (JIT enabled, AOT enabled)
22:00:51 OpenJ9 - f524f995be4
22:00:51 OMR - 0966eb360f6
22:00:51 JCL - ff0372607f0 based on jdk-22+35)
Rerun in Grinder - Change TARGET to run only the failed test targets.
Optional info
Failure output (captured from console output)
22:55:51 ===============================================
22:55:51 Running test jdk_nio_1 ...
22:55:51 ===============================================
22:55:51 jdk_nio_1 Start Time: Thu Feb 15 19:55:51 2024 Epoch Time (ms): 1708055751179
22:55:51 variation: Mode650
22:55:51 JVM_OPTIONS: -XX:-UseCompressedOops -Xverbosegclog
23:02:06 TEST: java/nio/file/Files/CopyMoveVariations.java
23:02:06 STARTED CopyMoveVariations::move '[1] FILE, ---------, false, false'
23:02:06 java.nio.file.AccessDeniedException: /tmp/file3975141760663777135dat
23:02:06 at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90)
23:02:06 at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
23:02:06 at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
23:02:06 at java.base/sun.nio.fs.UnixFileSystem.copyFile(UnixFileSystem.java:658)
23:02:06 at java.base/sun.nio.fs.UnixFileSystem.move(UnixFileSystem.java:961)
23:02:06 at java.base/sun.nio.fs.UnixFileSystemProvider.move(UnixFileSystemProvider.java:309)
23:02:06 at java.base/java.nio.file.Files.move(Files.java:1430)
23:02:06 at CopyMoveVariations.op(CopyMoveVariations.java:195)
23:02:06 at CopyMoveVariations.move(CopyMoveVariations.java:136)
23:02:06 at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
23:02:06 STARTED CopyMoveVariations::move '[25] DIR, -w--w--w-, false, false'
23:02:06 org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
23:02:06 at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
23:02:06 at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
23:02:06 at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
23:02:06 at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
23:02:06 at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
23:02:06 at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:180)
23:02:06 at CopyMoveVariations.op(CopyMoveVariations.java:215)
23:02:06 at CopyMoveVariations.move(CopyMoveVariations.java:136)
23:02:06 at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
23:02:06 JavaTest Message: JUnit Platform Failure(s): 6
23:02:06
23:02:06 [ JUnit Containers: found 7, started 7, succeeded 7, failed 0, aborted 0, skipped 0]
23:02:06 [ JUnit Tests: found 144, started 144, succeeded 138, failed 6, aborted 0, skipped 0]
23:02:06
23:02:06 java.lang.Exception: JUnit test failure
23:02:06 at com.sun.javatest.regtest.agent.JUnitRunner.runWithJUnitPlatform(JUnitRunner.java:149)
23:02:06 at com.sun.javatest.regtest.agent.JUnitRunner.main(JUnitRunner.java:95)
23:02:06 at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
23:02:06 at java.base/java.lang.reflect.Method.invoke(Method.java:586)
23:02:06 at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
23:02:06 at java.base/java.lang.Thread.run(Thread.java:1582)
23:02:06
23:02:06 JavaTest Message: Test threw exception: java.lang.Exception
23:02:06 JavaTest Message: shutting down test
23:02:06
23:02:06
23:02:06 TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.Exception: JUnit test failure
23:02:06 --------------------------------------------------
23:09:08 Test results: passed: 411; failed: 1
23:09:30 Report written to /home/jenkins/workspace/Test_openjdk22_j9_extended.openjdk_ppc64le_linux_Personal/aqa-tests/TKG/output_17080526345888/jdk_nio_1/report/html/report.html
23:09:30 Results written to /home/jenkins/workspace/Test_openjdk22_j9_extended.openjdk_ppc64le_linux_Personal/aqa-tests/TKG/output_17080526345888/jdk_nio_1/work
23:09:30 Error: Some tests failed or other problems occurred.
23:09:30 -----------------------------------
23:09:30 jdk_nio_1_FAILED
Also seen at JDK22 s390x_linux JDK22 x86-64_linux