-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b51
-
generic
-
generic
TEST BUG: test/demo/jvmti/gctest/GcTest.java can time out on Linux X86
This has been seen to happen on smaller Linux machines. The target app
9BigHello.java) just needs to be tuned down a little.
Failure will look like this:
#Test Results (version 2)
#Mon May 03 22:41:59 PDT 2004
#checksum:1d48488ddca2a519
#-----testdescription-----
$file=/home/ohair/ws/kto_j2se/test/demo/jvmti/gctest/Gctest.java
$root=/home/ohair/ws/kto_j2se/test
keywords=bug5027764
run=USER_SPECIFIED compile ../DemoRun.java\nUSER_SPECIFIED build BigHello Gctest\nUSER_SPECIFIED main Gctest BigHello\n
source=Gctest.java
title=Test jvmti demo gctest
#-----environment-----
#-----testresult-----
description=file:///home/ohair/ws/kto_j2se/test/demo/jvmti/gctest/Gctest.java
end=Mon May 03 22:41:59 PDT 2004
environment=regtest
execStatus=Failed. Execution failed: Program `/home/ohair/ws/kto_j2se/build/linux-i586/j2sdk-image/bin/java' interrupted! (timed out?)
javatestOS=Linux 2.4.9-e.3 (i386)
javatestVersion=3.1.2
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages compile build compile compile build main
start=Mon May 03 22:39:45 PDT 2004
test=demo/jvmti/gctest/Gctest.java
work=/tmp/ohair/jbuild_fyi_kto_j2se_linux_i586_05-03T20-36_1/regress_1.linux-i586/JTwork/demo/jvmti/gctest
#section:script_messages
----------messages:(5/322)----------
JDK under test: (/home/ohair/ws/kto_j2se/build/linux-i586/j2sdk-image)
java version "1.5.0-kto_j2se-05-03T20-36"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-kto_j2se-05-03T20-36-ohair_03_may_2004_20_44)
Java HotSpot(TM) Client VM (build 1.5.0-beta2-b49, mixed mode)
Timeout signalled after 120.0 seconds
#section:compile
----------messages:(3/171)----------
command: compile /home/ohair/ws/kto_j2se/test/demo/jvmti/gctest/../DemoRun.java
reason: User specified action: run compile ../DemoRun.java
elapsed time (seconds): 6.752
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:build
----------messages:(3/111)----------
command: build Gctest
reason: User specified action: run build BigHello Gctest
elapsed time (seconds): 6.935
result: Passed. Compilation successful
#section:compile
----------messages:(3/159)----------
command: compile /home/ohair/ws/kto_j2se/test/demo/jvmti/gctest/BigHello.java
reason: .class file out of date or does not exist
elapsed time (seconds): 3.225
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:compile
----------messages:(3/157)----------
command: compile /home/ohair/ws/kto_j2se/test/demo/jvmti/gctest/Gctest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 3.404
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:build
----------messages:(3/93)----------
command: build Gctest
reason: Named class compiled on demand
elapsed time (seconds): 0.0010
result: Passed. No need to compile: Gctest.java
#section:main
----------messages:(3/118)----------
command: main GctestBigHello
reason: User specified action: run main Gctest BigHello
elapsed time (seconds): 120.064
----------System.out:(3101/96360)----------
Starting: /.automount/cruella.sfbay/root/export/home4/ws/kto_j2se/build/linux-i586/j2sdk-image/jre/bin/java -Xbootclasspath/a:/.automount/cruella.sfbay/root/export/home4/ws/kto_j2se/build/linux-i586/j2sdk-image/jre/../demo/jvmti/gctest/gctest.jar -agentpath:/.automount/cruella.sfbay/root/export/home4/ws/kto_j2se/build/linux-i586/j2sdk-image/jre/../demo/jvmti/gctest/lib/libgctest.so BigHello
VMInit...
Big Hello start
GarbageCollectionStart...
GarbageCollectionFinish...
GC worker started...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
.....
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
----------System.err:(0/0)----------
result: Failed. Execution failed: Program `/home/ohair/ws/kto_j2se/build/linux-i586/j2sdk-image/bin/java' interrupted! (timed out?)
test result: Failed. Execution failed: Program `/home/ohair/ws/kto_j2se/build/linux-i586/j2sdk-image/bin/java' interrupted! (timed out?)
This has been seen to happen on smaller Linux machines. The target app
9BigHello.java) just needs to be tuned down a little.
Failure will look like this:
#Test Results (version 2)
#Mon May 03 22:41:59 PDT 2004
#checksum:1d48488ddca2a519
#-----testdescription-----
$file=/home/ohair/ws/kto_j2se/test/demo/jvmti/gctest/Gctest.java
$root=/home/ohair/ws/kto_j2se/test
keywords=bug5027764
run=USER_SPECIFIED compile ../DemoRun.java\nUSER_SPECIFIED build BigHello Gctest\nUSER_SPECIFIED main Gctest BigHello\n
source=Gctest.java
title=Test jvmti demo gctest
#-----environment-----
#-----testresult-----
description=file:///home/ohair/ws/kto_j2se/test/demo/jvmti/gctest/Gctest.java
end=Mon May 03 22:41:59 PDT 2004
environment=regtest
execStatus=Failed. Execution failed: Program `/home/ohair/ws/kto_j2se/build/linux-i586/j2sdk-image/bin/java' interrupted! (timed out?)
javatestOS=Linux 2.4.9-e.3 (i386)
javatestVersion=3.1.2
script=com.sun.javatest.regtest.RegressionScript
sections=script_messages compile build compile compile build main
start=Mon May 03 22:39:45 PDT 2004
test=demo/jvmti/gctest/Gctest.java
work=/tmp/ohair/jbuild_fyi_kto_j2se_linux_i586_05-03T20-36_1/regress_1.linux-i586/JTwork/demo/jvmti/gctest
#section:script_messages
----------messages:(5/322)----------
JDK under test: (/home/ohair/ws/kto_j2se/build/linux-i586/j2sdk-image)
java version "1.5.0-kto_j2se-05-03T20-36"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-kto_j2se-05-03T20-36-ohair_03_may_2004_20_44)
Java HotSpot(TM) Client VM (build 1.5.0-beta2-b49, mixed mode)
Timeout signalled after 120.0 seconds
#section:compile
----------messages:(3/171)----------
command: compile /home/ohair/ws/kto_j2se/test/demo/jvmti/gctest/../DemoRun.java
reason: User specified action: run compile ../DemoRun.java
elapsed time (seconds): 6.752
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:build
----------messages:(3/111)----------
command: build Gctest
reason: User specified action: run build BigHello Gctest
elapsed time (seconds): 6.935
result: Passed. Compilation successful
#section:compile
----------messages:(3/159)----------
command: compile /home/ohair/ws/kto_j2se/test/demo/jvmti/gctest/BigHello.java
reason: .class file out of date or does not exist
elapsed time (seconds): 3.225
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:compile
----------messages:(3/157)----------
command: compile /home/ohair/ws/kto_j2se/test/demo/jvmti/gctest/Gctest.java
reason: .class file out of date or does not exist
elapsed time (seconds): 3.404
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:build
----------messages:(3/93)----------
command: build Gctest
reason: Named class compiled on demand
elapsed time (seconds): 0.0010
result: Passed. No need to compile: Gctest.java
#section:main
----------messages:(3/118)----------
command: main GctestBigHello
reason: User specified action: run main Gctest BigHello
elapsed time (seconds): 120.064
----------System.out:(3101/96360)----------
Starting: /.automount/cruella.sfbay/root/export/home4/ws/kto_j2se/build/linux-i586/j2sdk-image/jre/bin/java -Xbootclasspath/a:/.automount/cruella.sfbay/root/export/home4/ws/kto_j2se/build/linux-i586/j2sdk-image/jre/../demo/jvmti/gctest/gctest.jar -agentpath:/.automount/cruella.sfbay/root/export/home4/ws/kto_j2se/build/linux-i586/j2sdk-image/jre/../demo/jvmti/gctest/lib/libgctest.so BigHello
VMInit...
Big Hello start
GarbageCollectionStart...
GarbageCollectionFinish...
GC worker started...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
.....
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
GarbageCollectionFinish...
post-GarbageCollectionFinish actions...
GarbageCollectionStart...
----------System.err:(0/0)----------
result: Failed. Execution failed: Program `/home/ohair/ws/kto_j2se/build/linux-i586/j2sdk-image/bin/java' interrupted! (timed out?)
test result: Failed. Execution failed: Program `/home/ohair/ws/kto_j2se/build/linux-i586/j2sdk-image/bin/java' interrupted! (timed out?)