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

Regression:TimeZone 2 tests failing for 5.0u5-b03 but passing with 5.0u5-b02 for sol10/AMD machine

    • b04
    • x86
    • solaris_10

      TimeZone 2 tests are failing for 5.0u5-b03 but passing with 5.0u5-b02 & 5.0u5-b01 for sol10/AMD with 32bit and 64 bit jdk.

      Test Cases :
      -----------
      java/util/TimeZone/CheckTzdataVersion.sh
      java/util/TimeZone/ZoneData.sh


      With 1.5.0_05-b03 build
      ========================================================

      Java version:
      ------------
      java version "1.5.0_05"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b03)
      Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_05-b03, mixed mode)

      To Reproduce:
      -------------

      1)Test location
       /net/jdk.sfbay/export/jpse04/Regression/1.5.0/test/java/util/TimeZone/ZoneData.sh

      With the help of JTReg tool run the above testcase.

      System.out:
      -----------
      Executing ZoneData for Year 2003 ...
      ZoneData {
        TestTransitions {
          FAIL: Asia/Tbilisi has different raw offset (240, 180)
          Uncaught exception thrown in test method TestTransitions

      Executing ZoneData for Year 2004 ...
      ZoneData {
        TestTransitions {
          FAIL: America/Asuncion -4:00 Sep Sun>=1 0:00 Apr Sun>=1 0:00 1:00; want onset Sun 5 Sep 2004 04:00 GMT, got Sun 17 Oct 2004 04:00 GMT delta 42 days
          Uncaught exception thrown in test method TestTransitions

      Executing ZoneData for Year 2005 ...
      ZoneData {
        TestTransitions {
          FAIL: America/Asuncion -4:00 Sep Sun>=1 0:00 Apr Sun>=1 0:00 1:00; want onset Sun 4 Sep 2005 04:00 GMT, got Sun 16 Oct 2005 04:00 GMT delta 42 days; want end Sun 3 Apr 2005 03:00 GMT, got Sun 13 Mar 2005 03:00 GMT delta -21 days
          Uncaught exception thrown in test method TestTransitions

      Executing ZoneData for Year 2006 ...
      ZoneData {
        TestTransitions {
          FAIL: America/Asuncion -4:00 Sep Sun>=1 0:00 Apr Sun>=1 0:00 1:00; want onset Sun 3 Sep 2006 04:00 GMT, got Sun 15 Oct 2006 04:00 GMT delta 42 days; want end Sun 2 Apr 2006 03:00 GMT, got Sun 12 Mar 2006 03:00 GMT delta -21 days
          Uncaught exception thrown in test method TestTransitions

      Executing ZoneData for Year 2007 ...
      ZoneData {
        TestTransitions {
          FAIL: America/Asuncion -4:00 Sep Sun>=1 0:00 Apr Sun>=1 0:00 1:00; want onset Sun 2 Sep 2007 04:00 GMT, got Sun 21 Oct 2007 04:00 GMT delta 49 days; want end Sun 1 Apr 2007 03:00 GMT, got Sun 11 Mar 2007 03:00 GMT delta -21 days
          Uncaught exception thrown in test method TestTransitions

      System.err:
      ----------
      Exception in thread "main" java.lang.RuntimeException: Uncaught exception thrown in test method TestTransitions

      at IntlTest.err(IntlTest.java:160)
      at IntlTest.errln(IntlTest.java:165)
      at IntlTest.run(IntlTest.java:113)
      at ZoneData.main(ZoneData.java:86)
      Exception in thread "main" java.lang.RuntimeException: Uncaught exception thrown in test method TestTransitions

      at IntlTest.err(IntlTest.java:160)
      at IntlTest.errln(IntlTest.java:165)
      at IntlTest.run(IntlTest.java:113)
      at ZoneData.main(ZoneData.java:86)
      Exception in thread "main" java.lang.RuntimeException: Uncaught exception thrown in test method TestTransitions

      at IntlTest.err(IntlTest.java:160)
      at IntlTest.errln(IntlTest.java:165)
      at IntlTest.run(IntlTest.java:113)
      at ZoneData.main(ZoneData.java:86)
      Exception in thread "main" java.lang.RuntimeException: Uncaught exception thrown in test method TestTransitions

      at IntlTest.err(IntlTest.java:160)
      at IntlTest.errln(IntlTest.java:165)
      at IntlTest.run(IntlTest.java:113)
      at ZoneData.main(ZoneData.java:86)
      Exception in thread "main" java.lang.RuntimeException: Uncaught exception thrown in test method TestTransitions

      at IntlTest.err(IntlTest.java:160)
      at IntlTest.errln(IntlTest.java:165)
      at IntlTest.run(IntlTest.java:113)
      at ZoneData.main(ZoneData.java:86)

      By running test using JTReg tool

      2)Test location

      /net/jdk.sfbay/export/jpse04/Regression/1.5.0/test/java/util/TimeZone/CheckTzdataVersion.sh 1.5.0_05-b03

      With the help of JTReg tool run the above testcase.

      System.out:
      -----------
      tzdata version: failed (This test environment doesn't match the build.)
                      Build=tzdata2005i, Test=tzdata2003d
      System.err:
      -----------
      [no output]

      With 1.5.0_05-b02
      ==========================================


      java -version:
      --------------
      java version "1.5.0_05-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-ea-b02)
      Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_05-ea-b02, mixed mode)

      To Reproduce:
      -------------

      1)Test location
       /net/jdk.sfbay/export/jpse04/Regression/1.5.0/test/java/util/TimeZone/ZoneData.sh

      With the help of JTReg tool run the above testcase.

      System.out:
      ----------
      Executing ZoneData for Year 2003 ...
      ZoneData {
        TestTransitions Passed
        TestStreaming Passed
        Test4191164 Passed
      } Passed

      Executing ZoneData for Year 2004 ...
      ZoneData {
        TestTransitions Passed
        TestStreaming Passed
        Test4191164 Passed
      } Passed

      Executing ZoneData for Year 2005 ...
      ZoneData {
        TestTransitions Passed
        TestStreaming Passed
        Test4191164 Passed
      } Passed

      Executing ZoneData for Year 2006 ...
      ZoneData {
        TestTransitions Passed
        TestStreaming Passed
        Test4191164 Passed
      } Passed

      Executing ZoneData for Year 2007 ...
      ZoneData {
        TestTransitions Passed
        TestStreaming Passed
        Test4191164 Passed
      } Passed

      System.err:
      ----------
      [no output]


      2)Test location

      /net/jdk.sfbay/export/jpse04/Regression/1.5.0/test/java/util/TimeZone/CheckTzdataVersion.sh

      With the help of JTReg tool run the above testcase.

      System.out:
      ----------
      tzdata version: passed

      System.err:
      -----------
      [no output]

            asaha Abhijit Saha
            bjuttiyasunw Basavaraj Juttiyavar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: