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

cffi_tests.embedding.test_performance.TestPerformance:test_perf_in_8_threads

self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f90bb9b00a0>

    def test_perf_in_8_threads(self):
        perf_cffi = self.prepare_module('perf')
        self.compile('perf-test', [perf_cffi], opt=True, threads=True,
                     defines={'PTEST_USE_THREAD': '8'})
>       output = self.execute('perf-test')

../build/extra_tests/cffi_tests/embedding/test_performance.py:50: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <extra_tests.cffi_tests.embedding.test_performance.TestPerformance instance at 0x00007f90bb9b00a0>
name = 'perf-test'

    def execute(self, name):
        path = self.get_path()
        print('running %r in %r' % (name, path))
        executable_name = name
        if sys.platform == 'win32':
            executable_name = os.path.join(path, executable_name + '.exe')
        else:
            executable_name = os.path.join('.', executable_name)
        popen = self._run_base([executable_name], cwd=path,
                               stdout=subprocess.PIPE,
                               universal_newlines=True)
        result, _ = popen.communicate()
        err = popen.returncode
        if err:
            raise OSError("%r failed with exit code %r" % (
>               os.path.join(path, executable_name), err))
E           OSError: '/tmp/buildbot-x86_64/ffi-0/embedding/test_perf_in_8_threads/./perf-test' failed with exit code -6

../build/extra_tests/cffi_tests/embedding/test_basic.py:177: OSError
builder: pypy-c-jit-macos-x86-64 build #1279+
test: cffi_tests.embedding.test_performance.TestPerformance:test_perf_in_8_threads