Message213635
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 |
|
Date |
User |
Action |
Args |
2014-03-15 04:31:16 | Steap | set | recipients:
+ Steap, vstinner, ned.deily |
2014-03-15 04:31:16 | Steap | set | messageid: <1394857876.83.0.216537039496.issue20868@psf.upfronthosting.co.za> |
2014-03-15 04:31:16 | Steap | link | issue20868 messages |
2014-03-15 04:31:16 | Steap | create | |
|