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

TEST_BUG: java/util/logging/CheckLockLocationTest.java failing [win]

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • core-libs

    Description


      This test was added as part of JDK-6244047 but it needs a few adjustments to work reliably on Windows. It particular, it cannot assume that setWritable can change the access to directories, this method has never been able to do this.

      --------------------------------------------------
      TEST: java/util/logging/CheckLockLocationTest.java
      JDK under test: (C:\jprt\T\P1\060500~1.ALB\TESTPR~1\WINDOW~1.1-P)
      java version "1.8.0-internal"
      Java(TM) SE Runtime Environment (build 1.8.0-internal-201211180605.albatem.tl-b00)
      Java HotSpot(TM) Client VM (build 25.0-b09, mixed mode)


      ACTION: build -- Passed. Build successful
      REASON: Named class compiled on demand
      TIME: 0.157 seconds
      messages:
      command: build CheckLockLocationTest
      reason: Named class compiled on demand
      elapsed time (seconds): 0.157

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.157 seconds
      messages:
      command: compile C:\jprt\T\P1\060500.albatem\s\jdk\test\java\util\logging\CheckLockLocationTest.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.157

      ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test setup failed: unable to make working directory C:\jprt\T\P1\060500.albatem\io\windows_i586-product-c1-jdk_util\non-writable-dir non-writable.
      REASON: User specified action: run main/othervm CheckLockLocationTest
      TIME: 0.265 seconds
      messages:
      command: main CheckLockLocationTest
      reason: User specified action: run main/othervm CheckLockLocationTest
      elapsed time (seconds): 0.265
      STDOUT:
      STDERR:
      java.lang.RuntimeException: Test setup failed: unable to make working directory C:\jprt\T\P1\060500.albatem\io\windows_i586-product-c1-jdk_util\non-writable-dir non-writable.
      at CheckLockLocationTest.setup(CheckLockLocationTest.java:167)
      at CheckLockLocationTest.main(CheckLockLocationTest.java:51)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:722)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test setup failed: unable to make working directory C:\jprt\T\P1\060500.albatem\io\windows_i586-product-c1-jdk_util\non-writable-dir non-writable.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test setup failed: unable to make working directory C:\jprt\T\P1\060500.albatem\io\windows_i586-product-c1-jdk_util\non-writable-dir non-writable.

      TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test setup failed: unable to make working directory C:\jprt\T\P1\060500.albatem\io\windows_i586-product-c1-jdk_util\non-writable-dir non-writable.
      --------------------------------------------------

      Attachments

        Issue Links

          Activity

            People

              jgish Jim Gish (Inactive)
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: