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

Regression-cte CTE_REGTEST/Generic/4830287/Test.java fails

    Details

    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description



      Name: iaR10016 Date: 11/26/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b29
                        (this is a new test which is abcent in previous JDK builds)
      Testbase : Regression-cte
      Platform[s] : all
      switch/Mode : -client
      Falling test[s]: CTE_REGTEST/Generic/4830287/Test.java

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

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b29/regtest/win32/win2000_linux-2/workDir/cte/CTE_REGTEST/Generic/4830287/Test.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/export/jpse04/Jemmy/jemmy.jar"
      JAVA_HOME="/java/re/jdk/1.5.0/promoted/all/b29/binaries/solaris-sparc"
      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/export/jpse04/Jemmy/jemmy.jar"
      #JAVA_HOME="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b29/binaries/solaris-sparc"
      #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/4830287/Test.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 -server -cp $CLASSPATH -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,windir=$windir,SystemRoot=$SystemRoot,PATH=${SHELL%/*},CPAPPEND=$JEMMY_JAR,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-2" -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/$TEST"
      --- script end ---

      Test output (jtr part):
      =======================
      ----------System.out:(25/2030)----------
      Enabling platform font metrics for win32. This is an unsupported option.
      This yields incorrect composite font metrics as reported by 1.1.x releases.
      It is appropriate only for use by applications which do not use any Java 2
      functionality. This property will be removed in a later release.
      Trace:
      Start to wait frame "Frame with title "Test1"" opened
      Trace:
      Frame "Frame with title "Test1"" has been opened in 0 milliseconds
           Test[frame0,300,150,300x120,title=Test1,resizable,normal]
      Trace:
      Start to wait frame "Frame with title "Test2"" opened
      Trace:
      Frame "Frame with title "Test2"" has been opened in 0 milliseconds
           Test[frame1,300,150,300x120,title=Test2,resizable,normal]
      Trace:
      Start to wait action "Wait AbstractButton with text "BUTTON" loaded"
      Trace:
      "Wait AbstractButton with text "BUTTON" loaded" action has been produced in 20 milliseconds with result
           :
      javax.swing.JButton[,50,50,200x40,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@491c4c,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=BUTTON,defaultCapable=true]
      Trace:
      Start to wait action "Wait AbstractButton with text "BUTTON" loaded"
      Trace:
      "Wait AbstractButton with text "BUTTON" loaded" action has been produced in 10 milliseconds with result
           :
      javax.swing.JButton[,50,50,200x40,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@491c4c,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=BUTTON,defaultCapable=true]
      Test Failed
      ----------System.err:(13/685)----------
      java.lang.RuntimeException: Failed
           at Test4830287.main(Test4830287.java:75)
           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:326)
           at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
           at java.lang.Thread.run(Thread.java:567)

      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-10
      OS: Solaris 8 (x86) (O/W)
      Hostname: linux-2
      OS: Windows 2000 Pro

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

        Attachments

          Activity

            People

            • Assignee:
              asaha Abhijit Saha
              Reporter:
              irasunw Ira Ira (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: