Bug#1093340: libcatmandu-filestore-perl: FTBFS: Failed 1/19 test programs. 3/340 subtests failed.
Santiago Vila
sanvila at debian.org
Fri Jan 17 18:53:34 GMT 2025
Package: src:libcatmandu-filestore-perl
Version: 1.16-2
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
/usr/bin/perl Build.PL --installdirs vendor --config "optimize=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2" --config "ld=x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro"
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Catmandu-FileStore' version '1.16'
dh_auto_build
/usr/bin/perl Build
Building Catmandu-FileStore
dh_auto_test
/usr/bin/perl Build test --verbose 1
# Failed test 'threw no exceptions'
# at t/Catmandu-Cmd-stream.t line 34.
# got: 'Catmandu-Cmd-stream.t stream [-?DhILv] [long options...]
# --help (or -h) print this usage screen
# aka -?
# --debug[=INT] (or -D)
# --load_path STR... (or -L)
# --lib_path STR... (or -I)
# --verbose (or -v)
# --delete delete existing items first
# '
# expected: undef
# Failed test 'threw no exceptions'
# at t/Catmandu-Cmd-stream.t line 47.
# got: 'Catmandu-Cmd-stream.t stream [-?DhILv] [long options...]
# --help (or -h) print this usage screen
# aka -?
# --debug[=INT] (or -D)
# --load_path STR... (or -L)
# --lib_path STR... (or -I)
# --verbose (or -v)
# --delete delete existing items first
# '
# expected: undef
# Failed test 'found the correct file'
# at t/Catmandu-Cmd-stream.t line 49.
# Looks like you failed 3 tests of 6.
t/Catmandu-Cmd-stream.t ...............
ok 1 - use Catmandu::Cmd::stream;
ok 2 - require Catmandu::Cmd::stream;
# download
not ok 3 - threw no exceptions
# upload
ok 4
not ok 5 - threw no exceptions
not ok 6 - found the correct file
1..6
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/6 subtests
t/Catmandu-DirectoryIndex-Map.t .......
ok 1 - use Catmandu::DirectoryIndex::Map;
ok 2 - require Catmandu::DirectoryIndex::Map;
ok 3 - require Catmandu::Store::Hash;
ok 4 - bag must be Catmandu::Bag (1)
ok 5 - bag must be Catmandu::Bag (2)
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
ok 17
1..17
ok
t/Catmandu-DirectoryIndex-Number.t ....
ok 1 - use Catmandu::DirectoryIndex::Number;
ok 2 - require Catmandu::DirectoryIndex::Number;
ok 3 - keysize must be a multiple of 3
ok 4
ok 5 - ids must be natural numbers
ok 6 - ids must be bigger or equal to zero
ok 7 - ids must fit into configured keysize
ok 8
ok 9 - get returns mapping
ok 10 - number are converted to left padded strings
ok 11 - left padded strings are ok if they respect the keysize
ok 12 - path index contains 3 mappings now
ok 13 - delete directory
ok 14 - delete all directories
ok 15 - list of entries should be empty now
ok 16 - invalid mappings trigger an error
1..16
ok
t/Catmandu-DirectoryIndex-UUID.t ......
ok 1 - use Catmandu::DirectoryIndex::UUID;
ok 2 - require Catmandu::DirectoryIndex::UUID;
ok 3
ok 4 - ids must be valid UUID's
ok 5 - valid UUID added
ok 6 - UUID's are normalized to uppercase
ok 7 - get returns mapping
ok 8 - path index contains 2 mappings now
ok 9 - delete directory
ok 10 - delete all directories
ok 11 - list of entries should be empty now
ok 12 - invalid mappings trigger an error
1..12
ok
t/Catmandu-DirectoryIndex.t ...........
ok 1 - use Catmandu::DirectoryIndex;
ok 2 - require Catmandu::DirectoryIndex;
ok 3 - method get missing
ok 4 - method add missing
ok 5 - method delete missing
ok 6 - method delete_all missing
ok 7 - method generator missing
ok 8 - new without base_dir should fail
ok 9 - new with base_dir should succeed
ok 10 - T::DirectoryIndex->can('base_dir')
1..10
ok
t/Catmandu-FileBag-Index.t ............
ok 1 - use Catmandu::FileBag::Index;
ok 2 - require Catmandu::FileBag::Index;
1..2
ok
t/Catmandu-FileBag.t ..................
ok 1 - use Catmandu::FileBag;
ok 2 - require Catmandu::FileBag;
1..2
ok
t/Catmandu-FileStore.t ................
ok 1 - use Catmandu::FileStore;
ok 2 - require Catmandu::FileStore;
# create a new store
ok 3 - T::Store->can('bag_class')
ok 4 - T::Store->can('default_bag')
ok 5 - T::Store->can('bag')
ok 6 - T::Store->can('index')
ok 7
ok 8
# create a custom store
ok 9
ok 10
ok 11 - An object of class 'T::CustomIndexClass' isa 'T::CustomIndexClass'
ok 12
ok 13
ok 14
ok 15 - unkown bag
# options
ok 16 - options are passed to bag
ok 17 - store can't be overriden
ok 18 - name can't be overriden
# default options
ok 19
ok 20
# plugins
ok 21 - apply plugins
ok 22 - apply default plugins
ok 23 - prepend default plugins
1..23
ok
t/Catmandu-Plugin-SideCar.t ...........
ok 1 - use Catmandu::Plugin::SideCar;
ok 2 - require Catmandu::Plugin::SideCar;
# Combined Simple + Hash sidecar
ok 3 - got a store
ok 4 - got an index
# ...exists
ok 5
# ...add
ok 6 - adding bag `9012`
ok 7
# ...get
ok 8
ok 9 - found combined metadata and file data
# ...bag
ok 10 - got bag(9012)
# ...upload
ok 11
ok 12 - test1.txt exists (2)
# ...list
ok 13 - list got a response
ok 14 - got correct response
# ...exists
ok 15 - exists(test1.txt)
# ...get
ok 16
# ...stream
ok 17 - can stream the data
ok 18 - got the correct data
# ...delete_all (bag)
ok 19 - delete_all
ok 20 - got correct response
ok 21 - test1.txt doesnt exists (2)
# ...delete_all (index)
ok 22 - delete_all
ok 23 - got correct response
# Combined Hash + Simple sidecar
ok 24 - got a store
ok 25 - adding a record
# ...upload
ok 26
ok 27 - test1.txt exists (2)
# ...get
ok 28
# ...stream
ok 29 - can stream the data
ok 30 - got the correct data
# ...drop
ok 31 - delete_all
ok 32 - got correct response
1..32
ok
Attempt to call undefined import method with arguments ("is_string") via package "Catmandu::Util" (Perhaps you forgot to load the package?) at /usr/share/perl5/Catmandu/Error.pm line 47.
t/Catmandu-Store-File-Memory-Bag.t ....
ok 1 - use Catmandu::Store::File::Memory::Bag;
ok 2 - require Catmandu::Store::File::Memory::Bag;
ok 3 - got a store
ok 4 - got an index
ok 5 - adding bag `8012`
ok 6 - got bag(8012)
# add
ok 7 - upload test1.txt
ok 8 - 16 bytes
ok 9 - upload test2.txt
ok 10 - 6 bytes
ok 11 - upload test3.txt
ok 12 - 6 bytes
# list
ok 13 - list got a response
ok 14 - got correct response
# exists
ok 15 - exists(test1.txt)
ok 16 - exists(test2.txt)
ok 17 - exists(test3.txt)
# get
ok 18 - get(test1.txt)
ok 19 - get(test2.txt)
ok 20 - get(test3.txt)
ok 21 - can stream the data
ok 22 - got 16 bytes data
ok 23 - got the correct data
# delete
ok 24 - delete(test1.txt)
ok 25 - list got a response
ok 26 - got correct response
# delete_all
ok 27 - delete_all
ok 28 - got correct response
1..28
ok
t/Catmandu-Store-File-Memory-Index.t ..
ok 1 - use Catmandu::Store::File::Memory::Index;
ok 2 - require Catmandu::Store::File::Memory::Index;
# index
ok 3 - got the index bag
# add
ok 4 - add({_id => 1})
ok 5 - add({_id => 2})
ok 6 - add({_id => 3})
# list
ok 7 - list got a response
ok 8 - got correct response
# exists
ok 9 - exists(1)
ok 10 - exists(2)
ok 11 - exists(3)
# get
ok 12 - get(1)
ok 13 - get(2)
ok 14 - get(3)
# delete
ok 15 - delete(1)
# delete_all
ok 16 - delete_all
ok 17 - got correct response
1..17
ok
t/Catmandu-Store-File-Memory.t ........
ok 1 - use Catmandu::Store::File::Memory;
ok 2 - require Catmandu::Store::File::Memory;
ok 3 - got a store
ok 4 - store->bag()
ok 5 - An object of class 'Catmandu::Store::File::Memory::Index' isa 'Catmandu::Store::File::Memory::Index'
ok 6 - create memory store
ok 7 - adding `1234` bag
ok 8 - bag(1235) doesnt exist
ok 9 - bag(1234) exists
1..9
ok
t/Catmandu-Store-File-Multi-Bag.t .....
ok 1 - use Catmandu::Store::File::Multi::Bag;
ok 2 - require Catmandu::Store::File::Multi::Bag;
ok 3 - got a store
ok 4 - got an index
ok 5 - adding bag `7012`
ok 6 - got bag(7012)
# add
ok 7 - upload test1.txt
ok 8 - 16 bytes
ok 9 - test1.txt exists
ok 10 - test1.txt exists
ok 11 - upload test2.txt
ok 12 - 6 bytes
ok 13 - test2.txt exists
ok 14 - test1.txt exists
ok 15 - upload test3.txt
ok 16 - 6 bytes
ok 17 - test3.txt exists
ok 18 - test1.txt exists
ok 19 - add({ ..test4.. })
ok 20 - $data->{size}
# list
ok 21 - list got a response
ok 22 - got correct response
# exists
ok 23 - exists(test1.txt)
ok 24 - exists(test2.txt)
ok 25 - exists(test3.txt)
ok 26 - exists(test4.txt)
# get
ok 27 - get(test1.txt)
ok 28 - get(test2.txt)
ok 29 - get(test3.txt)
ok 30 - can stream the data
ok 31 - got the correct data
# delete
ok 32 - delete(test1.txt)
ok 33 - list got a response
ok 34 - got correct response
# ...delete_all (index)
ok 35 - delete_all
ok 36 - got correct response
1..36
ok
t/Catmandu-Store-File-Multi-Index.t ...
ok 1 - use Catmandu::Store::File::Multi::Index;
ok 2 - require Catmandu::Store::File::Multi::Index;
# index
ok 3 - got the index bag
# list
ok 4 - list got a response
ok 5 - got correct response
# exists
ok 6 - exists(1)
ok 7 - exists(01)
ok 8 - exists(2)
ok 9 - exists(002)
ok 10 - exists(3)
ok 11 - exists(0003)
# get
ok 12 - get(1)
ok 13 - get(01)
ok 14 - get(2)
ok 15 - get(002)
ok 16 - get(3)
ok 17 - get(0003)
# add
ok 18 - failed to add(abcd)
ok 19 - failed to add(1234567890)
ok 20 - failed to add(00000000001234)
ok 21 - add(1234)
ok 22 - found a container on disk
# delete
ok 23 - delete(1234)
ok 24 - container on disk was deleted
# delete_all
ok 25 - delete_all
1..25
ok
t/Catmandu-Store-File-Multi.t .........
ok 1 - use Catmandu::Store::File::Multi;
ok 2 - require Catmandu::Store::File::Multi;
# Simple stores
ok 3 - got a store
ok 4 - got an index
# ...exists
ok 5
# ...add
ok 6 - adding bag `6012`
ok 7
ok 8
# ...bag
ok 9 - got bag(6012)
# ...upload
ok 10
ok 11 - test1.txt exists (1)
ok 12 - test1.txt exists (2)
# ...list
ok 13 - list got a response
ok 14 - got correct response
# ...exists
ok 15 - exists(test1.txt)
# ...get
ok 16
# ...stream
ok 17 - can stream the data
ok 18 - got the correct data
# ...delete_all (bag)
ok 19 - delete_all
ok 20 - got correct response
ok 21 - test1.txt doesnt exists (1)
ok 22 - test1.txt doesnt exists (2)
# ...delete_all (index)
ok 23 - delete_all
ok 24 - got correct response
1..24
ok
t/Catmandu-Store-File-Simple-Bag.t ....
ok 1 - use Catmandu::Store::File::Simple::Bag;
ok 2 - require Catmandu::Store::File::Simple::Bag;
ok 3 - got a store
ok 4 - got an index
ok 5 - adding bag `1234`
ok 6 - got bag(1234)
# add
ok 7 - upload test1.txt
ok 8 - 16 bytes
ok 9 - test1.txt exists
ok 10 - upload test2.txt
ok 11 - 6 bytes
ok 12 - test2.txt exists
ok 13 - upload test3.txt
ok 14 - 6 bytes
ok 15 - test3.txt exists
ok 16 - add({ ..test3.. })
ok 17 - $data->{size}
# list
ok 18 - list got a response
ok 19 - got correct response
# exists
ok 20 - exists(test1.txt)
ok 21 - exists(test2.txt)
ok 22 - exists(test3.txt)
# get
ok 23 - get(test1.txt)
ok 24 - get(test2.txt)
ok 25 - get(test3.txt)
ok 26 - can stream the data
ok 27 - got the correct data
ok 28 - can stream the data
ok 29 - got correct byte count
ok 30 - got the correct data
ok 31 - can stream the data to null
ok 32 - can stream the data to string
ok 33 - got the correct data
# delete
ok 34 - delete(test1.txt)
ok 35 - list got a response
ok 36 - got correct response
# delete_all
ok 37 - delete_all
ok 38 - got correct response
1..38
ok
t/Catmandu-Store-File-Simple-Index.t ..
ok 1 - use Catmandu::Store::File::Simple::Index;
ok 2 - require Catmandu::Store::File::Simple::Index;
# index
ok 3 - got the index bag
# list
ok 4 - list got a response
ok 5 - got correct response
# exists
ok 6 - exists(1)
ok 7 - exists(01)
ok 8 - exists(2)
ok 9 - exists(002)
ok 10 - exists(3)
ok 11 - exists(0003)
# get
ok 12 - get(1)
ok 13 - get(01)
ok 14 - get(2)
ok 15 - get(002)
ok 16 - get(3)
ok 17 - get(0003)
# add
ok 18 - failed to add(abcd)
ok 19 - failed to add(1234567890)
ok 20 - failed to add(00000000001234)
ok 21 - add(1234)
ok 22 - found a container on disk
# delete
ok 23 - delete(1234)
ok 24 - container on disk was deleted
# delete_all
ok 25 - delete_all
1..25
ok
t/Catmandu-Store-File-Simple.t ........
ok 1 - use Catmandu::Store::File::Simple;
ok 2 - require Catmandu::Store::File::Simple;
ok 3 - dies ok on not enough parameters
ok 4 - got a store
ok 5 - store->bag()
ok 6 - An object of class 'Catmandu::Store::File::Simple::Index' isa 'Catmandu::Store::File::Simple::Index'
ok 7 - directory_index->add(1234)
ok 8 - directory_index->add(0001234)
ok 9 - directory_index->delete(000001234)
ok 10 - directory_index->add(00000001234) must die
ok 11 - bag(1235) doesnt exist
ok 12 - bag(1) exists
ok 13 - dies on wrong keysize
ok 14 - keysize ok
ok 15 - delete_all
ok 16
ok 17 - index->add(018970A2-B1E8-11DF-A2E0-A70579F64438)
ok 18
1..18
ok
t/author-pod-syntax.t ................. skipped: these tests are for testing by the author
Test Summary Report
-------------------
t/Catmandu-Cmd-stream.t (Wstat: 768 (exited 3) Tests: 6 Failed: 3)
Failed tests: 3, 5-6
Non-zero exit status: 3
Files=19, Tests=340, 3 wallclock secs ( 0.03 usr 0.03 sys + 2.62 cusr 0.42 csys = 3.10 CPU)
Result: FAIL
Failed 1/19 test programs. 3/340 subtests failed.
dh_auto_test: error: /usr/bin/perl Build test --verbose 1 returned exit code 255
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202501/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:libcatmandu-filestore-perl, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the pkg-perl-maintainers
mailing list