Skip Menu |
 

This queue is for tickets about the IO-Socket-IP CPAN distribution.

Report information
The Basics
Id: 104836
Status: open
Priority: 0/
Queue: IO-Socket-IP

People
Owner: Nobody in particular
Requestors: jhi [...] iki.fi
Cc:
AdminCc:

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



Subject: tru64 fails three IO-Socket-IP tests
Date: Mon, 01 Jun 2015 07:39:23 -0400
To: bug-IO-Socket-IP [...] rt.cpan.org
From: Jarkko Hietaniemi <jhi [...] iki.fi>
Download (untitled) / with headers
text/plain 1.6k
(as of 0.37) jhi@tru64:perl$ ./perl -Ilib cpan/IO-Socket-IP/t/04local-client-v6.t getaddrinfo() - A non-recoverable error occured. at cpan/IO-Socket-IP/t/04local-client-v6.t line 38. (this one is probably the same getaddrinfo issue as with https://rt.cpan.org/Public/Bug/Display.html?id=99605) jhi@tru64:perl$ ./perl -Ilib cpan/IO-Socket-IP/t/05local-server-v6.t not ok 1 - IO::Socket::IP->new constructs a SOCK_STREAM socket # Failed test 'IO::Socket::IP->new constructs a SOCK_STREAM socket' # at cpan/IO-Socket-IP/t/05local-server-v6.t line 41. # error was Can't assign requested address Can't call method "sockdomain" on an undefined value at cpan/IO-Socket-IP/t/05local-server-v6.t line 44. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 49 just after 1. jhi@tru64:perl$ ./perl -Ilib cpan/IO-Socket-IP/t/31nonblocking-connect-internet.t ok 1 - defined $socket for cpanidx.org:80 ok 2 - $socket has fileno ok 3 - $socket not yet connected not ok 4 - ->connect eventually succeeds # Failed test '->connect eventually succeeds' # at cpan/IO-Socket-IP/t/31nonblocking-connect-internet.t line 51. not ok 5 - $socket now connected # Failed test '$socket now connected' # at cpan/IO-Socket-IP/t/31nonblocking-connect-internet.t line 53. ok 6 - defined $socket for cpanidx.org:6666 ok 7 - $socket has fileno ok 8 - $socket not yet connected not ok 9 - ->connect eventually fails with ECONNREFUSED # Failed test '->connect eventually fails with ECONNREFUSED' # at cpan/IO-Socket-IP/t/31nonblocking-connect-internet.t line 92. # dollarbang = Socket is not connected 1..9 # Looks like you failed 3 tests of 9.
Download (untitled) / with headers
text/plain 316b
As with #99605: I think the following discussion is relevant https://sourceware.org/bugzilla/show_bug.cgi?id=15726 as is this (mentioned in the discussion): https://sourceware.org/bugzilla/show_bug.cgi?id=15726 Long story short: expecting some one particular failure mode from getaddrinfo() is probably foolish.
Download (untitled) / with headers
text/plain 532b
On Mon Jun 01 07:39:43 2015, jhi@iki.fi wrote: Show quoted text
> (as of 0.37) > > jhi@tru64:perl$ ./perl -Ilib cpan/IO-Socket-IP/t/04local-client-v6.t > getaddrinfo() - A non-recoverable error occured. at > cpan/IO-Socket-IP/t/04local-client-v6.t line 38.
That test is simply doing my ( $err, $ai ) = Socket::getaddrinfo( "::1", 0, { family => AF_INET6, socktype => SOCK_STREAM } ); die "getaddrinfo() - $err" if $err; If that fails with a "non-recoverable error", then there's not a lot else that can be done about it. -- Paul Evans


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.