Skip to content

Make tests fail on Ubuntu 16.04.6 when installing by CPAN

Full output:

cpan[2]> install Linux::Systemd::Journal::Write
Running install for module 'Linux::Systemd::Journal::Write'
  IOANR/Linux-Systemd-1.191790.tar.gz
  Has already been unwrapped into directory /home/danc/.cpan/build/Linux-Systemd-1.191790-X3ZwR6
  IOANR/Linux-Systemd-1.191790.tar.gz
  Has already been prepared
  IOANR/Linux-Systemd-1.191790.tar.gz
  Has already been made
Running Build test
t/00-check-deps.t ...... ok
t/00-compile.t ......... ok
t/00-report-prereqs.t .. #
# Versions for all modules listed in MYMETA.json (including optional ones):
#
# === Configure Requires ===
#
#     Module              Want   Have
#     ------------------- ---- ------
#     ExtUtils::PkgConfig  any   1.15
#     Module::Build       0.28 0.4220
#
# === Build Requires ===
#
#     Module             Want     Have
#     ------------------ ---- --------
#     ExtUtils::CBuilder  any 0.280221
#     Module::Build      0.28   0.4220
#
# === Test Requires ===
#
#     Module               Want     Have
#     ------------------- ----- --------
#     ExtUtils::MakeMaker   any  7.04_01
#     File::Spec            any     3.56
#     IO::Handle            any     1.35
#     IPC::Open3            any     1.18
#     Test::CheckDeps     0.010    0.010
#     Test::Fatal           any    0.014
#     Test::More           0.94 1.001014
#     strict                any     1.09
#     warnings              any     1.34
#
# === Test Recommends ===
#
#     Module         Want     Have
#     ---------- -------- --------
#     CPAN::Meta 2.120900 2.150001
#
# === Runtime Requires ===
#
#     Module         Want     Have
#     -------------- ---- --------
#     Carp            any     1.36
#     Exporter        any     5.73
#     File::Basename  any     2.85
#     Moo             any 2.003000
#     XSLoader        any     0.24
#     strictures        2 2.000003
#
t/00-report-prereqs.t .. ok
t/daemon.t ............. 1/? The plan was already output at /usr/share/perl/5.22/Test/Builder.pm line 2510.
t/daemon.t ............. All 3 subtests passed
t/journal/read.t ....... ok
t/journal/write.t ...... ok

Test Summary Report
-------------------
t/daemon.t           (Wstat: 0 Tests: 3 Failed: 0)
  Parse errors: More than one plan found in TAP output
Files=6, Tests=41,  0 wallclock secs ( 0.04 usr  0.00 sys +  0.46 cusr  0.06 csys =  0.56 CPU)
Result: FAIL
Failed 1/6 test programs. 0/41 subtests failed.
  IOANR/Linux-Systemd-1.191790.tar.gz
  ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports IOANR/Linux-Systemd-1.191790.tar.gz
Failed during this command:
 IOANR/Linux-Systemd-1.191790.tar.gz          : make_test NO
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information