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

Regression test: java/text/Collator/EnglishTest.java failing

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      generic, x86, sparc
    • OS:
      generic, solaris_7, solaris_8, windows_nt
    • Verification:
      Verified

      Description

      Regression test: java/text/Collator/EnglishTest.java failed with jdk1.4 beta b45 and b46 on Solaris Sparc 8 in iw_IL locale and in c locale, and win20000 in ko enabled locale.

      Below is a part of the message:

      ----------System.out:(17/785)----------
      EnglishTest {
        TestPrimary Passed
        TestTertiary {
          Collation Test failed! Source = p?che Target = p?ch? result should be >
      java.lang.RuntimeException: Collation Test failed! Source = p?che Target = p?ch? result should be >

              at CollatorTest.err(CollatorTest.java:212)
              at CollatorTest.errln(CollatorTest.java:217)
              at EnglishTest.doTest(EnglishTest.java:217)
              at EnglishTest.TestTertiary(EnglishTest.java:225)
              at java.lang.reflect.Method.invoke(Native Method)
              at CollatorTest.run(CollatorTest.java:159)
              at EnglishTest.main(EnglishTest.java:27)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
              at java.lang.Thread.run(Thread.java:565)
          Uncaught exception thrown in test method TestTertiary
      ----------System.err:(15/611)----------
      java.lang.RuntimeException: Uncaught exception thrown in test method TestTertiary

              at CollatorTest.err(CollatorTest.java:212)
              at CollatorTest.errln(CollatorTest.java:217)
              at CollatorTest.run(CollatorTest.java:166)
              at EnglishTest.main(EnglishTest.java:27)
              at java.lang.reflect.Method.invoke(Native Method)
              at javasoft.sqe.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
              at java.lang.Thread.run(Thread.java:565)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Uncaught exception thrown in test method TestTertiary

      JavaTest Message: shutting down test

      STATUS:Failed.
      result: Failed. Execution failed

      keiko.nakayama@Eng 2001-01-03
      ------------
      verified the fix with jdk1.4 beta b58


      ====================================================
      al.smith@eng 2001-01-23

      Three regression tests are failing with Merlin build 48.

        java/text/Collator/EnglishTest.java
        java/text/Collator/FrenchTest.java
        java/text/Collator/IteratorTest.java

      Sample failure message.
      ----------------------------
      #Test Results (version 2)
      #Thu Jan 18 17:29:30 PST 2001
      #checksum:5f5f2dc1511cc026
      #-----testdescription-----
      $file=/export1/regression/merlin/jdk1.4Tests/current-tests/java/text/Collator/IteratorTest.java
      $root=/export1/regression/merlin/jdk1.4Tests/current-tests
      keywords=bug4062985 bug4108758 bug4108762 bug4157299
      run=ASSUMED_ACTION main IteratorTest\n
      source=IteratorTest.java
      title=Test CollationElementIterator, particularly the new methods in 1.2 (C) Copyright IBM Corp

      #-----environment-----

      #-----testresult-----
      description=file:///export1/regression/merlin/jdk1.4Tests/current-tests/java/text/Collator/IteratorTest.java
      end=Thu Jan 18 17:29:30 PST 2001
      environment=regtest
      execStatus=Failed. Execution failed
      javatestOS=SunOS 5.7 (sparc)
      javatestVersion=JT_2.1.3i
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile main
      start=Thu Jan 18 17:29:26 PST 2001
      status=Failed. Execution failed
      test=java/text/Collator/IteratorTest.java
      work=/export0/results/regression/merlin/b48/tiggr5.7-jth13-jdk14b48.01-18.15.17-ALL/java/text/Collator

      #section:script_messages
      ----------messages:(1/76)----------
      JDK under test: java full version "1.4.0-beta-b48" (/export1/java/jdk14b48)

      #section:build
      ----------messages:(3/98)----------
      command: build IteratorTest
      reason: Named class compiled on demand
      elapsed time (seconds): 2.811
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/187)----------
      command: compile /export1/regression/merlin/jdk1.4Tests/current-tests/java/text/Collator/IteratorTest.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 2.81
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/123)----------
      command: main IteratorTest
      reason: Assumed action based on file name: run main IteratorTest
      elapsed time (seconds): 1.029
      ----------System.out:(17/697)----------
      IteratorTest {
        TestMaxExpansion Passed
        TestOffset {
              0: 5898240 != 6881281
      java.lang.RuntimeException: 0: 5898240 != 6881281

      at CollatorTest.err(CollatorTest.java:212)
      at CollatorTest.errln(CollatorTest.java:217)
      at CollatorTest.assertEqual(CollatorTest.java:54)
      at IteratorTest.TestOffset(IteratorTest.java:74)
      at java.lang.reflect.Method.invoke(Native Method)
      at CollatorTest.run(CollatorTest.java:159)
      at IteratorTest.main(IteratorTest.java:25)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:579)
          Uncaught exception thrown in test method TestOffset
      ----------System.err:(15/604)----------
      java.lang.RuntimeException: Uncaught exception thrown in test method TestOffset

      at CollatorTest.err(CollatorTest.java:212)
      at CollatorTest.errln(CollatorTest.java:217)
      at CollatorTest.run(CollatorTest.java:166)
      at IteratorTest.main(IteratorTest.java:25)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:579)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Uncaught exception thrown in test method TestOffset

      JavaTest Message: shutting down test

      STATUS:Failed.
      result: Failed. Execution failed

      test result: Failed. Execution failed

      keiko.nakayama@Eng 2001-04-06

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sgillsunw Stuart Gill (Inactive)
              Reporter:
              knakayamsunw Keiko Nakayama (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: