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 [email protected]
====================================
----------

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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to