Skip Menu |

This queue is for tickets about the Time-Piece CPAN distribution.

Report information
The Basics
Id: 119842
Status: resolved
Priority: 0/
Queue: Time-Piece

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

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.31_02



Subject: t/02core.t fails (with German locale?)
Some of my smokers report the following test failure for Time-Piece-1.31_01: ... Error parsing time at /home/cpansand/.cpan/build/2017011306/Time-Piece-1.31_01-vvxs6i/blib/lib/Time/Piece.pm line 551. # Looks like your test exited with 2 just after 118. t/02core.t ...... Dubious, test returned 2 (wstat 512, 0x200) Failed 155/273 subtests ... Possible reason: these smokers run with a German locale. Statistical analysis is not quite clear, but there's an increased probability for a fail with LC_ALL=de_DE.UTF-8 or LC_ALL=de_DE.ISO8859-1: **************************************************************** Regression 'env:LC_ALL' **************************************************************** Name Theta StdErr T-stat [0='const'] 0.7778 0.0649 11.98 [1='eq_de_DE.ISO8859-1'] -0.7778 0.0803 -9.69 [2='eq_de_DE.UTF-8'] -0.7778 0.0795 -9.78 R^2= 0.736, N= 44, K= 3 ****************************************************************
On 2017-01-13 02:51:52, SREZIC wrote: Show quoted text
> Some of my smokers report the following test failure for Time-Piece- > 1.31_01: > > ... > Error parsing time at /home/cpansand/.cpan/build/2017011306/Time- > Piece-1.31_01-vvxs6i/blib/lib/Time/Piece.pm line 551. > # Looks like your test exited with 2 just after 118. > t/02core.t ...... > Dubious, test returned 2 (wstat 512, 0x200) > Failed 155/273 subtests > ... > > > Possible reason: these smokers run with a German locale. Statistical > analysis is not quite clear, but there's an increased probability for > a fail with LC_ALL=de_DE.UTF-8 or LC_ALL=de_DE.ISO8859-1: > > **************************************************************** > Regression 'env:LC_ALL' > **************************************************************** > Name Theta StdErr T-stat > [0='const'] 0.7778 0.0649 11.98 > [1='eq_de_DE.ISO8859-1'] -0.7778 0.0803 > -9.69 > [2='eq_de_DE.UTF-8'] -0.7778 0.0795 -9.78 > > R^2= 0.736, N= 44, K= 3 > ****************************************************************
It fails also with other non-English locales: **************************************************************** Regression 'env:LC_ALL' **************************************************************** Name Theta StdErr T-stat [0='const'] 0.9355 0.0236 39.57 [1='eq_C'] 0.0645 0.0960 0.67 [2='eq_de_DE.ISO8859-1'] -0.9355 0.0377 -24.78 [3='eq_de_DE.UTF-8'] -0.9355 0.0307 -30.45 [4='eq_fr_FR.utf8'] -0.9355 0.0634 -14.75 [5='eq_ru_RU.utf8'] -0.9355 0.0462 -20.25 R^2= 0.917, N= 114, K= 6 ****************************************************************
Subject: Re: [rt.cpan.org #119842] t/02core.t fails (with German locale?)
Date: Fri, 13 Jan 2017 15:13:58 -0600
To: bug-Time-Piece [...] rt.cpan.org
From: Samuel Smith <leon36 [...] gmail.com>
On 01/13/2017 01:51 AM, Slaven_Rezic via RT wrote: Show quoted text
> Fri Jan 13 02:51:52 2017: Request 119842 was acted upon. > Transaction: Ticket created by SREZIC > Queue: Time-Piece > Subject: t/02core.t fails (with German locale?) > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: SREZIC@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=119842 > > > > Some of my smokers report the following test failure for Time-Piece-1.31_01: > > ... > Error parsing time at /home/cpansand/.cpan/build/2017011306/Time-Piece-1.31_01-vvxs6i/blib/lib/Time/Piece.pm line 551. > # Looks like your test exited with 2 just after 118. > t/02core.t ...... > Dubious, test returned 2 (wstat 512, 0x200) > Failed 155/273 subtests > ... > > > Possible reason: these smokers run with a German locale. Statistical analysis is not quite clear, but there's an increased probability for a fail with LC_ALL=de_DE.UTF-8 or LC_ALL=de_DE.ISO8859-1: > > **************************************************************** > Regression 'env:LC_ALL' > **************************************************************** > Name Theta StdErr T-stat > [0='const'] 0.7778 0.0649 11.98 > [1='eq_de_DE.ISO8859-1'] -0.7778 0.0803 -9.69 > [2='eq_de_DE.UTF-8'] -0.7778 0.0795 -9.78 > > R^2= 0.736, N= 44, K= 3 > **************************************************************** >
Hi, Thanks for taking time to report. Yes, I have committed some changes to add better localization support. As you can see, it is not all done. I plan on pushing another version out today or tomorrow. I mainly wanted to see if anything else (other than localization issues) would fail. I was hoping to get some Win32 tests in, but so far, none :( I have a set up a linux box with with German locale and it know which tests are failing so it should get fixed soon. Regards, Samuel Smith
On 2017-01-13 16:14:16, leon36@gmail.com wrote: Show quoted text
> On 01/13/2017 01:51 AM, Slaven_Rezic via RT wrote:
> > Fri Jan 13 02:51:52 2017: Request 119842 was acted upon. > > Transaction: Ticket created by SREZIC > > Queue: Time-Piece > > Subject: t/02core.t fails (with German locale?) > > Broken in: (no value) > > Severity: (no value) > > Owner: Nobody > > Requestors: SREZIC@cpan.org > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=119842 > > > > > > > Some of my smokers report the following test failure for Time-Piece- > > 1.31_01: > > > > ... > > Error parsing time at /home/cpansand/.cpan/build/2017011306/Time- > > Piece-1.31_01-vvxs6i/blib/lib/Time/Piece.pm line 551. > > # Looks like your test exited with 2 just after 118. > > t/02core.t ...... > > Dubious, test returned 2 (wstat 512, 0x200) > > Failed 155/273 subtests > > ... > > > > > > Possible reason: these smokers run with a German locale. Statistical > > analysis is not quite clear, but there's an increased probability for > > a fail with LC_ALL=de_DE.UTF-8 or LC_ALL=de_DE.ISO8859-1: > > > > **************************************************************** > > Regression 'env:LC_ALL' > > **************************************************************** > > Name Theta StdErr T-stat > > [0='const'] 0.7778 0.0649 11.98 > > [1='eq_de_DE.ISO8859-1'] -0.7778 0.0803 -9.69 > > [2='eq_de_DE.UTF-8'] -0.7778 0.0795 -9.78 > > > > R^2= 0.736, N= 44, K= 3 > > **************************************************************** > >
> > > Hi, > > Thanks for taking time to report. Yes, I have committed some changes > to > add better localization support. As you can see, it is not all done. I > plan on pushing another version out today or tomorrow. I mainly wanted > to see if anything else (other than localization issues) would fail. I > was hoping to get some Win32 tests in, but so far, none :( > I have a set up a linux box with with German locale and it know which > tests are failing so it should get fixed soon.
The latest dev release looks fine. Resolving.