-
Bug
-
Resolution: Won't Fix
-
P3
-
None
-
1.4.2, 5.0, 6
-
x86, sparc
-
linux, linux_redhat_3.0, solaris_8, solaris_10
Name: mmR10223 Date: 05/27/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.2-b24 (JDK1.4.2-b23, also fails on 1.4.1-b21 with timeout)
Testbase : RegTest-cte
Platform[s] : Linux RedHat 7.3, RedHat Advanced Server 2.1 (Gnome)
switch/Mode : default
Falling test[s]: CTE_REGTEST/Generic/4531693/DialogTest.java
RegTest-cte CTE_REGTEST/Generic/4531693/DialogTest.java test fails on JDK1.4.2-b24 on Linux Redhat 7.3
Test source location:
=====================
/net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4531693/DialogTest.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/mantis/b24/regtest/linux/redhat_advserver21_gnome-server_smp_linux-24/workDir/cte/CTE_REGTEST/Generic/4531693/DialogTest.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.4.2/linux"
TEST_BASE_PATH="/net/linux-15/export/home/java/regtest/cte"
TESTWITH=$JAVA_HOME
TESTJAVA=$JAVA_HOME
JTOPTS="-server"
TESTVMOPTS="-server"
CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar:$JT_HOME/jemmy/jemmy.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,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-24" -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/4531693/DialogTest.java"
--- script end ---
Script output:
==============
Test output (jtr part):
=======================
----------System.out:(28/3125)----------
Trace:
Start to wait frame "Frame with title "Dummy"" opened
Trace:
Frame "Frame with title "Dummy"" has been opened in 4 milliseconds
javax.swing.JFrame[frame0,300,300,115x45,layout=java.awt.BorderLayout,title=Dummy,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,6,22,103x17,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=1409,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
Trace:
Start to wait frame "Frame with title "Test 4531693"" opened
Trace:
Frame "Frame with title "Test 4531693"" has been opened in 0 milliseconds
javax.swing.JFrame[frame1,0,0,79x55,layout=java.awt.BorderLayout,title=Test 4531693,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,6,22,67x27,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.JButton loaded"
Trace:
"Wait Any javax.swing.JButton loaded" action has been produced in 8 milliseconds with result
: javax.swing.JButton[,0,0,67x27,layout=javax.swing.OverlayLayout,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@52c6b4,flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Open,defaultCapable=true]
Push button
:javax.swing.JButton[,0,0,67x27,layout=javax.swing.OverlayLayout,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@52c6b4,flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Open,defaultCapable=true]
Trace:
Start to wait dialog "Dialog with title "L2 dialog"" opened
Trace:
Dialog "Dialog with title "L2 dialog"" has been opened in 1 milliseconds
javax.swing.JDialog[dialog0,0,0,100x100,layout=java.awt.BorderLayout,modal,title=L2 dialog,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,6,22,88x72,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=385,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
Trace:
Start to wait dialog "Dialog with title "L2 dialog"" opened
Trace:
Dialog "Dialog with title "L2 dialog"" has been opened in 0 milliseconds
javax.swing.JDialog[dialog0,0,0,100x100,layout=java.awt.BorderLayout,modal,title=L2 dialog,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,6,22,88x72,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=385,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
Test Failed
----------System.err:(14/677)----------
Done
java.lang.RuntimeException: Failed
at Test4531693.main(Test4531693.java:82)
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: Failed
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Failed
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Failed
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Failed
Specific machine info:
======================
Hostname: linux-24
OS: RedHat Advanced Server 2.1 (Gnome)
Hostname: linux-19
OS: RedHat Linux v. 7.3 (Gnome)
======================================================================
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.2-b24 (JDK1.4.2-b23, also fails on 1.4.1-b21 with timeout)
Testbase : RegTest-cte
Platform[s] : Linux RedHat 7.3, RedHat Advanced Server 2.1 (Gnome)
switch/Mode : default
Falling test[s]: CTE_REGTEST/Generic/4531693/DialogTest.java
RegTest-cte CTE_REGTEST/Generic/4531693/DialogTest.java test fails on JDK1.4.2-b24 on Linux Redhat 7.3
Test source location:
=====================
/net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4531693/DialogTest.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/mantis/b24/regtest/linux/redhat_advserver21_gnome-server_smp_linux-24/workDir/cte/CTE_REGTEST/Generic/4531693/DialogTest.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.4.2/linux"
TEST_BASE_PATH="/net/linux-15/export/home/java/regtest/cte"
TESTWITH=$JAVA_HOME
TESTJAVA=$JAVA_HOME
JTOPTS="-server"
TESTVMOPTS="-server"
CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar:$JT_HOME/jemmy/jemmy.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,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-24" -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/4531693/DialogTest.java"
--- script end ---
Script output:
==============
Test output (jtr part):
=======================
----------System.out:(28/3125)----------
Trace:
Start to wait frame "Frame with title "Dummy"" opened
Trace:
Frame "Frame with title "Dummy"" has been opened in 4 milliseconds
javax.swing.JFrame[frame0,300,300,115x45,layout=java.awt.BorderLayout,title=Dummy,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,6,22,103x17,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=1409,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
Trace:
Start to wait frame "Frame with title "Test 4531693"" opened
Trace:
Frame "Frame with title "Test 4531693"" has been opened in 0 milliseconds
javax.swing.JFrame[frame1,0,0,79x55,layout=java.awt.BorderLayout,title=Test 4531693,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,6,22,67x27,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.JButton loaded"
Trace:
"Wait Any javax.swing.JButton loaded" action has been produced in 8 milliseconds with result
: javax.swing.JButton[,0,0,67x27,layout=javax.swing.OverlayLayout,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@52c6b4,flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Open,defaultCapable=true]
Push button
:javax.swing.JButton[,0,0,67x27,layout=javax.swing.OverlayLayout,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@52c6b4,flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Open,defaultCapable=true]
Trace:
Start to wait dialog "Dialog with title "L2 dialog"" opened
Trace:
Dialog "Dialog with title "L2 dialog"" has been opened in 1 milliseconds
javax.swing.JDialog[dialog0,0,0,100x100,layout=java.awt.BorderLayout,modal,title=L2 dialog,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,6,22,88x72,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=385,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
Trace:
Start to wait dialog "Dialog with title "L2 dialog"" opened
Trace:
Dialog "Dialog with title "L2 dialog"" has been opened in 0 milliseconds
javax.swing.JDialog[dialog0,0,0,100x100,layout=java.awt.BorderLayout,modal,title=L2 dialog,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,6,22,88x72,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=385,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
Test Failed
----------System.err:(14/677)----------
Done
java.lang.RuntimeException: Failed
at Test4531693.main(Test4531693.java:82)
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: Failed
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Failed
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Failed
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Failed
Specific machine info:
======================
Hostname: linux-24
OS: RedHat Advanced Server 2.1 (Gnome)
Hostname: linux-19
OS: RedHat Linux v. 7.3 (Gnome)
======================================================================