Bug#917656: libnet-server-mail-perl: FTBFS (failing tests)

Dominic Hargreaves dom at earth.li
Tue Jan 1 23:01:04 GMT 2019


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 917656.pl
Type: text/x-perl
Size: 214 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/perl-maintainers/attachments/20190101/223734cb/attachment.pl>


More information about the Perl-maintainers mailing list