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

RegTest-test java/text/Format/FormatIteratorTest.java failed

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86, sparc
    • OS:
      linux, solaris_9

      Description



      Name: icR10030 Date: 04/30/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b05
      Testbase : RegTest-test
      Platform[s] : RedHat Advanced Server 2.1 (Gnome), Solaris 9 (sparc) (CDE)
      switch/Mode : -client, -d64, -server
      Falling test[s]:
               java/text/Format/FormatIteratorTest.java

      RegTest-test java/text/Format/FormatIteratorTest.java test fails on JDK1.5.0-b05
      The tescase passes in jdk1.4.2-b21, jdk1.5.0-b04

      Test source location:
      =====================
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/text/Format/FormatIteratorTest.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/tiger/b05/regtest/linux/redhat_advserver21_gnome-server_smp_linux-24/workDir/test/java/text/Format/FormatIteratorTest.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/linux"
      TEST_BASE_PATH="/net/linux-15/export/home/java/regtest/test"

      TESTWITH=$JAVA_HOME
      TESTJAVA=$JAVA_HOME

      JTOPTS="-server"
      TESTVMOPTS="-server"

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

      export JAVA_HOME
      export JT_HOME
      export TESTWITH
      export CLASSPATH

      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 $JTOPTS -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-24" -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/java/text/Format/FormatIteratorTest.java"

      --- script end ---

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

      Test output (jtr part):
      =======================
      ----------System.out:(24/1284)----------
      FormatIteratorTest {
         testDateFormat Passed
         testMessageFormat {
           text doesn't match, got: zero 1=one
      java.lang.RuntimeException: text doesn't match, got: zero 1=one

      at IntlTest.err(IntlTest.java:161)
      at IntlTest.errln(IntlTest.java:166)
      at FormatIteratorTest.verify(FormatIteratorTest.java:139)
      at FormatIteratorTest._test(FormatIteratorTest.java:124)
      at FormatIteratorTest.testMessageFormat(FormatIteratorTest.java:99)
      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 IntlTest.run(IntlTest.java:108)
      at FormatIteratorTest.main(FormatIteratorTest.java:87)
      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)
           Uncaught exception thrown in test method testMessageFormat
      ----------System.err:(18/954)----------
      java.lang.RuntimeException: Uncaught exception thrown in test method testMessageFormat

      at IntlTest.err(IntlTest.java:161)
      at IntlTest.errln(IntlTest.java:166)
      at IntlTest.run(IntlTest.java:115)
      at FormatIteratorTest.main(FormatIteratorTest.java:87)
      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: Uncaught exception thrown in test method testMessageFormat

      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Uncaught exception thrown in test method testMessageFormat
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Uncaught exception thrown in test method testMessageFormat


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Uncaught exception thrown in test method testMessageFormat


      Specific machine info:
      ======================
      Hostname: linux-24
      OS: RedHat Advanced Server 2.1 (Gnome)
      Hostname: novo48
      OS: Solaris 9 (sparc) (CDE)



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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nlindenbsunw Norbert Lindenberg (Inactive)
              Reporter:
              ichesunw Iche Iche (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: