-
Bug
-
Resolution: Fixed
-
P4
-
1.4.2
-
b03
-
x86
-
windows_2000
-
Verified
Name: vsR10238 Date: 05/13/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.2-b22
Testbase : Regression-test
Platform[s] : Windows 2003 Enterprise (64 bit)
switch/Mode : -server
Falling test[s]:
java/awt/datatransfer/ImageTransferCrashTest/ImageTransferCrashTest.html
Regression-test java/awt/datatransfer/ImageTransferCrashTest/ImageTransferCrashTest.html test fails
on JDK1.4.2, JDK1.4.1.
The test failed on Windows 2003 (64 bit)/Itanium with:
JDK1.4.2-b22 installed locally
JDK1.4.2-b22 taken from network
JDK1.4.1-b21 taken from network
The test passes sometimes on Windows 2003 (32 bit).
The test fails sometimes on Windows 2000 (32 bit), mostly when JDK is taken from network.
After I had modified ImageTransferCrashTest.java as follows:
/* original text:
public static final int CLIPBOARD_DELAY = 1000;
*/
public static final int CLIPBOARD_DELAY = 2000;
the test passed on Windows 2003 (64 bit) with JDK1.4.2-b22.
The failure is probably caused by race conditions in the test.
Test source location:
=====================
/java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/awt/datatransfer/ImageTransferCrashTest/ImageTransferCrashTest.html
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
JT_HOME="h:/jct-tools/3.1.2"
JAVA_HOME="c:/j2sdk1.4.2"
#JAVA_HOME="z:/jdk/1.4.1/promoted/fcs/b21/binaries/windows-ia64"
TEST_BASE_PATH="z:/jdk/1.4.2/promoted/rc/b22/ws/j2se/test"
JEMMY_JAR=h:/Jemmy/jemmy.jar
HOST=`uname -n`
TESTWITH=$JAVA_HOME
TESTJAVA=$JAVA_HOME
JTOPTS="-server"
TESTVMOPTS="-server"
CLASSPATH="$JT_HOME/classes;$JT_HOME/lib/javatest.jar;$JT_HOME/lib/jtreg.jar"
export JAVA_HOME
export JT_HOME
export TESTWITH
export CLASSPATH
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 -cp $CLASSPATH $JTOPTS \
-DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,\
DISPLAY=:0,HOME=$HOME/.regtest,SystemRoot=c:/windows,PATH=C:/PROGRA~2/MKSTOO~1/mksnt,CPAPPEND=$JEMMY_JAR,\
TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= \
-DDISPLAY=:0 -DlocalHost="$HOST" -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/java/awt/datatransfer/ImageTransferCrashTest/ImageTransferCrashTest.html"
--- script end ---
Test output (jtr part):
=======================
----------System.out:(0/0)----------
----------System.err:(7/501)----------
java.lang.IllegalStateException: cannot open system clipboard
at sun.awt.windows.WClipboard.openClipboard(Native Method)
at sun.awt.datatransfer.ClipboardTransferable.<init>(ClipboardTransferable.java:61)
at sun.awt.datatransfer.SunClipboard.getContents(SunClipboard.java:96)
at ImageTransferCrashTest$3.run(ImageTransferCrashTest.java:176)
at java.lang.Thread.run(Thread.java:534)
STATUS:Failed.Applet thread threw exception: java.lang.IllegalStateException: cannot open system clipboard
result: Failed. Execution failed: Program `C:/j2sdk1.4.2 in\java' interrupted! (timed out?)
test result: Failed. Execution failed: Program `C:/j2sdk1.4.2 in\java' interrupted! (timed out?)
Specific machine info:
======================
Hostname: JCC-ITANIUM-02
OS: Windows 2003 Enterprise
======================================================================
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.2-b22
Testbase : Regression-test
Platform[s] : Windows 2003 Enterprise (64 bit)
switch/Mode : -server
Falling test[s]:
java/awt/datatransfer/ImageTransferCrashTest/ImageTransferCrashTest.html
Regression-test java/awt/datatransfer/ImageTransferCrashTest/ImageTransferCrashTest.html test fails
on JDK1.4.2, JDK1.4.1.
The test failed on Windows 2003 (64 bit)/Itanium with:
JDK1.4.2-b22 installed locally
JDK1.4.2-b22 taken from network
JDK1.4.1-b21 taken from network
The test passes sometimes on Windows 2003 (32 bit).
The test fails sometimes on Windows 2000 (32 bit), mostly when JDK is taken from network.
After I had modified ImageTransferCrashTest.java as follows:
/* original text:
public static final int CLIPBOARD_DELAY = 1000;
*/
public static final int CLIPBOARD_DELAY = 2000;
the test passed on Windows 2003 (64 bit) with JDK1.4.2-b22.
The failure is probably caused by race conditions in the test.
Test source location:
=====================
/java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/awt/datatransfer/ImageTransferCrashTest/ImageTransferCrashTest.html
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
JT_HOME="h:/jct-tools/3.1.2"
JAVA_HOME="c:/j2sdk1.4.2"
#JAVA_HOME="z:/jdk/1.4.1/promoted/fcs/b21/binaries/windows-ia64"
TEST_BASE_PATH="z:/jdk/1.4.2/promoted/rc/b22/ws/j2se/test"
JEMMY_JAR=h:/Jemmy/jemmy.jar
HOST=`uname -n`
TESTWITH=$JAVA_HOME
TESTJAVA=$JAVA_HOME
JTOPTS="-server"
TESTVMOPTS="-server"
CLASSPATH="$JT_HOME/classes;$JT_HOME/lib/javatest.jar;$JT_HOME/lib/jtreg.jar"
export JAVA_HOME
export JT_HOME
export TESTWITH
export CLASSPATH
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 -cp $CLASSPATH $JTOPTS \
-DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,\
DISPLAY=:0,HOME=$HOME/.regtest,SystemRoot=c:/windows,PATH=C:/PROGRA~2/MKSTOO~1/mksnt,CPAPPEND=$JEMMY_JAR,\
TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= \
-DDISPLAY=:0 -DlocalHost="$HOST" -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/java/awt/datatransfer/ImageTransferCrashTest/ImageTransferCrashTest.html"
--- script end ---
Test output (jtr part):
=======================
----------System.out:(0/0)----------
----------System.err:(7/501)----------
java.lang.IllegalStateException: cannot open system clipboard
at sun.awt.windows.WClipboard.openClipboard(Native Method)
at sun.awt.datatransfer.ClipboardTransferable.<init>(ClipboardTransferable.java:61)
at sun.awt.datatransfer.SunClipboard.getContents(SunClipboard.java:96)
at ImageTransferCrashTest$3.run(ImageTransferCrashTest.java:176)
at java.lang.Thread.run(Thread.java:534)
STATUS:Failed.Applet thread threw exception: java.lang.IllegalStateException: cannot open system clipboard
result: Failed. Execution failed: Program `C:/j2sdk1.4.2 in\java' interrupted! (timed out?)
test result: Failed. Execution failed: Program `C:/j2sdk1.4.2 in\java' interrupted! (timed out?)
Specific machine info:
======================
Hostname: JCC-ITANIUM-02
OS: Windows 2003 Enterprise
======================================================================
- relates to
-
JDK-6804063 java/awt/datatransfer/ImageTransferCrashTest/ImageTransferCrashTest.html fails in WinXP
-
- Closed
-