Skip Menu |
 

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

Report information
The Basics
Id: 84172
Status: resolved
Priority: 0/
Queue: IO-Socket-IP

People
Owner: Nobody in particular
Requestors: chen.yack [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.19
Fixed in: 0.20



Subject: failure test at perlbrew of perl 5.16.3
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 2971
Download (untitled) / with headers
text/plain 2.9k
i try install it via cpanm , then the test failure, the build log is following : cpanm (App::cpanminus) 1.6008 on perl 5.016003 built for x86_64-linux Work directory is /home/admin/.cpanm/work/1364098000.13303 You have make /usr/bin/make You have /usr/bin/wget You have /bin/tar: tar (GNU tar) 1.15.1 You have /usr/bin/unzip Searching IO::Socket::IP on cpanmetadb ... -> FAIL Finding IO::Socket::IP on cpanmetadb failed. Searching IO::Socket::IP () on metacpan ... --> Working on IO::Socket::IP Fetching http://www.cpan.org/authors/id/P/PE/PEVANS/IO-Socket-IP-0.19.tar.gz -> OK Unpacking IO-Socket-IP-0.19.tar.gz Entering IO-Socket-IP-0.19 Checking configure dependencies from META.json Configuring IO-Socket-IP-0.19 Running Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'IO-Socket-IP' version '0.19' -> OK Checking dependencies from MYMETA.json ... Checking if you have Test::More 0.88 ... Yes (0.98) Checking if you have IO::Socket 0 ... Yes (1.34) Checking if you have Socket 1.97 ... Yes (2.001) Building and testing IO-Socket-IP-0.19 Building IO-Socket-IP t/00use.t ........................... ok t/01local-client-v4.t ............... ok t/02local-server-v4.t ............... ok t/03local-cross-v4.t ................ ok t/04local-client-v6.t ............... skipped: Unable to bind to ::1 t/05local-server-v6.t ............... skipped: Unable to bind to ::1 t/06local-cross-v6.t ................ skipped: Unable to bind to ::1 t/10args.t .......................... ok t/11sockopts.t ...................... ok t/12port-fallback.t ................. ok t/13addrinfo.t ...................... ok t/14fileno.t ........................ ok t/15io-socket.t ..................... ok t/16v6only.t ........................ skipped: Unable to bind to ::1 t/17gai-flags.t ..................... ok t/18fdopen.t ........................ ok Can't call method "fileno" on an undefined value at t/19no-addrs.t line 28. # Tests were run but no plan was declared and done_testing() was not seen. t/19no-addrs.t ...................... Dubious, test returned 97 (wstat 24832, 0x6100) All 3 subtests passed t/20nonblocking-connect.t ........... ok t/21nonblocking-connect-internet.t .. ok t/99pod.t ........................... ok Test Summary Report ------------------- t/19no-addrs.t (Wstat: 24832 Tests: 3 Failed: 0) Non-zero exit status: 97 Parse errors: No plan found in TAP output Files=20, Tests=123, 7 wallclock secs ( 0.03 usr 0.05 sys + 1.22 cusr 0.24 csys = 1.54 CPU) Result: FAIL Failed 1/20 test programs. 0/123 subtests failed. -> FAIL Installing IO::Socket::IP failed. See /home/admin/.cpanm/build.log for details. My OS: Linux pesystem160148.pre.cm3 2.6.18-164.el5xen #1 SMP Tue Aug 18 15:59:52 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux My Perl: This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux Copyright 1987-2012, Larry Wall i install perl via perlbrew . hope you can fix this :)
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-31299-1364100400-1862.84172-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
From: d.thomas [...] its.uq.edu.au
X-RT-Original-Encoding: utf-8
Content-Length: 338
Download (untitled) / with headers
text/plain 338b
Show quoted text
> Can't call method "fileno" on an undefined value at t/19no-addrs.t line 28. > # Tests were run but no plan was declared and done_testing() was not seen. > t/19no-addrs.t ......................
I just built 0.19 with perl 5.16.3 on RHEL5: the test passes on RHEL6: the test fails as above It looks like 0.19 has been removed from CPAN.
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-31299-1364100400-1862.84172-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <rt-3.8.HEAD-31299-1364100400-1862.84172-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-15119-1364100982-692.84172-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
From: d.thomas [...] its.uq.edu.au
X-RT-Original-Encoding: utf-8
Content-Length: 215
Download (untitled) / with headers
text/plain 215b
On Sun Mar 24 00:46:40 2013, d.thomas@its.uq.edu.au wrote: Show quoted text
> on RHEL5: the test passes > on RHEL6: the test fails as above
after submitting my reply I remembered that the RHEL5 box has v6 while the RHEL6 is V4 only.
From chen.yack [...] gmail.com Mon Mar 25 00: 09:33 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.219 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-15119-1364100982-1461.84172-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-84172 [...] rt.cpan.org> <rt-3.8.HEAD-31299-1364100400-1862.84172-6-0 [...] rt.cpan.org> <rt-3.8.HEAD-15119-1364100982-1461.84172-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.194.77.110 with SMTP id r14mr15360191wjw.2.1364184546766; Sun, 24 Mar 2013 21:09:06 -0700 (PDT)
Message-ID: <CAP6wFtTmZ2RGBQHP3xmsFAwVoO-GV1Pk2+--Y27Xn5GZaXAM1A [...] mail.gmail.com>
Content-Type: multipart/alternative; boundary=047d7bf0c2a251791604d8b7f7c5
X-Spam-Score: -6.219
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 81C4E2406E7 for <cpan-bug+IO-Socket-IP [...] hipster.bestpractical.com>; Mon, 25 Mar 2013 00:09:33 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2XXVgOiWtrwE for <cpan-bug+IO-Socket-IP [...] hipster.bestpractical.com>; Mon, 25 Mar 2013 00:09:19 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 8B94624055E for <bug-IO-Socket-IP [...] rt.cpan.org>; Mon, 25 Mar 2013 00:09:19 -0400 (EDT)
Received: (qmail 15070 invoked by uid 103); 25 Mar 2013 04:09:19 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 25 Mar 2013 04:09:19 -0000
Received: from mail-wg0-f50.google.com (HELO mail-wg0-f50.google.com) (74.125.82.50) by 16.mx.develooper.com (qpsmtpd/0.84/v0.84-167-g4ed6cab) with ESMTP; Sun, 24 Mar 2013 21:09:10 -0700
Received: by mail-wg0-f50.google.com with SMTP id es5so2305099wgb.17 for <bug-IO-Socket-IP [...] rt.cpan.org>; Sun, 24 Mar 2013 21:09:06 -0700 (PDT)
Received: by 10.216.111.70 with HTTP; Sun, 24 Mar 2013 21:09:06 -0700 (PDT)
Delivered-To: cpan-bug+IO-Socket-IP [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #84172] failure test at perlbrew of perl 5.16.3
Return-Path: <chen.yack [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=iIp+pI3hIYVx7cmPYMgJnjkr/mzwsn3OriE5vpFPDaY=; b=A5C4xtJHJdk7enmXSB0IfMxXIwoNAJjdHZ798eN5J5Zm+YTvXGjfyT2bt7gxiq9HG3 dLh+L1TyGv1NSqXrJQW3zmJ6gyxMZ9VGph+h2eJChbTJL08PFFzoo5n4+n2oXkqSgcKt 2VGVLd2lr58apa8Y4zdibqL2vDYZGfDniOtXuQoCeS2mm+ivGTb1x+Xe1GiApch55ayc YnB/5n/SMIzNp5Y2QxIWCkuE1QpXUeVp4oLfDrZEpSsK5rqzZyiycuf9NXUrMMVVpsjF c2dErJa60RtVpzJxBRqX/kxFxA9kLjqXN5uor0f6ZtzvjV69vjEMxHUYUEoB8ZqLXMHc AaVw==
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+IO-Socket-IP [...] hipster.bestpractical.com
X-RT-Mail-Extension: io-socket-ip
Date: Mon, 25 Mar 2013 12:09:06 +0800
X-Spam-Level:
To: "bug-IO-Socket-IP [...] rt.cpan.org" <bug-IO-Socket-IP [...] rt.cpan.org>
From: 陈云星 <chen.yack [...] gmail.com>
RT-Message-ID: <rt-3.8.HEAD-21663-1364184574-1417.84172-0-0 [...] rt.cpan.org>
Content-Length: 0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 555
Download (untitled) / with headers
text/plain 555b
if rel6 have v6,please test it btw,if v6 unexist ,should not failure ! 在 2013年3月24日星期日,d.thomas@its.uq.edu.au via RT 写道: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=84172 > > > On Sun Mar 24 00:46:40 2013, d.thomas@its.uq.edu.au <javascript:;> wrote:
> > on RHEL5: the test passes > > on RHEL6: the test fails as above
> after submitting my reply I remembered that the RHEL5 box > has v6 while the RHEL6 is V4 only. >
-- ---------------------------------------------- Best Regards ! 陈云星 Tel : 1866122992
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 993
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-21663-1364184574-1417.84172-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <RT-Ticket-84172 [...] rt.cpan.org> <rt-3.8.HEAD-31299-1364100400-1862.84172-6-0 [...] rt.cpan.org> <rt-3.8.HEAD-15119-1364100982-1461.84172-6-0 [...] rt.cpan.org> <CAP6wFtTmZ2RGBQHP3xmsFAwVoO-GV1Pk2+--Y27Xn5GZaXAM1A [...] mail.gmail.com> <rt-3.8.HEAD-21663-1364184574-1417.84172-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-3169-1364253498-1265.84172-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
From: d.thomas [...] its.uq.edu.au
X-RT-Original-Encoding: utf-8
Content-Length: 296
Download (untitled) / with headers
text/plain 296b
On Mon Mar 25 00:09:34 2013, chinaxing wrote: Show quoted text
> btw,if v6 unexist ,should not failure !
t/19no-addrs.t first appeared in 0.19 and I believe it is faulty. My mention of 0.19 disappearing from CPAN was I think a problem with CPAN as some other recently released distros also seemed missing.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-15941-1364762377-1624.84172-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 336
Download (untitled) / with headers
text/plain 336b
On Sun Mar 24 00:18:57 2013, chinaxing wrote: Show quoted text
> Can't call method "fileno" on an undefined value at t/19no-addrs.t > line 28. > # Tests were run but no plan was declared and done_testing() was not > seen. > t/19no-addrs.t ......................
Oh oops, this is just again the machine's failure to bind IPv6 addresses. -- Paul Evans
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-15941-1364762377-1624.84172-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
References: <rt-3.8.HEAD-15941-1364762377-1624.84172-0-0 [...] rt.cpan.org>
Content-Type: multipart/mixed; boundary="----------=_1364762488-14886-7"
Message-ID: <rt-3.8.HEAD-14886-1364762488-1443.84172-0-0 [...] rt.cpan.org>
X-RT-Original-Encoding: utf-8
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 46
Attached patch should fix it. -- Paul Evans
MIME-Version: 1.0
Subject: rt84172.patch
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/x-diff; name="rt84172.patch"
Content-Disposition: inline; filename="rt84172.patch"
Content-Transfer-Encoding: binary
Content-Length: 479
Download rt84172.patch
text/x-diff 479b
=== modified file 't/19no-addrs.t' --- t/19no-addrs.t 2013-03-11 23:06:15 +0000 +++ t/19no-addrs.t 2013-03-31 20:40:52 +0000 @@ -23,6 +23,9 @@ my $AF_INET6 = eval { require Socket and Socket::AF_INET6() } or skip "No AF_INET6", 3; + eval { IO::Socket::IP->new( LocalHost => "::1" ) } or + skip "Unable to bind to ::1", 3; + my $sock = IO::Socket::IP->new( Family => $AF_INET6 ); ok( defined $sock->fileno, '$sock->fileno for Family => AF_INET6' );
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.16-26633-1377993815-1700.84172-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 88
This was released some time ago in 0.20 - I forgot to close the ticket. -- 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.