-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
5.0
-
x86, sparc
-
solaris_9, windows_2000
Name: mmR10223 Date: 10/08/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b22
Testbase : Regression-test
Platform[s] : Solaris 9 (sparc)
switch/Mode : -client
Falling test[s]: sun/java2d/DirectX/D3dTranslucency.java
Regression-test sun/java2d/DirectX/D3dTranslucency.java test fails with JDK1.5.0-b22
on Solaris (sparc) only. It passes JDK1.5.0-b21, JDK1.4.2-b28.
Test source location:
=====================
/java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/sun/java2d/DirectX/D3dTranslucency.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b22/regtest/sparc/sol9_sparc_gnome_novo48/workDir/test/sun/java2d/DirectX/D3dTranslucency.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/sparc"
JAVA_HOME="$KOORI_ONESTOP/jdk/1.5.0/promoted/all/b22/binaries/solaris-sparc"
#TEST_BASE_PATH="/net/linux-15/export/home/java/regtest.tiger/test"
TEST_BASE_PATH="$KOORI_ONESTOP/jdk/1.5.0/promoted/all/b22/ws/j2se/test"
TESTVMOPTS="-client"
CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"
TEST="sun/java2d/DirectX/D3dTranslucency.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="novo48" -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:(13/728)----------
java.lang.Error: Failed: Incorrect color in window
at D3dTranslucency.main(D3dTranslucency.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
at java.lang.Thread.run(Thread.java:549)
JavaTest Message: Test threw exception: java.lang.Error: Failed: Incorrect color in window
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.Error: Failed: Incorrect color in window
result: Failed. Execution failed: `main' threw exception: java.lang.Error: Failed: Incorrect color in window
test result: Failed. Execution failed: `main' threw exception: java.lang.Error: Failed: Incorrect color in window
Specific machine info:
======================
Hostname: novo48
OS: Solaris 9 (sparc) (Gnome)
Hostname: linux-8
OS: Solaris 10 (sparc) (Gnome)
======================================================================
- duplicates
-
JDK-4929542 PIT: Regression Test - D3DTranslucency.java fails on Solaris
- Closed