cffi_tests.cffi0.test_zintegration.TestZIntegration:test_setuptools_package_1
self = <extra_tests.cffi_tests.cffi0.test_zintegration.TestZIntegration object at 0x00007f90bbb61558>
def test_setuptools_package_1(self):
> 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"
''')
../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:164:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:109: in run_setup_and_program
venv_dir = create_venv(dirname + '-cpy')
../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:26: in create_venv
str(tmpdir)])
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
popenargs = (['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/setuptools_package_1-cpy'],)
kwargs = {}, retcode = 1
cmd = ['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/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 Popen constructor. 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 CalledProcessError: Command '['virtualenv', '-p', '/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/venv/pypy-venv/bin/pypy', '/tmp/buildbot-x86_64/ffi-0/setuptools_package_1-cpy']' returned non-zero exit status 1
../build/lib-python/2.7/subprocess.py:190: CalledProcessError
builder: pypy-c-jit-macos-x86-64 build #1279+
test: cffi_tests.cffi0.test_zintegration.TestZIntegration:test_setuptools_package_1