JDK-4847161 : REGRESSION: RegTest-cte CTE_REGTEST/Generic/4683300/Test4683300.java failed
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux,solaris_9
  • CPU: x86
  • Submitted: 2003-04-11
  • Updated: 2003-10-29
  • Resolved: 2003-10-20
Related Reports
Duplicate :  
Relates :  
Description

Name: icR10030			Date: 04/11/2003


Filed By       : J2SE-SQA [###@###.###
JDK            : JDK1.5.0-b04
Testbase       : RegTest-cte
Platform[s]    : Solaris 9 (x86) (CDE), Redhat Linux 7.3 (Gnome)
switch/Mode    : -client
Falling test[s]:
         CTE_REGTEST/Generic/4683300/Test4683300.java

RegTest-cte CTE_REGTEST/Generic/4683300/Test4683300.java test fails on JDK1.5.0-b04
The test passes in jdk1.5.0-b03.

Test source location:
=====================
/net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4683300/Test4683300.java

jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/tiger/b04/regtest/x86/sol9_x86-client_linux-6/workDir/cte/CTE_REGTEST/Generic/4683300/Test4683300.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/linux"
TEST_BASE_PATH="/net/linux-15/export/home/java/regtest/cte"

TESTWITH=$JAVA_HOME
TESTJAVA=$JAVA_HOME

JTOPTS="-client"
TESTVMOPTS="-client"

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-6" -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/4683300/Test4683300.java"

--- script end ---

Script output:
==============

Test output (jtr part):
=======================
----------System.out:(22/1466)----------
   created: META-INF/
extracted: META-INF/MANIFEST.MF
   created: activationtest/
extracted: activationtest/DummyOrderPanel.java
extracted: activationtest/DummyOrderPanelGUI.java
   created: activationtest/forms/
extracted: activationtest/forms/DummyOrderPanel.gml
   created: activationtest/images/
Trace:
Start to wait action "Wait Any javax.swing.JPopupMenu loaded"
Trace:
"Wait Any javax.swing.JPopupMenu loaded" action has been produced in 13 milliseconds with result
     : 
javax.swing.JPopupMenu[,0,0,153x81,layout=javax.swing.plaf.basic.DefaultMenuLayout,alignmentX=null,alignmentY=null,border=javax.swing.plaf.metal.MetalBorders$PopupMenuBorder@5ff916,flags=264,maximumSize=,minimumSize=,preferredSize=,desiredLocationX=600,desiredLocationY=200,label=,lightWeightPopupEnabled=true,margin=,paintBorder=true]
Trace:
Start to wait action "Wait Any javax.swing.JPopupMenu loaded"
Trace:
Start to wait action "Wait Any javax.swing.JPopupMenu loaded"
Trace:
"Wait Any javax.swing.JPopupMenu loaded" action has been produced in 12 milliseconds with result
     : 
javax.swing.JPopupMenu[,0,0,153x81,layout=javax.swing.plaf.basic.DefaultMenuLayout,alignmentX=null,alignmentY=null,border=javax.swing.plaf.metal.MetalBorders$PopupMenuBorder@5ff916,flags=264,maximumSize=,minimumSize=,preferredSize=,desiredLocationX=600,desiredLocationY=200,label=,lightWeightPopupEnabled=true,margin=,paintBorder=true]
Trace:
Start to wait action "Wait Any javax.swing.JPopupMenu loaded"
----------System.err:(5/247)----------
java full version "1.5.0-beta-b04"
Note: DummyOrderPanelGUI.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
Error:
"Wait Any javax.swing.JPopupMenu loaded" action has not been produced in 60018 milliseconds
result: Failed. Execution failed: Program `sh' interrupted! (timed out?)


test result: Failed. Execution failed: Program `sh' interrupted! (timed out?)


Specific machine info:
======================
Hostname: linux-6
OS: Solaris 9 (x86) (CDE)
Hostname: linux-13
OS: Linux Redhat 7.3 (GNOME)



======================================================================

Comments
CONVERTED DATA BugTraq+ Release Management Values VERIFIED IN: tiger-beta
24-08-2004

EVALUATION 4683300 was a swing bug, so I'll let them take the first cut at this. ###@###.### 2003-04-11 Name: azR10139 Date: 04/16/2003 Too risky to fix in mantis. Will be fixed in the next release. ###@###.### 04/16/2003 ====================================================================== Name: azR10139 Date: 10/17/2003 This test do not perform any actions on loading. Hovewer, i have tested manually that the bug that must be tested by this test is not reproducible. And if i'm going to perform all the actions that need to be tested manually (invoke JPopupMenu on each visible frame without unposting popups on previous frame), this test reports as passed. Test must be corrected. ###@###.### 10/17/2003 ====================================================================== But testcase works fine till 1.5.0 b03 and problem appears from b04. I've tested this testcase manually with b04 and b22, b23, b24 and the problem exists. Right click on right window brings the popup menu Right click on left window DOES NOT bring the popup menu <<< this is the problem. I've tested on Solaris sparc / solaris x86. ###@###.### 2003-10-17 Name: azR10139 Date: 10/20/2003 The problem that caused this regression is fixed by bug 4912806. Closing this bug as duplicate. ###@###.### 10/20/2003 ======================================================================
20-10-2003