Bug#997778: libdancer-plugin-dbic-perl: FTBFS: Parse errors: Bad plan. You planned 7 tests but ran 2.
Lucas Nussbaum
lucas at debian.org
Sun Oct 24 12:39:41 BST 2021
Source: libdancer-plugin-dbic-perl
Version: 0.2104-1.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> true
> true
> true
> true
> true
> true
> true
> true
> true
> 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/00-compile.t ...........
> 1..1
> ok 1 - Dancer/Plugin/DBIC.pm loaded ok
> ok
> t/01-single-schema.t .....
> 1..4
> ok 1
> # Subtest: schema
> ok 1 - bob is a baby
> ok 2 - found Bob via explicit schema name
> 1..2
> ok 2 - schema
> # Subtest: resultset
> ok 1 - found bob via resultset
> ok 2 - found bob via rset
> 1..2
> ok 3 - resultset
> # Subtest: invalid schema name
> ok 1 - missing schema error thrown
> 1..1
> ok 4 - invalid schema name
> ok
> t/02-multiple-schemas.t ..
> 1..2
> # Subtest: two schemas
> ok 1
> ok 2
> ok 3 - found bob
> ok 4 - bob is getting old
> ok 5 - found sue
> ok 6 - sue is the right age
> ok 7 - Missing schema error thrown
> ok 8 - Missing default schema error thrown
> 1..8
> ok 1 - two schemas
> # Subtest: two schemas with a default schema
> ok 1 - found bob
> ok 2
> 1..2
> ok 2 - two schemas with a default schema
> ok
> t/03-dynamic-schemas.t ...
> 1..3
> ok 1 # skip Test requires module 'DBIx::Class::Schema::Loader' but it's not found
> ok 2 # skip Test requires module 'DBIx::Class::Schema::Loader' but it's not found
> ok 3 # skip Test requires module 'DBIx::Class::Schema::Loader' but it's not found
> ok
> t/04-testapp.t ...........
> ok 1
> ok 2
> ok 3 - GET / is found
> ok 4 - content looks good for /
> ok 5 - GET /user/sukria is found
> ok 6 - content looks good for /user/sukria
> ok 7 - content looks good for /user/bigpresh
> ok 8 - DELETE /user/bigpresh is ok
> ok 9 - content looks good for /
> 1..9
> ok
> t/05-schema-aliases.t ....
> 1..4
> ok 1
> # Subtest: default schema
> ok 1 - found bob
> ok 2 - bob is getting old
> 1..2
> ok 2 - default schema
> # Subtest: schema alias
> ok 1 - found bob
> ok 2 - bob is still old
> 1..2
> ok 3 - schema alias
> # Subtest: bad alias
> ok 1 - got bad alias error
> 1..1
> ok 4 - bad alias
> ok
> DBIx::Class::Schema::catch {...} (): Unable to load storage class DBIx::Class::Storage::DBI::Replicated: {UNKNOWN}: The following modules are required for Replication Clone (see DBIx::Class::Optional::Dependencies for details)
> BEGIN failed--compilation aborted at /usr/share/perl5/DBIx/Class/Storage/DBI/Replicated.pm line 7.
> Compilation failed in require at /usr/share/perl5/Class/C3/Componentised.pm line 146. at /usr/share/perl5/Class/C3/Componentised.pm line 151 at /usr/share/perl5/DBICx/Sugar.pm line 118
> # Looks like your test exited with 2 just after 2.
> t/06-replicated.t ........
> 1..7
> ok 1
> ok 2
> Dubious, test returned 2 (wstat 512, 0x200)
> Failed 5/7 subtests
>
> Test Summary Report
> -------------------
> t/06-replicated.t (Wstat: 512 Tests: 2 Failed: 0)
> Non-zero exit status: 2
> Parse errors: Bad plan. You planned 7 tests but ran 2.
> Files=7, Tests=25, 2 wallclock secs ( 0.03 usr 0.00 sys + 1.80 cusr 0.20 csys = 2.03 CPU)
> Result: FAIL
> Failed 1/7 test programs. 0/25 subtests failed.
> make[1]: *** [Makefile:874: test_dynamic] Error 2
The full build log is available from:
http://qa-logs.debian.net/2021/10/23/libdancer-plugin-dbic-perl_0.2104-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 mine
so that we can identify if something relevant changed in the meantime.
More information about the pkg-perl-maintainers
mailing list