Name: iaR10016 Date: 02/26/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.2-b16, b14
Testbase : RegTest-cte
Platform[s] : Solaris 8 (x86), Solaris 9 (x86)
switch/Mode : -client
Falling test[s]: CTE_REGTEST/Generic/4691522/Test4691522.java
RegTest-cte CTE_REGTEST/Generic/4691522/Test4691522.java test fails with JDK1.4.2-b16
on Solaris x86 system. I am not able to reproduce the failure on any other platforms
(Solaris sparc, Linux, Windows).
Test source location:
=====================
/net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4691522/Test4691522.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/mantis/b16/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4691522/Test4691522.jtr
How to reproduce:
=================
Run the following script (you may need to change its
JT_HOME, JAVA_HOME, JEMMY and TEST_BASE_PATH variables):
--- script start ---
#!/bin/sh
JT_HOME="/net/linux-15/export/home/java/jct"
JAVA_HOME="/net/linux-15/export/home/java/jdk1.4.2/x86"
TEST_BASE_PATH="/net/linux-15/export/home/java/regtest/cte"
JEMMY="/net/linux-15/export/home/java/jemmy/jemmy.jar"
RESULT_DIR=`pwd`
WORK_DIR=$RESULT_DIR/workDir/test
REPORT_DIR=$RESULT_DIR/reportDir
export CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar:$JEMMY"
mkdir -p $WORK_DIR/scratch 2>&1
mkdir -p $WORK_DIR/jtData 2>&1
mkdir -p $REPORT_DIR 2>&1
cd $WORK_DIR/scratch
$JAVA_HOME/bin/java -DenvVars=TESTJAVAHOME=$JAVA_HOME,DISPLAY=:0,CPAPPEND=$JEMMY -DDISPLAY=:0 -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/CTE_REGTEST/Generic/4691522/Test4691522.java"
--- script end ---
Test output (jtr part):
=======================
----------System.out:(13/979)----------
Trace:
Start to wait frame "Any javax.swing.JFrame" opened
Trace:
Frame "Any javax.swing.JFrame" has been opened in 5 milliseconds
javax.swing.JFrame[frame0,1,1,300x400,layout=java.awt.BorderLayout,title=,resizable,normal,defaultCloseOperation=DISPOSE_ON_CLOSE,rootPane=javax.swing.JRootPane[,5,22,290x373,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=1409,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
Trace:
Start to wait action "Wait Any javax.swing.JTabbedPane loaded"
Trace:
"Wait Any javax.swing.JTabbedPane loaded" action has been produced in 5 milliseconds with result
:
javax.swing.JTabbedPane[,0,0,290x373,layout=javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout,alignmentX=null,alignmentY=null,border=,flags=352,maximumSize=,minimumSize=,preferredSize=,haveRegistered=false,tabPlacement=RIGHT]
Tab Count: 50
Tab #0: java.awt.Rectangle[x=109,y=25,width=51,height=26] Failed
Test Failed
----------System.err:(21/1182)----------
java.lang.RuntimeException: Test Failed ****
at Test4691522.main(Test4691522.java:46)
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:534)
java.lang.RuntimeException: Test Failed
at Test4691522.main(Test4691522.java:54)
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:534)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test Failed
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test Failed
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test Failed
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test Failed
Specific machine info:
======================
Hostname: linux-10
OS: Solaris 8 (x86)
Hostname: linux-6
OS: Solaris 9 (x86)
======================================================================