JDK-4824762 : RegTest-cte CTE_REGTEST/Generic/4691522/Test4691522.java fails
  • Type: Bug
  • Component: other-libs
  • Sub-Component: other
  • Affected Version: 1.4.2
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_8
  • CPU: x86
  • Submitted: 2003-02-27
  • Updated: 2005-11-14
  • Resolved: 2003-11-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2 rcFixed
Related Reports
Relates :  
Description

Name: iaR10016			Date: 02/26/2003


Filed By       : J2SE-SQA [###@###.###
JDK            : JDK1.4.2-b16, b14
Testbase       : RegTest-cte
Platform[s]    : Solaris 8 (x86), Solaris 9 (x86)
switch/Mode    : -client
Falling test[s]: CTE_REGTEST/Generic/4691522/Test4691522.java

RegTest-cte CTE_REGTEST/Generic/4691522/Test4691522.java test fails with JDK1.4.2-b16
on Solaris x86 system. I am not able to reproduce the failure on any other platforms
(Solaris sparc, Linux, Windows).

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

jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/mantis/b16/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4691522/Test4691522.jtr

How to reproduce:
=================
Run the following script (you may need to change its
JT_HOME, JAVA_HOME, JEMMY and TEST_BASE_PATH variables):

--- script start ---
#!/bin/sh

JT_HOME="/net/linux-15/export/home/java/jct"
JAVA_HOME="/net/linux-15/export/home/java/jdk1.4.2/x86"
TEST_BASE_PATH="/net/linux-15/export/home/java/regtest/cte"
JEMMY="/net/linux-15/export/home/java/jemmy/jemmy.jar"
RESULT_DIR=`pwd`
WORK_DIR=$RESULT_DIR/workDir/test
REPORT_DIR=$RESULT_DIR/reportDir
export CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar:$JEMMY"

mkdir -p $WORK_DIR/scratch 2>&1
mkdir -p $WORK_DIR/jtData 2>&1
mkdir -p $REPORT_DIR 2>&1

cd $WORK_DIR/scratch

$JAVA_HOME/bin/java -DenvVars=TESTJAVAHOME=$JAVA_HOME,DISPLAY=:0,CPAPPEND=$JEMMY -DDISPLAY=:0 -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/4691522/Test4691522.java"
--- script end ---

Test output (jtr part):
=======================
----------System.out:(13/979)----------
Trace:
Start to wait frame "Any javax.swing.JFrame" opened
Trace:
Frame "Any javax.swing.JFrame" has been opened in 5 milliseconds

javax.swing.JFrame[frame0,1,1,300x400,layout=java.awt.BorderLayout,title=,resizable,normal,defaultCloseOperation=DISPOSE_ON_CLOSE,rootPane=javax.swing.JRootPane[,5,22,290x373,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=1409,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]

Trace:
Start to wait action "Wait Any javax.swing.JTabbedPane loaded"
Trace:
"Wait Any javax.swing.JTabbedPane loaded" action has been produced in 5 milliseconds with result
    :
javax.swing.JTabbedPane[,0,0,290x373,layout=javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout,alignmentX=null,alignmentY=null,border=,flags=352,maximumSize=,minimumSize=,preferredSize=,haveRegistered=false,tabPlacement=RIGHT]

Tab Count: 50
Tab #0: java.awt.Rectangle[x=109,y=25,width=51,height=26] Failed
Test Failed
----------System.err:(21/1182)----------
java.lang.RuntimeException: Test Failed ****
        at Test4691522.main(Test4691522.java:46)
        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:534)
java.lang.RuntimeException: Test Failed
        at Test4691522.main(Test4691522.java:54)
        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:534)

JavaTest Message: Test threw exception: java.lang.RuntimeException: Test Failed
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test Failed
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test Failed

test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test Failed

Specific machine info:
======================
Hostname: linux-10
OS: Solaris 8 (x86)

Hostname: linux-6
OS: Solaris 9 (x86)

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

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis-rc tiger-beta FIXED IN: mantis-rc tiger-beta INTEGRATED IN: mantis-rc tiger-beta VERIFIED IN: tiger-beta
14-06-2004

EVALUATION ###@###.### 2003-03-06 It's a testcase problem. Testcase has been automated using Jemmy/Robot but behaves different in solaris x86 than other platform. Will modify the testcase. It's not a fix problem. ###@###.### 2003-03-07
07-03-2003