Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime-TimeZone CPAN distribution.

Report information
The Basics
Id: 115365
Status: resolved
Priority: 0/
Queue: DateTime-TimeZone

People
Owner: Nobody in particular
Requestors: ROBN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.00
Fixed in: 2.01



Subject: t/zd_Africa-Cairo.t fails with tzdata 2016e
I've confirmed this on Perl 5.14 and 5.20. I'll try to look into it myself but I'm not totally certain how this all hangs together so it might take me a while. You might find it obvious from the test output. Cheers, Rob N. $ prove -l t/zd_Africa-Cairo.t t/zd_Africa-Cairo.t .. 1991/20286 # Failed test 'local day should be 27 (2039-10-27 23:00:00)' # at t/zd_Africa-Cairo.t line 6589. # got: '28' # expected: '27' # Failed test 'local hour should be 23 (2039-10-27 23:00:00)' # at t/zd_Africa-Cairo.t line 6590. # got: '0' # expected: '23' # Failed test 'is_dst should be 0 (2039-10-27 23:00:00)' # at t/zd_Africa-Cairo.t line 6594. # got: '1' # expected: '0' # Failed test 'offset should be 7200 (2039-10-27 23:00:00)' # at t/zd_Africa-Cairo.t line 6595. # got: '10800' # expected: '7200' # Failed test 'short name should be EET (2039-10-27 23:00:00)' # at t/zd_Africa-Cairo.t line 6596. # got: 'EEST' # expected: 'EET' # Failed test 'local day should be 26 (2040-04-26 23:59:59)' # at t/zd_Africa-Cairo.t line 6607. # got: '27' # expected: '26' # Failed test 'local hour should be 23 (2040-04-26 23:59:59)' # at t/zd_Africa-Cairo.t line 6608. # got: '0' # expected: '23' # Failed test 'is_dst should be 0 (2040-04-26 23:59:59)' # at t/zd_Africa-Cairo.t line 6612. # got: '1' # expected: '0' # Failed test 'offset should be 7200 (2040-04-26 23:59:59)' # at t/zd_Africa-Cairo.t line 6613. # got: '10800' # expected: '7200' # Failed test 'short name should be EET (2040-04-26 23:59:59)' # at t/zd_Africa-Cairo.t line 6614. # got: 'EEST' # expected: 'EET' # Failed test 'local day should be 25 (2040-10-25 23:00:00)' # at t/zd_Africa-Cairo.t line 6733. # got: '26' # expected: '25' # Failed test 'local hour should be 23 (2040-10-25 23:00:00)' # at t/zd_Africa-Cairo.t line 6734. # got: '0' # expected: '23' # Failed test 'is_dst should be 0 (2040-10-25 23:00:00)' # at t/zd_Africa-Cairo.t line 6738. # got: '1' # expected: '0' # Failed test 'offset should be 7200 (2040-10-25 23:00:00)' # at t/zd_Africa-Cairo.t line 6739. # got: '10800' # expected: '7200' # Failed test 'short name should be EET (2040-10-25 23:00:00)' # at t/zd_Africa-Cairo.t line 6740. # got: 'EEST' # expected: 'EET' # Failed test 'local day should be 25 (2041-04-25 23:59:59)' # at t/zd_Africa-Cairo.t line 6751. # got: '26' # expected: '25' # Failed test 'local hour should be 23 (2041-04-25 23:59:59)' # at t/zd_Africa-Cairo.t line 6752. # got: '0' # expected: '23' # Failed test 'is_dst should be 0 (2041-04-25 23:59:59)' # at t/zd_Africa-Cairo.t line 6756. # got: '1' # expected: '0' # Failed test 'offset should be 7200 (2041-04-25 23:59:59)' # at t/zd_Africa-Cairo.t line 6757. # got: '10800' # expected: '7200' # Failed test 'short name should be EET (2041-04-25 23:59:59)' # at t/zd_Africa-Cairo.t line 6758. # got: 'EEST' # expected: 'EET' t/zd_Africa-Cairo.t .. 19701/20286 # Looks like you failed 20 tests of 20286. t/zd_Africa-Cairo.t .. Dubious, test returned 20 (wstat 5120, 0x1400) Failed 20/20286 subtests Test Summary Report ------------------- t/zd_Africa-Cairo.t (Wstat: 5120 Tests: 20286 Failed: 20) Failed tests: 3288-3289, 3292-3294, 3297-3298, 3301-3303 3360-3361, 3364-3366, 3369-3370, 3373-3375 Non-zero exit status: 20 Files=1, Tests=20286, 6 wallclock secs ( 1.47 usr 0.09 sys + 5.95 cusr 0.07 csys = 7.58 CPU) Result: FAIL
I'm fairly sure this is a bug with either zdump or the zone definition for this zone in the data files.
On Thu Jun 16 10:32:50 2016, DROLSKY wrote: Show quoted text
> I'm fairly sure this is a bug with either zdump or the zone definition > for this zone in the data files.
Or maybe not. I'll have to investigate this further after YAPC, I think.
On Fri Jun 17 14:46:04 2016, DROLSKY wrote: Show quoted text
> Or maybe not. I'll have to investigate this further after YAPC, I think.
Sure thing. Thanks, we appreciate the effort. I'll be at YAPC too, so if I see you I'll come and say hi :)
FYI, 2016f was just released, which reverts the Egypt changes. http://mm.icann.org/pipermail/tz-announce/2016-July/000040.html All tests are now passing. So there might still be a bug somewhere, but any urgency is probably now gone.
On Tue Jul 05 20:41:54 2016, ROBN wrote: Show quoted text
> FYI, 2016f was just released, which reverts the Egypt changes. > > http://mm.icann.org/pipermail/tz-announce/2016-July/000040.html > > All tests are now passing. So there might still be a bug somewhere, > but any urgency is probably now gone.
I'm now getting failures from two other zones, Africa/Casablanca and Africa/El_Aaiun. I won't have a chance to look into this for a week or two.
I finally got around to fixing the issues with 2016e & 2016f.