Bug#1002782: libconfig-model-backend-augeas-perl: FTBFS: dh_auto_test: error: /usr/bin/perl Build test --verbose 1 returned exit code 255

Lucas Nussbaum lucas at debian.org
Tue Dec 28 20:16:18 GMT 2021


Source: libconfig-model-backend-augeas-perl
Version: 0.125-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211228 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  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 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" --config "ld=x86_64-linux-gnu-gcc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro"
> Note: Augeas integration tests require Augeas library > 0.3.3
> 
> Created MYMETA.yml and MYMETA.json
> Creating new 'Build' script for 'Config-Model-Backend-Augeas' version '0.125'
>    dh_auto_build
> 	/usr/bin/perl Build
> Building Config-Model-Backend-Augeas
>    dh_auto_test
> 	/usr/bin/perl Build test --verbose 1
> 
> #   Failed test 'check content of wr_root/augeas_backend/etc/ssh/sshd_config after Match~1'
> #   at t/augeas_backend.t line 226.
> #     Structures begin differing at:
> #          $got->[32] = 'Match User bush Group pres.* Host "white.house.*"
> #     '
> #     $expected->[32] = 'Match User bush Group pres.* Host white.house.*
> #     '
> 
> #   Failed test 'check content of wr_root/augeas_backend/etc/ssh/sshd_config after Match:2 ...'
> #   at t/augeas_backend.t line 237.
> # +----+------------------------------------------------------+----------------------------------------------------+
> # | Elt|Got                                                   |Expected                                            |
> # +----+------------------------------------------------------+----------------------------------------------------+
> # |  62|',                                                    |',                                                  |
> # |  63|  '# un commentaire                                   |  '# un commentaire                                 |
> # |  64|',                                                    |',                                                  |
> # *  65|  'Match User bush Group pres.* Host "white.house.*"  |  'Match User bush Group pres.* Host white.house.*  *
> # |  66|',                                                    |',                                                  |
> # |  67|  'Banner /etc/welcome.txt                            |  'Banner /etc/welcome.txt                          |
> # |  68|',                                                    |',                                                  |
> # +----+------------------------------------------------------+----------------------------------------------------+
> # |  70|',                                                    |',                                                  |
> # |  71|  '# some comment                                     |  '# some comment                                   |
> # |  72|',                                                    |',                                                  |
> # *  73|  'Match User "sarko" Group "pres.*"                  |  'Match User sarko Group pres.*                    *
> # |  74|',                                                    |',                                                  |
> # |  75|  'Banner /etc/bienvenue2.txt                         |  'Banner /etc/bienvenue2.txt                       |
> # |  76|'                                                     |'                                                   |
> # +----+------------------------------------------------------+----------------------------------------------------+
> 
> #   Failed test 'check content of wr_root/augeas_backend/etc/ssh/sshd_config after Match:2 AllowTcpForwarding=yes'
> #   at t/augeas_backend.t line 249.
> # +----+------------------------------------------------------+----------------------------------------------------+
> # | Elt|Got                                                   |Expected                                            |
> # +----+------------------------------------------------------+----------------------------------------------------+
> # |  62|',                                                    |',                                                  |
> # |  63|  '# un commentaire                                   |  '# un commentaire                                 |
> # |  64|',                                                    |',                                                  |
> # *  65|  'Match User bush Group pres.* Host "white.house.*"  |  'Match User bush Group pres.* Host white.house.*  *
> # |  66|',                                                    |',                                                  |
> # |  67|  'Banner /etc/welcome.txt                            |  'Banner /etc/welcome.txt                          |
> # |  68|',                                                    |',                                                  |
> # +----+------------------------------------------------------+----------------------------------------------------+
> # |  70|',                                                    |',                                                  |
> # |  71|  '# some comment                                     |  '# some comment                                   |
> # |  72|',                                                    |',                                                  |
> # *  73|  'Match User "sarko" Group "pres.*"                  |  'Match User sarko Group pres.*                    *
> # |  74|',                                                    |',                                                  |
> # |  75|  'AllowTcpForwarding yes                             |  'AllowTcpForwarding yes                           |
> # |  76|',                                                    |',                                                  |
> # +----+------------------------------------------------------+----------------------------------------------------+
> # Looks like you failed 3 tests of 18.
> t/augeas_backend.t ....... 
> 1..18
> ok 1 - compiled
> # Running tests in wr_root/augeas_backend
> ok 2 - Created instance for /etc/hosts
> ok 3 - check dump of augeas data
> ok 4 - /etc/hosts write back done
> ok 5 - check that backup config file wr_root/augeas_backend/etc/hosts.augsave was written
> ok 6 - check content of wr_root/augeas_backend/etc/hosts
> ok 7 - Check nb of hosts in Augeas
> ok 8 - /etc/hosts write back after deletion of record~3 (goner) done
> ok 9 - Check nb of hosts in Augeas after deletion
> ok 10 - check content of wr_root/augeas_backend/etc/hosts after deletion of goner
> ok 11 - Created instance for sshd
> ok 12 - Created instance for /etc/ssh/sshd_config
> ok 13 - check dump of augeas data
> ok 14 - check that backup config file wr_root/augeas_backend/etc/ssh/sshd_config.augsave was written
> ok 15 - check content of wr_root/augeas_backend/etc/ssh/sshd_config
> not ok 16 - check content of wr_root/augeas_backend/etc/ssh/sshd_config after Match~1
> not ok 17 - check content of wr_root/augeas_backend/etc/ssh/sshd_config after Match:2 ...
> not ok 18 - check content of wr_root/augeas_backend/etc/ssh/sshd_config after Match:2 AllowTcpForwarding=yes
> Dubious, test returned 3 (wstat 768, 0x300)
> Failed 3/18 subtests 
> t/augeas_from_scratch.t .. 
> 1..4
> ok 1 - compiled
> # Running tests in wr_root/augeas_from_scratch
> ok 2 - Created instance for sshd
> ok 3 - Created instance for /etc/ssh/sshd_config
> ok 4 - check content of wr_root/augeas_from_scratch/etc/ssh/sshd_config
> ok
> t/model_extension.t ...... 
> ok 1 - compiled
> ok 2 - Loaded Itself::Model
> ok 3 - test that augeas backend is part of backend choice
> 1..3
> ok
> t/pod.t .................. 
> 1..2
> ok 1 - POD test for lib/Config/Model/models/Itself/ConfigReadWrite.d/augeas-backend.pl (no pod)
> ok 2 - POD test for lib/Config/Model/Backend/Augeas.pm
> ok
> 
> Test Summary Report
> -------------------
> t/augeas_backend.t     (Wstat: 768 Tests: 18 Failed: 3)
>   Failed tests:  16-18
>   Non-zero exit status: 3
> Files=4, Tests=27,  2 wallclock secs ( 0.01 usr  0.01 sys +  2.00 cusr  0.21 csys =  2.23 CPU)
> Result: FAIL
> Failed 1/4 test programs. 3/27 subtests failed.
> dh_auto_test: error: /usr/bin/perl Build test --verbose 1 returned exit code 255


The full build log is available from:
http://qa-logs.debian.net/2021/12/28/libconfig-model-backend-augeas-perl_0.125-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