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

RegTest-cte CTE_REGTEST/Generic/4478302/Bug4478302.java fails

    Details

    • Subcomponent:
    • Resolved In Build:
      beta2
    • CPU:
      x86, sparc
    • OS:
      solaris_8, solaris_9
    • Verification:
      Verified

      Description



      Name: iaR10016 Date: 06/02/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b07, JDK1.4.2-b24, JDK1.4.1-b21
      Testbase : RegTest-cte
      Platform[s] : Solaris 9 (sparc) (Gnome2)
                        (the test is valid for Solaris only)
      switch/Mode : all
      Falling tests : CTE_REGTEST/Generic/4478302/Bug4478302.java

      RegTest-cte CTE_REGTEST/Generic/4478302/Bug4478302.java test fails with JDK1.5.0-b07, JDK1.4.2-b24,
      JDK1.4.1-b21 on Solaris 9 (sparc) under Gnome2 graphics environment. The test stable passes on the same
      machine and same JDK when running under CDE.

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

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/tiger/b07/regtest/sparc/sol9_sparc_novo48/workDir/cte/CTE_REGTEST/Generic/4478302/Bug4478302.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change it's variables)

      --- script start ---
      #!/bin/sh
      JT_HOME="/jave/re/jct-tools/3.1.2/archive/fcs/binaries/jct"
      JAVA_HOME="/java/re/jdk/1.5.0/promoted/latest/binaries"
      TEST_BASE_PATH="/net/jdk/export/jpse04/Regression/1.5.0/test/CTE_REGTEST"

      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir

      CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar:$JT_HOME/jemmy/jemmy.jar"

      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 -DenvVars=TESTJAVAHOME=$JAVA_HOME,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="novo48" -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/4478302/Bug4478302.java"
      --- script end ---

      Script output:
      ==============
      JavaTest HTTPd - Success, active on port 1903
      JavaTest HTTPd server available at http://129.144.234.48:1903/
      runner starting test: CTE_REGTEST/Generic/4478302/Bug4478302.java
      runner finished test: CTE_REGTEST/Generic/4478302/Bug4478302.java
      Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Failed
      Test results: failed: 1
      Report written to /net/linux-12/export/home/ira/tmp/reportDir/report.html
      Results written to /net/linux-12/export/home/ira/tmp/workDir/test
      Error: Some tests failed or other problems occurred.

      Test output (jtr part):
      =======================
      ----------System.out:(8/324)----------
      Init: moving component to java.awt.Point[x=0,y=0]
      Init: component now located at java.awt.Point[x=0,y=0]
      Trace:
      Start to wait window "Any Window" opened
      Trace:
      Window "Any Window" has been opened in 8 milliseconds
           javax.swing.JWindow[win0,0,0,50x50,layout=java.awt.BorderLayout,rootPaneCheckingEnabled=true]
      Test Failed
      ----------System.err:(13/672)----------
      java.lang.RuntimeException: Failed
           at Test4478302.main(Test4478302.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: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: novo48
      OS: Solaris 9 (sparc) (Gnome2)

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

      Name: vsR10238 Date: 11/26/2003



       The test also failed using JDK1.5.0-b29 on Solaris 8 x86 (Openwin)

       ###@###.###

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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: