Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5067043

REGRESSION: Regression-cte CTE_REGTEST/Generic/4700671/Application.java fails

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux, windows_xp

      Description



      Name: iaR10016 Date: 06/22/2004


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b56
                     (passed with JDK1.5.0-b55, JDK1.4.2-b28)
      Testbase : Regression-cte
      Platform[s] : Cinnabar (Gnome), RedHat Linux 9.0 (Gnome), Windows 2003, Windows XP Home
      switch/Mode : -client, -server
      Falling test: CTE_REGTEST/Generic/4700671/Application.java

      Regression-cte CTE_REGTEST/Generic/4700671/Application.java test fails using JDK1.5.0-b56
      with java.lang.RuntimeException.

      Test source location:
      =====================
      /net/jdk/export/jpse04/Regression/1.5.0/test/CTE_REGTEST/Generic/4700671/Application.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b56/regtest/linux/Cinnabar_Gnome__linux-12/workDir/cte/CTE_REGTEST/Generic/4700671/Application.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/b56/binaries/linux-i586"
      TEST_BASE_PATH="/net/jdk/export/jpse04/Regression/1.5.0/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/b56/binaries/linux-i586"
      #TEST_BASE_PATH="/net/jdk/export/jpse04/Regression/1.5.0/test"

      TESTVMOPTS="-client"
      CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"
      TEST="CTE_REGTEST/Generic/4700671/Application.java"

      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:(17/1804)----------
      Trace:
      Start to wait frame "Any javax.swing.JFrame" opened
      Trace:
      Frame "Any javax.swing.JFrame" has been opened in 3 milliseconds
           Frame1[frame0,440,362,400x300,invalid,layout=java.awt.BorderLayout,title=JTextComponent
      Test,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,5,21,389x273,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
      Trace:
      Start to wait action "Wait AbstractButton with text "Press me!" loaded"
      Trace:
      "Wait AbstractButton with text "Press me!" loaded" action has been produced in 5 milliseconds with result
           :
      javax.swing.JButton[,0,0,389x25,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@11ddcde,flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Press

      me!,defaultCapable=true]
      Push button

      :javax.swing.JButton[,0,0,389x25,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@11ddcde,flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Press

      me!,defaultCapable=true]
      Text len = 302
      Trace:
      Start to wait action "Wait Any javax.swing.JLabel loaded"
      org.netbeans.jemmy.TimeoutExpiredException: Wait Any javax.swing.JLabel loaded
      Test Failed
      ----------System.err:(15/767)----------
      Error:
      "Wait Any javax.swing.JLabel loaded" action has not been produced in 60001 milliseconds
      java.lang.RuntimeException: Failed
      at Test4700671.main(Test4700671.java:32)
      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:582)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
      at java.lang.Thread.run(Thread.java:595)

      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

      Specific machine info:
      ======================
      Hostname: linux-12
      OS: Cinnabar (Gnome)
      Hostname: linux-19
      OS: Windows 2003
      Hostname: linux-21
      OS: Windows XP Home

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                idk Igor Kushnirskiy (Inactive)
                Reporter:
                irasunw Ira Ira (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: