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

java/util/logging/CheckLockLocationTest.java java.lang.RuntimeException: Test failed: should have been able to create FileHandler for %t/writable-dir/log.log in writable directory.

    XMLWordPrintable

Details

    • b127

    Description

          Host: scaaa526, Oracle Linux 6.3 (2.6.39-300.20.1.el6uek.x86_64)
          Options: -server -Xmixed -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops -XX:ReservedCodeCacheSize=256M

      ----------System.err:(26/1852)----------
      WARNING: unable to delete/cleanup writable test directory: /tmp/writable-dir
      java.lang.RuntimeException: Test failed: should have been able to create FileHandler for %t/writable-dir/log.log in writable directory.
          at CheckLockLocationTest.runTests(CheckLockLocationTest.java:79)
          at CheckLockLocationTest.main(CheckLockLocationTest.java:64)
          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:484)
          at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
          at java.lang.Thread.run(Thread.java:745)
      Caused by: java.nio.file.NoSuchFileException: /tmp/writable-dir/log.log.lck
          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.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:177)
          at java.nio.channels.FileChannel.open(FileChannel.java:287)
          at java.nio.channels.FileChannel.open(FileChannel.java:335)
          at java.util.logging.FileHandler.openFiles(FileHandler.java:451)
          at java.util.logging.FileHandler.<init>(FileHandler.java:292)
          at CheckLockLocationTest.runTests(CheckLockLocationTest.java:77)
          ... 7 more

      Attachments

        Issue Links

          Activity

            People

              dfuchs Daniel Fuchs
              sjiang Shanliang Jiang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: