Skip Menu |

This queue is for tickets about the POE-Component-IRC CPAN distribution.

Report information
The Basics
Id: 66393
Status: resolved
Priority: 0/
Queue: POE-Component-IRC

People
Owner: Nobody in particular
Requestors: troy [...] good.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 6.52
Fixed in: (no value)



Subject: IPv6 test fails in linux vserver environment
The IPv6 test seems to fail in a linux vserver environment. Binding to ::1 will succeed but actually bind to the first assigned IPv6 address instead. I'm not sure if that's why the test fails, but it seems like a good guess. Let me know if I can help find a tweak to this test to make it pass. # Looks like you planned 4 tests but ran 8. t/02_behavior/04_ipv6.t ............................ Dubious, test returned 255 (wstat 65280, 0xff00) All 4 subtests passed (less 8 skipped subtests: -4 okay) This is perl 5, version 12, subversion 2 (v5.12.2) built for x86_64-linux
Subject: Re: [rt.cpan.org #66393] IPv6 test fails in linux vserver environment
Date: Sat, 5 Mar 2011 11:06:03 +0000
To: Troy Ablan via RT <bug-POE-Component-IRC [...] rt.cpan.org>
From: "Chris 'BinGOs' Williams" <chris [...] bingosnet.co.uk>
On Fri, Mar 04, 2011 at 09:39:59PM -0500, Troy Ablan via RT wrote: Show quoted text
> Fri Mar 04 21:39:59 2011: Request 66393 was acted upon. > Transaction: Ticket created by tablan > Queue: POE-Component-IRC > Subject: IPv6 test fails in linux vserver environment > Broken in: 6.52 > Severity: Normal > Owner: Nobody > Requestors: troy@good.net > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=66393 > > > > The IPv6 test seems to fail in a linux vserver environment. Binding to > ::1 will succeed but actually bind to the first assigned IPv6 address > instead. I'm not sure if that's why the test fails, but it seems like a > good guess. > > Let me know if I can help find a tweak to this test to make it pass. > > > # Looks like you planned 4 tests but ran 8. > t/02_behavior/04_ipv6.t ............................ > Dubious, test returned 255 (wstat 65280, 0xff00) > All 4 subtests passed > (less 8 skipped subtests: -4 okay) > > > This is perl 5, version 12, subversion 2 (v5.12.2) built for x86_64-linux >
Hi, Could you run the test manually with full output, such as prove -v ? Many thanks, -- Chris Williams aka BinGOs PGP ID 0x4658671F http://www.gumbynet.org.uk ==========================
Download (untitled)
application/pgp-signature 189b

Message body not shown because it is not plain text.

From: troy [...] good.net
On Sat Mar 05 06:06:17 2011, chris@bingosnet.co.uk wrote: Show quoted text
> > Hi, > > Could you run the test manually with full output, such as prove -v ? > > Many thanks, >
-[~/.cpanplus/5.12.2/build/POE-Component-IRC-6.52:#]- prove -v t/02_behavior/04_ipv6.t t/02_behavior/04_ipv6.t .. 1..4 ok 1 # skip AF_INET6 probably not supported ($heap->{bindport} == 0) ok 2 # skip AF_INET6 probably not supported ($heap->{bindport} == 0) ok 3 # skip AF_INET6 probably not supported ($heap->{bindport} == 0) ok 4 # skip AF_INET6 probably not supported ($heap->{bindport} == 0) ok 5 # skip AF_INET6 probably not supported (syscall error 99: Cannot assign requested address) ok 6 # skip AF_INET6 probably not supported (syscall error 99: Cannot assign requested address) ok 7 # skip AF_INET6 probably not supported (syscall error 99: Cannot assign requested address) ok 8 # skip AF_INET6 probably not supported (syscall error 99: Cannot assign requested address) # Looks like you planned 4 tests but ran 8. Dubious, test returned 255 (wstat 65280, 0xff00) All 4 subtests passed (less 8 skipped subtests: -4 okay) Test Summary Report ------------------- t/02_behavior/04_ipv6.t (Wstat: 65280 Tests: 8 Failed: 4) Failed tests: 5-8 Non-zero exit status: 255 Parse errors: Bad plan. You planned 4 tests but ran 8. Files=1, Tests=8, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.12 cusr 0.00 csys = 0.15 CPU) Result: FAIL
This should be fixed in version 6.64. Feel free to reopen this ticket if the test still fails.