You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Gordon Sim <gs...@redhat.com> on 2012/07/04 13:38:43 UTC

Re: FAIL: ipv6_test

On 06/26/2012 11:47 AM, Gordon Sim wrote:
> On 06/26/2012 09:18 AM, Dmitrijs Ledkovs wrote:
>> Hello,
>>
>> When building qpid-cpp on Ubuntu, it fails to build from source on all
>> architectures due to a test-suite failure.
>>
>> ----------
>> PASS: run_queue_flow_limit_tests
>> Started IPv6 smoke perftest on broker port 34980
>>
>> Cannot resolve ::1:34980: Address family for hostname not supported
>> (qpid/sys/posix/SocketAddress.cpp:140)
>> qpid-send: Failed to connect (reconnect disabled)
>> qpid-receive: Failed to connect (reconnect disabled)
>> receive failed '' != 'hello'
>> FAIL: ipv6_test
>> ====================================
>> 1 of 36 tests failed
>> Please report to dev@qpid.apache.org
>> ====================================
>> ----------
>>
>> The same test passes fine on Debian, and we do not modify qpid-cpp
>> beyond what debian does.
>>
>> Have you seen this type of failure before?
>
> Yes, I see it on Fedora 17 also...
>
>> And maybe have pointers as to
>> what's wrong on ubuntu host or with this test?
>
> ...I haven't yet uncovered what the problem is.

It appears that this is due to there not being a globally scoped, 
non-loopback ipv6 address configured. In this case the appropriate 
behaviour for getaddrinfo when AI_ADDRCONFIG is specified in the hints 
is to return the error above.

I guess there must have been some change recently in glibc to discard 
the loopback address (or link scoped addresses?), given that this has 
worked for me with the same configuration on older versions.

Andrew has checked in a fix to the test script that skips the test in 
this case to avoid an error.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org