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

java/io/File/GetXSpace.java failed with "RuntimeException: java.nio.file.NoSuchFileException: /run/user/0"

XMLWordPrintable

    • b11
    • x86_64
    • linux

        The following test failed in the JDK18 CI:

        java/io/File/GetXSpace.java

        Here's a snippet from the log file:

        ----------System.err:(32/2482)----------
        WARNING: A terminally deprecated method in java.lang.System has been called
        WARNING: System::setSecurityManager has been called by GetXSpace (file:/opt/mach5/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S100467/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/a559167e-050c-47e0-9b77-21c8954cc466/runs/1dfb257d-cfc8-4dfc-85c9-c7c06b47ad0f/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/3/java/io/File/GetXSpace.d/)
        WARNING: Please consider reporting this to the maintainers of GetXSpace
        WARNING: System::setSecurityManager will be removed in a future release
        java.lang.RuntimeException: java.nio.file.NoSuchFileException: /run/user/0
        at GetXSpace.compare(GetXSpace.java:224)
        at GetXSpace.testDF(GetXSpace.java:395)
        at GetXSpace.main(GetXSpace.java:429)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.base/java.lang.Thread.run(Thread.java:833)
        Caused by: java.nio.file.NoSuchFileException: /run/user/0
        at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
        at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
        at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
        at java.base/sun.nio.fs.UnixFileStore.devFor(UnixFileStore.java:61)
        at java.base/sun.nio.fs.UnixFileStore.<init>(UnixFileStore.java:68)
        at java.base/sun.nio.fs.LinuxFileStore.<init>(LinuxFileStore.java:49)
        at java.base/sun.nio.fs.LinuxFileSystemProvider.getFileStore(LinuxFileSystemProvider.java:51)
        at java.base/sun.nio.fs.LinuxFileSystemProvider.getFileStore(LinuxFileSystemProvider.java:39)
        at java.base/sun.nio.fs.UnixFileSystemProvider.getFileStore(UnixFileSystemProvider.java:381)
        at java.base/java.nio.file.Files.getFileStore(Files.java:1498)
        at GetXSpace.compare(GetXSpace.java:220)
        ... 8 more

        JavaTest Message: Test threw exception: java.lang.RuntimeException: java.nio.file.NoSuchFileException: /run/user/0
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: java.nio.file.NoSuchFileException: /run/user/0
        ----------rerun:(36/5386)*----------

              bpb Brian Burkhalter
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: