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

(zipfs) jdk/nio/zipfs/ZFSTests.java rootdir.zip: The process cannot access the file because it is being used by another process

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b10
    • Verification:
      Verified

      Backports

        Description

        Mach5 CI task failed on test
        (zipfs)jdk/nio/zipfs/ZFSTests.java

        Snippet of log output:

        rerun:
        jib >
        jib > ACTION: main -- Failed. Execution failed: `main' threw exception: java.nio.file.FileSystemException: rootdir.zip: The process cannot access the file because it is being used by another process.
        jib > REASON: User specified action: run main ZFSTests
        jib > TIME: 0.085 secondsreg\lib\jtreg.jar' \
        jib > ZFSTests
        jib > STDERR:

        ....
        jib > java.nio.file.FileSystemException: rootdir.zip: The process cannot access the file because it is being used by another process.
        jib >
        jib > at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:92)
        jib > at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
        jib > at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
        jib > at java.base/sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:270)
        jib > at java.base/sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:110)
        jib > at java.base/java.nio.file.Files.deleteIfExists(Files.java:1180)
        jib > at ZFSTests.test8197398(ZFSTests.java:180)
        jib > at ZFSTests.main(ZFSTests.java:51)
        jib > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        jib > at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        jib > at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        jib > at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        jib > at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:246)
        jib > at java.base/java.lang.Thread.run(Thread.java:834)
        jib >
        jib > JavaTest Message: Test threw exception: java.nio.file.FileSystemException
        jib > JavaTest Message: shutting down test
        jib >
        jib >
        jib > TEST RESULT: Error. failed to clean up files after test

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sherman Xueming Shen
                  Reporter:
                  ljiang Leo Jiang
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: