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

TEST_BUG: Regression-test sun/text/resources/Locale/LocaleDataTest.java fails

    Details

    • Subcomponent:
    • Resolved In Build:
      b24
    • CPU:
      x86, sparc
    • OS:
      solaris_9, windows_xp
    • Verification:
      Verified

      Description



      Name: mmR10223 Date: 10/07/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b22
      Testbase : Regression-test
      Platform[s] : Windows XP Home, Solaris 9 (sparc) (CDE), Solaris 9 (x86) (CDE)
      switch/Mode : default
      Falling test[s]: sun/text/resources/Locale/LocaleDataTest.java

      Regression-test sun/text/resources/Locale/LocaleDataTest.java test fails with JDK1.5.0-b22
      on all platforms. It passes using JDK1.5.0-b21, JDK1.4.2-b28.

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/sun/text/resources/Locale/LocaleDataTest.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b22/regtest/sparc/sol9_sparc_gnome_novo48/workDir/test/sun/text/resources/Locale/LocaleDataTest.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/sparc"
      JAVA_HOME="$KOORI_ONESTOP/jdk/1.5.0/promoted/all/b22/binaries/solaris-sparc"

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


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

      TEST="sun/text/resources/Locale/LocaleDataTest.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="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/$TEST"

      --- script end ---

      Script output:
      ==============

      Test output (jtr part):
      =======================
      ----------System.out:(7/316)*----------
      Mismatch in LocaleElements/ko/DateTimePatterns/0:
        file = "a h'\uc2dc' m'\ubd84' s'\ucd08' z"
         jvm = "a h'\uc2dc' mm'\ubd84' ss'\ucd08' z"
      Mismatch in LocaleElements/ko/DateTimePatterns/1:
        file = "a h'\uc2dc' m'\ubd84' s'\ucd08'"
         jvm = "a h'\uc2dc' mm'\ubd84' ss'\ucd08'"
      Test failed. 2 errors.
      ----------System.err:(13/709)----------
      java.lang.Exception: Test failed. 2 errors.
      at LocaleDataTest.main(LocaleDataTest.java:158)
      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:549)

      JavaTest Message: Test threw exception: java.lang.Exception: Test failed. 2 errors.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: Test failed. 2 errors.
      result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Test failed. 2 errors.


      test result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Test failed. 2 errors.


      Specific machine info:
      ======================
      Hostname: linux-21
      OS: Windows XP Home
      Hostname: linux-6
      OS: Solaris 9 (x86) (CDE)
      Hostname: novo48
      OS: Solaris 9 (sparc) (CDE)



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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mfang Michael Fang (Inactive)
                Reporter:
                mmvsunw Mmv Mmv (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: