Bug#968362: FTBFS: test failures on some architectures
gregor herrmann
gregoa at debian.org
Thu Aug 13 16:09:34 BST 2020
Source: libmaxmind-db-writer-perl
Version: 0.300003-1
Severity: serious
Tags: upstream ftbfs
Justification: fails to build from source (but built successfully in the past)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
libmaxmind-db-writer-perl never built on all architectures:
https://buildd.debian.org/status/logs.php?pkg=libmaxmind-db-writer-perl
The history of the uploads goes like this:
0.300003-1: testsuite disabled
Result: successful build on all architectures where all build dependencies
are available (esp. libmath-int128-perl is missing on quite a few).
0.300003-2: testsuite enabled but tests needing Test::HexDifferences
skipped (as it was not yet packaged)
Result: additional failures in the tests on ppc64, s390x, sparc64
As (only) s390x is a release architecture, the package never migrated
to testing.
0.300003-3: all tests are run after libtest-hexdifferences entered
the archive.
Result: same as for 0.300003-2
Logs of the failures (for 0.300003-3):
ppc64:
https://buildd.debian.org/status/fetch.php?pkg=libmaxmind-db-writer-perl&arch=ppc64&ver=0.300003-3&stamp=1596597051&raw=0
sparc64:
https://buildd.debian.org/status/fetch.php?pkg=libmaxmind-db-writer-perl&arch=sparc64&ver=0.300003-3&stamp=1596597463&raw=0
s390x:
https://buildd.debian.org/status/fetch.php?pkg=libmaxmind-db-writer-perl&arch=s390x&ver=0.300003-3&stamp=1596578449&raw=0
The failing tests are always the same, quoting from the s390x log:
# Failed test 'No tests run for subtest "Tree with 256 networks - IPv4 only - 24-bit records"'
# at t/MaxMind/DB/Writer/Tree-freeze-thaw.t line 62.
Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 600 at /<<PKGBUILDDIR>>/blib/lib/MaxMind/DB/Writer/Tree.pm line 403.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 1.
t/MaxMind/DB/Writer/Tree-freeze-thaw.t .....................
# Subtest: Tree with 256 networks - IPv4 only - 24-bit records
1..0
not ok 1 - No tests run for subtest "Tree with 256 networks - IPv4 only - 24-bit records"
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests
[…]
Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 600 at /<<PKGBUILDDIR>>/blib/lib/MaxMind/DB/Writer/Tree.pm line 403.
t/MaxMind/DB/Writer/Tree-output/freeze-thaw-record-size.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
[…]
Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 600 at /<<PKGBUILDDIR>>/blib/lib/MaxMind/DB/Writer/Tree.pm line 403.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 21.
t/MaxMind/DB/Writer/Tree-record-collisions.t ...............
[…]
Dubious, test returned 255 (wstat 65280, 0xff00)
All 21 subtests passed
[…]
# Failed test 'Run without exceptions'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 86.
# Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 600 at /<<PKGBUILDDIR>>/blib/lib/MaxMind/DB/Writer/Tree.pm line 403.
# Looks like you failed 1 test of 1.
# Failed test 'check defaults work'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 89.
# Failed test 'Run without exceptions'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 86.
# Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 600 at /<<PKGBUILDDIR>>/blib/lib/MaxMind/DB/Writer/Tree.pm line 403.
# Looks like you failed 1 test of 1.
# Failed test 'check no merging explictly'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 89.
# Failed test 'Run without exceptions'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 86.
# Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 600 at /<<PKGBUILDDIR>>/blib/lib/MaxMind/DB/Writer/Tree.pm line 403.
# Looks like you failed 1 test of 1.
# Failed test 'check no merging and none explictly'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 89.
# Failed test 'Run without exceptions'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 86.
# Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 600 at /<<PKGBUILDDIR>>/blib/lib/MaxMind/DB/Writer/Tree.pm line 403.
# Looks like you failed 1 test of 1.
# Failed test 'set mrc in constructor, toplevel in thaw'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 89.
# Failed test 'Run without exceptions'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 86.
# Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 600 at /<<PKGBUILDDIR>>/blib/lib/MaxMind/DB/Writer/Tree.pm line 403.
# Looks like you failed 1 test of 1.
# Failed test 'set toplevel in constructor'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 89.
# Failed test 'Run without exceptions'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 86.
# Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 600 at /<<PKGBUILDDIR>>/blib/lib/MaxMind/DB/Writer/Tree.pm line 403.
# Looks like you failed 1 test of 1.
# Failed test 'set recurse in constructor'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 89.
# Failed test 'Run without exceptions'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 86.
# Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 600 at /<<PKGBUILDDIR>>/blib/lib/MaxMind/DB/Writer/Tree.pm line 403.
# Looks like you failed 1 test of 1.
# Failed test 'set mrc only in constructor'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 89.
# Failed test 'Run without exceptions'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 86.
# Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 600 at /<<PKGBUILDDIR>>/blib/lib/MaxMind/DB/Writer/Tree.pm line 403.
# Looks like you failed 1 test of 1.
# Failed test 'set toplevel only in constructor'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 89.
# Failed test 'Run without exceptions'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 86.
# Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 600 at /<<PKGBUILDDIR>>/blib/lib/MaxMind/DB/Writer/Tree.pm line 403.
# Looks like you failed 1 test of 1.
# Failed test 'set recurse only in constructor'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 89.
# Failed test 'Run without exceptions'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 86.
# Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 600 at /<<PKGBUILDDIR>>/blib/lib/MaxMind/DB/Writer/Tree.pm line 403.
# Looks like you failed 1 test of 1.
# Failed test 'set toplevel only in thaw'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 89.
# Failed test 'Run without exceptions'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 86.
# Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 600 at /<<PKGBUILDDIR>>/blib/lib/MaxMind/DB/Writer/Tree.pm line 403.
# Looks like you failed 1 test of 1.
# Failed test 'set mrc off in constructor, toplevel in thaw'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 89.
# Failed test 'Run without exceptions'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 86.
# Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 600 at /<<PKGBUILDDIR>>/blib/lib/MaxMind/DB/Writer/Tree.pm line 403.
# Looks like you failed 1 test of 1.
# Failed test 'set none in constructor, toplevel only in thaw'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 89.
# Failed test 'Run without exceptions'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 86.
# Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 600 at /<<PKGBUILDDIR>>/blib/lib/MaxMind/DB/Writer/Tree.pm line 403.
# Looks like you failed 1 test of 1.
# Failed test 'set recurse only in thaw'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 89.
# Failed test 'Run without exceptions'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 86.
# Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 600 at /<<PKGBUILDDIR>>/blib/lib/MaxMind/DB/Writer/Tree.pm line 403.
# Looks like you failed 1 test of 1.
# Failed test 'set mrc off in constructor, recurse in thaw'
# at t/MaxMind/DB/Writer/Tree-thaw-merge.t line 89.
# Looks like you failed 14 tests of 15.
t/MaxMind/DB/Writer/Tree-thaw-merge.t ......................
# Subtest: check defaults work
not ok 1 - Run without exceptions
1..1
not ok 1 - check defaults work
# Subtest: check no merging explictly
not ok 1 - Run without exceptions
1..1
not ok 2 - check no merging explictly
# Subtest: check no merging and none explictly
not ok 1 - Run without exceptions
1..1
not ok 3 - check no merging and none explictly
# Subtest: set mrc in constructor, toplevel in thaw
not ok 1 - Run without exceptions
1..1
not ok 4 - set mrc in constructor, toplevel in thaw
# Subtest: set toplevel in constructor
not ok 1 - Run without exceptions
1..1
not ok 5 - set toplevel in constructor
# Subtest: set recurse in constructor
not ok 1 - Run without exceptions
1..1
not ok 6 - set recurse in constructor
# Subtest: set mrc only in constructor
not ok 1 - Run without exceptions
1..1
not ok 7 - set mrc only in constructor
# Subtest: set toplevel only in constructor
not ok 1 - Run without exceptions
1..1
not ok 8 - set toplevel only in constructor
# Subtest: set recurse only in constructor
not ok 1 - Run without exceptions
1..1
not ok 9 - set recurse only in constructor
# Subtest: set toplevel only in thaw
not ok 1 - Run without exceptions
1..1
not ok 10 - set toplevel only in thaw
# Subtest: set mrc off in constructor, toplevel in thaw
not ok 1 - Run without exceptions
1..1
not ok 11 - set mrc off in constructor, toplevel in thaw
# Subtest: set none in constructor, toplevel only in thaw
not ok 1 - Run without exceptions
1..1
not ok 12 - set none in constructor, toplevel only in thaw
# Subtest: set recurse only in thaw
not ok 1 - Run without exceptions
1..1
not ok 13 - set recurse only in thaw
# Subtest: set mrc off in constructor, recurse in thaw
not ok 1 - Run without exceptions
1..1
not ok 14 - set mrc off in constructor, recurse in thaw
ok 15 - no (unexpected) warnings (via done_testing)
1..15
Dubious, test returned 14 (wstat 3584, 0xe00)
Failed 14/15 subtests
[…]
Test Summary Report
- -------------------
t/MaxMind/DB/Writer/Tree-freeze-thaw.t (Wstat: 65280 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/MaxMind/DB/Writer/Tree-output/freeze-thaw-record-size.t (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/MaxMind/DB/Writer/Tree-record-collisions.t (Wstat: 65280 Tests: 21 Failed: 0)
Non-zero exit status: 255
Parse errors: No plan found in TAP output
t/MaxMind/DB/Writer/Tree-thaw-merge.t (Wstat: 3584 Tests: 15 Failed: 14)
Failed tests: 1-14
Non-zero exit status: 14
Files=39, Tests=446, 16 wallclock secs ( 0.19 usr 0.02 sys + 9.19 cusr 0.52 csys = 9.92 CPU)
Result: FAIL
Failed 4/39 test programs. 15/446 subtests failed.
So basically always the same:
Sereal: Error: Bad Sereal header: Not a valid Sereal document. at offset 1 of input at srl_decoder.c line 600 at /<<PKGBUILDDIR>>/blib/lib/MaxMind/DB/Writer/Tree.pm line 403.
The tests were run with libsereal-{de,}encoder-perl 4.018+ds-1, srl_decoder.c
is in libsereal-decoder-perl.
Cheers,
gregor
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAl81V65fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgZe6w/5AetrfTe9hPzXy+IO7FpaTU7KL43i+0XxEew9XCJpufs71Ijoumz9pd/F
CTTAl26cCBnKu6jl7FHrRWo/A1/GhcGJ+4nIHxZf5mNF9a3+RdGOr12sl/pfYlA4
4t7cFIMOBUg044q6hYE2GbK7j5tcw6Xp3ldoVczKDoI2ctwzaASNYoXd4fXfCbse
IWwlg03y8AplfgrcI2Qb564nJ49r84Zipb1EGVQ9QrKjLvAifK+AFupsmr2vmthI
WZjWA89ItbbmK6pBiGm6F2I0Hf1pxGSz0N8eR1zp+RLT6GaHlWNSpCUi5xVLPC8W
oknE4jEzOHfVfEMT/Im7Oa5rKSDWL1wHoZG+Lk9ezSOT+AnbayGeddh1pV3IX2c7
6OiUQXQwwXEgBrTpa8iwi5ZnqnA9YaxPZT6u+QmZnoewIDKGxFwakhYoIbFE/FPh
NkAf1WhtK836VHkHuNtCK4C1pH8UJLML6xj/IIipP5/QaSiNqGUYWscZvyGLb3hy
bz1P4tixTUUSPSxcDXPQBPvyVO9FEPMLxWZhp24ZiUy3w72XzX0HPPOtKIwnZ0oS
RFspddxyywcVqlDdyQi7naa2dG4qq+fPFw27iaOpzZn7n6hYmJbm4yi5INFthDYf
UWvGdjeYuAGIqjH+/umkRFfL8h8YkuMeoZTxWuI240NAP0oLwcQ=
=gTlK
-----END PGP SIGNATURE-----
More information about the pkg-perl-maintainers
mailing list