-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b49
-
x86
-
solaris_8
Name: aaR10208 Date: 04/14/2004
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b46 (also fails with jdk1.4.2-fcs)
Testbase : Regression-test
Platform[s] : Solaris 8 (x86) Open Windows (passes under CDE, GNOME)
switch/Mode : generic
Falling test[s]: java/awt/event/MouseEvent/ClickDuringKeypress/ClickDuringKeypress.html
Regression-test java/awt/event/MouseEvent/ClickDuringKeypress/ClickDuringKeypress.html test fails with JDK1.5.0-b46.
The test sometimes fails with a message 'No MOUSE_CLICKED events received.' and
sometimes with 'Actual click count: 4 does not match expected click count: 10'.
Test source location:
=====================
/java/re/jdk/1.5.0/promoted/all/b46/ws/j2se/test/java/awt/event/MouseEvent/ClickDuringKeypress/ClickDuringKeypress.html
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b46/regtest/x86/Solaris_8_x86_O_W__linux-10/workDir/test/java/awt/event/MouseEvent/ClickDuringKeypress/ClickDuringKeypress.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/b46/binaries/solaris-i586"
TEST_BASE_PATH="/java/re/jdk/1.5.0/promoted/all/b46/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/b46/binaries/solaris-i586"
#TEST_BASE_PATH="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b46/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/x86"
#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="java/awt/event/MouseEvent/ClickDuringKeypress/ClickDuringKeypress.html"
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 ---
Test output (jtr part):
=======================
----------System.out:(6/580)----------
java.awt.event.MouseEvent[MOUSE_CLICKED,(200,200),button=1,modifiers=Button1,clickCount=1] on frame0
java.awt.event.MouseEvent[MOUSE_CLICKED,(200,200),button=1,modifiers=Button1,clickCount=1] on frame0
java.awt.event.MouseEvent[MOUSE_CLICKED,(200,200),button=1,modifiers=Button1,clickCount=2] on frame0
java.awt.event.MouseEvent[MOUSE_CLICKED,(200,200),button=1,modifiers=Button1,clickCount=3] on frame0
java.awt.event.MouseEvent[MOUSE_CLICKED,(200,200),button=1,modifiers=Button1,clickCount=4] on frame0
Actual click count: 4 does not match expected click count: 10. Test fails
----------System.err:(6/498)----------
java.lang.RuntimeException: Actual click count: 4 does not match expected click count: 10. Test fails
at ClickDuringKeypress.doTest(ClickDuringKeypress.java:152)
at ClickDuringKeypress.start(ClickDuringKeypress.java:115)
at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:133)
at java.lang.Thread.run(Thread.java:570)
Specific machine info:
======================
Hostname: linux-10
OS: Solaris 8 (x86) (O/W)
======================================================================
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b46 (also fails with jdk1.4.2-fcs)
Testbase : Regression-test
Platform[s] : Solaris 8 (x86) Open Windows (passes under CDE, GNOME)
switch/Mode : generic
Falling test[s]: java/awt/event/MouseEvent/ClickDuringKeypress/ClickDuringKeypress.html
Regression-test java/awt/event/MouseEvent/ClickDuringKeypress/ClickDuringKeypress.html test fails with JDK1.5.0-b46.
The test sometimes fails with a message 'No MOUSE_CLICKED events received.' and
sometimes with 'Actual click count: 4 does not match expected click count: 10'.
Test source location:
=====================
/java/re/jdk/1.5.0/promoted/all/b46/ws/j2se/test/java/awt/event/MouseEvent/ClickDuringKeypress/ClickDuringKeypress.html
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b46/regtest/x86/Solaris_8_x86_O_W__linux-10/workDir/test/java/awt/event/MouseEvent/ClickDuringKeypress/ClickDuringKeypress.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/b46/binaries/solaris-i586"
TEST_BASE_PATH="/java/re/jdk/1.5.0/promoted/all/b46/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/b46/binaries/solaris-i586"
#TEST_BASE_PATH="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b46/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/x86"
#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="java/awt/event/MouseEvent/ClickDuringKeypress/ClickDuringKeypress.html"
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 ---
Test output (jtr part):
=======================
----------System.out:(6/580)----------
java.awt.event.MouseEvent[MOUSE_CLICKED,(200,200),button=1,modifiers=Button1,clickCount=1] on frame0
java.awt.event.MouseEvent[MOUSE_CLICKED,(200,200),button=1,modifiers=Button1,clickCount=1] on frame0
java.awt.event.MouseEvent[MOUSE_CLICKED,(200,200),button=1,modifiers=Button1,clickCount=2] on frame0
java.awt.event.MouseEvent[MOUSE_CLICKED,(200,200),button=1,modifiers=Button1,clickCount=3] on frame0
java.awt.event.MouseEvent[MOUSE_CLICKED,(200,200),button=1,modifiers=Button1,clickCount=4] on frame0
Actual click count: 4 does not match expected click count: 10. Test fails
----------System.err:(6/498)----------
java.lang.RuntimeException: Actual click count: 4 does not match expected click count: 10. Test fails
at ClickDuringKeypress.doTest(ClickDuringKeypress.java:152)
at ClickDuringKeypress.start(ClickDuringKeypress.java:115)
at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:133)
at java.lang.Thread.run(Thread.java:570)
Specific machine info:
======================
Hostname: linux-10
OS: Solaris 8 (x86) (O/W)
======================================================================
- relates to
-
JDK-4856207 TEST_BUG: Regtest java/awt/event/MouseEvent/ClickDuringKeypress/ClickDuringKeypr
-
- Closed
-