Bug#583463: libmoosex-types-structured-perl: FTBFS: tests failed

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu May 27 17:16:09 UTC 2010


Source: libmoosex-types-structured-perl
Version: 0.20-1
Severity: serious
Tags: squeeze sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20100527 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> make[1]: Entering directory `/build/user-libmoosex-types-structured-perl_0.20-1-amd64-NXX1lW/libmoosex-types-structured-perl-0.20'
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
> t/00-load.t ....... ok
> t/01-basic.t ...... ok
> t/02-tuple.t ...... ok
> t/03-dict.t ....... ok
> t/04-combined.t ... ok
> t/04-map.t ........ ok
> t/05-advanced.t ... ok
> 
> #   Failed test 'MyDict2 is_a_type_of MyDict4'
> #   at t/06-api.t line 112.
> 
> #   Failed test 'tuple of tuple'
> #   at t/06-api.t line 127.
> 
> #   Failed test 'tuple of tuple'
> #   at t/06-api.t line 128.
> 
> #   Failed test 'tuple of tuple'
> #   at t/06-api.t line 129.
> 
> #   Failed test 'MyDict1 is_subtype_of MyDict4'
> #   at t/06-api.t line 133.
> # Looks like you failed 5 tests of 88.
> t/06-api.t ........ 
> Dubious, test returned 5 (wstat 1280, 0x500)
> Failed 5/88 subtests 
> t/07-coerce.t ..... ok
> t/08-examples.t ... ok
> t/09-optional.t ... ok
> t/10-recursion.t .. ok
> t/11-overflow.t ... ok
> 
> #   Failed test 'Wrong basic type'
> #   at t/12-error.t line 25.
> #                   'Validation failed for 'simple_tuple' with value { a: 1, b: 2 }'
> #     doesn't match '(?-xism:Validation failed for 'simple_tuple' failed with value { a: 1, b: 2 })'
> 
> #   Failed test 'Correctly failed due to "a" not an Int'
> #   at t/12-error.t line 29.
> #                   'Validation failed for 'simple_tuple' with value [ "a", "b" ], Internal Validation Error is: Validation failed for 'Int' with value a'
> #     doesn't match '(?-xism:failed for 'simple_tuple' failed with value \[ "a", "b" \])'
> 
> #   Failed test 'Correctly failed due to object not a Str'
> #   at t/12-error.t line 33.
> #                   'Validation failed for 'simple_tuple' with value [ 1, MooseX::Meta::TypeConstraint::Structured{ coercion: MooseX::Meta::TypeCoercion::Structured=HASH(0x2c48f78), compiled_type_constraint: CODE(0x2c48f18), constraint: CODE(0x25a1128), constraint_generator: CODE(0x2c35550), name: "simple_tuple", package_defined_in: "main", ... } ], Internal Validation Error is: Validation failed for 'Str' with value MooseX::Meta::TypeConstraint::Structured=HASH(0x2c48e88)'
> #     doesn't match '(?-xism:Validation failed for 'simple_tuple' failed with value \[ 1, MooseX::Meta::TypeConstraint::Structured)'
> 
> #   Failed test 'Not enought values'
> #   at t/12-error.t line 37.
> #                   'Validation failed for 'simple_tuple' with value [ 1 ], Internal Validation Error is: Validation failed for 'Str' with value NULL'
> #     doesn't match '(?-xism:Validation failed for 'Str' failed with value NULL)'
> 
> #   Failed test 'Wrong basic type'
> #   at t/12-error.t line 47.
> #                   'Validation failed for 'simple_dict' with value [ 1, 2 ]'
> #     doesn't match '(?-xism: failed with value \[ 1, 2 \])'
> 
> #   Failed test 'Correctly failed due to age not an Int'
> #   at t/12-error.t line 51.
> #                   'Validation failed for 'simple_dict' with value { age: "a", name: "John" }, Internal Validation Error is: Validation failed for 'Int' with value a'
> #     doesn't match '(?-xism:failed for 'Int' failed with value a)'
> 
> #   Failed test 'Correctly failed due to object not a Str'
> #   at t/12-error.t line 55.
> #                   'Validation failed for 'simple_dict' with value { age: 1, name: MooseX::Meta::TypeConstraint::Structured{ coercion: MooseX::Meta::TypeCoercion::Structured=HASH(0x2c4ce80), compiled_type_constraint: CODE(0x2c4d078), constraint: CODE(0x25a1128), constraint_generator: CODE(0x2c3cd50), name: "simple_dict", package_defined_in: "main", ... } }, Internal Validation Error is: Validation failed for 'Str' with value MooseX::Meta::TypeConstraint::Structured=HASH(0x2c4d090)'
> #     doesn't match '(?-xism:failed with value { age: 1, name: MooseX:)'
> 
> #   Failed test 'Not enought values'
> #   at t/12-error.t line 59.
> #                   'Validation failed for 'simple_dict' with value { name: "John" }, Internal Validation Error is: Validation failed for 'Int' with value NULL'
> #     doesn't match '(?-xism:failed for 'Int' failed with value NULL)'
> 
> #   Failed test 'Wrong basic type'
> #   at t/12-error.t line 72.
> #                   'Validation failed for 'optional_tuple' with value { a: 1, b: 2 }'
> #     doesn't match '(?-xism:Validation failed for 'optional_tuple' failed with value { a: 1, b: 2 })'
> 
> #   Failed test 'Correctly failed due to "a" not an Int'
> #   at t/12-error.t line 76.
> #                   'Validation failed for 'optional_tuple' with value [ "a", "b" ], Internal Validation Error is: Validation failed for 'Int' with value a'
> #     doesn't match '(?-xism:failed for 'Int' failed with value a)'
> 
> #   Failed test 'Correctly failed due to object not a Str'
> #   at t/12-error.t line 80.
> #                   'Validation failed for 'optional_tuple' with value [ 1, MooseX::Meta::TypeConstraint::Structured{ coercion: MooseX::Meta::TypeCoercion::Structured=HASH(0x2c48f78), compiled_type_constraint: CODE(0x2c48f18), constraint: CODE(0x25a1128), constraint_generator: CODE(0x2c35550), name: "simple_tuple", package_defined_in: "main", ... } ], Internal Validation Error is: Validation failed for 'MooseX::Types::Structured::Optional[Str]' with value MooseX::Meta::TypeConstraint::Structured=HASH(0x2c48e88)'
> #     doesn't match '(?-xism:failed for 'MooseX::Types::Structured::Optional\[Str\]' failed with value MooseX)'
> 
> #   Failed test 'Wrong basic type'
> #   at t/12-error.t line 88.
> #                   'Validation failed for 'optional_dict' with value [ 1, 2 ]'
> #     doesn't match '(?-xism: failed with value \[ 1, 2 \])'
> 
> #   Failed test 'Correctly failed due to age not an Int'
> #   at t/12-error.t line 92.
> #                   'Validation failed for 'optional_dict' with value { age: "a", name: "John" }, Internal Validation Error is: Validation failed for 'MooseX::Types::Structured::Optional[Int]' with value a'
> #     doesn't match '(?-xism:Validation failed for 'MooseX::Types::Structured::Optional\[Int\]' failed with value a)'
> 
> #   Failed test 'Correctly failed due to object not a Str'
> #   at t/12-error.t line 96.
> #                   'Validation failed for 'optional_dict' with value { age: 1, name: MooseX::Meta::TypeConstraint::Structured{ coercion: MooseX::Meta::TypeCoercion::Structured=HASH(0x2c4ce80), compiled_type_constraint: CODE(0x2c4d078), constraint: CODE(0x25a1128), constraint_generator: CODE(0x2c3cd50), name: "simple_dict", package_defined_in: "main", ... } }, Internal Validation Error is: Validation failed for 'Str' with value MooseX::Meta::TypeConstraint::Structured=HASH(0x2c4d090)'
> #     doesn't match '(?-xism:failed with value { age: 1, name: MooseX:)'
> # Looks like you failed 14 tests of 25.
> t/12-error.t ...... 
> Dubious, test returned 14 (wstat 3584, 0xe00)
> Failed 14/25 subtests 
> t/bug-optional.t .. ok
> 
> Test Summary Report
> -------------------
> t/06-api.t      (Wstat: 1280 Tests: 88 Failed: 5)
>   Failed tests:  46, 56-58, 61
>   Non-zero exit status: 5
> t/12-error.t    (Wstat: 3584 Tests: 25 Failed: 14)
>   Failed tests:  5-8, 10-13, 15-17, 19-21
>   Non-zero exit status: 14
> Files=15, Tests=329,  4 wallclock secs ( 0.09 usr  0.01 sys +  3.86 cusr  0.26 csys =  4.22 CPU)
> Result: FAIL
> Failed 2/15 test programs. 19/329 subtests failed.
> make[1]: *** [test_dynamic] Error 255

The full build log is available from:
   http://people.debian.org/~lucas/logs/2010/05/27/libmoosex-types-structured-perl_0.20-1_lsid64.buildlog

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!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the pkg-perl-maintainers mailing list