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

REGRESSION: Regression-test NegativeAngleTest.java fails

    Details

    • Subcomponent:
      2d
    • CPU:
      x86
    • OS:
      linux

      Description



      Name: vsR10238 Date: 10/01/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-(b15-b21)
      Testbase : Regression-test
      Platform[s] : RedHat Linux 9.0 (GNOME), RedHat Linux 7.3
      switch/Mode : -client, -server
      Falling test[s]:
               java/awt/FontClass/NegativeAngleTest/NegativeAngleTest.java

      Regression test java/awt/FontClass/NegativeAngleTest/NegativeAngleTest.java fails with JDK1.5.0 starting from b15
      on the listed Linux platforms with the following error message:

      java: ../../../src/share/native/sun/font/t2k/t1.c:2185: tsi_T1GetGlyphIndexFromAdobeCode: Assertion `0' failed.

      The test passed with JDK1.5.0-b21 on Windows 2000, RH2.1AS, Solaris 10 (x86).

      The test passed with JDK1.4.2-b28 on RedHat Linux 9.0 (GNOME), RedHat Linux 7.3 .

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/all/b21/ws/j2se/test/java/awt/FontClass/NegativeAngleTest/NegativeAngleTest.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b21/regtest/linux/redhat9.0_gnome_smp_linux-5/workDir/test/java/awt/FontClass/NegativeAngleTest/NegativeAngleTest.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

      #KOORI_ONESTOP is your path to koori.sfbay/onestop (/net/koori/onestop, /java/re)
      KOORI_ONESTOP="/java/re"
      #JPSE04 is your path to /net/jdk/export/jpse04
      JPSE04="/net/jdk/export/jpse04"

      #JT_HOME="/net/linux-15/export/home/java/jct"
      JT_HOME="$KOORI_ONESTOP/jct-tools/3.1.2/archive/fcs/binaries"
      #JEMMY_JAR="$JT_HOME/jemmy/jemmy.jar"
      JEMMY_JAR="$JPSE04/Jemmy/jemmy.jar"
      #JAVA_HOME="/net/linux-15/export/home/java/jdk1.5.0/linux"
      JAVA_HOME="$KOORI_ONESTOP/jdk/1.5.0/promoted/all/b21/binaries/linux-i586"

      #TEST_BASE_PATH="/net/linux-15/export/home/java/regtest.tiger/test"
      TEST_BASE_PATH="$KOORI_ONESTOP/jdk/1.5.0/promoted/all/b21/ws/j2se/test"


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

      TEST="java/awt/FontClass/NegativeAngleTest/NegativeAngleTest.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-5" -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:(0/0)----------
      ----------System.err:(1/112)----------
      java: ../../../src/share/native/sun/font/t2k/t1.c:2185: tsi_T1GetGlyphIndexFromAdobeCode: Assertion `0' failed.
      result: Failed. Unexpected exit from test [exit code: 129]


      test result: Failed. Unexpected exit from test [exit code: 129]


      Specific machine info:
      ======================
      Hostname: linux-5
      OS: RedHat Linux 9.0 (GNOME)


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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vshsunw Vsh Vsh (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: