-
Bug
-
Resolution: Fixed
-
P2
-
5.0
Name: vsR10238 Date: 10/02/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b22
Testbase : Regression-test
Platform[s] : RedHat Linux 9.0 (GNOME)
switch/Mode : -client, -server
Falling test[s]:
com/sun/jdi/ConnectedVMs.java
Regression test com/sun/jdi/ConnectedVMs.java fails on Linux with JDK1.5.0-b20, b21, b22 due to
timeout. The test fails even if timeoutFactor is set to 8.
The test passes on Linux with JDK1.5.0-b19 in a few seconds.
The test passes on Linux with JDK1.4.2-b28.
The test passes on other platforms with JDK1.5.0 (tested with b21).
Test source location:
=====================
/java/re/jdk/1.5.0/promoted/all/b21/ws/j2se/test/com/sun/jdi/ConnectedVMs.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b21/regtest/linux/redhat9.0_gnome_smp_linux-5/workDir/test/com/sun/jdi/ConnectedVMs.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
#KOORI_ONESTOP is your path to koori.sfbay/onestop (/net/koori/onestop, /java/re)
KOORI_ONESTOP="/java/re"
#JPSE04 is your path to /net/jdk/export/jpse04
JPSE04="/net/jdk/export/jpse04"
#JT_HOME="/net/linux-15/export/home/java/jct"
JT_HOME="$KOORI_ONESTOP/jct-tools/3.1.2/archive/fcs/binaries"
#JEMMY_JAR="$JT_HOME/jemmy/jemmy.jar"
JEMMY_JAR="$JPSE04/Jemmy/jemmy.jar"
#JAVA_HOME="/net/linux-15/export/home/java/jdk1.5.0/linux"
JAVA_HOME="$KOORI_ONESTOP/jdk/1.5.0/promoted/all/b21/binaries/linux-i586"
#TEST_BASE_PATH="/net/linux-15/export/home/java/regtest.tiger/test"
TEST_BASE_PATH="$KOORI_ONESTOP/jdk/1.5.0/promoted/all/b21/ws/j2se/test"
TESTVMOPTS="-client"
CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"
TEST="com/sun/jdi/ConnectedVMs.java"
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,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,CPAPPEND=$JEMMY_JAR,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-5" -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 ---
Script output:
==============
Test output (jtr part):
=======================
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:build
----------messages:(3/98)----------
command: build ConnectedVMs
reason: Named class compiled on demand
elapsed time (seconds): 0.017
result: Passed. No need to compile: ConnectedVMs.java
#section:main
----------messages:(3/129)----------
command: main ConnectedVMsInstTarg
reason: User specified action: run main ConnectedVMs InstTarg
elapsed time (seconds): 120.07
----------System.out:(8/298)----------
create
Testing Kill
JVM version:1.5.0-beta
JDI version: 1.4
JVM description: Java Debug Interface (Reference Implementation) version 1.4
Java Debug Wire Protocol (Reference Implementation) version 1.5
JVM Debug Interface version 0.2
JVM version 1.5.0-beta (Java HotSpot(TM) Client VM, mixed mode)
----------System.err:(1/31)----------
run args: [InstTarg, InstTarg]
result: Failed. Execution failed: Program `/net/linux-15/export/home/java/jdk1.5.0/linux/bin/java' interrupted! (timed out?)
test result: Failed. Execution failed: Program `/net/linux-15/export/home/java/jdk1.5.0/linux/bin/java' interrupted! (timed out?)
Specific machine info:
======================
Hostname: linux-5
OS: RedHat Linux 9.0 (GNOME)
======================================================================
- relates to
-
JDK-4728096 java.io.BufferedInputStream has no synchronization on close operation
- Resolved