[3.3] Backport CI config from master by vstinner · Pull Request #2481 · python/cpython (original) (raw)
The macOS CI has 4 failing tests: test__osx_support test_distutils test_socket test_sysconfig. Examples:
@ned-deily: Should I try to fix these failures, remove the macOS CI from Travis config, or just do nothing?
======================================================================
FAIL: test_get_platform_osx (test.test__osx_support.Test_OSXSupport)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/travis/build/python/cpython/Lib/test/test__osx_support.py", line 272, in test_get_platform_osx
self.assertEqual(('macosx', '10.6', 'fat'), result)
AssertionError: Tuples differ: ('macosx', '10.6', 'fat') != ('macosx', '10.6', ' ')
test_deployment_target_default (distutils.tests.test_build_ext.BuildExtTestCase) ... /var/folders/my/m6ynh3bn6tq06h7xr3js0z7r0000gn/T/tmpb6az8m/deptargetmodule.c:7:2: error: "Unexpected target"
#error "Unexpected target"
^
======================================================================
ERROR: testFDPassEmpty (test.test_socket.RecvmsgSCMRightsStreamTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/travis/build/python/cpython/Lib/test/test_socket.py", line 2620, in testFDPassEmpty
len(MSG), 10240),
File "/Users/travis/build/python/cpython/Lib/test/test_socket.py", line 1728, in doRecvmsg
result = sock.recvmsg(bufsize, *args)
OSError: [Errno 12] Cannot allocate memory
======================================================================
FAIL: test_get_platform (test.test_sysconfig.TestSysConfig)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/travis/build/python/cpython/Lib/test/test_sysconfig.py", line 179, in test_get_platform
self.assertEqual(get_platform(), 'macosx-10.4-fat')
AssertionError: 'macosx-10.4-x86_64' != 'macosx-10.4-fat'
- macosx-10.4-x86_64
+ macosx-10.4-fat