Subject: | Moo fails tests in Perl 5 blead |
As described in https://rt.perl.org/Ticket/Display.html?id=132252, recent commits to Perl 5 blead have caused tests in Moo to fail.
Attached is part of a 'cpanm' build.log where perl is at commit 2358aaf.
(I don't pretend to understand the issues here; just making sure the news is passed along.)
Thank you very much.
Jim Keenan
Subject: | 132252-Moo-bbc-failures.txt |
[Moo-2.003002] 515 $ make test
PERL_DL_NONLAZY=1 "/home/jkeenan/testing/blead/bin/perl" -It/lib "-MTestEnv=" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/accessor-coerce.t ................ ok
t/accessor-default.t ............... ok
t/accessor-generator-extension.t ... 1/? Can't locate ArrayNonMoo.pm in @INC (you may need to install the ArrayNonMoo module) (@INC contains: /home/jkeenan/.cpanm/work/1510801406.17836/Moo-2.003002/blib/lib /home/jkeenan/.cpanm/work/1510801406.17836/Moo-2.003002/blib/arch t/lib /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.6/x86_64-linux /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.6 /home/jkeenan/testing/blead/lib/perl5/5.27.6/x86_64-linux /home/jkeenan/testing/blead/lib/perl5/5.27.6 .) at /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.6/Module/Runtime.pm line 314.
at t/accessor-generator-extension.t line 127.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 5.
t/accessor-generator-extension.t ... Dubious, test returned 2 (wstat 512, 0x200)
All 5 subtests passed
t/accessor-handles.t ............... ok
t/accessor-isa.t ................... ok
t/accessor-mixed.t ................. ok
t/accessor-pred-clear.t ............ ok
t/accessor-reader-writer.t ......... ok
t/accessor-roles.t ................. ok
t/accessor-shortcuts.t ............. ok
t/accessor-trigger.t ............... ok
t/accessor-weaken-pre-5_8_3.t ...... ok
t/accessor-weaken.t ................ ok
t/buildall-subconstructor.t ........ ok
t/buildall.t ....................... ok
t/buildargs-error.t ................ ok
t/buildargs.t ...................... Can't locate NonMooClass.pm in @INC (you may need to install the NonMooClass module) (@INC contains: /home/jkeenan/.cpanm/work/1510801406.17836/Moo-2.003002/blib/lib /home/jkeenan/.cpanm/work/1510801406.17836/Moo-2.003002/blib/arch t/lib /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.6/x86_64-linux /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.6 /home/jkeenan/testing/blead/lib/perl5/5.27.6/x86_64-linux /home/jkeenan/testing/blead/lib/perl5/5.27.6 .) at /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.6/Module/Runtime.pm line 314.
at t/buildargs.t line 29.
t/buildargs.t ...................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/coerce-1.t ....................... ok
t/compose-conflicts.t .............. ok
t/compose-non-role.t ............... ok
t/compose-roles.t .................. ok
t/constructor-modify.t ............. ok
t/croak-locations.t ................ ok
t/demolish-basics.t ................ ok
t/demolish-bugs-eats_exceptions.t .. ok
t/demolish-bugs-eats_mini.t ........ ok
t/demolish-global_destruction.t .... ok
t/demolish-throw.t ................. ok
t/does.t ........................... ok
t/extend-constructor.t ............. ok
t/extends-non-moo.t ................ ok
t/extends-role.t ................... ok
t/foreignbuildargs.t ............... ok
t/global_underscore.t .............. ok
t/has-array.t ...................... ok
t/has-before-extends.t ............. ok
t/has-plus.t ....................... ok
t/init-arg.t ....................... ok
t/isa-interfere.t .................. Can't locate BaseClass.pm in @INC (you may need to install the BaseClass module) (@INC contains: /home/jkeenan/.cpanm/work/1510801406.17836/Moo-2.003002/blib/lib /home/jkeenan/.cpanm/work/1510801406.17836/Moo-2.003002/blib/arch t/lib /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.6/x86_64-linux /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.6 /home/jkeenan/testing/blead/lib/perl5/5.27.6/x86_64-linux /home/jkeenan/testing/blead/lib/perl5/5.27.6 .) at /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.6/Module/Runtime.pm line 314.
at t/isa-interfere.t line 29.
BEGIN failed--compilation aborted at t/isa-interfere.t line 32.
t/isa-interfere.t .................. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/lazy_isa.t ....................... ok
t/load_module.t .................... ok
t/load_module_error.t .............. ok
t/load_module_role_tiny.t .......... ok
t/long-package-name.t .............. ok
t/method-generate-accessor.t ....... ok
t/method-generate-constructor.t .... ok
t/modify_lazy_handlers.t ........... ok
t/moo-accessors.t .................. ok
t/moo-c3.t ......................... ok
t/moo-object.t ..................... ok
t/moo-utils-_name_coderef.t ........ ok
t/moo-utils-_subname.t ............. ok
t/moo-utils.t ...................... ok
t/moo.t ............................ 1/? Can't locate WhatTheFlyingFornication.pm in @INC (you may need to install the WhatTheFlyingFornication module) (@INC contains: /home/jkeenan/.cpanm/work/1510801406.17836/Moo-2.003002/blib/lib /home/jkeenan/.cpanm/work/1510801406.17836/Moo-2.003002/blib/arch t/lib /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.6/x86_64-linux /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.6 /home/jkeenan/testing/blead/lib/perl5/5.27.6/x86_64-linux /home/jkeenan/testing/blead/lib/perl5/5.27.6 .) at /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.6/Module/Runtime.pm line 314.
at t/moo.t line 60.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 2 just after 4.
t/moo.t ............................ Dubious, test returned 2 (wstat 512, 0x200)
All 4 subtests passed
t/mutual-requires.t ................ ok
t/no-build.t ....................... Can't locate TestClass1.pm in @INC (you may need to install the TestClass1 module) (@INC contains: /home/jkeenan/.cpanm/work/1510801406.17836/Moo-2.003002/blib/lib /home/jkeenan/.cpanm/work/1510801406.17836/Moo-2.003002/blib/arch t/lib /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.6/x86_64-linux /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.6 /home/jkeenan/testing/blead/lib/perl5/5.27.6/x86_64-linux /home/jkeenan/testing/blead/lib/perl5/5.27.6 .) at /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.6/Module/Runtime.pm line 314.
at t/no-build.t line 56.
BEGIN failed--compilation aborted at t/no-build.t line 57.
t/no-build.t ....................... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/no-moo.t ......................... ok
t/non-moo-extends-c3.t ............. Can't locate Foo/AddCD.pm in @INC (you may need to install the Foo::AddCD module) (@INC contains: /home/jkeenan/.cpanm/work/1510801406.17836/Moo-2.003002/blib/lib /home/jkeenan/.cpanm/work/1510801406.17836/Moo-2.003002/blib/arch t/lib /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.6/x86_64-linux /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.6 /home/jkeenan/testing/blead/lib/perl5/5.27.6/x86_64-linux /home/jkeenan/testing/blead/lib/perl5/5.27.6 .) at /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.6/Module/Runtime.pm line 314.
at t/non-moo-extends-c3.t line 46.
t/non-moo-extends-c3.t ............. Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/non-moo-extends.t ................ Can't locate ClassB.pm in @INC (you may need to install the ClassB module) (@INC contains: /home/jkeenan/.cpanm/work/1510801406.17836/Moo-2.003002/blib/lib /home/jkeenan/.cpanm/work/1510801406.17836/Moo-2.003002/blib/arch t/lib /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.6/x86_64-linux /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.6 /home/jkeenan/testing/blead/lib/perl5/5.27.6/x86_64-linux /home/jkeenan/testing/blead/lib/perl5/5.27.6 .) at /home/jkeenan/testing/blead/lib/perl5/site_perl/5.27.6/Module/Runtime.pm line 314.
at t/non-moo-extends.t line 28.
t/non-moo-extends.t ................ Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/not-both.t ....................... ok
t/overloaded-coderefs.t ............ ok
t/overridden-core-funcs.t .......... ok
t/perl-56-like.t ................... ok
t/strictures.t ..................... ok
t/sub-and-handles.t ................ ok
t/subconstructor.t ................. ok
t/undef-bug.t ...................... ok
t/use-after-no.t ................... ok
t/zzz-check-breaks.t ............... ok
Test Summary Report
-------------------
t/accessor-generator-extension.t (Wstat: 512 Tests: 5 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/buildargs.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/isa-interfere.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/moo.t (Wstat: 512 Tests: 4 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/no-build.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/non-moo-extends-c3.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
t/non-moo-extends.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: No plan found in TAP output
Files=69, Tests=752, 4 wallclock secs ( 0.21 usr 0.05 sys + 3.71 cusr 0.32 csys = 4.29 CPU)
Result: FAIL
Failed 7/69 test programs. 0/752 subtests failed.
Makefile:873: recipe for target 'test_dynamic' failed