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.
lemonldap-ng_1.9.5-1_amd64-20161115T150604Z.gz
Description: application/gzip
lemonldap-ng_1.9.5-1_amd64-20161117T141317Z.gz
Description: application/gzip
lemonldap-ng_1.9.5-1_amd64-20161117T141808Z.gz
Description: application/gzip
lemonldap-ng_1.9.5-1_amd64-20161120T225244Z.gz
Description: application/gzip
lemonldap-ng_1.9.5-1_amd64-20161120T225252Z.gz
Description: application/gzip
lemonldap-ng_1.9.5-1_amd64-20161120T230228Z.gz
Description: application/gzip