Project

General

Profile

Bug #14655

new TestTimeTZ test failures

Added by terceiro (Antonio Terceiro) over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.6.0dev (2018-03-31 master 63048) [x86_64-linux]
[ruby-core:86417]

Description

$ make test-all TESTS=test/ruby/test_time_tz.rb
Run options: "--ruby=./miniruby -I./lib -I. -I.ext/common  ./tool/runruby.rb --extout=.ext  -- --disable-gems" --excludes-dir=./test/excludes --name=!/memory_leak/

# Running tests:

[ 95/110] TestTimeTZ#test_gen_Pacific_Kiritimati_71 = 0.00 s 
  1) Failure:
TestTimeTZ#test_gen_Pacific_Kiritimati_71 [/home/terceiro/src/ruby/test/ruby/test_time_tz.rb:265]:
TZ=Pacific/Kiritimati Time.utc(1995, 1, 1, 9, 59, 59).localtime.
<"1994-12-31 23:59:59 -1000"> expected but was
<"1995-01-01 23:59:59 +1400">.

[ 97/110] TestTimeTZ#test_gen_Pacific_Kiritimati_89 = 0.00 s
  2) Failure:
TestTimeTZ#test_gen_Pacific_Kiritimati_89 [/home/terceiro/src/ruby/test/ruby/test_time_tz.rb:283]:
TZ=Pacific/Kiritimati Time.local(1994, 12, 31, 23, 59, 59).
<"1994-12-31 23:59:59 -1000"> expected but was
<"1995-01-01 23:59:59 +1400">.

[ 99/110] TestTimeTZ#test_gen_lisbon_99 = 0.00 s            
  3) Failure:
TestTimeTZ#test_gen_lisbon_99 [/home/terceiro/src/ruby/test/ruby/test_time_tz.rb:408]:
Expected [[false, false, false, false, false], [false, false, false, false, false]] to include [true, true, true, true, true].

[108/110] TestTimeTZ#test_pacific_kiritimati = 0.00 s              
  4) Failure:
TestTimeTZ#test_pacific_kiritimati [/home/terceiro/src/ruby/test/ruby/test_time_tz.rb:181]:
TZ=Pacific/Kiritimati Time.local(1994, 12, 31, 23, 59, 59).
<"1994-12-31 23:59:59 -1000"> expected but was
<"1995-01-01 23:59:59 +1400">.

Finished tests in 0.028217s, 3898.4136 tests/s, 36007.1654 assertions/s.
110 tests, 1016 assertions, 4 failures, 0 errors, 0 skips

ruby -v: ruby 2.6.0dev (2018-03-31 master 63048) [x86_64-linux]
make: *** [uncommon.mk:731: yes-test-all] Error 4

Relevant parts of the latest tzdata update:

Enderbury and Kiritimati skipped New Year's Eve 1994, not
New Year's Day 1995. (Thanks to Kerry Shetline.)

Fix the 1912-01-01 transition for Portugual and its colonies.
This transition was at 00:00 according to the new UT offset, not
according to the old one. Also assume that Cape Verde switched on
the same date as the rest, not in 1907. This affects
Africa/Bissau, Africa/Sao_Tome, Asia/Macau, Atlantic/Azores,
Atlantic/Cape_Verde, Atlantic/Madeira, and Europe/Lisbon.
(Thanks to Michael Deckers.)

Associated revisions

Revision 2965c2d4
Added by nobu (Nobuyoshi Nakada) over 1 year ago

