Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jan 2015 10:39:48 +0100
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        parv <parv@pair.com>, perl@freebsd.org
Subject:   Re: perl 5.21.7 - test fail of cpan/IO-Socket-IP/t/01local-client-v4.t
Message-ID:  <CB5B48B5581817678EE0ED38@atuin.in.mat.cc>
In-Reply-To: <20150122063853.GA3463@holstein.holy.cow>
References:  <20150122063853.GA3463@holstein.holy.cow>

next in thread | previous in thread | raw e-mail | index | archive | help


+--On 21 janvier 2015 20:38:53 -1000 parv <parv@pair.com> 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 ...

Well, I do not have multiple aliases on lo0 (I assume you meant lo0 and not
127.0.0.1 here) so I had not encountered this when creating the port for
5.20.

Also, it looks like the test says it can fail because of strange
networking.  Have you tried reporting this upstream ?

| As I do have these ...
| 
|   # ifconfig lo0
|   lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
|     options=3<RXCSUM,TXCSUM>
|     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<PERFORMNUD,ACCEPT_RTADV>

As a side note, your netmask is wrong, which may be why the test fails,
127/8 is the network, not 127/24.

Regards,

-- 
Mathieu Arnold



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CB5B48B5581817678EE0ED38>