Bug#917656: libnet-server-mail-perl: FTBFS (failing tests)
Hello. According to my build logs, libnet-server-mail-perl (the affected package against which I initially reported this) seems to be buildable without errors (not even random) at least since buster. In normal circumstances I would just go ahead and close the bug, but due to the multiple reassigns I'm not confident enough, so I leave it to you. Thanks.
Bug#917656: libnet-server-mail-perl: FTBFS (failing tests)
Le 02/01/2019 à 00:01, Dominic Hargreaves a écrit : > On Tue, Jan 01, 2019 at 10:43:20PM +0100, Xavier wrote: >> Control: reassign -1 perl-modules-5.28 >> Control: severity -1 normal >> >> Hi all, >> >> it seems that Net::SMTP->new() fails randomly when launched during >> Net::server::Mail tests: $s is sometimes undefined after this: >> >> my $s = Net::SMTP->new( $host, Port => $port, Hello => 'localhost' ); > > What does $@ contain when this happens? > > I couldn't reproduce this myself using the attached, could you look > at providing a reproducible test case? > >> http://matrix.cpantesters.org/?dist=Net-Server-Mail+0.26 also shows that >> this rarely happens since the release of 5.28.0 (1/22), never before. >> >> I added a workaround for now in libnet-server-mail-perl tests (warn and >> return when $s is undefined). > > (You probably want to log $@ in this case, too). > > Cheers, > Dominic. Sadly I never succeed to reproduce this bug. I've only the FTBFS report and one on CPAN: * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917656 * http://www.cpantesters.org/cpan/report/19a89a8e-e1ee-11e8-afbf-aec3b07506ca I'm going to upload a new patch with more logs
Bug#917656: libnet-server-mail-perl: FTBFS (failing tests)
On Tue, Jan 01, 2019 at 10:43:20PM +0100, Xavier wrote: > Control: reassign -1 perl-modules-5.28 > Control: severity -1 normal > > Hi all, > > it seems that Net::SMTP->new() fails randomly when launched during > Net::server::Mail tests: $s is sometimes undefined after this: > > my $s = Net::SMTP->new( $host, Port => $port, Hello => 'localhost' ); What does $@ contain when this happens? I couldn't reproduce this myself using the attached, could you look at providing a reproducible test case? > http://matrix.cpantesters.org/?dist=Net-Server-Mail+0.26 also shows that > this rarely happens since the release of 5.28.0 (1/22), never before. > > I added a workaround for now in libnet-server-mail-perl tests (warn and > return when $s is undefined). (You probably want to log $@ in this case, too). Cheers, Dominic. #!/usr/bin/perl use strict; use warnings; use Net::SMTP; STDOUT->autoflush(1); while (1) { print "."; my $s = Net::SMTP->new( 'localhost', Port => 25, Hello => 'localhost' ); defined $s || die $@; }
Bug#917656: libnet-server-mail-perl: FTBFS (failing tests)
Control: reassign -1 perl-modules-5.28 Control: severity -1 normal Hi all, it seems that Net::SMTP->new() fails randomly when launched during Net::server::Mail tests: $s is sometimes undefined after this: my $s = Net::SMTP->new( $host, Port => $port, Hello => 'localhost' ); http://matrix.cpantesters.org/?dist=Net-Server-Mail+0.26 also shows that this rarely happens since the release of 5.28.0 (1/22), never before. I added a workaround for now in libnet-server-mail-perl tests (warn and return when $s is undefined). Cheers, Xavier
Bug#917656: libnet-server-mail-perl: FTBFS (failing tests)
Le 29/12/2018 à 22:39, Santiago Vila a écrit : > Package: src:libnet-server-mail-perl > Version: 0.25-4 > Severity: serious > Tags: ftbfs > > Dear maintainer: > > I tried to build this package in buster but it failed: > > > [...] > ok 10 > ok > # Error: Can't call method "peerhost" on an undefined value at t/starttls.t > line 131. > # kill 9, 1658 (server) Hi all, SSL randomly timeout error is back. Do I have to disable the relevant test ?
Bug#917656: libnet-server-mail-perl: FTBFS (failing tests)
Package: src:libnet-server-mail-perl Version: 0.25-4 Severity: serious Tags: ftbfs Dear maintainer: I tried to build this package in buster but it failed: [...] debian/rules build-indep dh build-indep dh_update_autotools_config -i dh_autoreconf -i dh_auto_configure -i perl Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "LD=x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro" Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Net::Server::Mail Writing MYMETA.yml and MYMETA.json dh_auto_build -i make -j1 make[1]: Entering directory '/<>' [... snipped ...] t/lmtp.t .. 1..10 ok 1 # skip You don't seem to have Net::LMTP installed on your system ok 2 # skip You don't seem to have Net::LMTP installed on your system ok 3 # skip You don't seem to have Net::LMTP installed on your system ok 4 # skip You don't seem to have Net::LMTP installed on your system ok 5 # skip You don't seem to have Net::LMTP installed on your system ok 6 # skip You don't seem to have Net::LMTP installed on your system ok 7 # skip You don't seem to have Net::LMTP installed on your system ok 8 # skip You don't seem to have Net::LMTP installed on your system ok 9 # skip You don't seem to have Net::LMTP installed on your system ok 10 # skip You don't seem to have Net::LMTP installed on your system ok t/smtp.t .. 1..10 ok 1 - use Net::Server::Mail::SMTP; ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok # Error: Can't call method "peerhost" on an undefined value at t/starttls.t line 131. # kill 9, 1658 (server) t/starttls.t .. ok 1 - Accepted client for Test01: STARTTLS support ok 2 - Accepted client for Test02: STARTTLS invalid parameters ok 3 - Accepted client for Test03: STARTTLS handshake All 3 subtests passed Test Summary Report --- t/starttls.t (Wstat: 13 Tests: 3 Failed: 0) Non-zero wait status: 13 Parse errors: No plan found in TAP output Files=4, Tests=33, 3 wallclock secs ( 0.06 usr 0.03 sys + 1.04 cusr 0.28 csys = 1.41 CPU) Result: FAIL Failed 1/4 test programs. 0/33 subtests failed. make[1]: *** [Makefile:861: test_dynamic] Error 255 make[1]: Leaving directory '/<>' dh_auto_test: make -j1 test TEST_VERBOSE=1 returned exit code 2 make: *** [debian/rules:4: build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2 The build was made in my autobuilder with "dpkg-buildpackage -A" but it also fails here: https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libnet-server-mail-perl.html where you can get a full build log if you need it. If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the BTS web page for this package. Thanks.