-
Bug
-
Resolution: Fixed
-
P2
-
5.0
-
b43
-
x86
-
solaris_9, solaris_10, windows_xp
-
Verified
Name: vsR10238 Date: 08/21/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b15
Testbase : Regression-cte
Platform[s] : Windows XP Home, Solaris 10 (sparc) (GNOME), Solaris 9 (x86) (CDE)
switch/Mode : -client, -server
Falling test[s]:
CTE_REGTEST/Generic/4343272/MiniGnip.java
Regression-cte CTE_REGTEST/Generic/4343272/MiniGnip.java test fails with JDK1.5.0-b15,b14,b13.
The test passes with JDK1.5.0-b12, JDK1.4.2 (tested with b28).
On Solaris-Sparc, Solaris-x86, Windows the test fails with the output provided in the Test output (jtr part)
section of the description.
On 32 bit Linux (tested with RH2.1AS, RH7.3) the test fails due to another reason:
Error:
"Menu pushing" action has not been produced in 60016 milliseconds
Error:
Timeout for "Menu pushing" action has been expired. Thread has been interrupted.
java.lang.RuntimeException: Failed
at Test4343272.main(Test4343272.java:74)
Test source location:
=====================
/net/jdk/export/jpse04/Regression/1.5.0/test/CTE_REGTEST/Generic/4343272/MiniGnip.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b15/regtest/x86/sol9_x86_cde_smp_linux-6/workDir/cte/CTE_REGTEST/Generic/4343272/MiniGnip.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/x86"
TEST_BASE_PATH="/net/linux-15/export/home/java/regtest.tiger/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-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/4343272/MiniGnip.java"
--- script end ---
Test output (jtr part):
=======================
Trace:
Frame "Frame with title "Main frame10"" has been opened in 1 milliseconds
MainWindow[frame10,280,280,198x55,invalid,layout=java.awt.BorderLayout,title=DT Main
frame10,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,5,24,188x26,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
Memory Round1: 6212984
Memory Round2: 11526792
Increment : 85.527466%
Test Failed
----------System.err:(13/672)----------
java.lang.RuntimeException: Failed
at Test4343272.main(Test4343272.java:74)
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:549)
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-21
OS: Windows XP Home
Hostname: linux-6
OS: Solaris 9 (x86) (CDE)
Hostname: linux-8
OS: Solaris 10 (sparc) (GNOME)
======================================================================
- relates to
-
JDK-4662231 REGRESSION: Yet another java.awt.dnd.DropTarget causing JNI Global Reference lea
- Resolved
-
JDK-4343272 Yet another java.awt.dnd.DropTarget causing JNI Global Reference leak?
- Resolved
-
JDK-4913044 REGRESSION: AWTComponentTest/src/Automated/4379291/ComponentLeakTest fail in b16
- Closed