[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: [rt.cpan.org #96086] [PATCH] Fix port already in use test failure



Just forwarding the last message from Kevin to the group.

-------- Forwarded Message --------
Subject: [rt.cpan.org #96086] [PATCH] Fix port already in use test failure
Date: Wed, 4 Feb 2015 12:53:51 -0500
From: Kevin Falcone via RT <bug-HTTP-Server-Simple@rt.cpan.org>
Reply-To: bug-HTTP-Server-Simple@rt.cpan.org
To: daniel@serverb.co.uk

<URL: https://rt.cpan.org/Ticket/Display.html?id=96086 >

On Tue Feb 03 10:51:47 2015, daniel@serverb.co.uk wrote:
> (CC: debian-perl mailing list in case anyone has any ideas!)

Kept CC so my guess ends up there

> > bind to *:45479: Address already in use at t/01live.t line 157.
> > t/01live.t ......... 4/34 bind to *:43048: Address already in use at
> > t/01live.t ......... 12/34 bind to *:43049: Address already in use at
> > t/01live.t ......... 1/34 bind to *:42759: Address already in use at
> > t/01live.t ......... 12/34 bind to *:42760: Address already in use at

> Okay... So now where getting somewhere! Whenever the tests are run in
> a chroot the error is present.
> 
> Hmmm... So we need the patch to be able to build the packages for
> Debian, but it doesn't look like the problem is a big one.

I'm pretty sure this is a chroot / ipv6 localhost problem.  I'm
surprised the patch fixes it.  It should be trying to bind to
localhost:43048 (or whatever ::1 is called) but since it's using *:43048
it's using fallback behavior instead.

I fixed a bunch of chroot/localhost bugs around this by using the
cpantesters smoke servers, but clearly not enough of them.

I'll see if it's easily replicable locally on my Debian boxes/VM by
using a chroot, which will make any solution simpler.

-kevin




Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: