And since the @build doesn't 'fail', the following steps are run resulting
in confusing output.
The test where this happened is
test/sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh
Here are its @ directives
#
# @test @(#)RmiSslBootstrapTest.sh 1.7 07/05/05
# @summary Test RMI Bootstrap with SSL
#
# @build TestLogger RmiBootstrapTest
# @run shell/timeout=300 RmiSslBootstrapTest.sh
and here is the resulting .jtr file when the compile timed out.
#Test Results (version 2)
#Thu Jun 28 00:14:27 PDT 2007
#checksum:7e54ce27512b1def
#-----testdescription-----
$file=/export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh
$root=/export/local/common/testbase/jtreg/MM_REGRESSION/test
keywords=bug6528083 shell
run=USER_SPECIFIED build TestLogger RmiBootstrapTest Utils\nUSER_SPECIFIED shell/timeout=300 RmiSslBootstrapTest.sh\n
source=RmiSslBootstrapTest.sh
title=Test RMI Bootstrap with SSL
#-----environment-----
#-----testresult-----
description=file:///export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh
end=Thu Jun 28 00:14:27 PDT 2007
environment=regtest
execStatus=Failed. Execution failed: exit code 20
javatestOS=SunOS 5.10 (sparc)
javatestVersion=3.2.2_02
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build compile shell
start=Thu Jun 28 00:12:11 PDT 2007
test=sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh
work=/export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/sun/management/jmxremote/bootstrap
#section:script_messages
----------messages:(5/280)----------
JDK under test: (/export/local/common/jdk/baseline/solaris-sparc)
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b14)
Java HotSpot(TM) Client VM (build 20070627021231.ss45998.hs_eret7-fastdebug, compiled mode, sharing)
Timeout signalled after 120 seconds
#section:build
----------messages:(3/157)----------
command: build TestLogger RmiBootstrapTest Utils
reason: User specified action: run build TestLogger RmiBootstrapTest Utils
elapsed time (seconds): 120.024
result: Passed. Build successful
#section:compile
----------messages:(3/418)----------
command: compile /export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/TestLogger.java /export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/RmiBootstrapTest.java /export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/Utils.java
reason: .class file out of date or does not exist
elapsed time (seconds): 120.018
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Error. Compilation failed
#section:shell
----------messages:(3/149)----------
command: shell RmiSslBootstrapTest.sh []
reason: User specified action: run shell/timeout=300 RmiSslBootstrapTest.sh
elapsed time (seconds): 15.045
----------System.out:(16/2996)----------
processing /export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/jmxremote_ssltest06_ok.access.in
creating /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap/jmxremote_ssltest06_ok.access
processing /export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/jmxremote_ssltest06_ok.password.in
creating /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap/jmxremote_ssltest06_ok.password
processing /export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/management_ssltest06_ok.properties.in
creating /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap/management_ssltest06_ok.properties
processing /export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/management_ssltest07_ok.properties.in
creating /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap/management_ssltest07_ok.properties
processing /export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/management_ssltest08_ko.properties.in
creating /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap/management_ssltest08_ko.properties
processing /export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/management_ssltest09_ko.properties.in
creating /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap/management_ssltest09_ko.properties
-------------------------------------------------------------
Launching test for RmiSslBootstrapTest
-------------------------------------------------------------
/export/local/common/jdk/baseline/solaris-sparc/bin/java -DHANGINGJAVA15680 -client -Xcomp -DGLOP=Run_main -DDALE=FALSE -Dtest.src=/export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap -classpath /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap RmiBootstrapTest /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap/management_ssltest06_ok.properties /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap/management_ssltest07_ok.properties /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap/management_ssltest08_ko.properties /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap/management_ssltest09_ko.properties
----------System.err:(9/571)----------
Exception in thread "main" java.lang.NoClassDefFoundError: RmiBootstrapTest
Caused by: java.lang.ClassNotFoundException: RmiBootstrapTest
at java.net.URLClassLoader$1.run(URLClassLoader.java:221)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:209)
at java.lang.ClassLoader.loadClass(ClassLoader.java:324)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:269)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:337)
result: Failed. Execution failed: exit code 20
test result: Failed. Execution failed: exit code 20
in confusing output.
The test where this happened is
test/sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh
Here are its @ directives
#
# @test @(#)RmiSslBootstrapTest.sh 1.7 07/05/05
# @summary Test RMI Bootstrap with SSL
#
# @build TestLogger RmiBootstrapTest
# @run shell/timeout=300 RmiSslBootstrapTest.sh
and here is the resulting .jtr file when the compile timed out.
#Test Results (version 2)
#Thu Jun 28 00:14:27 PDT 2007
#checksum:7e54ce27512b1def
#-----testdescription-----
$file=/export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh
$root=/export/local/common/testbase/jtreg/MM_REGRESSION/test
keywords=bug6528083 shell
run=USER_SPECIFIED build TestLogger RmiBootstrapTest Utils\nUSER_SPECIFIED shell/timeout=300 RmiSslBootstrapTest.sh\n
source=RmiSslBootstrapTest.sh
title=Test RMI Bootstrap with SSL
#-----environment-----
#-----testresult-----
description=file:///export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh
end=Thu Jun 28 00:14:27 PDT 2007
environment=regtest
execStatus=Failed. Execution failed: exit code 20
javatestOS=SunOS 5.10 (sparc)
javatestVersion=3.2.2_02
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages build compile shell
start=Thu Jun 28 00:12:11 PDT 2007
test=sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh
work=/export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/sun/management/jmxremote/bootstrap
#section:script_messages
----------messages:(5/280)----------
JDK under test: (/export/local/common/jdk/baseline/solaris-sparc)
java version "1.7.0-ea"
Java(TM) SE Runtime Environment (build 1.7.0-ea-b14)
Java HotSpot(TM) Client VM (build 20070627021231.ss45998.hs_eret7-fastdebug, compiled mode, sharing)
Timeout signalled after 120 seconds
#section:build
----------messages:(3/157)----------
command: build TestLogger RmiBootstrapTest Utils
reason: User specified action: run build TestLogger RmiBootstrapTest Utils
elapsed time (seconds): 120.024
result: Passed. Build successful
#section:compile
----------messages:(3/418)----------
command: compile /export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/TestLogger.java /export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/RmiBootstrapTest.java /export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/Utils.java
reason: .class file out of date or does not exist
elapsed time (seconds): 120.018
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Error. Compilation failed
#section:shell
----------messages:(3/149)----------
command: shell RmiSslBootstrapTest.sh []
reason: User specified action: run shell/timeout=300 RmiSslBootstrapTest.sh
elapsed time (seconds): 15.045
----------System.out:(16/2996)----------
processing /export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/jmxremote_ssltest06_ok.access.in
creating /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap/jmxremote_ssltest06_ok.access
processing /export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/jmxremote_ssltest06_ok.password.in
creating /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap/jmxremote_ssltest06_ok.password
processing /export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/management_ssltest06_ok.properties.in
creating /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap/management_ssltest06_ok.properties
processing /export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/management_ssltest07_ok.properties.in
creating /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap/management_ssltest07_ok.properties
processing /export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/management_ssltest08_ko.properties.in
creating /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap/management_ssltest08_ko.properties
processing /export/local/common/testbase/jtreg/MM_REGRESSION/test/sun/management/jmxremote/bootstrap/management_ssltest09_ko.properties.in
creating /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap/management_ssltest09_ko.properties
-------------------------------------------------------------
Launching test for RmiSslBootstrapTest
-------------------------------------------------------------
/export/local/common/jdk/baseline/solaris-sparc/bin/java -DHANGINGJAVA15680 -client -Xcomp -DGLOP=Run_main -DDALE=FALSE -Dtest.src=/export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap -classpath /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap RmiBootstrapTest /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap/management_ssltest06_ok.properties /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap/management_ssltest07_ok.properties /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap/management_ssltest08_ko.properties /export/local/1907.JDK7.NIGHTLY.VM+SOLSPARC_client_comp_MM_REGRESSION/results/classes/sun/management/jmxremote/bootstrap/management_ssltest09_ko.properties
----------System.err:(9/571)----------
Exception in thread "main" java.lang.NoClassDefFoundError: RmiBootstrapTest
Caused by: java.lang.ClassNotFoundException: RmiBootstrapTest
at java.net.URLClassLoader$1.run(URLClassLoader.java:221)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:209)
at java.lang.ClassLoader.loadClass(ClassLoader.java:324)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:269)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:337)
result: Failed. Execution failed: exit code 20
test result: Failed. Execution failed: exit code 20