Subject: | Fails these days mysteriously |
The last two or three weeks Fay is failing tests on my smoker. The fail comes in a variant that prevents CPAN::Reporter sending fail reports, so I cannot link to a sample fail report. I paste the relevant bits of the console output here. Please let me know when you need further information.
# Failed test 'cannot pass undef for non-nullable column'
# at t/SQL/Insert.t line 121.
# 'The 'username' parameter does not pass the type constraint
because: Validation failed for 'Fey::Types::Internal::NonNullableInsertValue' wi
th value undef at /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.9/a2d
a/lib/site_perl/5.21.9/MooseX/Params/Validate.pm line 239
# MooseX::Params::Validate::__ANON__(undef, 'HASH(0x3e56538)') called at /
home/sand/src/perl/repoperls/installed-perls/perl/v5.21.9/a2da/lib/site_perl/5.2
1.9/MooseX/Params/Validate.pm line 69
# eval {...} at /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.9
/a2da/lib/site_perl/5.21.9/MooseX/Params/Validate.pm line 69
# MooseX::Params::Validate::validated_hash('ARRAY(0x3e56610)', 'username',
'HASH(0x3e4a238)', 'user_id', 'HASH(0x3e55f20)', 'MX_PARAMS_VALIDATE_NO_CACHE',
1) called at /tmp/loop_over_bdir-20865-UviS5m/Fey-0.40-csBSZX/blib/lib/Fey/SQL/
Insert.pm line 88
# Fey::SQL::Insert::values(undef, 'user_id', 1, 'username', undef) called
at t/SQL/Insert.t line 120
# eval {...} at t/SQL/Insert.t line 120
# '
# doesn't match '(?^:The\ \'username\'\ parameter\ \(undef\))'
# Looks like you failed 1 test of 24.
t/SQL/Insert.t ..................
Dubious, test returned 1 (wstat 256, 0x100)
# Failed test 'union() with a non-Select parameter is an error'
# at t/SQL/Set.t line 48.
# 'Parameter #1 does not pass the type constraint because: Validation failed for 'Fey::Types::Internal::SetOperationArg' with value 1 at /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.9/a2da/lib/site_perl/5.21.9/MooseX/Params/Validate.pm line 239
# MooseX::Params::Validate::__ANON__(1, 'ARRAY(0x3861d28)') called at /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.9/a2da/lib/site_perl/5.21.9/MooseX/Params/Validate.pm line 178
# eval {...} at /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.9/a2da/lib/site_perl/5.21.9/MooseX/Params/Validate.pm line 178
# MooseX::Params::Validate::pos_validated_list('ARRAY(0x385d920)', 'HASH(0x385ce28)', 'HASH(0x385ce28)', 'MX_PARAMS_VALIDATE_NO_CACHE', 1) called at /tmp/loop_over_bdir-20865-UviS5m/Fey-0.40-csBSZX/blib/lib/Fey/Role/SetOperation.pm line 98
# Moose::Meta::Role::__ANON__::SERIAL::25::union(undef, 1, 2) called at t/SQL/Set.t line 47
# eval {...} at t/SQL/Set.t line 47
# '
# doesn't match '(?^:did not pass the 'checking type constraint for .+::SetOperationArg')'
# Failed test 'intersect() with a non-Select parameter is an error'
# at t/SQL/Set.t line 48.
# 'Parameter #1 does not pass the type constraint because: Validation failed for 'Fey::Types::Internal::SetOperationArg' with value 1 at /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.9/a2da/lib/site_perl/5.21.9/MooseX/Params/Validate.pm line 239
# MooseX::Params::Validate::__ANON__(1, 'ARRAY(0x387d6c0)') called at /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.9/a2da/lib/site_perl/5.21.9/MooseX/Params/Validate.pm line 178
# eval {...} at /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.9/a2da/lib/site_perl/5.21.9/MooseX/Params/Validate.pm line 178
# MooseX::Params::Validate::pos_validated_list('ARRAY(0x3878c80)', 'HASH(0x386e6c0)', 'HASH(0x386e6c0)', 'MX_PARAMS_VALIDATE_NO_CACHE', 1) called at /tmp/loop_over_bdir-20865-UviS5m/Fey-0.40-csBSZX/blib/lib/Fey/Role/SetOperation.pm line 98
# Moose::Meta::Role::__ANON__::SERIAL::25::union(undef, 1, 2) called at t/SQL/Set.t line 47
# eval {...} at t/SQL/Set.t line 47
# '
# doesn't match '(?^:did not pass the 'checking type constraint for .+::SetOperationArg')'
# Failed test 'except() with a non-Select parameter is an error'
# at t/SQL/Set.t line 48.
# 'Parameter #1 does not pass the type constraint because: Validation failed for 'Fey::Types::Internal::SetOperationArg' with value 1 at /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.9/a2da/lib/site_perl/5.21.9/MooseX/Params/Validate.pm line 239
# MooseX::Params::Validate::__ANON__(1, 'ARRAY(0x3887eb8)') called at /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.9/a2da/lib/site_perl/5.21.9/MooseX/Params/Validate.pm line 178
# eval {...} at /home/sand/src/perl/repoperls/installed-perls/perl/v5.21.9/a2da/lib/site_perl/5.21.9/MooseX/Params/Validate.pm line 178
# MooseX::Params::Validate::pos_validated_list('ARRAY(0x3883448)', 'HASH(0x3880238)', 'HASH(0x3880238)', 'MX_PARAMS_VALIDATE_NO_CACHE', 1) called at /tmp/loop_over_bdir-20865-UviS5m/Fey-0.40-csBSZX/blib/lib/Fey/Role/SetOperation.pm line 98
# Moose::Meta::Role::__ANON__::SERIAL::25::union(undef, 1, 2) called at t/SQL/Set.t line 47
# eval {...} at t/SQL/Set.t line 47
# '
# doesn't match '(?^:did not pass the 'checking type constraint for .+::SetOperationArg')'
# Looks like you failed 3 tests of 36.
t/SQL/Set.t .....................
Dubious, test returned 3 (wstat 768, 0x300)
Test Summary Report
-------------------
t/SQL/Insert.t (Wstat: 256 Tests: 24 Failed: 1)
Failed test: 10
Non-zero exit status: 1
t/SQL/Set.t (Wstat: 768 Tests: 36 Failed: 3)
Failed tests: 4, 16, 28
TODO passed: 3
Non-zero exit status: 3
Files=36, Tests=580, 32 wallclock secs ( 0.16 usr 0.02 sys + 26.26 cusr 1.08 c
sys = 27.52 CPU)
Result: FAIL
Failed 2/36 test programs. 4/580 subtests failed.
HTH&&Regards,