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

RegTest-cte CTE_REGTEST/Generic/4255200/ModalTest.java failed

    XMLWordPrintable

Details

    • x86, sparc
    • linux, solaris_9, solaris_10

    Description



      Name: icR10030 Date: 05/02/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b05
      Testbase : RegTest-cte
      Platform[s] : RedHat Advanced Server 2.1 (Gnome), Solaris 9 (sparc) (CDE)
      switch/Mode : -d64, -server
      Falling test[s]:
               CTE_REGTEST/Generic/4255200/ModalTest.java

      RegTest-cte CTE_REGTEST/Generic/4255200/ModalTest.java test fails on JDK1.5.0-b05
      The testcase is new in tiger-b05.

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

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/tiger/b05/regtest/linux/redhat_advserver21_gnome-server_smp_linux-24/workDir/cte/CTE_REGTEST/Generic/4255200/ModalTest.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/linux"
      TEST_BASE_PATH="/net/linux-15/export/home/java/regtest/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-24" -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/4255200/ModalTest.java"

      --- script end ---

      Script output:
      ==============

      Test output (jtr part):
      =======================
      ----------System.out:(21/2246)----------
      Trace:
      Start to wait frame "Frame with title "Modal Test Win 1"" opened
      Trace:
      Frame "Frame with title "Modal Test Win 1"" has been opened in 5 milliseconds
           ModalTest[frame0,200,200,300x400,layout=java.awt.BorderLayout,title=Modal Test Win
      1,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,6,22,288x372,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=385,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
      Trace:
      Start to wait frame "Frame with title "Modal Test Win 2"" opened
      Trace:
      Frame "Frame with title "Modal Test Win 2"" has been opened in 1 milliseconds
           ModalTest[frame1,500,200,300x400,layout=java.awt.BorderLayout,title=Modal Test Win
      2,resizable,normal,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,6,22,288x372,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=1409,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
      Trace:
      Start to wait action "Wait AbstractButton with text "New Modal Dlog" loaded"
      Trace:
      "Wait AbstractButton with text "New Modal Dlog" loaded" action has been produced in 8 milliseconds with result
           :
      javax.swing.JButton[,135,5,137x26,layout=javax.swing.OverlayLayout,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@30ae41,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=false,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=New
      Modal Dlog,defaultCapable=true]
      Trace:
      Start to wait dialog "Dialog with title "Select an Option"" opened
      Trace:
      Dialog "Dialog with title "Select an Option"" has been opened in 1 milliseconds
           javax.swing.JDialog[dialog0,214,340,274x118,layout=java.awt.BorderLayout,modal,title=Select an
      Option,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,6,22,262x90,layout=javax.swing.JRootPane$RootLayout,alignmentX=null,alignmentY=null,border=,flags=385,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
      Test Failed
      ----------System.err:(13/672)----------
      java.lang.RuntimeException: Failed
      at Test4255200.main(Test4255200.java:66)
      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: 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-24
      OS: RedHat Advanced Server 2.1 (Gnome)
      Hostname: novo48
      OS: Solaris 9 (sparc) (CDE)



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

      Attachments

        Activity

          People

            asaha Abhijit Saha
            ichesunw Iche Iche (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: