From owner-freebsd-perl@FreeBSD.ORG Fri Jan 23 16:36:50 2015 Return-Path: Delivered-To: perl@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B96AB241 for ; Fri, 23 Jan 2015 16:36:50 +0000 (UTC) Received: from dnvrco-oedge-vip.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.225]) by mx1.freebsd.org (Postfix) with ESMTP id 85593E50 for ; Fri, 23 Jan 2015 16:36:50 +0000 (UTC) Received: from [204.210.114.114] ([204.210.114.114:16480] helo=localhost.hawaii.res.rr.com) by dnvrco-oedge02 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 48/29-20298-99872C45; Fri, 23 Jan 2015 16:36:42 +0000 Received: by localhost.hawaii.res.rr.com (Postfix, from userid 1000) id C48775CF6; Fri, 23 Jan 2015 06:41:29 -1000 (HST) Date: Fri, 23 Jan 2015 06:41:29 -1000 From: parv To: Mathieu Arnold Subject: Re: perl 5.21.7 - test fail of cpan/IO-Socket-IP/t/01local-client-v4.t Message-ID: <20150123164129.GA56502@holstein.holy.cow> References: <20150122063853.GA3463@holstein.holy.cow> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-RR-Connecting-IP: 107.14.64.130:25 X-Authority-Analysis: v=2.1 cv=OfAWD3jY c=1 sm=1 tr=0 a=lLOF/jpPrR0dcgWXP1EvZg==:117 a=lLOF/jpPrR0dcgWXP1EvZg==:17 a=ayC55rCoAAAA:8 a=kj9zAlcOel0A:10 a=Ymsr-CWnAAAA:8 a=YNv0rlydsVwA:10 a=HZtoMydD9bMqWIqZepwA:9 a=PVPJE8xLDCq5WDkr:21 a=HhfQk9yba0zquDWN:21 a=CjuIK1q_8ugA:10 X-Cloudmark-Score: 0 Cc: perl@freebsd.org X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2015 16:36:50 -0000 in message , wrote Mathieu Arnold thusly... > > +--On 21 janvier 2015 20:38:53 -1000 parv wrote: > | Has anybody noticed the test failure (in perl 5.21.7) related to > | socket address in cpan/IO-Socket-IP/t/01local-client-v4.t when > | multiple aliases exist for 127.0.0.1 ... ... > Also, it looks like the test says it can fail because of strange > networking. Have you tried reporting this upstream ? I had not as I wanted to be sure that failure was not due to local network configuration ... > | # ifconfig lo0 > | lo0: flags=8049 metric 0 mtu 16384 > | options=3 > | inet6 fe80::1%lo0 prefixlen 64 scopeid 0xd > | inet6 ::1 prefixlen 128 > | inet 127.0.0.1 netmask 0xff000000 > | inet 127.0.0.2 netmask 0xffffff00 > | inet 127.0.0.3 netmask 0xffffff00 > | inet 127.0.0.4 netmask 0xffffff00 > | nd6 options=3 > > As a side note, your netmask is wrong, which may be why the test > fails, 127/8 is the network, not 127/24. ... which apparently was the case! After setting the netmask to /8, tests PASSED (for perl 5.20 & 5.21.8). Thank you. Now, I would try to understand the code that acquires the socket address to find out why the address was 0x7f000002 earlier. - parv --