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

REGRESSION: Two Regression tests fail

    XMLWordPrintable

    Details

      Description

      Name: iaR10016 Date: 09/22/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b20
                        (not reproducible with JDK1.5.0-b19, JDK1.4.2-b28)
      Testbase : Regression
      Platform[s] : all
      switch/Mode : default
      Falling test[s]: REGRESSION-test: sun/io/Converter/Test4200310.sh
                        REGRESSION-CTE : CTE_REGTEST/Generic/4809949/Test4809949.sh

      Two Regression tests fail with JDK1.5.0-b20 because some classes are duplicated
      between rt.jar and charsets.jar. Here is a duplicated classes list:

      sun/nio/cs/ext/DoubleByteEncoder.class
      sun/nio/cs/ext/JIS_X_0208_Encoder.class
      sun/nio/cs/ext/JIS_X_0212_Encoder.class

      Please, see also bugs 4200310 and 4809949 for more details.

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/sun/io/Converter/Test4200310.sh

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b20/regtest/x86/sol10_x86_gnome_linux-18/workDir/test/sun/io/Converter/Test4200310.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/x86"
      TEST_BASE_PATH="/net/linux-15/export/home/java/regtest.tiger/test"
      TESTVMOPTS="-client"
      export CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"
      TEST="sun/io/Converter/Test4200310.sh"

      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 -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-18" -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 ---

      Script output:
      ==============
      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b20)
      Java HotSpot(TM) Server VM (build 1.5.0-beta-b20, mixed mode)
      JavaTest HTTPd - Success, active on port 1903
      JavaTest HTTPd server available at http://129.144.234.222:1903/
      runner starting test: sun/io/Converter/Test4200310.sh
      runner finished test: sun/io/Converter/Test4200310.sh
      Failed. Execution failed: exit code 1
      Test results: failed: 1
      Report written to /net/linux-15/export/home/store/users/ira/bugs/reportDir/report.html
      Results written to /net/linux-15/export/home/store/users/ira/bugs/workDir/test
      Error: Some tests failed or other problems occurred.

      Test output (jtr part):
      =======================
      ----------System.out:(1/191)----------
      FAILED: sun/nio/cs/ext/DoubleByteEncoder.class sun/nio/cs/ext/JIS_X_0208_Encoder.class sun/nio/cs/ext/JIS_X_0212_Encoder.class are duplicated between rt.jar, charsets.jar, and localedata.jar
      ----------System.err:(0/0)----------
      result: Failed. Execution failed: exit code 1

      test result: Failed. Execution failed: exit code 1

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

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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              irasunw Ira Ira (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: