# This was a run of four multi-threaded combo tests WITHOUT the /othervm, and with the timeouts on the first two
# set low to force them to timeout.
JAVA_HOME=../build/windows-x86-normal-server-release/images/j2sdk-image
rm -rf AA_regtest.windows-i586
jtreg -Xbootclasspath/p:./dist/lib/classes.jar -agentvm -ignore:quiet -J-XX:+UseSerialGC -J-Xmx196M -retain \
-r:AA_regtest.windows-i586/JTreport \
-w:AA_regtest.windows-i586/JTwork \
test/tools/javac/cast/intersection/IntersectionTypeCastTest.java \
test/tools/javac/lambda/mostSpecific/StructuralMostSpecificTest.java \
test/tools/javac/varargs/warning/Warn4.java test/tools/javac/varargs/warning/Warn5.java
Here is the stderr/stdout:
Directory "AA_regtest.windows-i586\JTreport" not found: creating
Directory "AA_regtest.windows-i586\JTwork" not found: creating
Directory "AA_regtest.windows-i586\JTwork\scratch" not found: creating
Agent[1].stderr: java.net.SocketException: Software caused connection abort: socket write error
Agent[1].stderr: at java.net.SocketOutputStream.socketWrite0(Native Method)
Agent[1].stderr: at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
Agent[1].stderr: at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
Agent[1].stderr: at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
Agent[1].stderr: at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
Agent[1].stderr: at java.io.DataOutputStream.flush(DataOutputStream.java:123)
Agent[1].stderr: at com.sun.javatest.regtest.Agent$Server.run(Agent.java:491)
Agent[1].stderr: at com.sun.javatest.regtest.Agent.main(Agent.java:84)
Agent[1].stderr: Exception in thread "main" java.lang.SecurityException: System.exit() forbidden by JT Harness
Agent[1].stderr: at com.sun.javatest.JavaTestSecurityManager.checkExit(JavaTestSecurityManager.java:117)
Agent[1].stderr: at java.lang.Runtime.exit(Runtime.java:105)
Agent[1].stderr: at java.lang.System.exit(System.java:962)
Agent[1].stderr: at com.sun.javatest.regtest.Agent.main(Agent.java:87)
Timeout signalled after 60 seconds
Agent[1]: Killing process
Test results: passed: 2; error: 2
Report written to D:\tools\tl8\langtools\AA_regtest.windows-i586\JTreport\html\report.html
Results written to D:\tools\tl8\langtools\AA_regtest.windows-i586\JTwork
Error: Some tests failed or other problems occurred.
First .jtr file:
:
#section:main
----------messages:(9/396)----------
command: main IntersectionTypeCastTest
reason: User specified action: run main/timeout=30 IntersectionTypeCastTest
Timeout signalled after 30 seconds
Test not responding after 100 interrupts
Test not responding after 200 interrupts
Test not responding after 300 interrupts
Test not responding after 400 interrupts
Test not responding after 500 interrupts
elapsed time (seconds): 88.203
----------System.err:(17/1177)----------
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2013)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2087)
at java.util.concurrent.ThreadPoolExecutor.awaitTermination(ThreadPoolExecutor.java:1433)
at JavacTestingAbstractThreadedTest.checkAfterExec(JavacTestingAbstractThreadedTest.java:71)
at JavacTestingAbstractThreadedTest.checkAfterExec(JavacTestingAbstractThreadedTest.java:55)
at IntersectionTypeCastTest.main(IntersectionTypeCastTest.java:236)
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:477)
at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:706)
at java.lang.Thread.run(Thread.java:722)
JavaTest Message: Test threw exception: java.lang.InterruptedException
JavaTest Message: shutting down test
result: Error. Timeout
test result: Error. Timeout
=========================
2nd .jtr file:
:
----------messages:(15/648)----------
command: main StructuralMostSpecificTest
reason: User specified action: run main/timeout=120 StructuralMostSpecificTest
Timeout signalled after 120 seconds
Test not responding after 100 interrupts
Test not responding after 200 interrupts
Test not responding after 300 interrupts
Test not responding after 400 interrupts
Test not responding after 500 interrupts
Timeout signalled after 180 seconds
Test not responding after 100 interrupts
Test not responding after 200 interrupts
Test not responding after 300 interrupts
Test not responding after 400 interrupts
Test not responding after 500 interrupts
elapsed time (seconds): 300.0
result: Error. Agent error: java.lang.InterruptedException; check console log for any additional details
test result: Error. Agent error: java.lang.InterruptedException; check console log for any additional details
# set low to force them to timeout.
JAVA_HOME=../build/windows-x86-normal-server-release/images/j2sdk-image
rm -rf AA_regtest.windows-i586
jtreg -Xbootclasspath/p:./dist/lib/classes.jar -agentvm -ignore:quiet -J-XX:+UseSerialGC -J-Xmx196M -retain \
-r:AA_regtest.windows-i586/JTreport \
-w:AA_regtest.windows-i586/JTwork \
test/tools/javac/cast/intersection/IntersectionTypeCastTest.java \
test/tools/javac/lambda/mostSpecific/StructuralMostSpecificTest.java \
test/tools/javac/varargs/warning/Warn4.java test/tools/javac/varargs/warning/Warn5.java
Here is the stderr/stdout:
Directory "AA_regtest.windows-i586\JTreport" not found: creating
Directory "AA_regtest.windows-i586\JTwork" not found: creating
Directory "AA_regtest.windows-i586\JTwork\scratch" not found: creating
Agent[1].stderr: java.net.SocketException: Software caused connection abort: socket write error
Agent[1].stderr: at java.net.SocketOutputStream.socketWrite0(Native Method)
Agent[1].stderr: at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
Agent[1].stderr: at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
Agent[1].stderr: at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
Agent[1].stderr: at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
Agent[1].stderr: at java.io.DataOutputStream.flush(DataOutputStream.java:123)
Agent[1].stderr: at com.sun.javatest.regtest.Agent$Server.run(Agent.java:491)
Agent[1].stderr: at com.sun.javatest.regtest.Agent.main(Agent.java:84)
Agent[1].stderr: Exception in thread "main" java.lang.SecurityException: System.exit() forbidden by JT Harness
Agent[1].stderr: at com.sun.javatest.JavaTestSecurityManager.checkExit(JavaTestSecurityManager.java:117)
Agent[1].stderr: at java.lang.Runtime.exit(Runtime.java:105)
Agent[1].stderr: at java.lang.System.exit(System.java:962)
Agent[1].stderr: at com.sun.javatest.regtest.Agent.main(Agent.java:87)
Timeout signalled after 60 seconds
Agent[1]: Killing process
Test results: passed: 2; error: 2
Report written to D:\tools\tl8\langtools\AA_regtest.windows-i586\JTreport\html\report.html
Results written to D:\tools\tl8\langtools\AA_regtest.windows-i586\JTwork
Error: Some tests failed or other problems occurred.
First .jtr file:
:
#section:main
----------messages:(9/396)----------
command: main IntersectionTypeCastTest
reason: User specified action: run main/timeout=30 IntersectionTypeCastTest
Timeout signalled after 30 seconds
Test not responding after 100 interrupts
Test not responding after 200 interrupts
Test not responding after 300 interrupts
Test not responding after 400 interrupts
Test not responding after 500 interrupts
elapsed time (seconds): 88.203
----------System.err:(17/1177)----------
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2013)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2087)
at java.util.concurrent.ThreadPoolExecutor.awaitTermination(ThreadPoolExecutor.java:1433)
at JavacTestingAbstractThreadedTest.checkAfterExec(JavacTestingAbstractThreadedTest.java:71)
at JavacTestingAbstractThreadedTest.checkAfterExec(JavacTestingAbstractThreadedTest.java:55)
at IntersectionTypeCastTest.main(IntersectionTypeCastTest.java:236)
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:477)
at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:706)
at java.lang.Thread.run(Thread.java:722)
JavaTest Message: Test threw exception: java.lang.InterruptedException
JavaTest Message: shutting down test
result: Error. Timeout
test result: Error. Timeout
=========================
2nd .jtr file:
:
----------messages:(15/648)----------
command: main StructuralMostSpecificTest
reason: User specified action: run main/timeout=120 StructuralMostSpecificTest
Timeout signalled after 120 seconds
Test not responding after 100 interrupts
Test not responding after 200 interrupts
Test not responding after 300 interrupts
Test not responding after 400 interrupts
Test not responding after 500 interrupts
Timeout signalled after 180 seconds
Test not responding after 100 interrupts
Test not responding after 200 interrupts
Test not responding after 300 interrupts
Test not responding after 400 interrupts
Test not responding after 500 interrupts
elapsed time (seconds): 300.0
result: Error. Agent error: java.lang.InterruptedException; check console log for any additional details
test result: Error. Agent error: java.lang.InterruptedException; check console log for any additional details