Bug#980660: libmoox-traits-perl: FTBFS: dh_auto_test: error: make -j4 test TEST_VERBOSE=1 returned exit code 2

Lucas Nussbaum lucas at debian.org
Wed Jan 20 20:46:35 GMT 2021


Source: libmoox-traits-perl
Version: 0.005-1.1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20210120 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/from-moosex-traits/*.t
> t/01basic.t ........................... 
> ok 1 - use MooX::Traits;
> 1..1
> ok
> t/02packagevariant.t .................. 
> 1..11
> ok 1 - making class is OK
> ok 2 - making class with no traits is OK
> ok 3 - prole is applied OK
> ok 4 - An object of class 'Class__WITH__PRole::_Variant_A001' isa 'Class'
> ok 5 - OHHAI accessor works
> ok 6 - prole is applied OK along with a normal role
> ok 7 - Class__WITH__PRole::_Variant_A002__AND__Role->can(...)
> ok 8 - prole is applied OK along with a normal role (2)
> ok 9 - Class__WITH__Role__AND__PRole::_Variant_A003->can(...)
> ok 10 - regular roles with args can be applied, but args are ignored
> ok 11 - Class__WITH__Role->can('gorge')
> ok
> t/03roletiny.t ........................ 
> ok 1 - An object of class 'Class__WITH__Trait' isa 'Class'
> ok 2 - Class__WITH__Trait->can('foo')
> ok 3
> ok 4 - An object of class 'Class__WITH__Trait' isa 'Class'
> ok 5 - Class__WITH__Trait->can('foo')
> ok 6
> ok 7 - An object of class 'Class' isa 'Class'
> ok 8 - this one cannot foo
> ok 9 - An object of class 'Class' isa 'Class'
> ok 10 - this one cannot foo either
> ok 11 - An object of class 'Another::Class__WITH__Another::Trait' isa 'Another::Class'
> ok 12 - Another::Class__WITH__Another::Trait->can('bar')
> ok 13
> ok 14 - An object of class 'Another::Class__WITH__Another::Trait' isa 'Another::Class'
> ok 15 - Another::Class__WITH__Another::Trait->can('bar')
> ok 16
> ok 17 - An object of class 'Another::Class__WITH__Another::Trait__AND__Trait' isa 'Another::Class'
> ok 18 - Another::Class__WITH__Another::Trait__AND__Trait->can('foo')
> ok 19 - Another::Class__WITH__Another::Trait__AND__Trait->can('bar')
> ok 20
> ok 21
> 1..21
> ok
> t/04onebyone.t ........................ 
> ok 1 - Cannot compose Foo because missing Bar
> ok 2 - Cannot compose Bar because missing Foo
> ok 3 - Can compose Foo and Bar simultaneously
> ok 4 - MyClass__WITH__Foo__AND__Bar->can(...)
> 1..4
> ok
> t/from-moosex-traits/basic.t .......... 
> ok 1 - An object of class 'Class__WITH__Trait' isa 'Class'
> ok 2 - Class__WITH__Trait->can('foo')
> ok 3
> ok 4 - An object of class 'Class__WITH__Trait' isa 'Class'
> ok 5 - Class__WITH__Trait->can('foo')
> ok 6
> ok 7 - foo is required
> ok 8 - An object of class 'Class' isa 'Class'
> ok 9 - this one cannot foo
> ok 10 - An object of class 'Class' isa 'Class'
> ok 11 - this one cannot foo either
> ok 12 - An object of class 'Another::Class__WITH__Another::Trait' isa 'Another::Class'
> ok 13 - Another::Class__WITH__Another::Trait->can('bar')
> ok 14
> ok 15 - An object of class 'Another::Class__WITH__Another::Trait' isa 'Another::Class'
> ok 16 - Another::Class__WITH__Another::Trait->can('bar')
> ok 17
> ok 18 - An object of class 'Another::Class__WITH__Another::Trait__AND__Trait' isa 'Another::Class'
> ok 19 - Another::Class__WITH__Another::Trait__AND__Trait->can('foo')
> ok 20 - Another::Class__WITH__Another::Trait__AND__Trait->can('bar')
> ok 21
> ok 22
> 1..22
> ok
> While trying to resolve method call OH NOES__WITH__Trait->can() can not locate package "OH NOES" yet it is mentioned in @OH NOES__WITH__Trait::ISA (perhaps you forgot to load "OH NOES"?) at /usr/share/perl5/Role/Tiny.pm line 473.
> While trying to resolve method call OH NOES__WITH__Trait->does() can not locate package "OH NOES" yet it is mentioned in @OH NOES__WITH__Trait::ISA (perhaps you forgot to load "OH NOES"?) at /usr/share/perl5/Role/Tiny.pm line 473.
> While trying to resolve method call OH NOES__WITH__Trait->DOES() can not locate package "OH NOES" yet it is mentioned in @OH NOES__WITH__Trait::ISA (perhaps you forgot to load "OH NOES"?) at /usr/share/perl5/Role/Tiny.pm line 476.
> 
> #   Failed test 'OH NOES is not a MX::Traits class'
> #   at t/from-moosex-traits/class.t line 73.
> #          got: undef
> #     expected: anything else
> # Looks like you failed 1 test of 10.
> t/from-moosex-traits/class.t .......... 
> 1..10
> not ok 1 - OH NOES is not a MX::Traits class
> ok 2 - Moose::Meta::Class is not a MX::Traits class
> ok 3 - new_class_with_traits works
> ok 4
> ok 5
> ok 6
> ok 7 - new_class_with_traits works
> ok 8
> ok 9
> ok 10
> Dubious, test returned 1 (wstat 256, 0x100)
> Failed 1/10 subtests 
> t/from-moosex-traits/parameterized.t .. 
> 1..11
> ok 1 - making class is OK
> ok 2 - making class with no traits is OK
> ok 3 - prole is applied OK
> ok 4 - An object of class 'Class__WITH__PRole::__ANON__::SERIAL::1' isa 'Class'
> ok 5 - OHHAI accessor works
> ok 6 - prole is applied OK along with a normal role
> ok 7 - Class__WITH__PRole::__ANON__::SERIAL::2__AND__Role->can(...)
> ok 8 - prole is applied OK along with a normal role (2)
> ok 9 - Class__WITH__Role__AND__PRole::__ANON__::SERIAL::3->can(...)
> ok 10 - regular roles with args can be applied, but args are ignored
> ok 11 - Class__WITH__Role->can('gorge')
> ok
> t/from-moosex-traits/subclass.t ....... 
> 1..3
> ok 1 - creating instance works ok
> ok 2 - instance does trait
> ok 3 - trait works
> ok
> t/from-moosex-traits/with-traits.t .... 
> 1..22
> ok 1 - An object of class 'Class__WITH__Trait' isa 'Class'
> ok 2 - Class__WITH__Trait->can('foo')
> ok 3
> ok 4 - An object of class 'Class__WITH__Trait' isa 'Class'
> ok 5 - Class__WITH__Trait->can('foo')
> ok 6
> ok 7 - foo is required
> ok 8 - An object of class 'Class' isa 'Class'
> ok 9 - this one cannot foo
> ok 10 - An object of class 'Class' isa 'Class'
> ok 11 - this one cannot foo either
> ok 12 - An object of class 'Another::Class__WITH__Another::Trait' isa 'Another::Class'
> ok 13 - Another::Class__WITH__Another::Trait->can('bar')
> ok 14
> ok 15 - An object of class 'Another::Class__WITH__Another::Trait' isa 'Another::Class'
> ok 16 - Another::Class__WITH__Another::Trait->can('bar')
> ok 17
> ok 18 - An object of class 'Another::Class__WITH__Another::Trait__AND__Trait' isa 'Another::Class'
> ok 19 - Another::Class__WITH__Another::Trait__AND__Trait->can('foo')
> ok 20 - Another::Class__WITH__Another::Trait__AND__Trait->can('bar')
> ok 21
> ok 22
> ok
> 
> Test Summary Report
> -------------------
> t/from-moosex-traits/class.t        (Wstat: 256 Tests: 10 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 1
> Files=9, Tests=105,  1 wallclock secs ( 0.02 usr  0.02 sys +  0.64 cusr  0.11 csys =  0.79 CPU)
> Result: FAIL
> Failed 1/9 test programs. 1/105 subtests failed.
> make[1]: *** [Makefile:845: test_dynamic] Error 255
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_auto_test: error: make -j4 test TEST_VERBOSE=1 returned exit code 2

The full build log is available from:
   http://qa-logs.debian.net/2021/01/20/libmoox-traits-perl_0.005-1.1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-perl-maintainers mailing list