JDK-8065959 : java/nio/file/FileStore/Basic.java failing on SLES
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 7u67,7-pool,8
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • OS: other
  • CPU: generic
  • Submitted: 2014-11-26
  • Updated: 2015-07-31
  • Resolved: 2015-07-31
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbd_minorResolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
Test name(s): java/nio/file/FileStore/Basic.java
JDK tested: 8u25b17,8u25b01,8b132
OS tested:SLES,Linux
Is it a regression? No 
Regression introduced in release/build: N/A 
                      
Is it platform specific? Yes 
             
The is failure reproduced:SLES machine (passes in Linux) 

 
----------System.err:(18/989)----------
java.nio.file.NoSuchFileException: /import
	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
	at sun.nio.fs.UnixFileStore.readAttributes(UnixFileStore.java:111)
	at sun.nio.fs.UnixFileStore.getTotalSpace(UnixFileStore.java:118)
	at Basic.doTests(Basic.java:118)
	at Basic.main(Basic.java:43)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:776)
	at java.lang.Thread.run(Thread.java:745)

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

result: Failed. Execution failed: `main' threw exception: java.nio.file.NoSuchFileException: /import


test result: Failed. Execution failed: `main' threw exception: java.nio.file.NoSuchFileException: /import
Comments
Resolving as a duplicate of JDK-8073078. If the problem recurs, a new issue may be filed.
31-07-2015

I doubt this is a JDK bug but it needs access to a SLES 12 system with the /import mount to fully diagnose the issue.
03-12-2014

It failed for JDK 7b148 in SLES 12 with the same exception.
03-12-2014

This issue probably needs digging into the automounter configuration on this machine, I don't think we can do much about this in the test.
26-11-2014

This is likely an environment issue on the test machine. Can you please add a comment with the output of "mount" and "df", I assume /import is a mount point.
26-11-2014