This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Michael.Felt
Recipients David.Edelsohn, Michael.Felt, alef, delhallt, giampaolo.rodola, sable
Date 2018-08-14.19:05:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1534273538.75.0.56676864532.issue11192@psf.upfronthosting.co.za>
In-reply-to
Content
The original error reported was fixed by AIX - in AIX 6.1.

It will remain unresolved in AIX 5.3.

There are currently two other errors in test_socket.

FAIL: test_getnameinfo_ipv6_scopeid_symbolic (test.test_socket.GeneralModuleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/prj/python/git/python3-3.7/Lib/test/test_socket.py", line 1649, in test_getnameinfo_ipv6_scopeid_symbolic
    self.assertEqual(nameinfo, ('ff02::1de:c0:face:8d%' + test_interface, '1234'))
AssertionError: Tuples differ: ('ff02::1de:c0:face:8d', '1234') != ('ff02::1de:c0:face:8d%en0', '1234')

First differing element 0:
'ff02::1de:c0:face:8d'
'ff02::1de:c0:face:8d%en0'

- ('ff02::1de:c0:face:8d', '1234')
+ ('ff02::1de:c0:face:8d%en0', '1234')
?                       ++++

I assume the capital D in the argument in the test:
        sockaddr = ('ff02::1de:c0:face:8D', 1234, 0, ifindex)  # Note capital letter `D`.

is meant to trigger getting the IPv6 zoneinfo based on ifindex.

AIX does have a routine to strip zoneinfo off an IPv6 address, but the getnameinfo() and getaddrinfo() do not support this.

I can create a new issue specifically for IPv6 zone id issue, or I can add a PR here. 

Please advise (the PR is merely adding "skipUnless" logic to test_socket.py.

ERROR: test_getaddrinfo_ipv6_scopeid_symbolic
History
Date User Action Args
2018-08-14 19:05:38Michael.Feltsetrecipients: + Michael.Felt, sable, giampaolo.rodola, alef, David.Edelsohn, delhallt
2018-08-14 19:05:38Michael.Feltsetmessageid: <1534273538.75.0.56676864532.issue11192@psf.upfronthosting.co.za>
2018-08-14 19:05:38Michael.Feltlinkissue11192 messages
2018-08-14 19:05:38Michael.Feltcreate