JDK-7107584 : TEST_BUG: java/nio/file/FileStore/Basic.java fails when mount points not accessible
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 7,9
  • Priority: P4
  • Status: Resolved
  • Resolution: Not an Issue
  • OS: solaris
  • CPU: x86
  • Submitted: 2011-11-02
  • Updated: 2016-05-19
  • Resolved: 2014-03-29
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
Relates :  
Relates :  
Description
test failed because no permissions for some mounted directories; 

these directories should be ignored in test

see comments for more details

Comments
On 28/03/2014 09:08, Eric Wang wrote: > Hi Alan, > > Thanks to clarify this issue, host issues has caused a lot test failures which are hard to investigate. hopefully there's a plan to make test machines more stable in JDK9. > So eventually, the test is innocent, are you all right that i resolved this bug as "Not a issue"? > > Thanks, > Eric I'm okay with that. DId you see Stuart's mail about adding a label to the tests that we close because of "environment" issues? I can't find the mail but if you can then it would be good to add that label. -Alan
29-03-2014

Root cause: The test tries to iterate all mount points to make sure they are unique, but test would be hung if the mount point is not accessible. it is not a correct assumption that mount points are unique, as if there are duplicate mount points configured in /etc/fstab or /etc/mtab, the unique assertion failed. Suggested fix: One proposed fix is just to remove the logic, but it is still in discussion.
28-03-2014

EVALUATION We can make this test a bit more robust for this configuration.
03-11-2011