Bug#845167: lemonldap-ng: FTBFS randomly (failing tests)

Santiago Vila sanvila at unex.es
Mon Nov 21 00:37:08 UTC 2016


Package: src:lemonldap-ng
Version: 1.9.5-1
Severity: serious

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with systemd
   dh_testdir -i
   dh_update_autotools_config -i
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make configure STORAGECONFFILE=/etc/lemonldap-ng/lemonldap-ng.ini \
	PERLOPTIONS="INSTALLDIRS=vendor"
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Warning: prerequisite Mouse 0 not found.
Checking if your kit is complete...
Looks good
"\x{00c3}" does not map to ascii at /usr/share/perl/5.24/ExtUtils/MakeMaker.pm line 1185.

[... snipped ...]

Expect 200, get 401

#   Failed test 'Headername1 is set to "Auth-User"'
#   at t/62-Lemonldap-NG-Handler-Nginx.t line 44.
Expect Headername1 => "Auth-User", get $VAR1 = {
          'Content-Type' => 'text/html',
          'Content-Length' => 324,
          'Location' => 'http://auth.example.com/?url=aHR0cDovL3Rlc3QxLmV4YW1wbGUuY29tLw=='
        };


#   Failed test 'Headervalue1 is set to "dwho"'
#   at t/62-Lemonldap-NG-Handler-Nginx.t line 46.
Expect Headervalue1 => "dwho", get $VAR1 = {
          'Content-Type' => 'text/html',
          'Content-Length' => 324,
          'Location' => 'http://auth.example.com/?url=aHR0cDovL3Rlc3QxLmV4YW1wbGUuY29tLw=='
        };


#   Failed test 'Code is 403'
#   at t/62-Lemonldap-NG-Handler-Nginx.t line 53.
Expect 403, get 401
# Looks like you failed 4 tests of 15.
t/62-Lemonldap-NG-Handler-Nginx.t ........ 
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/15 subtests 
t/99-pod.t ............................... ok

Test Summary Report
-------------------
t/62-Lemonldap-NG-Handler-Nginx.t      (Wstat: 1024 Tests: 15 Failed: 4)
  Failed tests:  9-11, 13
  Non-zero exit status: 4
Files=14, Tests=104,  3 wallclock secs ( 0.04 usr  0.00 sys +  2.17 cusr  0.14 csys =  2.35 CPU)
Result: FAIL
Failed 1/14 test programs. 4/104 subtests failed.
Makefile:949: recipe for target 'test_dynamic' failed
make[2]: *** [test_dynamic] Error 255
make[2]: Leaving directory '/<<PKGBUILDDIR>>/lemonldap-ng-handler'
Makefile:324: recipe for target 'handler_test' failed
make[1]: *** [handler_test] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: make -j1 test returned exit code 2
debian/rules:20: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

The build was made on several QEMU/KVM virtual machines with one CPU using sbuild.
The failure happens randomly. Sometimes it fails, sometimes it does not.

The failing tests are not always the same. As a summary, these are the
three which I have seen to fail so far:

t/60-Lemonldap-NG-Handler-PSGI.t
t/61-Lemonldap-NG-Handler-PSGI-Server.t
t/62-Lemonldap-NG-Handler-Nginx.t

I attach several build logs.

Thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lemonldap-ng_1.9.5-1_amd64-20161115T150604Z.gz
Type: application/gzip
Size: 16905 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161121/ded66248/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lemonldap-ng_1.9.5-1_amd64-20161117T141317Z.gz
Type: application/gzip
Size: 16323 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161121/ded66248/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lemonldap-ng_1.9.5-1_amd64-20161117T141808Z.gz
Type: application/gzip
Size: 16432 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161121/ded66248/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lemonldap-ng_1.9.5-1_amd64-20161120T225244Z.gz
Type: application/gzip
Size: 16553 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161121/ded66248/attachment-0009.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lemonldap-ng_1.9.5-1_amd64-20161120T225252Z.gz
Type: application/gzip
Size: 16566 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161121/ded66248/attachment-0010.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lemonldap-ng_1.9.5-1_amd64-20161120T230228Z.gz
Type: application/gzip
Size: 16430 bytes
Desc: 
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20161121/ded66248/attachment-0011.bin>


More information about the pkg-perl-maintainers mailing list