test_time_tz.rb: Kiritimati tzdata fix

  • test/ruby/test_time_tz.rb (TestTimeTZ#test_pacific_kiritimati): fix the expected data at the skip of New Year's Eve 1994. [Bug #14655]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 63054
Added by nobu (Nobuyoshi Nakada) over 1 year ago

test_time_tz.rb: Kiritimati tzdata fix

  • test/ruby/test_time_tz.rb (TestTimeTZ#test_pacific_kiritimati): fix the expected data at the skip of New Year's Eve 1994. [Bug #14655]

Revision 63054
Added by nobu (Nobuyoshi Nakada) over 1 year ago

test_time_tz.rb: Kiritimati tzdata fix

  • test/ruby/test_time_tz.rb (TestTimeTZ#test_pacific_kiritimati): fix the expected data at the skip of New Year's Eve 1994. [Bug #14655]

Revision 584b5929
Added by nobu (Nobuyoshi Nakada) over 1 year ago

test_time_tz.rb: Kiritimati tzdata fix

  • test/ruby/test_time_tz.rb (gen_zdump_test): fix the expected data at the Kiritimati's skip of New Year's Eve 1994. [Bug #14655]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 63055
Added by nobu (Nobuyoshi Nakada) over 1 year ago

test_time_tz.rb: Kiritimati tzdata fix

  • test/ruby/test_time_tz.rb (gen_zdump_test): fix the expected data at the Kiritimati's skip of New Year's Eve 1994. [Bug #14655]

Revision 63055
Added by nobu (Nobuyoshi Nakada) over 1 year ago

test_time_tz.rb: Kiritimati tzdata fix

  • test/ruby/test_time_tz.rb (gen_zdump_test): fix the expected data at the Kiritimati's skip of New Year's Eve 1994. [Bug #14655]

Revision a0e6607a
Added by nobu (Nobuyoshi Nakada) over 1 year ago

test_time_tz.rb: Lisbon tzdata fix

  • test/ruby/test_time_tz.rb (gen_variational_zdump_test): Update Lisbon zdump data, which fixed the 1912-01-01 transition for Portugual and its colonies. [Bug #14655]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 63056
Added by nobu (Nobuyoshi Nakada) over 1 year ago

test_time_tz.rb: Lisbon tzdata fix

  • test/ruby/test_time_tz.rb (gen_variational_zdump_test): Update Lisbon zdump data, which fixed the 1912-01-01 transition for Portugual and its colonies. [Bug #14655]

Revision 63056
Added by nobu (Nobuyoshi Nakada) over 1 year ago

test_time_tz.rb: Lisbon tzdata fix

  • test/ruby/test_time_tz.rb (gen_variational_zdump_test): Update Lisbon zdump data, which fixed the 1912-01-01 transition for Portugual and its colonies. [Bug #14655]

Revision 9796be14
Added by usa (Usaku NAKAMURA) over 1 year ago

merge revision(s) 63054,63055,63056: [Backport #14655]

    test_time_tz.rb: Kiritimati tzdata fix

    * test/ruby/test_time_tz.rb (TestTimeTZ#test_pacific_kiritimati):
      fix the expected data at the skip of New Year's Eve 1994.
      [Bug #14655]

    test_time_tz.rb: Kiritimati tzdata fix

    * test/ruby/test_time_tz.rb (gen_zdump_test): fix the expected
      data at the Kiritimati's skip of New Year's Eve 1994.
      [Bug #14655]

    test_time_tz.rb: Lisbon tzdata fix

    * test/ruby/test_time_tz.rb (gen_variational_zdump_test): Update
      Lisbon zdump data, which fixed the 1912-01-01 transition for
      Portugual and its colonies.  [Bug #14655]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@63808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 63808
Added by usa (Usaku NAKAMURA) over 1 year ago

merge revision(s) 63054,63055,63056: [Backport #14655]

test_time_tz.rb: Kiritimati tzdata fix

* test/ruby/test_time_tz.rb (TestTimeTZ#test_pacific_kiritimati):
  fix the expected data at the skip of New Year's Eve 1994.
  [Bug #14655]

test_time_tz.rb: Kiritimati tzdata fix

* test/ruby/test_time_tz.rb (gen_zdump_test): fix the expected
  data at the Kiritimati's skip of New Year's Eve 1994.
  [Bug #14655]

test_time_tz.rb: Lisbon tzdata fix

* test/ruby/test_time_tz.rb (gen_variational_zdump_test): Update
  Lisbon zdump data, which fixed the 1912-01-01 transition for
  Portugual and its colonies.  [Bug #14655]

Revision 4041a4ff
Added by nagachika (Tomoyuki Chikanaga) over 1 year ago

merge revision(s) 63054,63055,63056: [Backport #14655]

    test_time_tz.rb: Kiritimati tzdata fix

    * test/ruby/test_time_tz.rb (TestTimeTZ#test_pacific_kiritimati):
      fix the expected data at the skip of New Year's Eve 1994.
      [Bug #14655]

    test_time_tz.rb: Kiritimati tzdata fix

    * test/ruby/test_time_tz.rb (gen_zdump_test): fix the expected
      data at the Kiritimati's skip of New Year's Eve 1994.
      [Bug #14655]

    test_time_tz.rb: Lisbon tzdata fix

    * test/ruby/test_time_tz.rb (gen_variational_zdump_test): Update
      Lisbon zdump data, which fixed the 1912-01-01 transition for
      Portugual and its colonies.  [Bug #14655]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@63817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 63817
Added by nagachika (Tomoyuki Chikanaga) over 1 year ago

merge revision(s) 63054,63055,63056: [Backport #14655]

test_time_tz.rb: Kiritimati tzdata fix

* test/ruby/test_time_tz.rb (TestTimeTZ#test_pacific_kiritimati):
  fix the expected data at the skip of New Year's Eve 1994.
  [Bug #14655]

test_time_tz.rb: Kiritimati tzdata fix

* test/ruby/test_time_tz.rb (gen_zdump_test): fix the expected
  data at the Kiritimati's skip of New Year's Eve 1994.
  [Bug #14655]

test_time_tz.rb: Lisbon tzdata fix

* test/ruby/test_time_tz.rb (gen_variational_zdump_test): Update
  Lisbon zdump data, which fixed the 1912-01-01 transition for
  Portugual and its colonies.  [Bug #14655]

History

#1

Updated by nobu (Nobuyoshi Nakada) over 1 year ago

  • Status changed from Open to Closed

Applied in changeset trunk|r63054.


test_time_tz.rb: Kiritimati tzdata fix

  • test/ruby/test_time_tz.rb (TestTimeTZ#test_pacific_kiritimati): fix the expected data at the skip of New Year's Eve 1994. [Bug #14655]
#2

Updated by naruse (Yui NARUSE) over 1 year ago

  • Backport changed from 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN to 2.3: REQUIRED, 2.4: REQUIRED, 2.5: REQUIRED

Updated by usa (Usaku NAKAMURA) over 1 year ago

  • Backport changed from 2.3: REQUIRED, 2.4: REQUIRED, 2.5: REQUIRED to 2.3: REQUIRED, 2.4: DONE, 2.5: REQUIRED

ruby_2_4 r63808 merged revision(s) 63054,63055,63056.

Updated by nagachika (Tomoyuki Chikanaga) over 1 year ago

  • Backport changed from 2.3: REQUIRED, 2.4: DONE, 2.5: REQUIRED to 2.3: REQUIRED, 2.4: DONE, 2.5: DONE

ruby_2_5 r63817 merged revision(s) 63054,63055,63056.

Also available in: Atom PDF