Bug#877535: libcatmandu-store-mongodb-perl FTBFS: t/02-connect.t fails

Adrian Bunk bunk at debian.org
Mon Oct 2 16:15:40 UTC 2017


Source: libcatmandu-store-mongodb-perl
Version: 0.0501-1
Severity: serious
Tags: buster sid

Some recent change in unstable makes libcatmandu-store-mongodb-perl FTBFS:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libcatmandu-store-mongodb-perl.html

...
cd . && perl -I. Build.PL --installdirs vendor --config ccflags="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" --config cxxflags="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security" --config cppflags="-Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include" --config lddlflags="-Wl,-z,relro -shared -L/usr/local/lib -fstack-protector-strong" --destdir /build/1st/libcatmandu-store-mongodb-perl-0.0501/debian/libcatmandu-store-mongodb-perl
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Catmandu-Store-MongoDB' version '0.0501'
cd . && ./Build build
Building Catmandu-Store-MongoDB
touch debian/stamp-perl-build
cd  . && ./Build test  --verbose 1
t/00-load.t ............. 
ok 1 - require Catmandu::Store::MongoDB;
ok 2 - require Catmandu::Store::MongoDB::Bag;
ok 3 - require Catmandu::Store::MongoDB::Searcher;
1..3
ok
t/01-store.t ............ skipped: no mongod on localhost:27017 and $ENV{MONGOD} not set

#   Failed test 'expecting to throw a MongoDB::SelectionError'
#   at t/02-connect.t line 24.
# expecting: MongoDB::SelectionError
# found: Can't locate object method "first" via package "Catmandu::Store::MongoDB" at t/02-connect.t line 24.
# Looks like you failed 1 test of 5.
t/02-connect.t .......... 
ok 1 - require Catmandu::Store::MongoDB;
ok 2 - require Catmandu::Store::MongoDB::Bag;
ok 3 - require Catmandu::Store::MongoDB::Searcher;
ok 4 - expecting to die
not ok 5 - expecting to throw a MongoDB::SelectionError
1..5
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests 
t/03-deprecated.t ....... 
ok 1 - warning for deprecated connection parameters
1..1
ok
t/04-cql-parser.t ....... 
ok 1 - require Catmandu::Store::MongoDB::CQL;
ok 2 - CQL parser created
ok 3 - cql - term query on unpermitted relation must die
ok 4 - cql - term query on unpermitted index must die
ok 5 - cql - term query - relation =
ok 6 - cql - term query - default index
ok 7 - cql - term query - <>
ok 8 - cql - term query - exact
ok 9 - cql - term query - any
ok 10 - cql - term query - any with wildcard
ok 11 - cql - term query - any unmasked
ok 12 - cql - term query - all
ok 13 - cql - term query - all with wildcard
ok 14 - cql - term query - all unmasked
ok 15 - cql - term query - field mapping 1
ok 16 - cql - term query - field mapping 2
ok 17 - cql - term query - >
ok 18 - cql - term query - <
ok 19 - cql - term query - >=
ok 20 - cql - term query - <=
ok 21 - cql - term query - within
ok 22 - cql - boolean query - and
ok 23 - cql - boolean query - or
ok 24 - cql - boolean query - not
ok 25 - cql - boolean query - not all
ok 26 - cql - boolean query - not boolean or
ok 27 - cql - boolean query - not boolean and
ok 28 - cql - filter term field 1
ok 29 - cql - filter term field 2
ok 30 - cql - cb term field 1
ok 31 - cql - cb term field 2
1..31
ok
t/release-pod-syntax.t .. skipped: these tests are for release candidate testing

Test Summary Report
-------------------
t/02-connect.t        (Wstat: 256 Tests: 5 Failed: 1)
  Failed test:  5
  Non-zero exit status: 1
Files=6, Tests=40, 18 wallclock secs ( 0.05 usr  0.03 sys +  8.64 cusr  0.64 csys =  9.36 CPU)
Result: FAIL
Failed 1/6 test programs. 1/40 subtests failed.
/usr/share/cdbs/1/class/perl-build.mk:84: recipe for target 'debian/stamp-perl-check' failed
make: *** [debian/stamp-perl-check] Error 255



More information about the pkg-perl-maintainers mailing list