Hi Kevin,
(CC: debian-perl mailing list in case anyone has any ideas!)
On 02/02/15 15:44, Kevin Falcone via RT wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=96086 >
>
> Hmm- while this patch seems reasonable, I wasn't actually seeing any of these failures on my Debian 7 testing box. Do you still need this patch in order to pass tests on 0.50?
>
> -kevin
>
Running the build using sbuild (used for building Debian packages in
schroot) and Debian Sid (unstable) without the patch gives the following
error:
Show quoted text> bind to *:45479: Address already in use at t/01live.t line 157.
> child unresponsive for 5 seconds at /«PKGBUILDDIR»/blib/lib/HTTP/Server/Simple.pm line 261.
> # Looks like you planned 34 tests but ran 6.
> # Looks like your test exited with 29 just after 6.
Running the tests manually in an Debian Sid (unstable) chroot without
the patch gives:
Show quoted text> t/00smoke.t ........ ok
> t/01live.t ......... 4/34 bind to *:43048: Address already in use at t/01live.t line 157.
> t/01live.t ......... 12/34 bind to *:43049: Address already in use at t/01live.t line 157.
> t/01live.t ......... ok
> t/02pod.t .......... ok
> t/03podcoverage.t .. ok
> t/04cgi.t .......... ok
> All tests successful.
> Files=5, Tests=108, 18 wallclock secs ( 0.11 usr 0.01 sys + 0.78 cusr 0.16 csys = 1.06 CPU)
> Result: PASS
Debian 7 (Wheezy) chroot:
Show quoted text> t/00smoke.t ........ ok
> t/01live.t ......... 1/34 bind to *:42759: Address already in use at t/01live.t line 157
> t/01live.t ......... 12/34 bind to *:42760: Address already in use at t/01live.t line 157
> t/01live.t ......... ok
> t/02pod.t .......... skipped: Test::Pod 1.14 required for testing POD
> t/03podcoverage.t .. skipped: Test::Pod::Coverage 1.04 required for testing POD coverage
> t/04cgi.t .......... ok
> All tests successful.
> Files=5, Tests=102, 17 wallclock secs ( 0.10 usr 0.02 sys + 0.47 cusr 0.11 csys = 0.70 CPU)
> Result: PASS
My Debian 7 Workstation (not a chroot):
Show quoted text> t/00smoke.t ........ ok
> t/01live.t ......... ok
> t/02pod.t .......... skipped: Test::Pod 1.14 required for testing POD
> t/03podcoverage.t .. skipped: Test::Pod::Coverage 1.04 required for testing POD coverage
> t/04cgi.t .......... ok
> All tests successful.
> Files=5, Tests=102, 20 wallclock secs ( 0.15 usr 0.03 sys + 0.65 cusr 0.18 csys = 1.01 CPU)
> Result: PASS
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.
Regards
Daniel