JDK-4968473 : merlin/awt/Automated/ZoomFrame tests fails in mercury
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.2_04
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris
  • CPU: x86
  • Submitted: 2003-12-15
  • Updated: 2003-12-16
  • Resolved: 2003-12-16
Related Reports
Duplicate :  
Description
Both ZoomFrame manual and automated tests are failing 
in mercury b12
merlin/awt/Manual/ZoomFrame
merlin/awt/Automated/ZoomFrame 

- Both MAX_HOR and MAX_VER works same as MAX_BOTH

Following is the TLOG file for automated/GetStateTest 
-------------------------------
#!/bin/sh

WS=/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt
DISPLAY=:0.0
CLASSPATH=/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/../../../workdir/awt_ws/automated/mercuryb12/hs147854.Linux.i386/GetStateTest:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/awtsqe.jar:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/javatest.jar:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/Events/Classes:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/DataTransfer/Classes:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/DataTransfer:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/Events:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/dnd/merlin/classloader/classes:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/dnd/merlin/ql/classes:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/dnd/merlin/adapter/classes:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/dnd/merlin/rmi/classes:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/src/merlin/awt/Automated/ZoomFrame/Frame/GetStateTest
CC=/usr/bin/cc
DATABASE_FILE=/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/SWT/config.xml
SWT_OPTS=
KSH=/bin/sh
HOME=/home/hs147854
JAVA_OPTS="-client -Dresultsdir=/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/../../../workdir/awt_ws/automated/mercuryb12"
USER_HOME=/home/hs147854
NWQE=/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/nwqe/v1.2

while [ $# -gt 0 ];
do
  if [ $1 = "-jdk" ]; then
	shift 1
	PATH=${1}/bin:${PATH}
	shift 1
  else
	if [ $1 = "-d" ]; then
	  shift 1
	  if [ $# -gt 0  ]; then
		DISPLAY=$1
		shift 1
	  else
		DISPLAY=:0.0
	  fi
	fi
  fi
done

export WS
export DISPLAY
export CLASSPATH
export CC
export DATABASE_FILE
export SWT_OPTS
export KSH
export HOME
export JAVA_OPTS
export USER_HOME
export NWQE

/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/binaries/linux/bin/javac -d /net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/../../../workdir/awt_ws/automated/mercuryb12/hs147854.Linux.i386/GetStateTest/ /net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/src/merlin/awt/Automated/ZoomFrame/Frame/GetStateTest/GetStateTest.java
##Exit status of Java compilation=0



NWQE=/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/nwqe/v1.2
JAVA_OPTS="-client -Dresultsdir=/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/../../../workdir/awt_ws/automated/mercuryb12 -Dtest.src=/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/src/merlin/awt/Automated/ZoomFrame/Frame/GetStateTest -Dtest.classes=/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/../../../workdir/awt_ws/automated/mercuryb12/hs147854.Linux.i386/GetStateTest"
SWT_OPTS=
CC=/usr/bin/cc
WS=/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt
DATABASE_FILE=/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/SWT/config.xml
DISPLAY=:0.0
KSH=/bin/sh
HOME=/home/hs147854
USER_HOME=/home/hs147854
CLASSPATH=/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/../../../workdir/awt_ws/automated/mercuryb12/hs147854.Linux.i386/GetStateTest:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/awtsqe.jar:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/javatest.jar:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/Events/Classes:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/DataTransfer/Classes:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/DataTransfer:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/Events:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/dnd/merlin/classloader/classes:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/dnd/merlin/ql/classes:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/dnd/merlin/adapter/classes:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/share/lib/dnd/merlin/rmi/classes:/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/src/merlin/awt/Automated/ZoomFrame/Frame/GetStateTest

while [ $# -gt 0 ];
do
  if [ $1 = "-jdk" ]; then
	shift 1
	PATH=${1}/bin:${PATH}
	shift 1
  else
	if [ $1 = "-d" ]; then
	  shift 1
	  if [ $# -gt 0  ]; then
		DISPLAY=$1
		shift 1
	  else
		DISPLAY=:0.0
	  fi
	fi
  fi
done

export NWQE
export JAVA_OPTS
export SWT_OPTS
export CC
export WS
export DATABASE_FILE
export DISPLAY
export KSH
export HOME
export USER_HOME
export CLASSPATH

#annotate TEST javaopt=-client
/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/binaries/linux/bin/java -client -Dresultsdir=/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/../../../workdir/awt_ws/automated/mercuryb12 -Dtest.src=/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/src/merlin/awt/Automated/ZoomFrame/Frame/GetStateTest -Dtest.classes=/net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/../../../workdir/awt_ws/automated/mercuryb12/hs147854.Linux.i386/GetStateTest com.sun.javatest.regtest.AppletWrapper /net/sqindia/export/disk05/swing/hemantWS/mantis/1.4.2_04B01/ws/awt_ws/awt/../../../workdir/awt_ws/automated/mercuryb12/hs147854.Linux.i386/GetStateTest/GetStateTest.aargh
##Exit status of execution step=97
##!checkExitCode

#INSTRUCTIONS: This is an AUTOMATIC test simply wait until it is done.

#Warning: 
#    Name: HorScrollBar
#    Class: XmScrollBar
#    The specified scrollbar value is greater than the maximum
#    scrollbar value minus the scrollbar slider size.
#
#FAILURE: The bitwise mask Frame.MAXIMIZED_HOR is not set when the frame is in MAXIMIZED_HOR state
#FAILURE: The bitwise mask Frame.MAXIMIZED_VERT is not set when the frame is in MAXIMIZED_VERT state
#java.lang.RuntimeException: TEST FAILED: The bitwise mask Frame.MAXIMIZED_HOR is not set when the frame is in MAXIMIZED_HOR state:   The bitwise mask Frame.MAXIMIZED_VERT is not set when the frame is in MAXIMIZED_VERT state
#	at javasoft.awtsqe.RobotAppletTest.destroy(RobotAppletTest.java:228)
#	at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:168)
#	at java.lang.Thread.run(Thread.java:534)
#STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: TEST FAILED: The bitwise mask Frame.MAXIMIZED_HOR is not set when the frame is in MAXIMIZED_HOR state:   The bitwise mask Frame.MAXIMIZED_VERT is not set when the frame is in MAXIMIZED_VERT state
----------------------------


Note:
- Tested on Mercury b12
- JDK used 1.4.2_04 Build 01

For accessing logs following URL can be used.
http://sqindia.india.sun.com/disk05/swing/hemantWS/mantis/1.4.2_04B01/workdir/awt_ws/automated/mercuryb12/re-run2/

Comments
EVALUATION Name: rpR10076 Date: 12/16/2003 This is a "feature" of Metacity. When asked, Metacity author (###@###.###) explicitly said that Metacity doesn't support vertical and horizontal maximization separately, though it supports the protocol. So it is impossible to fix. Though, I think we now detect Metacity and report that separate vertical and horizontal maximizations are not supported. This was already handled in bug id 4795485. Closing as duplicate. ======================================================================
11-06-2004