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 ned.deily
Recipients geoffreyspear, ned.deily, ronaldoussoren, vinay.sajip
Date 2015-01-15.22:04:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1421359468.99.0.364505052771.issue23211@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, this has the same root cause as the failure in Issue20605 since SMTPServer in smtpd.py uses getaddrinfo.  I'm now able to reliably reproduce the failure.  The system getaddrinfo failure is seen when the OS X 10.6 system's network configuration is *not* using the local mdns for its primary domain service (which can be checked with "scutil --dns"); it fails when using an external dns as its primary dns service.  At least that's one failure scenario.  In any case, this seems to have been fixed in later versions of OS X, the problem appears to be unique to getaddrinfo (gethostbyname works OK), and it's only this one test.  I'm tempted to just close this as "won't fix"; on the other hand, it's easy enough to change this test to use '127.0.0.0' instead of 'localhost'; there are precedents for doing that for other reasons (Issue18792, for example).  Here's a patch that does so and thus avoids the potential problem on 10.6.  I'll apply it if there are no objections.
History
Date User Action Args
2015-01-15 22:04:29ned.deilysetrecipients: + ned.deily, vinay.sajip, ronaldoussoren, geoffreyspear
2015-01-15 22:04:28ned.deilysetmessageid: <1421359468.99.0.364505052771.issue23211@psf.upfronthosting.co.za>
2015-01-15 22:04:28ned.deilylinkissue23211 messages
2015-01-15 22:04:28ned.deilycreate