Home - Summaries: (main) : (py3.11) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

cffi_tests.cffi0.test_zintegration.TestZIntegration:test_distutils_module

self = <extra_tests.cffi_tests.cffi0.test_zintegration.TestZIntegration object at 0x000000010a24a2c0>

    def test_distutils_module(self):
>       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"
        ''')

../build/extra_tests/cffi_tests/cffi0/test_zintegration.py:136: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../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:22: in create_venv
    subprocess.check_call(['virtualenv',
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

popenargs = (['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-11/distutils_module-cpy'],)
kwargs = {}, retcode = 1
cmd = ['virtualenv', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-11/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', '-p', '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/venv/pypy-venv/bin/pypy3', '/tmp/buildbot-arm64/ffi-11/distutils_module-cpy']' returned non-zero exit status 1.

../build/lib-python/3/subprocess.py:413: CalledProcessError
builder: pypy-c-jit-macos-arm64 build #1301+
test: cffi_tests.cffi0.test_zintegration.TestZIntegration:test_distutils_module