Skip Menu |

This queue is for tickets about the DateTimeX-Web CPAN distribution.

Report information
The Basics
Id: 118058
Status: resolved
Priority: 0/
Queue: DateTimeX-Web

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

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



CC: DROLSKY [...] cpan.org
Subject: Validation failed for type named NonEmptyStr declared in package Specio::Library::String
My smoker machines started to report failures in t/isa_errors.t: # Failed test 'Validation failed for type named NonEmptyStr declared in package Specio::Library::String (/opt/perl-5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in sub named (eval) with value { } # # Trace begun at /opt/perl-5.25.5/lib/site_perl/5.25.5/Specio/Exception.pm line 43 # Specio::Exception::BUILD('Specio::Exception=HASH(0x975ab8)', 'HASH(0x11925d8)') called at Specio::Exception->new line 57 # Eval::Closure::Sandbox_17::__ANON__('Specio::Exception', 'message', 'Validation failed for type named NonEmptyStr declared in package Specio::Library::String (/opt/perl-5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in sub named (eval) with value { }', 'type', 'Specio::Constraint::Simple=HASH(0x174bf10)', 'value', 'HASH(0x9566e0)') called at /opt/perl-5.25.5/lib/site_perl/5.25.5/Specio/Exception.pm line 62 # Specio::Exception::throw('Specio::Exception', 'message', 'Validation failed for type named NonEmptyStr declared in package Specio::Library::String (/opt/perl-5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in sub named (eval) with value { }', 'type', 'Specio::Constraint::Simple=HASH(0x174bf10)', 'value', 'HASH(0x9566e0)') called at (eval 192) line 78 # DateTime::TimeZone::_check_new_params('name', 'HASH(0x9566e0)') called at /opt/perl-5.25.5/lib/site_perl/5.25.5/DateTime/TimeZone.pm line 52 # DateTime::TimeZone::new('DateTime::TimeZone', 'name', 'HASH(0x9566e0)') called at /tmpfs/.cpan-build-cpansand/2016092318/DateTimeX-Web-0.07-0/blib/lib/DateTimeX/Web.pm line 80 # DateTimeX::Web::time_zone('DateTimeX::Web=HASH(0x975368)', 'HASH(0x9566e0)') called at t/isa_errors.t line 39 # eval {...} at t/isa_errors.t line 39 # ' # at t/isa_errors.t line 41. # Failed test 'Validation failed for type named NonEmptyStr declared in package Specio::Library::String (/opt/perl-5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in sub named (eval) with value { } # # Trace begun at /opt/perl-5.25.5/lib/site_perl/5.25.5/Specio/Exception.pm line 43 # Specio::Exception::BUILD('Specio::Exception=HASH(0x9566c8)', 'HASH(0x11925d8)') called at Specio::Exception->new line 57 # Eval::Closure::Sandbox_17::__ANON__('Specio::Exception', 'message', 'Validation failed for type named NonEmptyStr declared in package Specio::Library::String (/opt/perl-5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in sub named (eval) with value { }', 'type', 'Specio::Constraint::Simple=HASH(0xdd7a98)', 'value', 'HASH(0x956350)') called at /opt/perl-5.25.5/lib/site_perl/5.25.5/Specio/Exception.pm line 62 # Specio::Exception::throw('Specio::Exception', 'message', 'Validation failed for type named NonEmptyStr declared in package Specio::Library::String (/opt/perl-5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in sub named (eval) with value { }', 'type', 'Specio::Constraint::Simple=HASH(0xdd7a98)', 'value', 'HASH(0x956350)') called at (eval 190) line 32 # DateTime::Locale::_check_load_params('HASH(0x956350)') called at /opt/perl-5.25.5/lib/site_perl/5.25.5/DateTime/Locale.pm line 184 # DateTime::Locale::load('DateTime::Locale', 'HASH(0x956350)') called at /tmpfs/.cpan-build-cpansand/2016092318/DateTimeX-Web-0.07-0/blib/lib/DateTimeX/Web.pm line 92 # DateTimeX::Web::locale('DateTimeX::Web=HASH(0x975368)', 'HASH(0x956350)') called at t/isa_errors.t line 43 # eval {...} at t/isa_errors.t line 43 # ' # at t/isa_errors.t line 45. # Failed test 'Validation failed for type named NonEmptyStr declared in package Specio::Library::String (/opt/perl-5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in sub named (eval) with value [ ] # # Trace begun at /opt/perl-5.25.5/lib/site_perl/5.25.5/Specio/Exception.pm line 43 # Specio::Exception::BUILD('Specio::Exception=HASH(0x1e39bb0)', 'HASH(0x11925d8)') called at Specio::Exception->new line 57 # Eval::Closure::Sandbox_17::__ANON__('Specio::Exception', 'message', 'Validation failed for type named NonEmptyStr declared in package Specio::Library::String (/opt/perl-5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in sub named (eval) with value [ ]', 'type', 'Specio::Constraint::Simple=HASH(0x174bf10)', 'value', 'ARRAY(0x956aa0)') called at /opt/perl-5.25.5/lib/site_perl/5.25.5/Specio/Exception.pm line 62 # Specio::Exception::throw('Specio::Exception', 'message', 'Validation failed for type named NonEmptyStr declared in package Specio::Library::String (/opt/perl-5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in sub named (eval) with value [ ]', 'type', 'Specio::Constraint::Simple=HASH(0x174bf10)', 'value', 'ARRAY(0x956aa0)') called at (eval 192) line 78 # DateTime::TimeZone::_check_new_params('name', 'ARRAY(0x956aa0)') called at /opt/perl-5.25.5/lib/site_perl/5.25.5/DateTime/TimeZone.pm line 52 # DateTime::TimeZone::new('DateTime::TimeZone', 'name', 'ARRAY(0x956aa0)') called at /tmpfs/.cpan-build-cpansand/2016092318/DateTimeX-Web-0.07-0/blib/lib/DateTimeX/Web.pm line 80 # DateTimeX::Web::time_zone('DateTimeX::Web=HASH(0x975368)', 'ARRAY(0x956aa0)') called at t/isa_errors.t line 56 # eval {...} at t/isa_errors.t line 56 # ' # at t/isa_errors.t line 58. # Failed test 'Validation failed for type named NonEmptyStr declared in package Specio::Library::String (/opt/perl-5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in sub named (eval) with value [ ] # # Trace begun at /opt/perl-5.25.5/lib/site_perl/5.25.5/Specio/Exception.pm line 43 # Specio::Exception::BUILD('Specio::Exception=HASH(0x956410)', 'HASH(0x11925d8)') called at Specio::Exception->new line 57 # Eval::Closure::Sandbox_17::__ANON__('Specio::Exception', 'message', 'Validation failed for type named NonEmptyStr declared in package Specio::Library::String (/opt/perl-5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in sub named (eval) with value [ ]', 'type', 'Specio::Constraint::Simple=HASH(0xdd7a98)', 'value', 'ARRAY(0x1e39bb0)') called at /opt/perl-5.25.5/lib/site_perl/5.25.5/Specio/Exception.pm line 62 # Specio::Exception::throw('Specio::Exception', 'message', 'Validation failed for type named NonEmptyStr declared in package Specio::Library::String (/opt/perl-5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in sub named (eval) with value [ ]', 'type', 'Specio::Constraint::Simple=HASH(0xdd7a98)', 'value', 'ARRAY(0x1e39bb0)') called at (eval 190) line 32 # DateTime::Locale::_check_load_params('ARRAY(0x1e39bb0)') called at /opt/perl-5.25.5/lib/site_perl/5.25.5/DateTime/Locale.pm line 184 # DateTime::Locale::load('DateTime::Locale', 'ARRAY(0x1e39bb0)') called at /tmpfs/.cpan-build-cpansand/2016092318/DateTimeX-Web-0.07-0/blib/lib/DateTimeX/Web.pm line 92 # DateTimeX::Web::locale('DateTimeX::Web=HASH(0x975368)', 'ARRAY(0x1e39bb0)') called at t/isa_errors.t line 60 # eval {...} at t/isa_errors.t line 60 # ' # at t/isa_errors.t line 62. # Looks like you failed 4 tests of 13. t/isa_errors.t ... Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/13 subtests Statistical analysis suggests that a change in DateTime 1.38 is causing this problem: **************************************************************** Regression 'mod:DateTime' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 10774580300759886.00 [1='eq_1.08'] 0.0000 0.0000 3.67 [2='eq_1.10'] 0.0000 0.0000 3.75 [3='eq_1.12'] 0.0000 0.0000 4.79 [4='eq_1.18'] 0.0000 0.0000 3.78 [5='eq_1.19'] 0.0000 0.0000 4.24 [6='eq_1.20'] 0.0000 0.0000 4.50 [7='eq_1.21'] 0.0000 0.0000 5.18 [8='eq_1.26'] 0.0000 0.0000 4.71 [9='eq_1.28'] 0.0000 0.0000 1.94 [10='eq_1.29'] -1.0000 0.0000 -9975323009056884.00 [11='eq_1.34'] 0.0000 0.0000 2.41 [12='eq_1.36'] 0.0000 0.0000 3.47 [13='eq_1.38'] -1.0000 0.0000 -7618778795106307.00 [14='eq_1.39'] -1.0000 0.0000 -9331060255573440.00 R^2= 1.000, N= 107, K= 15 ****************************************************************
On Sun Sep 25 15:36:02 2016, SREZIC wrote: Show quoted text
> My smoker machines started to report failures in t/isa_errors.t: > > # Failed test 'Validation failed for type named NonEmptyStr declared > in package Specio::Library::String (/opt/perl- > 5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in > sub named (eval) with value { } > # > # Trace begun at /opt/perl- > 5.25.5/lib/site_perl/5.25.5/Specio/Exception.pm line 43 > # Specio::Exception::BUILD('Specio::Exception=HASH(0x975ab8)', > 'HASH(0x11925d8)') called at Specio::Exception->new line 57 > # Eval::Closure::Sandbox_17::__ANON__('Specio::Exception', 'message', > 'Validation failed for type named NonEmptyStr declared in package > Specio::Library::String (/opt/perl- > 5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in > sub named (eval) with value { }', 'type', > 'Specio::Constraint::Simple=HASH(0x174bf10)', 'value', > 'HASH(0x9566e0)') called at /opt/perl- > 5.25.5/lib/site_perl/5.25.5/Specio/Exception.pm line 62 > # Specio::Exception::throw('Specio::Exception', 'message', 'Validation > failed for type named NonEmptyStr declared in package > Specio::Library::String (/opt/perl- > 5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in > sub named (eval) with value { }', 'type', > 'Specio::Constraint::Simple=HASH(0x174bf10)', 'value', > 'HASH(0x9566e0)') called at (eval 192) line 78 > # DateTime::TimeZone::_check_new_params('name', 'HASH(0x9566e0)') > called at /opt/perl-5.25.5/lib/site_perl/5.25.5/DateTime/TimeZone.pm > line 52 > # DateTime::TimeZone::new('DateTime::TimeZone', 'name', > 'HASH(0x9566e0)') called at /tmpfs/.cpan-build- > cpansand/2016092318/DateTimeX-Web-0.07-0/blib/lib/DateTimeX/Web.pm > line 80 > # DateTimeX::Web::time_zone('DateTimeX::Web=HASH(0x975368)', > 'HASH(0x9566e0)') called at t/isa_errors.t line 39 > # eval {...} at t/isa_errors.t line 39 > # ' > # at t/isa_errors.t line 41. > > # Failed test 'Validation failed for type named NonEmptyStr declared > in package Specio::Library::String (/opt/perl- > 5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in > sub named (eval) with value { } > # > # Trace begun at /opt/perl- > 5.25.5/lib/site_perl/5.25.5/Specio/Exception.pm line 43 > # Specio::Exception::BUILD('Specio::Exception=HASH(0x9566c8)', > 'HASH(0x11925d8)') called at Specio::Exception->new line 57 > # Eval::Closure::Sandbox_17::__ANON__('Specio::Exception', 'message', > 'Validation failed for type named NonEmptyStr declared in package > Specio::Library::String (/opt/perl- > 5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in > sub named (eval) with value { }', 'type', > 'Specio::Constraint::Simple=HASH(0xdd7a98)', 'value', > 'HASH(0x956350)') called at /opt/perl- > 5.25.5/lib/site_perl/5.25.5/Specio/Exception.pm line 62 > # Specio::Exception::throw('Specio::Exception', 'message', 'Validation > failed for type named NonEmptyStr declared in package > Specio::Library::String (/opt/perl- > 5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in > sub named (eval) with value { }', 'type', > 'Specio::Constraint::Simple=HASH(0xdd7a98)', 'value', > 'HASH(0x956350)') called at (eval 190) line 32 > # DateTime::Locale::_check_load_params('HASH(0x956350)') called at > /opt/perl-5.25.5/lib/site_perl/5.25.5/DateTime/Locale.pm line 184 > # DateTime::Locale::load('DateTime::Locale', 'HASH(0x956350)') called > at /tmpfs/.cpan-build-cpansand/2016092318/DateTimeX-Web-0.07- > 0/blib/lib/DateTimeX/Web.pm line 92 > # DateTimeX::Web::locale('DateTimeX::Web=HASH(0x975368)', > 'HASH(0x956350)') called at t/isa_errors.t line 43 > # eval {...} at t/isa_errors.t line 43 > # ' > # at t/isa_errors.t line 45. > > # Failed test 'Validation failed for type named NonEmptyStr declared > in package Specio::Library::String (/opt/perl- > 5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in > sub named (eval) with value [ ] > # > # Trace begun at /opt/perl- > 5.25.5/lib/site_perl/5.25.5/Specio/Exception.pm line 43 > # Specio::Exception::BUILD('Specio::Exception=HASH(0x1e39bb0)', > 'HASH(0x11925d8)') called at Specio::Exception->new line 57 > # Eval::Closure::Sandbox_17::__ANON__('Specio::Exception', 'message', > 'Validation failed for type named NonEmptyStr declared in package > Specio::Library::String (/opt/perl- > 5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in > sub named (eval) with value [ ]', 'type', > 'Specio::Constraint::Simple=HASH(0x174bf10)', 'value', > 'ARRAY(0x956aa0)') called at /opt/perl- > 5.25.5/lib/site_perl/5.25.5/Specio/Exception.pm line 62 > # Specio::Exception::throw('Specio::Exception', 'message', 'Validation > failed for type named NonEmptyStr declared in package > Specio::Library::String (/opt/perl- > 5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in > sub named (eval) with value [ ]', 'type', > 'Specio::Constraint::Simple=HASH(0x174bf10)', 'value', > 'ARRAY(0x956aa0)') called at (eval 192) line 78 > # DateTime::TimeZone::_check_new_params('name', 'ARRAY(0x956aa0)') > called at /opt/perl-5.25.5/lib/site_perl/5.25.5/DateTime/TimeZone.pm > line 52 > # DateTime::TimeZone::new('DateTime::TimeZone', 'name', > 'ARRAY(0x956aa0)') called at /tmpfs/.cpan-build- > cpansand/2016092318/DateTimeX-Web-0.07-0/blib/lib/DateTimeX/Web.pm > line 80 > # DateTimeX::Web::time_zone('DateTimeX::Web=HASH(0x975368)', > 'ARRAY(0x956aa0)') called at t/isa_errors.t line 56 > # eval {...} at t/isa_errors.t line 56 > # ' > # at t/isa_errors.t line 58. > > # Failed test 'Validation failed for type named NonEmptyStr declared > in package Specio::Library::String (/opt/perl- > 5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in > sub named (eval) with value [ ] > # > # Trace begun at /opt/perl- > 5.25.5/lib/site_perl/5.25.5/Specio/Exception.pm line 43 > # Specio::Exception::BUILD('Specio::Exception=HASH(0x956410)', > 'HASH(0x11925d8)') called at Specio::Exception->new line 57 > # Eval::Closure::Sandbox_17::__ANON__('Specio::Exception', 'message', > 'Validation failed for type named NonEmptyStr declared in package > Specio::Library::String (/opt/perl- > 5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in > sub named (eval) with value [ ]', 'type', > 'Specio::Constraint::Simple=HASH(0xdd7a98)', 'value', > 'ARRAY(0x1e39bb0)') called at /opt/perl- > 5.25.5/lib/site_perl/5.25.5/Specio/Exception.pm line 62 > # Specio::Exception::throw('Specio::Exception', 'message', 'Validation > failed for type named NonEmptyStr declared in package > Specio::Library::String (/opt/perl- > 5.25.5/lib/site_perl/5.25.5/Specio/Library/String.pm) at line 46 in > sub named (eval) with value [ ]', 'type', > 'Specio::Constraint::Simple=HASH(0xdd7a98)', 'value', > 'ARRAY(0x1e39bb0)') called at (eval 190) line 32 > # DateTime::Locale::_check_load_params('ARRAY(0x1e39bb0)') called at > /opt/perl-5.25.5/lib/site_perl/5.25.5/DateTime/Locale.pm line 184 > # DateTime::Locale::load('DateTime::Locale', 'ARRAY(0x1e39bb0)') > called at /tmpfs/.cpan-build-cpansand/2016092318/DateTimeX-Web-0.07- > 0/blib/lib/DateTimeX/Web.pm line 92 > # DateTimeX::Web::locale('DateTimeX::Web=HASH(0x975368)', > 'ARRAY(0x1e39bb0)') called at t/isa_errors.t line 60 > # eval {...} at t/isa_errors.t line 60 > # ' > # at t/isa_errors.t line 62. > # Looks like you failed 4 tests of 13. > t/isa_errors.t ... > Dubious, test returned 4 (wstat 1024, 0x400) > Failed 4/13 subtests > > > Statistical analysis suggests that a change in DateTime 1.38 is > causing this problem: > > **************************************************************** > Regression 'mod:DateTime' > **************************************************************** > Name Theta StdErr T-stat > [0='const'] 1.0000 0.0000 10774580300759886.00 > [1='eq_1.08'] 0.0000 0.0000 3.67 > [2='eq_1.10'] 0.0000 0.0000 3.75 > [3='eq_1.12'] 0.0000 0.0000 4.79 > [4='eq_1.18'] 0.0000 0.0000 3.78 > [5='eq_1.19'] 0.0000 0.0000 4.24 > [6='eq_1.20'] 0.0000 0.0000 4.50 > [7='eq_1.21'] 0.0000 0.0000 5.18 > [8='eq_1.26'] 0.0000 0.0000 4.71 > [9='eq_1.28'] 0.0000 0.0000 1.94 > [10='eq_1.29'] -1.0000 0.0000 -9975323009056884.00 > [11='eq_1.34'] 0.0000 0.0000 2.41 > [12='eq_1.36'] 0.0000 0.0000 3.47 > [13='eq_1.38'] -1.0000 0.0000 -7618778795106307.00 > [14='eq_1.39'] -1.0000 0.0000 -9331060255573440.00 > > R^2= 1.000, N= 107, K= 15 > ****************************************************************
Thanks. Fixed and shipped 0.08.