-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
tiger
-
x86
-
solaris_10
-
Verified
Name: vsR10238 Date: 09/02/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b17
Testbase : Regression-test
Platform[s] : Solaris 10 (x86), Solaris 9 (x86)
Falling test[s]:
sun/java2d/volatileImage/TransparentVImage.java
Regression test sun/java2d/volatileImage/TransparentVImage.java fails
with JDK1.5.0 (tested with b16, b17) on some Solaris 9 x86, Solaris 10 x86
computers. I could not reproduce the failure on other platforms and on our
Solaris 8 x86 box.
The test fails due to pixel mismatch in the transparent BufferedImage and
VolatileImage:
----------System.out:(1/61)----------
Error in transparent image: BI[1] = ff0000ffVI[1] = ff0013ff
----------System.err:(29/1912)----------
java.lang.Error: Failed: Pixel mis-match in image comparisons
The failure is also reproducible on the Solaris 10 x86 box located in SCA14
(SunOS jtg-i105 5.10 s10_33 i86pc i386 i86pc)
with the same output:
Error in transparent image: BI[1] = ff0000ffVI[1] = ff0013ff
java.lang.Error: Failed: Pixel mis-match in image comparisons
This is a new test introduced in the test suite for Tiger and it cannot be compiled with JDK1.4.2.
Test source location:
=====================
/java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/sun/java2d/volatileImage/TransparentVImage.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b17/regtest/x86/sol10_x86_gnome_linux-18/workDir/test/sun/java2d/volatileImage/TransparentVImage.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
JT_HOME="/net/linux-15/export/home/java/jct"
JAVA_HOME="/net/linux-15/export/home/java/jdk1.5.0/x86"
TEST_BASE_PATH="/net/linux-15/export/home/java/regtest.tiger/test"
TESTVMOPTS="-client"
CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"
TEST="sun/java2d/volatileImage/TransparentVImage.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=$JT_HOME/jemmy/jemmy.jar,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-18" -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:(1/61)----------
Error in transparent image: BI[1] = ff0000ffVI[1] = ff0013ff
----------System.err:(29/1912)----------
java.lang.Error: Failed: Pixel mis-match in image comparisons
at TransparentVImage.paint(TransparentVImage.java:123)
at javax.swing.JComponent.paintChildren(JComponent.java:784)
at javax.swing.JComponent.paint(JComponent.java:956)
at javax.swing.JComponent.paintChildren(JComponent.java:784)
at javax.swing.JComponent.paint(JComponent.java:956)
at javax.swing.JLayeredPane.paint(JLayeredPane.java:548)
at javax.swing.JComponent.paintChildren(JComponent.java:784)
at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4742)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4688)
at javax.swing.JComponent.paint(JComponent.java:937)
at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:60)
at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97)
at java.awt.Container.paint(Container.java:1647)
at sun.awt.RepaintArea.paintComponent(RepaintArea.java:201)
at sun.awt.RepaintArea.paint(RepaintArea.java:177)
at sun.awt.motif.MComponentPeer.handleEvent(MComponentPeer.java:391)
at java.awt.Component.dispatchEventImpl(Component.java:3995)
at java.awt.Container.dispatchEventImpl(Container.java:1962)
at java.awt.Window.dispatchEventImpl(Window.java:1729)
at java.awt.Component.dispatchEvent(Component.java:3770)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:214)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
STATUS:Failed.`main' threw exception: java.lang.Error: Failed: Pixel mis-match in image comparisons
result: Failed. Execution failed: `main' threw exception: java.lang.Error: Failed: Pixel mis-match in image comparisons
test result: Failed. Execution failed: `main' threw exception: java.lang.Error: Failed: Pixel mis-match in image comparisons
Specific machine info:
======================
Hostname: linux-18
OS: Solaris 10 (x86) (CDE)
Hostname: jtg-i105
OS: Solaris 10 (x86)
======================================================================