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

MacVolumesTest failed after upgrade to MacOS Catalina

    XMLWordPrintable

Details

    • 14
    • b23
    • os_x_10.15

    Backports

      Description

        After upgrade to MacOS Catalina, 10.15, the test failed because the /System/Volumes/Data/tmp doesn't exist.

        Not certain if this should be considered MacOS upgrade issue or the tmp folder is gone for good.


        ----------System.err:(23/1587)----------
        java.nio.file.NoSuchFileException: /System/Volumes/Data/tmp
        at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
        at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
        at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
        at java.base/sun.nio.fs.UnixFileStore.devFor(UnixFileStore.java:59)
        at java.base/sun.nio.fs.UnixFileStore.<init>(UnixFileStore.java:66)
        at java.base/sun.nio.fs.BsdFileStore.<init>(BsdFileStore.java:40)
        at java.base/sun.nio.fs.BsdFileSystemProvider.getFileStore(BsdFileSystemProvider.java:46)
        at java.base/sun.nio.fs.BsdFileSystemProvider.getFileStore(BsdFileSystemProvider.java:34)
        at java.base/sun.nio.fs.UnixFileSystemProvider.getFileStore(UnixFileSystemProvider.java:373)
        at java.base/java.nio.file.Files.getFileStore(Files.java:1491)
        at MacVolumesTest.checkDataVolume(MacVolumesTest.java:113)
        at MacVolumesTest.main(MacVolumesTest.java:198)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
        at java.base/java.lang.Thread.run(Thread.java:830)

        JavaTest Message: Test threw exception: java.nio.file.NoSuchFileException
        JavaTest Message: shutting down test

        ----------System.out:(5/201)----------
        --- Checking system volume / ---
        Using root test file /etc/manpaths
        /etc/manpaths creation time: 2019-08-24T22:20:18Z
        Read 36 bytes from /etc/manpaths
        --- Checking data volume /System/Volumes/Data ---
        result: Failed. Execution failed: `main' threw exception: java.nio.file.NoSuchFileException: /System/Volumes/Data/tmp


        test result: Failed. Execution failed: `main' threw exception: java.nio.file.NoSuchFileException: /System/Volumes/Data/tmp

        Attachments

          Issue Links

            Activity

              People

                bpb Brian Burkhalter
                henryjen Henry Jen
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: