-
Bug
-
Resolution: Fixed
-
P4
-
11, 17, 18
-
b11
-
x86_64
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8277293 | 17.0.3-oracle | Alex Kasko | P4 | Resolved | Fixed | b01 |
JDK-8277205 | 17.0.2 | Alex Kasko | P4 | Resolved | Fixed | b05 |
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)*----------
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)*----------
- backported by
-
JDK-8277205 java/io/File/GetXSpace.java failed with "RuntimeException: java.nio.file.NoSuchFileException: /run/user/0"
- Resolved
-
JDK-8277293 java/io/File/GetXSpace.java failed with "RuntimeException: java.nio.file.NoSuchFileException: /run/user/0"
- Resolved
- relates to
-
JDK-8277159 Fix java/nio/file/FileStore/Basic.java test by ignoring /run/user/* mount points
- Resolved
- links to
-
Commit openjdk/jdk17u/e7e83d5f
-
Commit openjdk/jdk/a68b5b9c
-
Review openjdk/jdk17u/249
-
Review openjdk/jdk/5136
(2 links to)