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)
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)