[Python-modules-team] Bug#707164: python-cffi: FTBFS: Python 3.3 tests failed
Jakub Wilk
jwilk at debian.org
Tue May 7 20:30:56 UTC 2013
Source: python-cffi
Version: 0.6-1
Severity: serious
User: debian-python at lists.debian.org
Usertags: python3.3
python-cffi FTBFS:
| + _py_=3.3
| + python3.3 -c from distutils.command.build import build; from distutils.core import Distribution; b = build(Distribution()); b.finalize_options(); print(b.build_platlib)
| + PYTHONPATH=build/lib.linux-i686-3.3 py.test-3.3 c/ testing/
| ============================= test session starts ==============================
| platform linux -- Python 3.3.1 -- pytest-2.2.4
| collecting ... collected 987 items
|
| c/test_c.py .........s...........................................................................................................................s..................s..........
| testing/test_cdata.py .
| testing/test_ctypes.py ..................s...............s.s.s.......s....................ssssss..s..s.....................sssssss
| testing/test_ffi_backend.py .............................................................................s...s................................s............s........
| testing/test_function.py .....s............ss.
| testing/test_model.py ............
| testing/test_ownlib.py ..ss..
| testing/test_parsing.py ..................s
| testing/test_platform.py ....
| testing/test_unicode_literals.py ............
| testing/test_verify.py ..........s.............s.....................................................s...................................
| testing/test_verify2.py ..........s.............s.....................................................s...................................
| testing/test_version.py .....
| testing/test_vgen.py ..........s.............s.....................................................s...................................
| testing/test_vgen2.py ..........s.............s.....................................................s...................................
| testing/test_zdistutils.py ......................................
| testing/test_zintegration.py FFFFFFF
|
| =================================== FAILURES ===================================
| _____________________________ test_infrastructure ______________________________
|
| def test_infrastructure():
| run_setup_and_program('infrastructure', '''
| import snip_infrastructure
| assert snip_infrastructure.func() == 42
| > ''')
|
| testing/test_zintegration.py:79:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| dirname = 'infrastructure'
| python_snippet = '\n import snip_infrastructure\n assert snip_infrastructure.func() == 42\n '
|
| def run_setup_and_program(dirname, python_snippet):
| > venv_dir = create_venv(dirname + '-cpy')
|
| testing/test_zintegration.py:61:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| name = 'infrastructure-cpy'
|
| def create_venv(name):
| tmpdir = udir.join(name)
| try:
| subprocess.check_call(['virtualenv', '--distribute',
| '-p', os.path.abspath(sys.executable),
| > str(tmpdir)])
|
| testing/test_zintegration.py:11:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| popenargs = (['virtualenv', '--distribute', '-p', '/usr/bin/python3.3', '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/infrastructure-cpy'],)
| kwargs = {}, retcode = 1
| cmd = ['virtualenv', '--distribute', '-p', '/usr/bin/python3.3', '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/infrastructure-cpy']
|
| def check_call(*popenargs, **kwargs):
| """Run command with arguments. Wait for command to complete. If
| the exit code was zero then return, otherwise raise
| CalledProcessError. The CalledProcessError object will have the
| return code in the returncode attribute.
|
| The arguments are the same as for the call function. Example:
|
| check_call(["ls", "-l"])
| """
| retcode = call(*popenargs, **kwargs)
| if retcode:
| cmd = kwargs.get("args")
| if cmd is None:
| cmd = popenargs[0]
| > raise CalledProcessError(retcode, cmd)
| E subprocess.CalledProcessError: Command '['virtualenv', '--distribute', '-p', '/usr/bin/python3.3', '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/infrastructure-cpy']' returned non-zero exit status 1
|
| /usr/lib/python3.3/subprocess.py:544: CalledProcessError
| ------------------------------- Captured stdout --------------------------------
| New python executable in /build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/infrastructure-cpy/bin/python3.3
| Also creating executable in /build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/infrastructure-cpy/bin/python
| Installing distribute................................................................................................................................................................................................................................................................................................................done.
| Installing pip...
| Error [Errno 2] No such file or directory: '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/infrastructure-cpy/bin/easy_install' while executing command /build/python-cffi-8...cpy/bin/easy_install /usr/share/python-vi...p-1.1.debian1.tar.gz
| ...Installing pip...done.
| Running virtualenv with interpreter /usr/bin/python3.3
| ------------------------------- Captured stderr --------------------------------
| Traceback (most recent call last):
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 2283, in <module>
| main()
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 938, in main
| never_download=options.never_download)
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 1054, in create_environment
| install_pip(py_executable, search_dirs=search_dirs, never_download=never_download)
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 643, in install_pip
| filter_stdout=_filter_setup)
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 976, in call_subprocess
| cwd=cwd, env=env)
| File "/usr/lib/python3.3/subprocess.py", line 820, in __init__
| restore_signals, start_new_session)
| File "/usr/lib/python3.3/subprocess.py", line 1438, in _execute_child
| raise child_exception_type(errno_num, err_msg)
| FileNotFoundError: [Errno 2] No such file or directory: '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/infrastructure-cpy/bin/easy_install'
| ____________________________ test_distutils_module _____________________________
|
| def test_distutils_module():
| run_setup_and_program("distutils_module", '''
| import snip_basic_verify
| p = snip_basic_verify.C.getpwuid(0)
| assert snip_basic_verify.ffi.string(p.pw_name) == b"root"
| > ''')
|
| testing/test_zintegration.py:86:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| dirname = 'distutils_module'
| python_snippet = '\n import snip_basic_verify\n p = snip_basic_verify.C.getpwuid(0)\n assert snip_basic_verify.ffi.string(p.pw_name) == b"root"\n '
|
| def run_setup_and_program(dirname, python_snippet):
| > venv_dir = create_venv(dirname + '-cpy')
|
| testing/test_zintegration.py:61:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| name = 'distutils_module-cpy'
|
| def create_venv(name):
| tmpdir = udir.join(name)
| try:
| subprocess.check_call(['virtualenv', '--distribute',
| '-p', os.path.abspath(sys.executable),
| > str(tmpdir)])
|
| testing/test_zintegration.py:11:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| popenargs = (['virtualenv', '--distribute', '-p', '/usr/bin/python3.3', '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/distutils_module-cpy'],)
| kwargs = {}, retcode = 1
| cmd = ['virtualenv', '--distribute', '-p', '/usr/bin/python3.3', '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/distutils_module-cpy']
|
| def check_call(*popenargs, **kwargs):
| """Run command with arguments. Wait for command to complete. If
| the exit code was zero then return, otherwise raise
| CalledProcessError. The CalledProcessError object will have the
| return code in the returncode attribute.
|
| The arguments are the same as for the call function. Example:
|
| check_call(["ls", "-l"])
| """
| retcode = call(*popenargs, **kwargs)
| if retcode:
| cmd = kwargs.get("args")
| if cmd is None:
| cmd = popenargs[0]
| > raise CalledProcessError(retcode, cmd)
| E subprocess.CalledProcessError: Command '['virtualenv', '--distribute', '-p', '/usr/bin/python3.3', '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/distutils_module-cpy']' returned non-zero exit status 1
|
| /usr/lib/python3.3/subprocess.py:544: CalledProcessError
| ------------------------------- Captured stdout --------------------------------
| New python executable in /build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/distutils_module-cpy/bin/python3.3
| Also creating executable in /build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/distutils_module-cpy/bin/python
| Installing distribute................................................................................................................................................................................................................................................................................................................done.
| Installing pip...
| Error [Errno 2] No such file or directory: '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/distutils_module-cpy/bin/easy_install' while executing command /build/python-cffi-8...cpy/bin/easy_install /usr/share/python-vi...p-1.1.debian1.tar.gz
| ...Installing pip...done.
| Running virtualenv with interpreter /usr/bin/python3.3
| ------------------------------- Captured stderr --------------------------------
| Traceback (most recent call last):
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 2283, in <module>
| main()
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 938, in main
| never_download=options.never_download)
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 1054, in create_environment
| install_pip(py_executable, search_dirs=search_dirs, never_download=never_download)
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 643, in install_pip
| filter_stdout=_filter_setup)
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 976, in call_subprocess
| cwd=cwd, env=env)
| File "/usr/lib/python3.3/subprocess.py", line 820, in __init__
| restore_signals, start_new_session)
| File "/usr/lib/python3.3/subprocess.py", line 1438, in _execute_child
| raise child_exception_type(errno_num, err_msg)
| FileNotFoundError: [Errno 2] No such file or directory: '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/distutils_module-cpy/bin/easy_install'
| ___________________________ test_distutils_package_1 ___________________________
|
| def test_distutils_package_1():
| run_setup_and_program("distutils_package_1", '''
| import snip_basic_verify1
| p = snip_basic_verify1.C.getpwuid(0)
| assert snip_basic_verify1.ffi.string(p.pw_name) == b"root"
| > ''')
|
| testing/test_zintegration.py:93:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| dirname = 'distutils_package_1'
| python_snippet = '\n import snip_basic_verify1\n p = snip_basic_verify1.C.getpwuid(0)\n assert snip_basic_verify1.ffi.string(p.pw_name) == b"root"\n '
|
| def run_setup_and_program(dirname, python_snippet):
| > venv_dir = create_venv(dirname + '-cpy')
|
| testing/test_zintegration.py:61:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| name = 'distutils_package_1-cpy'
|
| def create_venv(name):
| tmpdir = udir.join(name)
| try:
| subprocess.check_call(['virtualenv', '--distribute',
| '-p', os.path.abspath(sys.executable),
| > str(tmpdir)])
|
| testing/test_zintegration.py:11:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| popenargs = (['virtualenv', '--distribute', '-p', '/usr/bin/python3.3', '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/distutils_package_1-cpy'],)
| kwargs = {}, retcode = 1
| cmd = ['virtualenv', '--distribute', '-p', '/usr/bin/python3.3', '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/distutils_package_1-cpy']
|
| def check_call(*popenargs, **kwargs):
| """Run command with arguments. Wait for command to complete. If
| the exit code was zero then return, otherwise raise
| CalledProcessError. The CalledProcessError object will have the
| return code in the returncode attribute.
|
| The arguments are the same as for the call function. Example:
|
| check_call(["ls", "-l"])
| """
| retcode = call(*popenargs, **kwargs)
| if retcode:
| cmd = kwargs.get("args")
| if cmd is None:
| cmd = popenargs[0]
| > raise CalledProcessError(retcode, cmd)
| E subprocess.CalledProcessError: Command '['virtualenv', '--distribute', '-p', '/usr/bin/python3.3', '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/distutils_package_1-cpy']' returned non-zero exit status 1
|
| /usr/lib/python3.3/subprocess.py:544: CalledProcessError
| ------------------------------- Captured stdout --------------------------------
| New python executable in /build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/distutils_package_1-cpy/bin/python3.3
| Also creating executable in /build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/distutils_package_1-cpy/bin/python
| Installing distribute................................................................................................................................................................................................................................................................................................................done.
| Installing pip...
| Error [Errno 2] No such file or directory: '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/distutils_package_1-cpy/bin/easy_install' while executing command /build/python-cffi-8...cpy/bin/easy_install /usr/share/python-vi...p-1.1.debian1.tar.gz
| ...Installing pip...done.
| Running virtualenv with interpreter /usr/bin/python3.3
| ------------------------------- Captured stderr --------------------------------
| Traceback (most recent call last):
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 2283, in <module>
| main()
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 938, in main
| never_download=options.never_download)
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 1054, in create_environment
| install_pip(py_executable, search_dirs=search_dirs, never_download=never_download)
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 643, in install_pip
| filter_stdout=_filter_setup)
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 976, in call_subprocess
| cwd=cwd, env=env)
| File "/usr/lib/python3.3/subprocess.py", line 820, in __init__
| restore_signals, start_new_session)
| File "/usr/lib/python3.3/subprocess.py", line 1438, in _execute_child
| raise child_exception_type(errno_num, err_msg)
| FileNotFoundError: [Errno 2] No such file or directory: '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/distutils_package_1-cpy/bin/easy_install'
| ___________________________ test_distutils_package_2 ___________________________
|
| def test_distutils_package_2():
| run_setup_and_program("distutils_package_2", '''
| import snip_basic_verify2
| p = snip_basic_verify2.C.getpwuid(0)
| assert snip_basic_verify2.ffi.string(p.pw_name) == b"root"
| > ''')
|
| testing/test_zintegration.py:100:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| dirname = 'distutils_package_2'
| python_snippet = '\n import snip_basic_verify2\n p = snip_basic_verify2.C.getpwuid(0)\n assert snip_basic_verify2.ffi.string(p.pw_name) == b"root"\n '
|
| def run_setup_and_program(dirname, python_snippet):
| > venv_dir = create_venv(dirname + '-cpy')
|
| testing/test_zintegration.py:61:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| name = 'distutils_package_2-cpy'
|
| def create_venv(name):
| tmpdir = udir.join(name)
| try:
| subprocess.check_call(['virtualenv', '--distribute',
| '-p', os.path.abspath(sys.executable),
| > str(tmpdir)])
|
| testing/test_zintegration.py:11:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| popenargs = (['virtualenv', '--distribute', '-p', '/usr/bin/python3.3', '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/distutils_package_2-cpy'],)
| kwargs = {}, retcode = 1
| cmd = ['virtualenv', '--distribute', '-p', '/usr/bin/python3.3', '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/distutils_package_2-cpy']
|
| def check_call(*popenargs, **kwargs):
| """Run command with arguments. Wait for command to complete. If
| the exit code was zero then return, otherwise raise
| CalledProcessError. The CalledProcessError object will have the
| return code in the returncode attribute.
|
| The arguments are the same as for the call function. Example:
|
| check_call(["ls", "-l"])
| """
| retcode = call(*popenargs, **kwargs)
| if retcode:
| cmd = kwargs.get("args")
| if cmd is None:
| cmd = popenargs[0]
| > raise CalledProcessError(retcode, cmd)
| E subprocess.CalledProcessError: Command '['virtualenv', '--distribute', '-p', '/usr/bin/python3.3', '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/distutils_package_2-cpy']' returned non-zero exit status 1
|
| /usr/lib/python3.3/subprocess.py:544: CalledProcessError
| ------------------------------- Captured stdout --------------------------------
| New python executable in /build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/distutils_package_2-cpy/bin/python3.3
| Also creating executable in /build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/distutils_package_2-cpy/bin/python
| Installing distribute................................................................................................................................................................................................................................................................................................................done.
| Installing pip...
| Error [Errno 2] No such file or directory: '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/distutils_package_2-cpy/bin/easy_install' while executing command /build/python-cffi-8...cpy/bin/easy_install /usr/share/python-vi...p-1.1.debian1.tar.gz
| ...Installing pip...done.
| Running virtualenv with interpreter /usr/bin/python3.3
| ------------------------------- Captured stderr --------------------------------
| Traceback (most recent call last):
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 2283, in <module>
| main()
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 938, in main
| never_download=options.never_download)
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 1054, in create_environment
| install_pip(py_executable, search_dirs=search_dirs, never_download=never_download)
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 643, in install_pip
| filter_stdout=_filter_setup)
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 976, in call_subprocess
| cwd=cwd, env=env)
| File "/usr/lib/python3.3/subprocess.py", line 820, in __init__
| restore_signals, start_new_session)
| File "/usr/lib/python3.3/subprocess.py", line 1438, in _execute_child
| raise child_exception_type(errno_num, err_msg)
| FileNotFoundError: [Errno 2] No such file or directory: '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/distutils_package_2-cpy/bin/easy_install'
| ____________________________ test_setuptools_module ____________________________
|
| def test_setuptools_module():
| run_setup_and_program("setuptools_module", '''
| import snip_setuptools_verify
| p = snip_setuptools_verify.C.getpwuid(0)
| assert snip_setuptools_verify.ffi.string(p.pw_name) == b"root"
| > ''')
|
| testing/test_zintegration.py:107:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| dirname = 'setuptools_module'
| python_snippet = '\n import snip_setuptools_verify\n p = snip_setuptools_verify.C.getpwuid(0)\n assert snip_setuptools_verify.ffi.string(p.pw_name) == b"root"\n '
|
| def run_setup_and_program(dirname, python_snippet):
| > venv_dir = create_venv(dirname + '-cpy')
|
| testing/test_zintegration.py:61:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| name = 'setuptools_module-cpy'
|
| def create_venv(name):
| tmpdir = udir.join(name)
| try:
| subprocess.check_call(['virtualenv', '--distribute',
| '-p', os.path.abspath(sys.executable),
| > str(tmpdir)])
|
| testing/test_zintegration.py:11:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| popenargs = (['virtualenv', '--distribute', '-p', '/usr/bin/python3.3', '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/setuptools_module-cpy'],)
| kwargs = {}, retcode = 1
| cmd = ['virtualenv', '--distribute', '-p', '/usr/bin/python3.3', '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/setuptools_module-cpy']
|
| def check_call(*popenargs, **kwargs):
| """Run command with arguments. Wait for command to complete. If
| the exit code was zero then return, otherwise raise
| CalledProcessError. The CalledProcessError object will have the
| return code in the returncode attribute.
|
| The arguments are the same as for the call function. Example:
|
| check_call(["ls", "-l"])
| """
| retcode = call(*popenargs, **kwargs)
| if retcode:
| cmd = kwargs.get("args")
| if cmd is None:
| cmd = popenargs[0]
| > raise CalledProcessError(retcode, cmd)
| E subprocess.CalledProcessError: Command '['virtualenv', '--distribute', '-p', '/usr/bin/python3.3', '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/setuptools_module-cpy']' returned non-zero exit status 1
|
| /usr/lib/python3.3/subprocess.py:544: CalledProcessError
| ------------------------------- Captured stdout --------------------------------
| New python executable in /build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/setuptools_module-cpy/bin/python3.3
| Also creating executable in /build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/setuptools_module-cpy/bin/python
| Installing distribute................................................................................................................................................................................................................................................................................................................done.
| Installing pip...
| Error [Errno 2] No such file or directory: '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/setuptools_module-cpy/bin/easy_install' while executing command /build/python-cffi-8...cpy/bin/easy_install /usr/share/python-vi...p-1.1.debian1.tar.gz
| ...Installing pip...done.
| Running virtualenv with interpreter /usr/bin/python3.3
| ------------------------------- Captured stderr --------------------------------
| Traceback (most recent call last):
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 2283, in <module>
| main()
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 938, in main
| never_download=options.never_download)
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 1054, in create_environment
| install_pip(py_executable, search_dirs=search_dirs, never_download=never_download)
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 643, in install_pip
| filter_stdout=_filter_setup)
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 976, in call_subprocess
| cwd=cwd, env=env)
| File "/usr/lib/python3.3/subprocess.py", line 820, in __init__
| restore_signals, start_new_session)
| File "/usr/lib/python3.3/subprocess.py", line 1438, in _execute_child
| raise child_exception_type(errno_num, err_msg)
| FileNotFoundError: [Errno 2] No such file or directory: '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/setuptools_module-cpy/bin/easy_install'
| __________________________ test_setuptools_package_1 ___________________________
|
| def test_setuptools_package_1():
| run_setup_and_program("setuptools_package_1", '''
| import snip_setuptools_verify1
| p = snip_setuptools_verify1.C.getpwuid(0)
| assert snip_setuptools_verify1.ffi.string(p.pw_name) == b"root"
| > ''')
|
| testing/test_zintegration.py:114:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| dirname = 'setuptools_package_1'
| python_snippet = '\n import snip_setuptools_verify1\n p = snip_setuptools_verify1.C.getpwuid(0)\n assert snip_setuptools_verify1.ffi.string(p.pw_name) == b"root"\n '
|
| def run_setup_and_program(dirname, python_snippet):
| > venv_dir = create_venv(dirname + '-cpy')
|
| testing/test_zintegration.py:61:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| name = 'setuptools_package_1-cpy'
|
| def create_venv(name):
| tmpdir = udir.join(name)
| try:
| subprocess.check_call(['virtualenv', '--distribute',
| '-p', os.path.abspath(sys.executable),
| > str(tmpdir)])
|
| testing/test_zintegration.py:11:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| popenargs = (['virtualenv', '--distribute', '-p', '/usr/bin/python3.3', '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/setuptools_package_1-cpy'],)
| kwargs = {}, retcode = 1
| cmd = ['virtualenv', '--distribute', '-p', '/usr/bin/python3.3', '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/setuptools_package_1-cpy']
|
| def check_call(*popenargs, **kwargs):
| """Run command with arguments. Wait for command to complete. If
| the exit code was zero then return, otherwise raise
| CalledProcessError. The CalledProcessError object will have the
| return code in the returncode attribute.
|
| The arguments are the same as for the call function. Example:
|
| check_call(["ls", "-l"])
| """
| retcode = call(*popenargs, **kwargs)
| if retcode:
| cmd = kwargs.get("args")
| if cmd is None:
| cmd = popenargs[0]
| > raise CalledProcessError(retcode, cmd)
| E subprocess.CalledProcessError: Command '['virtualenv', '--distribute', '-p', '/usr/bin/python3.3', '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/setuptools_package_1-cpy']' returned non-zero exit status 1
|
| /usr/lib/python3.3/subprocess.py:544: CalledProcessError
| ------------------------------- Captured stdout --------------------------------
| New python executable in /build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/setuptools_package_1-cpy/bin/python3.3
| Also creating executable in /build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/setuptools_package_1-cpy/bin/python
| Installing distribute................................................................................................................................................................................................................................................................................................................done.
| Installing pip...
| Error [Errno 2] No such file or directory: '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/setuptools_package_1-cpy/bin/easy_install' while executing command /build/python-cffi-8...cpy/bin/easy_install /usr/share/python-vi...p-1.1.debian1.tar.gz
| ...Installing pip...done.
| Running virtualenv with interpreter /usr/bin/python3.3
| ------------------------------- Captured stderr --------------------------------
| Traceback (most recent call last):
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 2283, in <module>
| main()
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 938, in main
| never_download=options.never_download)
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 1054, in create_environment
| install_pip(py_executable, search_dirs=search_dirs, never_download=never_download)
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 643, in install_pip
| filter_stdout=_filter_setup)
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 976, in call_subprocess
| cwd=cwd, env=env)
| File "/usr/lib/python3.3/subprocess.py", line 820, in __init__
| restore_signals, start_new_session)
| File "/usr/lib/python3.3/subprocess.py", line 1438, in _execute_child
| raise child_exception_type(errno_num, err_msg)
| FileNotFoundError: [Errno 2] No such file or directory: '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/setuptools_package_1-cpy/bin/easy_install'
| __________________________ test_setuptools_package_2 ___________________________
|
| def test_setuptools_package_2():
| run_setup_and_program("setuptools_package_2", '''
| import snip_setuptools_verify2
| p = snip_setuptools_verify2.C.getpwuid(0)
| assert snip_setuptools_verify2.ffi.string(p.pw_name) == b"root"
| > ''')
|
| testing/test_zintegration.py:121:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| dirname = 'setuptools_package_2'
| python_snippet = '\n import snip_setuptools_verify2\n p = snip_setuptools_verify2.C.getpwuid(0)\n assert snip_setuptools_verify2.ffi.string(p.pw_name) == b"root"\n '
|
| def run_setup_and_program(dirname, python_snippet):
| > venv_dir = create_venv(dirname + '-cpy')
|
| testing/test_zintegration.py:61:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| name = 'setuptools_package_2-cpy'
|
| def create_venv(name):
| tmpdir = udir.join(name)
| try:
| subprocess.check_call(['virtualenv', '--distribute',
| '-p', os.path.abspath(sys.executable),
| > str(tmpdir)])
|
| testing/test_zintegration.py:11:
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
| popenargs = (['virtualenv', '--distribute', '-p', '/usr/bin/python3.3', '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/setuptools_package_2-cpy'],)
| kwargs = {}, retcode = 1
| cmd = ['virtualenv', '--distribute', '-p', '/usr/bin/python3.3', '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/setuptools_package_2-cpy']
|
| def check_call(*popenargs, **kwargs):
| """Run command with arguments. Wait for command to complete. If
| the exit code was zero then return, otherwise raise
| CalledProcessError. The CalledProcessError object will have the
| return code in the returncode attribute.
|
| The arguments are the same as for the call function. Example:
|
| check_call(["ls", "-l"])
| """
| retcode = call(*popenargs, **kwargs)
| if retcode:
| cmd = kwargs.get("args")
| if cmd is None:
| cmd = popenargs[0]
| > raise CalledProcessError(retcode, cmd)
| E subprocess.CalledProcessError: Command '['virtualenv', '--distribute', '-p', '/usr/bin/python3.3', '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/setuptools_package_2-cpy']' returned non-zero exit status 1
|
| /usr/lib/python3.3/subprocess.py:544: CalledProcessError
| ------------------------------- Captured stdout --------------------------------
| New python executable in /build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/setuptools_package_2-cpy/bin/python3.3
| Also creating executable in /build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/setuptools_package_2-cpy/bin/python
| Installing distribute................................................................................................................................................................................................................................................................................................................done.
| Installing pip...
| Error [Errno 2] No such file or directory: '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/setuptools_package_2-cpy/bin/easy_install' while executing command /build/python-cffi-8...cpy/bin/easy_install /usr/share/python-vi...p-1.1.debian1.tar.gz
| ...Installing pip...done.
| Running virtualenv with interpreter /usr/bin/python3.3
| ------------------------------- Captured stderr --------------------------------
| Traceback (most recent call last):
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 2283, in <module>
| main()
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 938, in main
| never_download=options.never_download)
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 1054, in create_environment
| install_pip(py_executable, search_dirs=search_dirs, never_download=never_download)
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 643, in install_pip
| filter_stdout=_filter_setup)
| File "/usr/lib/python2.7/dist-packages/virtualenv.py", line 976, in call_subprocess
| cwd=cwd, env=env)
| File "/usr/lib/python3.3/subprocess.py", line 820, in __init__
| restore_signals, start_new_session)
| File "/usr/lib/python3.3/subprocess.py", line 1438, in _execute_child
| raise child_exception_type(errno_num, err_msg)
| FileNotFoundError: [Errno 2] No such file or directory: '/build/python-cffi-8NPBGp/python-cffi-0.6/build/tmp/ffi-4/setuptools_package_2-cpy/bin/easy_install'
| ============== 7 failed, 935 passed, 45 skipped in 254.51 seconds ==============
--
Jakub Wilk
More information about the Python-modules-team
mailing list