Name: iaR10016 Date: 12/01/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b29
(passes with JDK1.4.2-b28,
this test is absent in JDK1.5.0-b28)
Testbase : Regression-cte
Platform[s] : Windows (tested on Windows 2000 Pro, Windows Server 2003, Windows XP Pro,
not reproducible on Solaris and Linux systems)
switch/Mode : -client
Falling test[s]: CTE_REGTEST/Generic/4688375/GetThreadGroupChildren.sh
Regression-cte CTE_REGTEST/Generic/4688375/GetThreadGroupChildren.sh test fails with timeout
using JDK1.5.0-b29 on Windows. This test is absents in previous tiger builds (b28, b26),
however the test provided with b29 fails with b28, b26 and passes with b25.
The test presents and passes on the same systems in JDK1.4.2-b28.
Test source location:
=====================
/net/jdk/export/jpse04/Regression/1.5.0/test/CTE_REGTEST/Generic/4688375/GetThreadGroupChildren.sh
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b29/regtest/win32/win2000_linux-2/workDir/cte/CTE_REGTEST/Generic/4688375/GetThreadGroupChildren.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/sh
RESULT_DIR=`pwd`
WORK_DIR=$RESULT_DIR/workDir/test
REPORT_DIR=$RESULT_DIR/reportDir
#Paths in Java Software:
JT_HOME="z:/jct-tools/3.1.2/archive/fcs/binaries"
JEMMY_JAR="x:/Jemmy/jemmy.jar"
JAVA_HOME="z:/jdk/1.5.0/promoted/all/b29/binaries/windows-i586"
TEST_BASE_PATH="x:/Regression/1.5.0/test"
#Alternative paths outside Java Software:
#JT_HOME="z:/jct-tools/3.1.2/archive/fcs/binaries"
#JEMMY_JAR="x:/Jemmy/jemmy.jar"
#JAVA_HOME="z:/jdk/1.5.0/promoted/all/b29/binaries/windows-i586"
#TEST_BASE_PATH="x:/Regression/1.5.0/test"
#Alternative paths for the NSK site:
#JT_HOME="h:/java/jct"
#JEMMY_JAR="$JT_HOME/jemmy/jemmy.jar"
#JAVA_HOME="h:/java/jdk1.5.0/win32"
#TEST_BASE_PATH="h:/java/regtest.tiger/cte"
TESTVMOPTS="-client"
CLASSPATH="$JT_HOME/classes;$JT_HOME/lib/javatest.jar;$JT_HOME/lib/jtreg.jar"
TEST="CTE_REGTEST/Generic/4688375/GetThreadGroupChildren.sh"
mkdir -p $WORK_DIR/scratch 2>&1
mkdir -p $WORK_DIR/jtData 2>&1
mkdir -p $REPORT_DIR 2>&1
#rm $WORK_DIR/jtData/ResultCache.jtw 2>&1
cd $WORK_DIR/scratch
$JAVA_HOME/bin/java -server -cp $CLASSPATH -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,windir=$windir,SystemRoot=$SystemRoot,PATH=${SHELL%/*},CPAPPEND=$JEMMY_JAR,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-2" -Dprogram=jtreg com.sun.javatest.regtest.Main -a -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" "$TEST_BASE_PATH/$TEST"
--- script end ---
Test output (jtr part):
=======================
----------System.out:(36/1990)----------
--Compiling first version of H:/results_full/tiger/b29/regtest/win32/win2000_linux-2/workDir/cte/classes/CTE_REGTEST/Generic/4688375/shtest.java
--Starting jdb
--Starting debuggee
Listening at address: kkkk
c:/j2sdk1.5.0/bin/java -classpath H:/results_full/tiger/b29/regtest/win32/win2000_linux-2/workDir/cte/classes/CTE_REGTEST/Generic/4688375 -XX:-ShowMessageBoxOnError -showversion -Xdebug
-Xrunjdwp:transport=dt_shmem,address=kkkk,server=n,suspend=y shtest
Set uncaught java.lang.Throwable
Set deferred uncaught java.lang.Throwable
Initializing jdb ...
VM Started: No frames on the current call stack
main[1] main[1] Deferring breakpoint shtest:119.
It will be set after the class is loaded.
main[1] > Set deferred breakpoint shtest:119
Breakpoint hit: "thread=Thread-2", shtest.bkpt(), line=119 bci=0
119 int ii = 89; // @1 breakpoint here
Thread-2[1] Group system:
(java.lang.ref.Reference$ReferenceHandler)0xf3 Reference Handler unknown
(java.lang.ref.Finalizer$FinalizerThread)0xf2 Finalizer unknown
Group main:
(java.lang.Thread)0x1 main unknown
(java.lang.Thread)0x207 Java2D Disposer unknown
(java.lang.Thread)0x227 AWT-Shutdown unknown
(java.lang.Thread)0x228 AWT-Windows unknown
(java.awt.EventDispatchThread)0x2e5 AWT-EventQueue-0 unknown
(Ball)0x362 Thread-2 running (at breakpoint)
(Ball)0x363 Thread-3 running (at breakpoint)
(Ball)0x364 Thread-4 running (at breakpoint)
(Ball)0x365 Thread-5 running (at breakpoint)
(Ball)0x366 Thread-6 running (at breakpoint)
Thread-2[1]
--Done: test passed
ShellScaffold cleaning up
----------System.err:(7/203)----------
stop at shtest:119
run
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b29)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b29, mixed mode)
threads
quit
result: Failed. Execution failed: Program `sh' interrupted! (timed out?)
test result: Failed. Execution failed: Program `sh' interrupted! (timed out?)
Specific machine info:
======================
Hostname: linux-2
OS: Windows 2000 Pro
======================================================================
- duplicates
-
JDK-4953323 JDWP: deadlock between callbackLock and callbackBlock
- Closed
- relates to
-
JDK-5026570 Regression-cte CTE_REGTEST/Generic/4688375/GetThreadGroupChildren.sh fails
- Closed