Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8325199

(zipfs) jdk/nio/zipfs/TestPosix.java failed 6 sub-tests

XMLWordPrintable

    • b09
    • x86_64
    • windows

      The following test failed in the JDK23 CI:

      jdk/nio/zipfs/TestPosix.java

      Here's a snippet from the log file:

      STARTED TestPosix::setPermissionsShouldConvertToUnix 'setPermissionsShouldConvertToUnix()'
      java.nio.file.FileAlreadyExistsException: C:\\sb\\prod\\1707043433\\testoutput\\test-support\\jtreg_open_test_jdk_tier2_part2\\scratch\\2\\zipfstmp2923259258749295024.tmp -> testPosix.zip
      at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:87)
      at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
      at java.base/sun.nio.fs.WindowsFileCopy.move(WindowsFileCopy.java:414)

      <snip>

      FAILED TestPosix::setPermissionsShouldConvertToUnix 'setPermissionsShouldConvertToUnix()'
      STARTED TestPosix::testPosixDefaults 'testPosixDefaults()'
      java.nio.file.AccessDeniedException: testPosix.zip
      at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
      at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
      at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)

      <snip>

      FAILED TestPosix::testPosixDefaults 'testPosixDefaults()'
      STARTED TestPosix::testUnzipPosix 'testUnzipPosix()'
      SUCCESSFUL TestPosix::testUnzipPosix 'testUnzipPosix()'
      STARTED TestPosix::testUnzipDefault 'testUnzipDefault()'
      java.nio.file.AccessDeniedException: testPosix.zip
      at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
      at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
      at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)

      <snip>

      FAILED TestPosix::testUnzipDefault 'testUnzipDefault()'
      STARTED TestPosix::setPermissionsShouldPreserveRemainingBits 'setPermissionsShouldPreserveRemainingBits()'
      SUCCESSFUL TestPosix::setPermissionsShouldPreserveRemainingBits 'setPermissionsShouldPreserveRemainingBits()'
      STARTED TestPosix::testDefault 'testDefault()'
      java.nio.file.AccessDeniedException: testPosix.zip
      at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
      at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
      at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)

      <snip>

      FAILED TestPosix::testDefault 'testDefault()'
      STARTED TestPosix::testUnzipWithJavaUtilZip 'testUnzipWithJavaUtilZip()'
      java.nio.file.AccessDeniedException: testPosix.zip
      at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
      at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
      at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)

      <snip>

      FAILED TestPosix::testUnzipWithJavaUtilZip 'testUnzipWithJavaUtilZip()'
      STARTED TestPosix::testJarFile 'testJarFile()'
      java.nio.file.AccessDeniedException: testPosix.zip
      at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:89)
      at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
      at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)

      <snip>

      FAILED TestPosix::testJarFile 'testJarFile()'
      JavaTest Message: JUnit Platform Failure(s): 6

      [ JUnit Containers: found 4, started 4, succeeded 4, failed 0, aborted 0, skipped 0]
      [ JUnit Tests: found 11, started 11, succeeded 5, failed 6, aborted 0, skipped 0]

      java.lang.Exception: JUnit test failure
      at com.sun.javatest.regtest.agent.JUnitRunner.runWithJUnitPlatform(JUnitRunner.java:149)
      at com.sun.javatest.regtest.agent.JUnitRunner.main(JUnitRunner.java:95)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
      at java.base/java.lang.Thread.run(Thread.java:1575)

      JavaTest Message: Test threw exception: java.lang.Exception
      JavaTest Message: shutting down test

      ----------System.out:(72/1799)----------

            eirbjo Eirik Bjørsnøs
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: