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

Regression-cte CTE_REGTEST/Generic/4901731/encoder.java fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 5.0
    • 5.0
    • other-libs
    • beta
    • sparc
    • solaris_10
    • Verified



      Name: kaR10181 Date: 12/09/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b29
      Testbase : Regression-cte
      Platform[s] : Solaris 10 (sparc CDE) (passes on Linux)
      switch/Mode : -d64
      Falling test[s]:
               CTE_REGTEST/Generic/4901731/encoder.java

      Regression-cte CTE_REGTEST/Generic/4901731/encoder.java test fails with JDK1.5.0-b29
      The test is absent in the testsuite for JDK1.5.0-b28.

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

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b29/regtest/sparc/sol10_sparc_cde_linux-8/workDir/cte/CTE_REGTEST/Generic/4901731/encoder.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"

      #Alternative paths for the NSK site:
      #JT_HOME="/net/linux-15/export/home/java/jct"
      #JEMMY_JAR="$JT_HOME/jemmy/jemmy.jar"
      #JAVA_HOME="/net/linux-15/export/home/java/jdk1.5.0/sparc"
      #TEST_BASE_PATH="/net/linux-15/export/home/java/regtest.tiger/cte"


      TESTVMOPTS="-d64"
      CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"

      TEST="CTE_REGTEST/Generic/4901731/encoder.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,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,CPAPPEND=$JEMMY_JAR,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-8" -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:
      ==============

      Test output (jtr part):
      =======================
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:shell
      ----------messages:(3/119)----------
      command: shell Test4901731.sh
      reason: User specified action: run shell Test4901731.sh
      elapsed time (seconds): 90.625
      ----------System.out:(1/12)----------
      Test Failed
      ----------System.err:(34/1022)----------
      BIT_FLAG=
      + uname -s
      OS=SunOS
      NULL=/dev/null
      PS=:
      FS=/
      FILE_LOCATION=/home/iche/.regtest
      + uname -p
      + [ -f /home/iche/.regtest/JDK64BIT -a SunOS = SunOS -a sparc=sparc ]
      JEMMYPATH=/net/linux-15/export/home/java/jemmy/jemmy.jar
      CLASSPATH=.:/net/linux-15/export/home/results_full/tiger/b29/regtest/sparc/sol10_sparc_cde_linux-8/workDir/cte/classes/CTE_REGTEST/Generic/4901731:/net/linux-15/export/home/java/jemmy/jemmy.jar
      + export CLASSPATH
      + pwd
      THIS_DIR=/net/linux-15/export/home/results_full/tiger/b29/regtest/sparc/sol10_sparc_cde_linux-8/workDir/cte/scratch
      + awk {print $3}
      + grep Memory size
      + /usr/sbin/prtconf
      MEMORY=1024
      + [ 1024 -lt 512 ]
      + /net/linux-15/export/home/java/jdk1.5.0/sparc/bin/java -fullversion
      java full version "1.5.0-beta-b30"
      C_PID=17188
      + sleep 90
      + /net/linux-15/export/home/java/jdk1.5.0/sparc/bin/java -Xms300m -Xmx512m encoder
      + kill -9 17188
      + cat test.out
      17188 Killed
      + grep Passed test.out
      + awk {print $1}
      + wc -l
      COUNT=0
      + [ X0 = X2 ]
      + echo Test Failed
      + exit 1
      result: Failed. Execution failed: exit code 1


      test result: Failed. Execution failed: exit code 1


      Specific machine info:
      ======================
      Hostname: linux-8
      OS: Solaris 10 (sparc) (CDE)



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

            hputtaswsunw Hemanth Puttaswamy (Inactive)
            akmsunw Akm Akm (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: