Subject: | Test failures with Moose 2.0205; pass with Moose 2.0604 |
tom@whaam MooseX-Attribute-Deflator-2.2.1 (nested 2 deep) $ ./Build test
t/00-compile.t ................ ok
t/000-report-versions-tiny.t .. #
#
# perl: v5.14.1 (wanted any version) on linux from /opt/perlbrew/perls/perl-5.14.1/bin/perl
#
# DateTime => 0.77 (want any version)
# Devel::PartialDump => 0.15 (want any version)
# File::Find => 1.19 (want any version)
# File::Temp => 0.22 (want any version)
# JSON => 2.53 (want any version)
# Module::Build => 0.4 (want 0.3601)
# Moose => 2.0205 (want 1.25)
# Moose::Util::TypeConstraints => 2.0205 (want any version)
# MooseX::Types => 0.35 (want 0.30)
# MooseX::Types::Moose => 0.35 (want any version)
# MooseX::Types::Structured => 0.28 (want any version)
# Test::More => 0.98 (want 0.88)
# Try::Tiny => 0.11 (want any version)
#
# Thanks for using my code. I hope it works for you.
# If not, please try and include this output in the bug report.
# That will help me reproduce the issue and solve you problem.
#
t/000-report-versions-tiny.t .. ok
t/basic_types.t ............... 1/? Failed to deflate value [ Moose::Object{ } ] (ArrayRef[Moose::Object]): Can't call method
"name" on an undefined value at /home/tom/.cpanm/work/1351230728.22542/MooseX-Attribute-Deflator-
2.2.1/blib/lib/MooseX/Attribute/Deflator/Registry.pm line 78.
at (eval 1163) line 26
Moose::Meta::Role::__ANON__::SERIAL::19::deflate('Moose::Meta::Class::__ANON__::SERIAL::20=HASH(0x2b29d30)',
'Test=HASH(0x2b05ef8)') called at t/basic_types.t line 96
# Tests were run but no plan was declared and done_testing() was not seen.
t/basic_types.t ............... Dubious, test returned 255 (wstat 65280, 0xff00)
All 26 subtests passed
t/coerce.t .................... ok
t/lazyinflator.t .............. 1/? # making immutable
t/lazyinflator.t .............. ok
t/moosex_types.t .............. ok
t/parameterizable.t ........... ok
t/release-has-version.t ....... skipped: these tests are for release candidate testing
t/release-kwalitee.t .......... skipped: these tests are for release candidate testing
t/release-minimum-version.t ... skipped: these tests are for release candidate testing
t/release-pod-coverage.t ...... skipped: these tests are for release candidate testing
t/release-pod-syntax.t ........ skipped: these tests are for release candidate testing
t/role.t ...................... 1/? # making immutable
# making immutable
# making immutable
t/role.t ...................... ok
t/structured.t ................ ok
t/synopsis.t .................. ok
Test Summary Report
-------------------
t/basic_types.t (Wstat: 65280 Tests: 26 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
Files=15, Tests=202, 6 wallclock secs ( 0.09 usr 0.03 sys + 5.08 cusr 0.45 csys = 5.65 CPU)
Result: FAIL
Failed 1/15 test programs. 0/202 subtests failed.
→ Meanwhile in another terminal, based on a hunch:
tom@whaam api (master=) $ cpanm Moose
--> Working on Moose
Fetching http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Moose-2.0604.tar.gz ... OK
Configuring Moose-2.0604 ... OK
==> Found dependencies: Class::Load::XS, Carp
--> Working on Class::Load::XS
Fetching http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Class-Load-XS-0.06.tar.gz ... OK
Configuring Class-Load-XS-0.06 ... OK
Building and testing Class-Load-XS-0.06 ... OK
Successfully installed Class-Load-XS-0.06
--> Working on Carp
Fetching http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Carp-1.26.tar.gz ... OK
Configuring Carp-1.26 ... OK
Building and testing Carp-1.26 ... OK
Successfully installed Carp-1.26 (upgraded from 1.20)
Building and testing Moose-2.0604 ... OK
Successfully installed Moose-2.0604 (upgraded from 2.0205)
3 distributions installed
→ And then try tests again:
tom@whaam MooseX-Attribute-Deflator-2.2.1 (nested 2 deep) $ ./Build test
t/00-compile.t ................ ok
t/000-report-versions-tiny.t .. #
#
# perl: v5.14.1 (wanted any version) on linux from /opt/perlbrew/perls/perl-5.14.1/bin/perl
#
# DateTime => 0.77 (want any version)
# Devel::PartialDump => 0.15 (want any version)
# File::Find => 1.19 (want any version)
# File::Temp => 0.22 (want any version)
# JSON => 2.53 (want any version)
# Module::Build => 0.4 (want 0.3601)
# Moose => 2.0604 (want 1.25)
# Moose::Util::TypeConstraints => 2.0604 (want any version)
# MooseX::Types => 0.35 (want 0.30)
# MooseX::Types::Moose => 0.35 (want any version)
# MooseX::Types::Structured => 0.28 (want any version)
# Test::More => 0.98 (want 0.88)
# Try::Tiny => 0.11 (want any version)
#
# Thanks for using my code. I hope it works for you.
# If not, please try and include this output in the bug report.
# That will help me reproduce the issue and solve you problem.
#
t/000-report-versions-tiny.t .. ok
t/basic_types.t ............... 1/? # making immutable
t/basic_types.t ............... ok
t/coerce.t .................... ok
t/lazyinflator.t .............. 1/? # making immutable
t/lazyinflator.t .............. ok
t/moosex_types.t .............. ok
t/parameterizable.t ........... ok
t/release-has-version.t ....... skipped: these tests are for release candidate testing
t/release-kwalitee.t .......... skipped: these tests are for release candidate testing
t/release-minimum-version.t ... skipped: these tests are for release candidate testing
t/release-pod-coverage.t ...... skipped: these tests are for release candidate testing
t/release-pod-syntax.t ........ skipped: these tests are for release candidate testing
t/role.t ...................... 1/? # making immutable
# making immutable
# making immutable
t/role.t ...................... ok
t/structured.t ................ ok
t/synopsis.t .................. ok
All tests successful.
Files=15, Tests=258, 6 wallclock secs ( 0.08 usr 0.04 sys + 5.19 cusr 0.42 csys = 5.73 CPU)
Result: PASS