Author Steap
Recipients Steap, ned.deily, vstinner
Date 2014-03-15.04:31:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394857876.83.0.216537039496.issue20868@psf.upfronthosting.co.za>
In-reply-to
Content
I did not know that /etc/services is not always used :/

The main issue is that when you run the test suite in a chroot (to do "pure" builds) or in a network sandbox (for other functions). I get the following errors:

======================================================================
ERROR: testGetServBy (test.test_socket.GeneralModuleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/nix-build-python-3.3.4.drv-0/Python-3.Lib/test/test_socket.py", line 840, in testGetServBy
    raise socket.error
OSError

======================================================================
ERROR: testGetaddrinfo (test.test_socket.GeneralModuleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/nix-build-python-3.3.4.drv-0/Python-3.Lib/test/test_socket.py", line 1126, in testGetaddrinfo
    socket.getaddrinfo(HOST, "http")
socket.gaierror: [Errno -8] Servname not supported for ai_socktype

======================================================================
ERROR: test_idna (test.test_socket.GeneralModuleTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/nix-build-python-3.3.4.drv-0/Python-3.Lib/test/test_socket.py", line 1186, in test_idna
    socket.gethostbyname('\u0438\u0441\u043f\u044b\u0442\u0430\u043d\u0438\u0435.python.org')
socket.gaierror: [Errno -2] Name or service not known
History
Date User Action Args
2014-03-15 04:31:16Steapsetrecipients: + Steap, vstinner, ned.deily
2014-03-15 04:31:16Steapsetmessageid: <1394857876.83.0.216537039496.issue20868@psf.upfronthosting.co.za>
2014-03-15 04:31:16Steaplinkissue20868 messages
2014-03-15 04:31:16Steapcreate