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

java/nio/file/FileStore/Basic.java sensitive to NFS configuration

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b77
    • CPU:
      x86_64
    • OS:
      solaris_11

      Backports

        Description

        This test failure was spotted in a JDK9 Aurora Adhoc job:

        java/nio/file/FileStore/Basic.java
            This test failed due to "ava.nio.file.NoSuchFileException: /tmp/common1".

        Here is a snippet of the .jtr file:

        ----------System.out:(19/1001)----------
        / (rpool/ROOT/solaris) (name=rpool/ROOT/solaris type=zfs)
        /devices (/devices) (name=/devices type=devfs)
        /dev (/dev) (name=/dev type=dev)
        /system/contract (ctfs) (name=ctfs type=ctfs)
        /proc (proc) (name=proc type=proc)
        /etc/mnttab (mnttab) (name=mnttab type=mntfs)
        /system/volatile (swap) (name=swap type=tmpfs)
        /system/object (objfs) (name=objfs type=objfs)
        /etc/dfs/sharetab (sharefs) (name=sharefs type=sharefs)
        /lib/libc.so.1 (/usr/lib/libc/libc_hwcap1.so.1) (name=/usr/lib/libc/libc_hwcap1.so.1 type=lofs)
        /dev/fd (fd) (name=fd type=fd)
        /var (rpool/ROOT/solaris/var) (name=rpool/ROOT/solaris/var type=zfs)
        /tmp (swap) (name=swap type=tmpfs)
        /bpool (bpool) (name=bpool type=zfs)
        /export/local (bpool/export_local) (name=bpool/export_local type=zfs)
        /rpool (rpool) (name=rpool type=zfs)
        /scratch (rpool/scratch) (name=rpool/scratch type=zfs)
        /media/ORACLE_SSM (/dev/dsk/c4t0d0p0:1) (name=/dev/dsk/c4t0d0p0:1 type=pcfs)
        /tmp/common1 (rwsnas429:/export/local) (name=rwsnas429:/export/local type=nfs)
        ----------System.err:(19/1091)----------
        java.nio.file.NoSuchFileException: /tmp/common1
        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:498)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:745)

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

        STATUS:Failed.`main' threw exception: java.nio.file.NoSuchFileException: /tmp/common1

        RULE java/nio/file/FileStore/Basic.java Exception java.nio.file.NoSuchFileException: ...

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: