-
Bug
-
Resolution: Won't Fix
-
P4
-
5.0, 6
-
generic, x86
-
linux, solaris_8, solaris_9, solaris_10, windows_2000
Name: mmR10223 Date: 06/23/2004
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b56, b55
Testbase : Regression-test
Platform[s] : Cinnabar (Gnome), Solaris (O/W), Solaris 10 (Gnome)
switch/Mode : default
Falling test[s]:
javax/swing/JPopupMenu/PopupTest/PopupTester.java
Reg-test javax/swing/JPopupMenu/PopupTest/PopupTester.java test unstable fails
on Cinnabar (Gnome), Solaris (O/W), Solaris 10 (Gnome) with JDK1.5.0-b56.
It passes on Solaris (CDE), Windows and other Linux.
Early this test failed by reason of the bug #4897459 which is integrated.
Please see comments for that bug.
Test source location:
=====================
/java/re/jdk/1.5.0/promoted/all/b56/ws/j2se/test/javax/swing/JPopupMenu/PopupTest/PopupTester.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b56/regtest/linux/Cinnabar_Gnome__linux-12/workDir/test/javax/swing/JPopupMenu/PopupTest/PopupTester.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
#Paths in Java Software:
JT_HOME="/java/re/jct-tools/3.1.2/archive/fcs/binaries"
JEMMY_JAR="/net/jdk.sfbay/export/jpse04/Jemmy/jemmy.jar"
JAVA_HOME="/java/re/jdk/1.5.0/promoted/all/b56/binaries/linux-i586"
TEST_BASE_PATH="/java/re/jdk/1.5.0/promoted/all/b56/ws/j2se/test"
#Alternative paths outside Java Software
#JT_HOME="/net/koori.sfbay/onestop/jct-tools/3.1.2/archive/fcs/binaries"
#JEMMY_JAR="/net/jdk.sfbay/export/jpse04/Jemmy/jemmy.jar"
#JAVA_HOME="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b56/binaries/linux-i586"
#TEST_BASE_PATH="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b56/ws/j2se/test"
#Alternative paths for the NSK site:
#JT_HOME="/net/linux-15/export/home/java/jct"
#JEMMY_JAR="$JT_HOME/jemmy/jemmy.jar"
#JAVA_HOME="/net/linux-15/export/home/java/jdk1.5.0/linux"
#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="javax/swing/JPopupMenu/PopupTest/PopupTester.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 -showversion -server -cp $CLASSPATH -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=$DISPLAY,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,CPAPPEND=$JEMMY_JAR,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=$DISPLAY -DlocalHost=`uname -n` -Dprogram=jtreg com.sun.javatest.regtest.Main -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:(0/0)----------
result: Passed. Compilation successful
#section:build
----------messages:(3/98)----------
command: build PopupTester
reason: Named class compiled on demand
elapsed time (seconds): 0.0010
result: Passed. No need to compile: PopupTester.java
#section:main
----------messages:(3/124)----------
command: main PopupTester
reason: User specified action: run main/timeout=1200 PopupTester
elapsed time (seconds): 805.524
----------System.out:(0/0)----------
----------System.err:(1530/40710)----------
Testing started
.......
--- Running tcMouseInMenuItems
> mouse moved to button
$$ focus changed from: javax.swing.JFrame
$$ focus changed to: NULL
$$ focus changed from: NULL
$$ focus changed to: javax.swing.JRootPane
$$ focus changed from: javax.swing.JRootPane
$$ focus changed to: NULL
$$ focus changed from: NULL
$$ focus changed to: javax.swing.JButton
> mouse click
> mouse moved to Menu1
> mouse click
$$ focus changed from: javax.swing.JButton
$$ focus changed to: NULL
$$ focus changed from: NULL
$$ focus changed to: javax.swing.JRootPane
> mouse moved to item 1
> mouse moved to item 2
> mouse moved to item 3
> mouse moved to item 4
> mouse moved to item 5
> mouse moved to Submenu1-1
> mouse moved to item 1
> mouse moved to item 2
> mouse moved to item 3
> mouse moved to item 4
> mouse moved to item 5
> mouse moved to Submenu1-2
> mouse moved to item 4
> mouse click
< menu item chosen: item 4
$$ focus changed from: javax.swing.JRootPane
$$ focus changed to: NULL
$$ focus changed from: NULL
$$ focus changed to: javax.swing.JButton
$$ focus changed from: javax.swing.JButton
$$ focus changed to: NULL
ERROR: Test failed because of an exception: null
........
--- Running tcMouseInPopup
> mouse moved to button
> mouse click
> hit key P
$$ focus changed from: javax.swing.JButton
$$ focus changed to: NULL
$$ focus changed from: NULL
$$ focus changed to: javax.swing.JRootPane
> mouse moved to item 1
> mouse moved to item 2
> mouse moved to item 3
> mouse moved to item 4
> mouse moved to item 5
> mouse moved to Submenu1
> mouse moved to item 1
> mouse moved to item 2
> mouse moved to item 3
> mouse moved to item 4
> mouse moved to item 5
> mouse moved to Submenu2
> mouse moved to item 3
> mouse click
< menu item chosen: item 3
$$ focus changed from: javax.swing.JRootPane
$$ focus changed to: NULL
$$ focus changed from: NULL
$$ focus changed to: javax.swing.JButton
$$ focus changed from: javax.swing.JButton
$$ focus changed to: NULL
ERROR: Test failed because of an exception: null
.............
Testing finished
The following testcases failed:
In environment: Heavyweight popups inside JFrame
tcMouseInMenuItems
tcMouseInPopup
In environment: Heavyweight popups inside JInternalFrame
tcMouseInMenuItems
tcMouseInPopup
To rerun failed testcases, run:
java PopupTester -ohw tcMouseInMenuItems tcMouseInPopup -ihw tcMouseInMenuItems tcMouseInPopup
To rerun failed testcases, run:
java PopupTester -ohw tcMouseInMenuItems tcMouseInPopup -ihw tcMouseInMenuItems tcMouseInPopup
java.lang.RuntimeException: Some test cases failed
at PopupTester.report(PopupTester.java:963)
at PopupTester.test(PopupTester.java:831)
at PopupTester.main(PopupTester.java:969)
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:582)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
at java.lang.Thread.run(Thread.java:595)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Some test cases failed
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Some test cases failed
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Some test cases failed
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Some test cases failed
Specific machine info:
======================
Hostname: linux-12
OS: Cinnabar (Gnome)
Hostname: linux-1
OS: Solaris 8 (sparc) (O/W)
Hostname: linux-10
OS: Solaris 9 (x86) (O/W)
Hostname: linux-8
OS: Solaris 9 (sparc) (Gnome)
======================================================================
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b56, b55
Testbase : Regression-test
Platform[s] : Cinnabar (Gnome), Solaris (O/W), Solaris 10 (Gnome)
switch/Mode : default
Falling test[s]:
javax/swing/JPopupMenu/PopupTest/PopupTester.java
Reg-test javax/swing/JPopupMenu/PopupTest/PopupTester.java test unstable fails
on Cinnabar (Gnome), Solaris (O/W), Solaris 10 (Gnome) with JDK1.5.0-b56.
It passes on Solaris (CDE), Windows and other Linux.
Early this test failed by reason of the bug #4897459 which is integrated.
Please see comments for that bug.
Test source location:
=====================
/java/re/jdk/1.5.0/promoted/all/b56/ws/j2se/test/javax/swing/JPopupMenu/PopupTest/PopupTester.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b56/regtest/linux/Cinnabar_Gnome__linux-12/workDir/test/javax/swing/JPopupMenu/PopupTest/PopupTester.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
#Paths in Java Software:
JT_HOME="/java/re/jct-tools/3.1.2/archive/fcs/binaries"
JEMMY_JAR="/net/jdk.sfbay/export/jpse04/Jemmy/jemmy.jar"
JAVA_HOME="/java/re/jdk/1.5.0/promoted/all/b56/binaries/linux-i586"
TEST_BASE_PATH="/java/re/jdk/1.5.0/promoted/all/b56/ws/j2se/test"
#Alternative paths outside Java Software
#JT_HOME="/net/koori.sfbay/onestop/jct-tools/3.1.2/archive/fcs/binaries"
#JEMMY_JAR="/net/jdk.sfbay/export/jpse04/Jemmy/jemmy.jar"
#JAVA_HOME="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b56/binaries/linux-i586"
#TEST_BASE_PATH="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b56/ws/j2se/test"
#Alternative paths for the NSK site:
#JT_HOME="/net/linux-15/export/home/java/jct"
#JEMMY_JAR="$JT_HOME/jemmy/jemmy.jar"
#JAVA_HOME="/net/linux-15/export/home/java/jdk1.5.0/linux"
#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="javax/swing/JPopupMenu/PopupTest/PopupTester.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 -showversion -server -cp $CLASSPATH -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=$DISPLAY,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,CPAPPEND=$JEMMY_JAR,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=$DISPLAY -DlocalHost=`uname -n` -Dprogram=jtreg com.sun.javatest.regtest.Main -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:(0/0)----------
result: Passed. Compilation successful
#section:build
----------messages:(3/98)----------
command: build PopupTester
reason: Named class compiled on demand
elapsed time (seconds): 0.0010
result: Passed. No need to compile: PopupTester.java
#section:main
----------messages:(3/124)----------
command: main PopupTester
reason: User specified action: run main/timeout=1200 PopupTester
elapsed time (seconds): 805.524
----------System.out:(0/0)----------
----------System.err:(1530/40710)----------
Testing started
.......
--- Running tcMouseInMenuItems
> mouse moved to button
$$ focus changed from: javax.swing.JFrame
$$ focus changed to: NULL
$$ focus changed from: NULL
$$ focus changed to: javax.swing.JRootPane
$$ focus changed from: javax.swing.JRootPane
$$ focus changed to: NULL
$$ focus changed from: NULL
$$ focus changed to: javax.swing.JButton
> mouse click
> mouse moved to Menu1
> mouse click
$$ focus changed from: javax.swing.JButton
$$ focus changed to: NULL
$$ focus changed from: NULL
$$ focus changed to: javax.swing.JRootPane
> mouse moved to item 1
> mouse moved to item 2
> mouse moved to item 3
> mouse moved to item 4
> mouse moved to item 5
> mouse moved to Submenu1-1
> mouse moved to item 1
> mouse moved to item 2
> mouse moved to item 3
> mouse moved to item 4
> mouse moved to item 5
> mouse moved to Submenu1-2
> mouse moved to item 4
> mouse click
< menu item chosen: item 4
$$ focus changed from: javax.swing.JRootPane
$$ focus changed to: NULL
$$ focus changed from: NULL
$$ focus changed to: javax.swing.JButton
$$ focus changed from: javax.swing.JButton
$$ focus changed to: NULL
ERROR: Test failed because of an exception: null
........
--- Running tcMouseInPopup
> mouse moved to button
> mouse click
> hit key P
$$ focus changed from: javax.swing.JButton
$$ focus changed to: NULL
$$ focus changed from: NULL
$$ focus changed to: javax.swing.JRootPane
> mouse moved to item 1
> mouse moved to item 2
> mouse moved to item 3
> mouse moved to item 4
> mouse moved to item 5
> mouse moved to Submenu1
> mouse moved to item 1
> mouse moved to item 2
> mouse moved to item 3
> mouse moved to item 4
> mouse moved to item 5
> mouse moved to Submenu2
> mouse moved to item 3
> mouse click
< menu item chosen: item 3
$$ focus changed from: javax.swing.JRootPane
$$ focus changed to: NULL
$$ focus changed from: NULL
$$ focus changed to: javax.swing.JButton
$$ focus changed from: javax.swing.JButton
$$ focus changed to: NULL
ERROR: Test failed because of an exception: null
.............
Testing finished
The following testcases failed:
In environment: Heavyweight popups inside JFrame
tcMouseInMenuItems
tcMouseInPopup
In environment: Heavyweight popups inside JInternalFrame
tcMouseInMenuItems
tcMouseInPopup
To rerun failed testcases, run:
java PopupTester -ohw tcMouseInMenuItems tcMouseInPopup -ihw tcMouseInMenuItems tcMouseInPopup
To rerun failed testcases, run:
java PopupTester -ohw tcMouseInMenuItems tcMouseInPopup -ihw tcMouseInMenuItems tcMouseInPopup
java.lang.RuntimeException: Some test cases failed
at PopupTester.report(PopupTester.java:963)
at PopupTester.test(PopupTester.java:831)
at PopupTester.main(PopupTester.java:969)
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:582)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
at java.lang.Thread.run(Thread.java:595)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Some test cases failed
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Some test cases failed
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Some test cases failed
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Some test cases failed
Specific machine info:
======================
Hostname: linux-12
OS: Cinnabar (Gnome)
Hostname: linux-1
OS: Solaris 8 (sparc) (O/W)
Hostname: linux-10
OS: Solaris 9 (x86) (O/W)
Hostname: linux-8
OS: Solaris 9 (sparc) (Gnome)
======================================================================