Skip Menu |

This queue is for tickets about the Dist-Zilla-Plugin-TemplateCJM CPAN distribution.

Report information
The Basics
Id: 110818
Status: open
Priority: 0/
Queue: Dist-Zilla-Plugin-TemplateCJM

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

Bug Information
Severity: (no value)
Broken in: 5.001
Fixed in: (no value)



Subject: Invalid local time for date in time zone
In rare cases t/template.t fails which the above error message. At CPAN Testers there are currently two such fail reports: * http://www.cpantesters.org/cpan/report/7799d844-a847-11e5-a8b4-c08177a17ee9 * http://www.cpantesters.org/cpan/report/09cde3e2-af8f-11e5-ab00-9321fcd2507e My guess is that somehow date/time arithmetic during a DST transition period happened --- both reports were created between 2:00 and 3:00 local time (GMT+1), a period where at some days no valid time exists. (Note that the report date+time marks the arrival of the report at metabase, not the time of the test run).
I've noticed those, but I've been completely unable to reproduce them. I've tried changing my time zone and installed libfaketime to make the test think it's running during a transition, but it always works fine for me. If you're able to reproduce it, I'd greatly appreciate any insight you can give.
On 2015-12-31 10:22:24, CJM wrote: Show quoted text
> I've noticed those, but I've been completely unable to reproduce them. > I've tried changing my time zone and installed libfaketime to make the > test think it's running during a transition, but it always works fine > for me. > > If you're able to reproduce it, I'd greatly appreciate any insight you > can give.
Yesterday I set up three of my smokers (TZ=Europe/Berlin, 2x freebsd, 1x linux) to do a sleep until a time between 2:00 and 3:00 and to run the test suite, and managed to create one fail report. The other two passed: freebsd9.2 smoker: ... t/template.t ........ ok ... Script done, output file is /home/cpansand/.cpan_smoke_modules_typescripts/20151231/022147.typescript 2:22 cpansand@cvrsnica-freebsd-92 (~): freebsd10.1 smoker: ... Invalid local time for date in time zone: Europe/Berlin # Looks like your test exited with 255 before it could output anything. t/template.t ........ Dubious, test returned 255 (wstat 65280, 0xff00) Failed 56/56 subtests ... Script done, output file is /home/cpansand/.cpan_smoke_modules_typescripts/20151231/022408.typescript 2:24 cpansand@cvrsnica-freebsd-101 (~): jessie smoker: ... t/template.t ........ ok ... Script done, file is /home/cpansand/.cpan_smoke_modules_typescripts/20151231/022206.typescript 2:26 cpansand@cvrsnica-jessie (~/.cpan/build):
On 2015-12-31 10:30:25, SREZIC wrote: Show quoted text
> On 2015-12-31 10:22:24, CJM wrote:
> > I've noticed those, but I've been completely unable to reproduce > > them. > > I've tried changing my time zone and installed libfaketime to make > > the > > test think it's running during a transition, but it always works fine > > for me. > > > > If you're able to reproduce it, I'd greatly appreciate any insight > > you > > can give.
> > Yesterday I set up three of my smokers (TZ=Europe/Berlin, 2x freebsd, > 1x linux) to do a sleep until a time between 2:00 and 3:00 and to run > the test suite, and managed to create one fail report. The other two > passed: > > freebsd9.2 smoker: > ... > t/template.t ........ ok > ... > Script done, output file is > /home/cpansand/.cpan_smoke_modules_typescripts/20151231/022147.typescript > 2:22 cpansand@cvrsnica-freebsd-92 (~): > > freebsd10.1 smoker: > ... > Invalid local time for date in time zone: Europe/Berlin > # Looks like your test exited with 255 before it could output > anything. > t/template.t ........ > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 56/56 subtests > ... > Script done, output file is > /home/cpansand/.cpan_smoke_modules_typescripts/20151231/022408.typescript > 2:24 cpansand@cvrsnica-freebsd-101 (~): > > jessie smoker: > ... > t/template.t ........ ok > ... > Script done, file is > /home/cpansand/.cpan_smoke_modules_typescripts/20151231/022206.typescript > 2:26 cpansand@cvrsnica-jessie (~/.cpan/build):
... and last night between 2:00 and 3:00 I run the tests multiple times and had not a single fail. Just bad (resp. good) luck? Or the problem does not happen anymore in 2016?