bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getaddrinfo: test failures


From: Bruno Haible
Subject: getaddrinfo: test failures
Date: Mon, 26 Mar 2007 00:14:25 +0200
User-agent: KMail/1.5.4

Hi Simon,

The getaddrinfo test fails on most machines I tried. But since I am not a
networking expert, and don't know how getaddrinfo is supposed to work, its
output is chinese to me. For example I don't know whether it's ok or not
if https://www.ibm.com cannot be looked up.

Can you go through the test and ask yourself which results are expected or
not expected? If you drop the output of expected situations and produce
output and failure for unexpected situations, the test will become more useful.

Bruno

================== Failure output on Solaris 10 ==========================
Finding www.gnu.org service http...
res 9: service name not available for the specified socket type
Finding www.ibm.com service https...
res 9: service name not available for the specified socket type
Finding microsoft.com service http...
res 9: service name not available for the specified socket type
Finding google.org service ldap...
res 0: name translation error 0 (no error)
        flags 0
        family 2
        socktype 2
        protocol 0
        addrlen 16:     Found 64.233.161.104
                getnameinfo 0: name translation error 0 (no error)
                ip 64.233.161.104
                port 389
        flags 0
        family 2
        socktype 2
        protocol 0
        addrlen 16:     Found 66.102.7.104
                getnameinfo 0: name translation error 0 (no error)
                ip 66.102.7.104
                port 389
        flags 0
        family 2
        socktype 2
        protocol 0
        addrlen 16:     Found 66.249.93.104
                getnameinfo 0: name translation error 0 (no error)
                ip 66.249.93.104
                port 389
=============================== Failure output on HP-UX 11 ===================
Finding www.gnu.org service http...
res 0: Unknown error
        flags 0
        family 2
        socktype 0
        protocol 0
        addrlen 16:     Found 199.232.41.10
                getnameinfo 0: Unknown error
                ip 199.232.41.10
                port 80
Finding www.ibm.com service https...
res -2: Name or service not known
Finding microsoft.com service http...
res 0: Unknown error
        flags 0
        family 2
        socktype 0
        protocol 0
        addrlen 16:     Found 207.46.197.32
                getnameinfo 0: Unknown error
                ip 207.46.197.32
                port 80
Finding google.org service ldap...
res 0: Unknown error
        flags 0
        family 2
        socktype 0
        protocol 0
        addrlen 16:     Found 64.233.161.104
                getnameinfo 0: Unknown error
                ip 64.233.161.104
                port 389
========================= Failure output on AIX 5.1 ==========================
Finding www.gnu.org service http...
res 0: No Error
        flags 0
        family 2
        socktype 1
        protocol 6
        addrlen 16:     Found 199.232.41.10
                getnameinfo 0: No Error
                ip 199.232.41.10
                port 80
Finding www.ibm.com service https...
res 7: Host not found
Finding microsoft.com service http...
res 0: No Error
        flags 0
        family 2
        socktype 1
        protocol 6
        addrlen 16:     Found 207.46.232.182
                getnameinfo 0: No Error
                ip 207.46.232.182
                port 80
        flags 0
        family 2
        socktype 1
        protocol 6
        addrlen 16:     Found 207.46.197.32
                getnameinfo 0: No Error
                ip 207.46.197.32
                port 80
Finding google.org service ldap...
res 0: No Error
        flags 0
        family 2
        socktype 1
        protocol 6
        addrlen 16:     Found 66.249.93.104
                getnameinfo 0: No Error
                ip 66.249.93.104
                port 389
        flags 0
        family 2
        socktype 1
        protocol 6
        addrlen 16:     Found 64.233.161.104
                getnameinfo 0: No Error
                ip 64.233.161.104
                port 389
        flags 0
        family 2
        socktype 1
        protocol 6
        addrlen 16:     Found 66.102.7.104
                getnameinfo 0: No Error
                ip 66.102.7.104
                port 389
        flags 0
        family 2
        socktype 2
        protocol 11
        addrlen 16:     Found 66.249.93.104
                getnameinfo 0: No Error
                ip 66.249.93.104
                port 389
        flags 0
        family 2
        socktype 2
        protocol 11
        addrlen 16:     Found 64.233.161.104
                getnameinfo 0: No Error
                ip 64.233.161.104
                port 389
        flags 0
        family 2
        socktype 2
        protocol 11
        addrlen 16:     Found 66.102.7.104
                getnameinfo 0: No Error
                ip 66.102.7.104
                port 389
================ Failure output on OSF/1 5.1 (with NULL access fixed) =========
Finding www.gnu.org service http...
res 0: unknown error
        flags 0
        family 2
        socktype 1
        protocol 0
        addrlen 16:     Found 199.232.41.10
        Found gnu.org...
                getnameinfo 0: unknown error
                ip 199.232.41.10
                port 80
Finding www.ibm.com service https...
res 8: Name does not resolv to supplied parameters; neither nodename nor 
servname were passed.
Finding microsoft.com service http...
res 0: unknown error
        flags 0
        family 2
        socktype 1
        protocol 0
        addrlen 16:     Found 207.46.197.32
        Found microsoft.com...
                getnameinfo 0: unknown error
                ip 207.46.197.32
                port 80
Finding google.org service ldap...
res 0: unknown error
        flags 0
        family 2
        socktype 1
        protocol 0
        addrlen 16:     Found 66.102.7.104
        Found google.org...
                getnameinfo 0: unknown error
                ip 66.102.7.104
                port 389
================ Failure output on IRIX 6.5 (with NULL access fixed) ==========
Finding www.gnu.org service http...
res 0: Unknown error
        flags 0
        family 2
        socktype 0
        protocol 0
        addrlen 16:     Found 199.232.41.10
                getnameinfo 0: Unknown error
                ip 199.232.41.10
                port 80
Finding www.ibm.com service https...
res -2: Name or service not known
Finding microsoft.com service http...
res 0: Unknown error
        flags 0
        family 2
        socktype 0
        protocol 0
        addrlen 16:     Found 207.46.232.182
                getnameinfo 0: Unknown error
                ip 207.46.232.182
                port 80
Finding google.org service ldap...
res 0: Unknown error
        flags 0
        family 2
        socktype 0
        protocol 0
        addrlen 16:     Found 66.249.93.104
                getnameinfo 0: Unknown error
                ip 66.249.93.104
                port 389





reply via email to

[Prev in Thread] Current Thread [Next in Thread]