Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-6707783

java.io.IOException happens after testrun

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • TBD_Minor
    • jt4.0
    • tools
    • generic
    • generic

      An exception happens after jtreg 4.0 testrun with JDK tests. It happens with any test. every time. Note that after that, results are renamed (~1~ is added). I couldn't find a way to make it work, so a workaround would be good.

      Here is the log:
      Directory "/tmp/a/workDir/jtWork/scratch" not found: creating
      runner starting test: com/sun/management/GarbageCollectorMXBean/LastGCInfo.java
      runner finished test: com/sun/management/GarbageCollectorMXBean/LastGCInfo.java
      Passed. Execution successful
      Test results: passed: 1
      Report written to /tmp/a/workDir/html/report.html
      Results written to /tmp/a/workDir/jtWork
      An unrecoverable error happened while processinng the test result cache (java.io.IOException: No such file or directory)
      java.io.IOException: No such file or directory
              at java.io.UnixFileSystem.createFileExclusively(Native Method)
              at java.io.File.createNewFile(File.java:850)
              at com.sun.javatest.TestResultCache.getLock(TestResultCache.java:698)
              at com.sun.javatest.TestResultCache.doWork(TestResultCache.java:306)
              at com.sun.javatest.TestResultCache.doWorkUntilDone(TestResultCache.java:230)
              at com.sun.javatest.TestResultCache.access$000(TestResultCache.java:47)
              at com.sun.javatest.TestResultCache$1.run(TestResultCache.java:138)

            dbessono Dmitry Bessonov
            nhaustov Nicolay Haustov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: