request from: hawk checking if we should skip the build started at: Mon May 28 14:02:55 2018 fetching http://kraz.tld-linux.org/~builderti//srpms/5f486559-05e4-4795-bae7-136debbec9d3/python-cffi-1.11.5-1.src.rpm fetched 445694 bytes, 818.8 K/s installing srpm: python-cffi-1.11.5-1.src.rpm mesg: ttyname failed: Inappropriate ioctl for device + install -d /tmp/B.QBYi88/BUILD /tmp/B.QBYi88/RPMS + LC_ALL=en_US.UTF-8 + rpm -qp --changelog python-cffi-1.11.5-1.src.rpm * Mon May 28 2018 TLD Linux - For complete changelog see: http://git.tld-linux.org/?p=packages/python-cffi.git;a=log;h=master * Sun May 27 2018 Jakub Bogusz becc148 - added tests patch (adjust tests for deeper build-* dirs) * Sun May 27 2018 Jakub Bogusz 5cd26f1 - updated to 1.11.5 - split -apidocs - run tests (except for one set, more or less randomly failing) + rpm -Uhv --nodeps --define '_topdir /tmp/B.QBYi88' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' python-cffi-1.11.5-1.src.rpm python-cffi ################################################## + rm -f python-cffi-1.11.5-1.src.rpm mesg: ttyname failed: Inappropriate ioctl for device + install -m 700 -d /tmp/B.QBYi88/BUILD/tmp mesg: ttyname failed: Inappropriate ioctl for device + TMPDIR=/tmp/B.QBYi88/BUILD/tmp + exec nice -n 19 rpmbuild -bp --short-circuit --nodeps --define '_topdir /tmp/B.QBYi88' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target x86_64-tld-linux --define 'prep exit 0' /tmp/B.QBYi88/python-cffi.spec Building target platforms: x86_64-tld-linux checking BuildConflict-ing packages no BuildConflicts found checking BR rpm: error: Failed build dependencies: rpm: python3-pycparser is needed by python-cffi-1.11.5-1.src rpm: Building target platforms: x86_64-tld-linux updating poldek cache... local is up to date Retrieving ti::packages.ndir.md... ti is up to date Retrieving ti::packages.ndir.md... ti is up to date Retrieving ti-test::packages.ndir.md... ti-test is up to date Retrieving ti-test::packages.ndir.md... Retrieving ti-test::packages.ndir.diff.toc.gz... Retrieving diff::packages.ndir.2018.05.28-11.29.01.gz... ..............................done Retrieving diff::packages.ndir.dscr.2018.05.28-11.29.01.gz... Loading [pndir]ti-test... Applying packages.ndir.2018.05.28-11.29.01.gz... Writing /root/.poldek-cache/[...]/packages.ndir.gz... checking conflicting packages in BRed packages poldek: Loading [pndir]local... poldek: Loading [pndir]ti... poldek: Loading [pndir]ti... poldek: Loading [pndir]ti-test... poldek: Loading [pndir]ti-test... poldek: 7792 packages read poldek: Removed 521 duplicate packages from available set poldek: Processing dependencies... poldek: There are 1 package to install: poldek: I python3-pycparser-2.18-1.noarch poldek: This operation will use 1.2MB of disk space. poldek: Need to get 175.4KB of archives. poldek: Executing pm-command.sh --upgrade -vh --test --root / --define _check_dirname_deps 1... poldek: Preparing... ################################################## no conflicts found checking BR rpm: error: Failed build dependencies: rpm: python3-pycparser is needed by python-cffi-1.11.5-1.src rpm: Building target platforms: x86_64-tld-linux installing BR: python3\-pycparser + poldek --noask --caplookup -Q -v --upgrade python3-pycparser Loading [pndir]local... Loading [pndir]ti... Loading [pndir]ti... Loading [pndir]ti-test... Loading [pndir]ti-test... 7792 packages read Removed 521 duplicate packages from available set Processing dependencies... There are 1 package to install: I python3-pycparser-2.18-1.noarch This operation will use 1.2MB of disk space. Need to get 175.4KB of archives. Executing pm-command.sh --upgrade -vh --root / --define _check_dirname_deps 1... Preparing... ################################################## python3-pycparser ################################################## building RPM using: set -ex; : build-id: 5f486559-05e4-4795-bae7-136debbec9d3; TMPDIR=/tmp/B.QBYi88/BUILD/tmp exec nice -n 19 rpmbuild -bb --define '_smp_mflags -j8' --define '_tld_builder 1' --define '_topdir /tmp/B.QBYi88' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target x86_64-tld-linux /tmp/B.QBYi88/python-cffi.spec mesg: ttyname failed: Inappropriate ioctl for device + : build-id: 5f486559-05e4-4795-bae7-136debbec9d3 + TMPDIR=/tmp/B.QBYi88/BUILD/tmp + exec nice -n 19 rpmbuild -bb --define '_smp_mflags -j8' --define '_tld_builder 1' --define '_topdir /tmp/B.QBYi88' --define '_specdir %{_topdir}' --define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define '_builddir %{_topdir}/BUILD' --target x86_64-tld-linux /tmp/B.QBYi88/python-cffi.spec Building target platforms: x86_64-tld-linux Executing(%prep): env -i TMP=/home/users/builder/tmp HOME=/home/users/builder PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/users/builder/bin TMPDIR=/tmp/B.QBYi88/BUILD/tmp /bin/sh -e /tmp/B.QBYi88/BUILD/tmp/rpm-tmp.83972 + umask 022 + cd /tmp/B.QBYi88/BUILD + cd /tmp/B.QBYi88/BUILD + rm -rf cffi-1.11.5 + /usr/bin/gzip -dc /tmp/B.QBYi88/cffi-1.11.5.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd cffi-1.11.5 + /bin/id -u + '[' 10001 '=' 0 ']' + true . + /bin/chmod -Rf -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (python-cffi-tests.patch):' Patch #0 (python-cffi-tests.patch): + build-2/lib.linux-x86_64-2.7/cffi copying cffi/cparser.py -> build-2/lib.linux-x86_64-2.7/cffi copying cffi/backend_ctypes.py -> build-2/lib.linux-x86_64-2.7/cffi copying cffi/api.py -> build-2/lib.linux-x86_64-2.7/cffi copying cffi/lock.py -> build-2/lib.linux-x86_64-2.7/cffi copying cffi/ffiplatform.py -> build-2/lib.linux-x86_64-2.7/cffi copying cffi/__init__.py -> build-2/lib.linux-x86_64-2.7/cffi copying cffi/commontypes.py -> build-2/lib.linux-x86_64-2.7/cffi copying cffi/recompiler.py -> build-2/lib.linux-x86_64-2.7/cffi copying cffi/cffi_opcode.py -> build-2/lib.linux-x86_64-2.7/cffi copying cffi/vengine_cpy.py -> build-2/lib.linux-x86_64-2.7/cffi copying cffi/vengine_gen.py -> build-2/lib.linux-x86_64-2.7/cffi copying cffi/model.py -> build-2/lib.linux-x86_64-2.7/cffi copying cffi/verifier.py -> build-2/lib.linux-x86_64-2.7/cffi copying cffi/error.py -> build-2/lib.linux-x86_64-2.7/cffi copying cffi/_cffi_include.h -> build-2/lib.linux-x86_64-2.7/cffi copying cffi/parse_c_type.h -> build-2/lib.linux-x86_64-2.7/cffi copying cffi/_embedding.h -> build-2/lib.linux-x86_64-2.7/cffi copying cffi/_cffi_errors.h -> build-2/lib.linux-x86_64-2.7/cffi running build_ext building '_cffi_backend' extension creating build-2/temp.linux-x86_64-2.7 creating build-2/temp.linux-x86_64-2.7/c x86_64-tld-linux-gcc -DNDEBUG -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/lib64/libffi-3.2.1/include -I/usr/include/python2.7 -c c/_cffi_backend.c -o build-2/temp.linux-x86_64-2.7/c/_cffi_backend.o x86_64-tld-linux-gcc -pthread -shared -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 build-2/temp.linux-x86_64-2.7/c/_cffi_backend.o -L/usr/lib64 -lffi -lpython2.7 -o build-2/lib.linux-x86_64-2.7/_cffi_backend.so + echo build-2/lib.linux-x86_64-2.7 + PYTHONPATH=build-2/lib.linux-x86_64-2.7 py.test-2 '--ignore=testing/embedding/test_thread.py' c testing ============================= test session starts ============================== platform linux2 -- Python 2.7.15, pytest-3.0.7, py-1.4.32, pluggy-0.4.0 rootdir: /tmp/B.QBYi88/BUILD/cffi-1.11.5, inifile: collected 1969 items c/test_c.py ...............................................................................................................................................s.......................s.......................................... testing/cffi0/test_cdata.py . testing/cffi0/test_ctypes.py ..................s...............s.s.s.......s.........................sssssss..s..s.........................................ssssssss. testing/cffi0/test_ffi_backend.py ...................................................................................s...s............................................................s....................ss...............s.s...s.................. testing/cffi0/test_function.py ......s............s..ss..sss..s testing/cffi0/test_model.py ............. testing/cffi0/test_ownlib.py ..ss...ss testing/cffi0/test_parsing.py ......................s......... testing/cffi0/test_platform.py .... testing/cffi0/test_unicode_literals.py ............ testing/cffi0/test_verify.py .........................s.....s.................................................................................................................s...s.............ss testing/cffi0/test_verify2.py .........................s.....s.................................................................................................................s...s.............ss testing/cffi0/test_version.py ...... testing/cffi0/test_vgen.py .........................s.....s.................................................................................................................s...s.............ss testing/cffi0/test_vgen2.py .........................s.....s.................................................................................................................s...s.............ss testing/cffi0/test_zdistutils.py ...................................... testing/cffi0/test_zintegration.py sssssss. testing/cffi1/test_cffi_binary.py . testing/cffi1/test_commontypes.py ... testing/cffi1/test_dlopen.py ............... testing/cffi1/test_dlopen_unicode_literals.py ............... testing/cffi1/test_ffi_obj.py .............................s............. testing/cffi1/test_new_ffi_1.py .................................................................................s...s.................................... testing/cffi1/test_parse_c_type.py .................. testing/cffi1/test_re_python.py ................... testing/cffi1/test_realize_c_type.py ......... testing/cffi1/test_recompiler.py ......................................................................................................................................s.................... testing/cffi1/test_unicode_literals.py ....... testing/cffi1/test_verify1.py .............................s..........................................................................s.....xxx....x......................s...s....s...s.ss testing/cffi1/test_zdist.py ....................... testing/embedding/test_basic.py .... testing/embedding/test_performance.py ..... testing/embedding/test_recursive.py . testing/embedding/test_tlocal.py . ============= 1877 passed, 88 skipped, 4 xfailed in 189.55 seconds ============= + LDFLAGS='-Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc ' + export LDFLAGS + CFLAGS=' -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 ' + export CFLAGS + CXXFLAGS=' -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 ' + export CXXFLAGS + CC=x86_64-tld-linux-gcc + export CC + CXX=x86_64-tld-linux-g++ + export CXX + /usr/bin/python3 setup.py build '--build-base=build-3' running build running build_py creating build-3 creating build-3/lib.linux-x86_64-3.6 creating build-3/lib.linux-x86_64-3.6/cffi copying cffi/setuptools_ext.py -> build-3/lib.linux-x86_64-3.6/cffi copying cffi/cparser.py -> build-3/lib.linux-x86_64-3.6/cffi copying cffi/backend_ctypes.py -> build-3/lib.linux-x86_64-3.6/cffi copying cffi/api.py -> build-3/lib.linux-x86_64-3.6/cffi copying cffi/lock.py -> build-3/lib.linux-x86_64-3.6/cffi copying cffi/ffiplatform.py -> build-3/lib.linux-x86_64-3.6/cffi copying cffi/__init__.py -> build-3/lib.linux-x86_64-3.6/cffi copying cffi/commontypes.py -> build-3/lib.linux-x86_64-3.6/cffi copying cffi/recompiler.py -> build-3/lib.linux-x86_64-3.6/cffi copying cffi/cffi_opcode.py -> build-3/lib.linux-x86_64-3.6/cffi copying cffi/vengine_cpy.py -> build-3/lib.linux-x86_64-3.6/cffi copying cffi/vengine_gen.py -> build-3/lib.linux-x86_64-3.6/cffi copying cffi/model.py -> build-3/lib.linux-x86_64-3.6/cffi copying cffi/verifier.py -> build-3/lib.linux-x86_64-3.6/cffi copying cffi/error.py -> build-3/lib.linux-x86_64-3.6/cffi copying cffi/_cffi_include.h -> build-3/lib.linux-x86_64-3.6/cffi copying cffi/parse_c_type.h -> build-3/lib.linux-x86_64-3.6/cffi copying cffi/_embedding.h -> build-3/lib.linux-x86_64-3.6/cffi copying cffi/_cffi_errors.h -> build-3/lib.linux-x86_64-3.6/cffi running build_ext building '_cffi_backend' extension creating build-3/temp.linux-x86_64-3.6 creating build-3/temp.linux-x86_64-3.6/c x86_64-tld-linux-gcc -DNDEBUG -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -fno-caller-saves -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/lib64/libffi-3.2.1/include -I/usr/include/python3.6m -c c/_cffi_backend.c -o build-3/temp.linux-x86_64-3.6/c/_cffi_backend.o x86_64-tld-linux-gcc -pthread -shared -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 build-3/temp.linux-x86_64-3.6/c/_cffi_backend.o -L/usr/lib64 -lffi -lpython3.6m -o build-3/lib.linux-x86_64-3.6/_cffi_backend.cpython-36m-x86_64-linux-gnu.so + echo build-3/lib.linux-x86_64-3.6 + PYTHONPATH=build-3/lib.linux-x86_64-3.6 py.test-3 '--ignore=testing/embedding/test_thread.py' c testing ============================= test session starts ============================== platform linux -- Python 3.6.5, pytest-3.0.7, py-1.4.32, pluggy-0.4.0 rootdir: /tmp/B.QBYi88/BUILD/cffi-1.11.5, inifile: collected 1969 items c/test_c.py ...............................................................................................................................................s.......................s.......................................... testing/cffi0/test_cdata.py . testing/cffi0/test_ctypes.py ..................s...............s.s.s.......s.........................sssssss..s..s.........................................sssssssss testing/cffi0/test_ffi_backend.py ...................................................................................s...s............................................................s....................ss...............s.s...s.................. testing/cffi0/test_function.py ......s............s..ss..sss..s testing/cffi0/test_model.py ............. testing/cffi0/test_ownlib.py ..ss...ss testing/cffi0/test_parsing.py ......................s......... testing/cffi0/test_platform.py .... testing/cffi0/test_unicode_literals.py ............ testing/cffi0/test_verify.py .........................s.....s.................................................................................................................s...s.............ss testing/cffi0/test_verify2.py .........................s.....s.................................................................................................................s...s.............ss testing/cffi0/test_version.py ...... testing/cffi0/test_vgen.py .........................s.....s.................................................................................................................s...s.............ss testing/cffi0/test_vgen2.py .........................s.....s.................................................................................................................s...s.............ss testing/cffi0/test_zdistutils.py ...................................... testing/cffi0/test_zintegration.py sssssss. testing/cffi1/test_cffi_binary.py . testing/cffi1/test_commontypes.py ... testing/cffi1/test_dlopen.py ............... testing/cffi1/test_dlopen_unicode_literals.py ............... testing/cffi1/test_ffi_obj.py .............................s............. testing/cffi1/test_new_ffi_1.py .................................................................................s...s.................................... testing/cffi1/test_parse_c_type.py .................. testing/cffi1/test_re_python.py ................... testing/cffi1/test_realize_c_type.py ......... testing/cffi1/test_recompiler.py .................................................................s....................................................................s.................... testing/cffi1/test_unicode_literals.py ....... testing/cffi1/test_verify1.py .............................s..........................................................................s.....xxx....x......................s...s....s...s.ss testing/cffi1/test_zdist.py .................FF.FFF testing/embedding/test_basic.py FFFF testing/embedding/test_performance.py FFFFF testing/embedding/test_recursive.py F testing/embedding/test_tlocal.py F =================================== FAILURES =================================== ________________________ TestDist.test_distutils_api_1 _________________________ self = @chdir_to_tmp def test_distutils_api_1(self): self._make_distutils_api() > self.run(["setup.py", "build"]) ../../../cffi-1.11.5/testing/cffi1/test_zdist.py:305: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../cffi-1.11.5/testing/cffi1/test_zdist.py:42: in run subprocess.check_call([self.executable] + args, cwd=cwd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python3', 'setup.py', 'build'],) kwargs = {'cwd': None, 'env': {'CC': 'x86_64-tld-linux-gcc', 'CFLAGS': ' -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp...Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 ', ...}} retcode = 1, cmd = ['/usr/bin/python3', 'setup.py', 'build'] 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 '['/usr/bin/python3', 'setup.py', 'build']' returned non-zero exit status 1. /usr/lib64/python3.6/subprocess.py:291: CalledProcessError ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "setup.py", line 10, in import cffi ModuleNotFoundError: No module named 'cffi' ________________________ TestDist.test_distutils_api_2 _________________________ self = @chdir_to_tmp def test_distutils_api_2(self): self._make_distutils_api() > self.run(["setup.py", "build_ext", "-i"]) ../../../cffi-1.11.5/testing/cffi1/test_zdist.py:313: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../cffi-1.11.5/testing/cffi1/test_zdist.py:42: in run subprocess.check_call([self.executable] + args, cwd=cwd, env=env) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ popenargs = (['/usr/bin/python3', 'setup.py', 'build_ext', '-i'],) kwargs = {'cwd': None, 'env': {'CC': 'x86_64-tld-linux-gcc', 'CFLAGS': ' -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp...Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 ', ...}} retcode = 1, cmd = ['/usr/bin/python3', 'setup.py', 'build_ext', '-i'] 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 '['/usr/bin/python3', 'setup.py', 'build_ext', '-i']' returned non-zero exit status 1. /usr/lib64/python3.6/subprocess.py:291: CalledProcessError ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "setup.py", line 10, in import cffi ModuleNotFoundError: No module named 'cffi' ________________________ TestDist.test_setuptools_abi_2 ________________________ self = @chdir_to_tmp def test_setuptools_abi_2(self): self._make_setuptools_abi() self.run(["setup.py", "build_ext", "-i"]) self.check_produced_files({'setup.py': None, 'src0': {'pack2': {'__init__.py': None, '_build.py': None, > 'mymod.py': None}}}) ../../../cffi-1.11.5/testing/cffi1/test_zdist.py:357: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../cffi-1.11.5/testing/cffi1/test_zdist.py:89: in check_produced_files found_so = self.check_produced_files(value, subdir) or found_so ../../../cffi-1.11.5/testing/cffi1/test_zdist.py:89: in check_produced_files found_so = self.check_produced_files(value, subdir) or found_so _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = content = {'mymod.py': None} curdir = '/tmp/B.QBYi88/BUILD/tmp/ffi-1/test_setuptools_abi_2/src0/pack2' def check_produced_files(self, content, curdir=None): if curdir is None: curdir = str(self.udir) found_so = None for name in os.listdir(curdir): if (name.endswith('.so') or name.endswith('.pyd') or name.endswith('.dylib') or name.endswith('.dll')): found_so = os.path.join(curdir, name) # foo.so => foo parts = name.split('.') del parts[-1] if len(parts) > 1 and parts[-1] != 'bar': # foo.cpython-34m.so => foo, but foo.bar.so => foo.bar del parts[-1] name = '.'.join(parts) # foo_d => foo (Python 2 debug builds) if name.endswith('_d') and hasattr(sys, 'gettotalrefcount'): name = name[:-2] name += '.SO' if name.startswith('pycparser') and name.endswith('.egg'): continue # no clue why this shows up sometimes and not others if name == '.eggs': continue # seems new in 3.5, ignore it assert name in content, "found unexpected file %r" % ( os.path.join(curdir, name),) value = content.pop(name) if value is None: assert name.endswith('.SO') or ( os.path.isfile(os.path.join(curdir, name))) else: subdir = os.path.join(curdir, name) assert os.path.isdir(subdir) if value == '?': continue found_so = self.check_produced_files(value, subdir) or found_so > assert content == {}, "files or dirs not produced in %r: %r" % ( curdir, content.keys()) E AssertionError: files or dirs not produced in '/tmp/B.QBYi88/BUILD/tmp/ffi-1/test_setuptools_abi_2/src0/pack2': dict_keys(['mymod.py']) E assert {'mymod.py': None} == {} E Left contains more items: E {'mymod.py': None} E Use -v to get the full diff ../../../cffi-1.11.5/testing/cffi1/test_zdist.py:90: AssertionError ----------------------------- Captured stdout call ----------------------------- running build_ext ----------------------------- Captured stderr call ----------------------------- /usr/lib64/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'cffi_modules' warnings.warn(msg) ________________________ TestDist.test_setuptools_api_1 ________________________ self = @chdir_to_tmp def test_setuptools_api_1(self): self._make_setuptools_api() self.run(["setup.py", "build"]) self.check_produced_files({'setup.py': None, 'build': '?', 'see_me': None, 'src1': {'pack3': {'__init__.py': None, > '_build.py': None}}}) ../../../cffi-1.11.5/testing/cffi1/test_zdist.py:406: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = content = {'see_me': None} curdir = '/tmp/B.QBYi88/BUILD/tmp/ffi-1/test_setuptools_api_1' def check_produced_files(self, content, curdir=None): if curdir is None: curdir = str(self.udir) found_so = None for name in os.listdir(curdir): if (name.endswith('.so') or name.endswith('.pyd') or name.endswith('.dylib') or name.endswith('.dll')): found_so = os.path.join(curdir, name) # foo.so => foo parts = name.split('.') del parts[-1] if len(parts) > 1 and parts[-1] != 'bar': # foo.cpython-34m.so => foo, but foo.bar.so => foo.bar del parts[-1] name = '.'.join(parts) # foo_d => foo (Python 2 debug builds) if name.endswith('_d') and hasattr(sys, 'gettotalrefcount'): name = name[:-2] name += '.SO' if name.startswith('pycparser') and name.endswith('.egg'): continue # no clue why this shows up sometimes and not others if name == '.eggs': continue # seems new in 3.5, ignore it assert name in content, "found unexpected file %r" % ( os.path.join(curdir, name),) value = content.pop(name) if value is None: assert name.endswith('.SO') or ( os.path.isfile(os.path.join(curdir, name))) else: subdir = os.path.join(curdir, name) assert os.path.isdir(subdir) if value == '?': continue found_so = self.check_produced_files(value, subdir) or found_so > assert content == {}, "files or dirs not produced in %r: %r" % ( curdir, content.keys()) E AssertionError: files or dirs not produced in '/tmp/B.QBYi88/BUILD/tmp/ffi-1/test_setuptools_api_1': dict_keys(['see_me']) E assert {'see_me': None} == {} E Left contains more items: E {'see_me': None} E Use -v to get the full diff ../../../cffi-1.11.5/testing/cffi1/test_zdist.py:90: AssertionError ----------------------------- Captured stdout call ----------------------------- running build running build_py creating build creating build/lib creating build/lib/pack3 copying src1/pack3/_build.py -> build/lib/pack3 copying src1/pack3/__init__.py -> build/lib/pack3 ----------------------------- Captured stderr call ----------------------------- /usr/lib64/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'cffi_modules' warnings.warn(msg) ________________________ TestDist.test_setuptools_api_2 ________________________ self = @chdir_to_tmp def test_setuptools_api_2(self): self._make_setuptools_api() self.run(["setup.py", "build_ext", "-i"]) self.check_produced_files({'setup.py': None, 'build': '?', 'see_me': None, 'src1': {'pack3': {'__init__.py': None, '_build.py': None, > 'mymod.SO': None}}}) ../../../cffi-1.11.5/testing/cffi1/test_zdist.py:417: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../../cffi-1.11.5/testing/cffi1/test_zdist.py:89: in check_produced_files found_so = self.check_produced_files(value, subdir) or found_so ../../../cffi-1.11.5/testing/cffi1/test_zdist.py:89: in check_produced_files found_so = self.check_produced_files(value, subdir) or found_so _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = content = {'mymod.SO': None} curdir = '/tmp/B.QBYi88/BUILD/tmp/ffi-1/test_setuptools_api_2/src1/pack3' def check_produced_files(self, content, curdir=None): if curdir is None: curdir = str(self.udir) found_so = None for name in os.listdir(curdir): if (name.endswith('.so') or name.endswith('.pyd') or name.endswith('.dylib') or name.endswith('.dll')): found_so = os.path.join(curdir, name) # foo.so => foo parts = name.split('.') del parts[-1] if len(parts) > 1 and parts[-1] != 'bar': # foo.cpython-34m.so => foo, but foo.bar.so => foo.bar del parts[-1] name = '.'.join(parts) # foo_d => foo (Python 2 debug builds) if name.endswith('_d') and hasattr(sys, 'gettotalrefcount'): name = name[:-2] name += '.SO' if name.startswith('pycparser') and name.endswith('.egg'): continue # no clue why this shows up sometimes and not others if name == '.eggs': continue # seems new in 3.5, ignore it assert name in content, "found unexpected file %r" % ( os.path.join(curdir, name),) value = content.pop(name) if value is None: assert name.endswith('.SO') or ( os.path.isfile(os.path.join(curdir, name))) else: subdir = os.path.join(curdir, name) assert os.path.isdir(subdir) if value == '?': continue found_so = self.check_produced_files(value, subdir) or found_so > assert content == {}, "files or dirs not produced in %r: %r" % ( curdir, content.keys()) E AssertionError: files or dirs not produced in '/tmp/B.QBYi88/BUILD/tmp/ffi-1/test_setuptools_api_2/src1/pack3': dict_keys(['mymod.SO']) E assert {'mymod.SO': None} == {} E Left contains more items: E {'mymod.SO': None} E Use -v to get the full diff ../../../cffi-1.11.5/testing/cffi1/test_zdist.py:90: AssertionError ----------------------------- Captured stdout call ----------------------------- running build_ext ----------------------------- Captured stderr call ----------------------------- /usr/lib64/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'cffi_modules' warnings.warn(msg) _____________________________ TestBasic.test_empty _____________________________ self = def test_empty(self): > empty_cffi = self.prepare_module('empty') testing/embedding/test_basic.py:181: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/embedding/test_basic.py:96: in prepare_module output = self._run([sys.executable, pathname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_empty/empty.py'] def _run(self, args): popen = self._run_base(args, cwd=self.get_path(), stdout=subprocess.PIPE, universal_newlines=True) output = popen.stdout.read() err = popen.wait() if err: raise OSError("popen failed with exit code %r: %r" % ( > err, args)) E OSError: popen failed with exit code 1: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_empty/empty.py'] testing/embedding/test_basic.py:67: OSError ---------------------------- Captured stdout setup ----------------------------- generating /tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/_test_lib_python_found.c setting the current directory to '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding' running build_ext building '_test_lib_python_found' extension x86_64-tld-linux-gcc -DNDEBUG -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -fno-caller-saves -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -fPIC -I/usr/include/python3.6m -c _test_lib_python_found.c -o ./_test_lib_python_found.o x86_64-tld-linux-gcc -pthread -shared -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -O2 -fwrapv -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 ./_test_lib_python_found.o -L/usr/lib64 -lpython3.6m -lpython3.6m -o ./_test_lib_python_found.cpython-36m-x86_64-linux-gnu.so ----------------------------- Captured stdout call ----------------------------- * setting env var 'LD_LIBRARY_PATH' to '/usr/bin:/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_empty' * setting env var 'PYTHONPATH' to '/tmp/B.QBYi88/BUILD:build-3/lib.linux-x86_64-3.6' RUNNING: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_empty/empty.py'] {'cwd': '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_empty', 'stdout': -1, 'universal_newlines': True} ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_empty/empty.py", line 9, in import cffi ModuleNotFoundError: No module named 'cffi' _____________________________ TestBasic.test_basic _____________________________ self = def test_basic(self): > add1_cffi = self.prepare_module('add1') testing/embedding/test_basic.py:184: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/embedding/test_basic.py:96: in prepare_module output = self._run([sys.executable, pathname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_basic/add1.py'] def _run(self, args): popen = self._run_base(args, cwd=self.get_path(), stdout=subprocess.PIPE, universal_newlines=True) output = popen.stdout.read() err = popen.wait() if err: raise OSError("popen failed with exit code %r: %r" % ( > err, args)) E OSError: popen failed with exit code 1: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_basic/add1.py'] testing/embedding/test_basic.py:67: OSError ----------------------------- Captured stdout call ----------------------------- * setting env var 'LD_LIBRARY_PATH' to '/usr/bin:/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_basic' RUNNING: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_basic/add1.py'] {'cwd': '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_basic', 'stdout': -1, 'universal_newlines': True} ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_basic/add1.py", line 9, in import cffi ModuleNotFoundError: No module named 'cffi' __________________________ TestBasic.test_two_modules __________________________ self = def test_two_modules(self): > add1_cffi = self.prepare_module('add1') testing/embedding/test_basic.py:193: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/embedding/test_basic.py:96: in prepare_module output = self._run([sys.executable, pathname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_two_modules/add1.py'] def _run(self, args): popen = self._run_base(args, cwd=self.get_path(), stdout=subprocess.PIPE, universal_newlines=True) output = popen.stdout.read() err = popen.wait() if err: raise OSError("popen failed with exit code %r: %r" % ( > err, args)) E OSError: popen failed with exit code 1: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_two_modules/add1.py'] testing/embedding/test_basic.py:67: OSError ----------------------------- Captured stdout call ----------------------------- * setting env var 'LD_LIBRARY_PATH' to '/usr/bin:/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_two_modules' RUNNING: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_two_modules/add1.py'] {'cwd': '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_two_modules', 'stdout': -1, 'universal_newlines': True} ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_two_modules/add1.py", line 9, in import cffi ModuleNotFoundError: No module named 'cffi' ________________________ TestBasic.test_init_time_error ________________________ self = def test_init_time_error(self): > initerror_cffi = self.prepare_module('initerror') testing/embedding/test_basic.py:204: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/embedding/test_basic.py:96: in prepare_module output = self._run([sys.executable, pathname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_init_time_error/initerror.py'] def _run(self, args): popen = self._run_base(args, cwd=self.get_path(), stdout=subprocess.PIPE, universal_newlines=True) output = popen.stdout.read() err = popen.wait() if err: raise OSError("popen failed with exit code %r: %r" % ( > err, args)) E OSError: popen failed with exit code 1: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_init_time_error/initerror.py'] testing/embedding/test_basic.py:67: OSError ----------------------------- Captured stdout call ----------------------------- * setting env var 'LD_LIBRARY_PATH' to '/usr/bin:/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_init_time_error' RUNNING: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_init_time_error/initerror.py'] {'cwd': '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_init_time_error', 'stdout': -1, 'universal_newlines': True} ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_init_time_error/initerror.py", line 9, in import cffi ModuleNotFoundError: No module named 'cffi' __________________ TestPerformance.test_perf_single_threaded ___________________ self = def test_perf_single_threaded(self): > perf_cffi = self.prepare_module('perf') testing/embedding/test_performance.py:11: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/embedding/test_basic.py:96: in prepare_module output = self._run([sys.executable, pathname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_single_threaded/perf.py'] def _run(self, args): popen = self._run_base(args, cwd=self.get_path(), stdout=subprocess.PIPE, universal_newlines=True) output = popen.stdout.read() err = popen.wait() if err: raise OSError("popen failed with exit code %r: %r" % ( > err, args)) E OSError: popen failed with exit code 1: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_single_threaded/perf.py'] testing/embedding/test_basic.py:67: OSError ----------------------------- Captured stdout call ----------------------------- * setting env var 'LD_LIBRARY_PATH' to '/usr/bin:/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_single_threaded' RUNNING: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_single_threaded/perf.py'] {'cwd': '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_single_threaded', 'stdout': -1, 'universal_newlines': True} ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_single_threaded/perf.py", line 9, in import cffi ModuleNotFoundError: No module named 'cffi' ____________________ TestPerformance.test_perf_in_1_thread _____________________ self = def test_perf_in_1_thread(self): > perf_cffi = self.prepare_module('perf') testing/embedding/test_performance.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/embedding/test_basic.py:96: in prepare_module output = self._run([sys.executable, pathname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_1_thread/perf.py'] def _run(self, args): popen = self._run_base(args, cwd=self.get_path(), stdout=subprocess.PIPE, universal_newlines=True) output = popen.stdout.read() err = popen.wait() if err: raise OSError("popen failed with exit code %r: %r" % ( > err, args)) E OSError: popen failed with exit code 1: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_1_thread/perf.py'] testing/embedding/test_basic.py:67: OSError ----------------------------- Captured stdout call ----------------------------- * setting env var 'LD_LIBRARY_PATH' to '/usr/bin:/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_1_thread' RUNNING: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_1_thread/perf.py'] {'cwd': '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_1_thread', 'stdout': -1, 'universal_newlines': True} ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_1_thread/perf.py", line 9, in import cffi ModuleNotFoundError: No module named 'cffi' ____________________ TestPerformance.test_perf_in_2_threads ____________________ self = def test_perf_in_2_threads(self): > perf_cffi = self.prepare_module('perf') testing/embedding/test_performance.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/embedding/test_basic.py:96: in prepare_module output = self._run([sys.executable, pathname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_2_threads/perf.py'] def _run(self, args): popen = self._run_base(args, cwd=self.get_path(), stdout=subprocess.PIPE, universal_newlines=True) output = popen.stdout.read() err = popen.wait() if err: raise OSError("popen failed with exit code %r: %r" % ( > err, args)) E OSError: popen failed with exit code 1: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_2_threads/perf.py'] testing/embedding/test_basic.py:67: OSError ----------------------------- Captured stdout call ----------------------------- * setting env var 'LD_LIBRARY_PATH' to '/usr/bin:/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_2_threads' RUNNING: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_2_threads/perf.py'] {'cwd': '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_2_threads', 'stdout': -1, 'universal_newlines': True} ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_2_threads/perf.py", line 9, in import cffi ModuleNotFoundError: No module named 'cffi' ____________________ TestPerformance.test_perf_in_4_threads ____________________ self = def test_perf_in_4_threads(self): > perf_cffi = self.prepare_module('perf') testing/embedding/test_performance.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/embedding/test_basic.py:96: in prepare_module output = self._run([sys.executable, pathname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_4_threads/perf.py'] def _run(self, args): popen = self._run_base(args, cwd=self.get_path(), stdout=subprocess.PIPE, universal_newlines=True) output = popen.stdout.read() err = popen.wait() if err: raise OSError("popen failed with exit code %r: %r" % ( > err, args)) E OSError: popen failed with exit code 1: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_4_threads/perf.py'] testing/embedding/test_basic.py:67: OSError ----------------------------- Captured stdout call ----------------------------- * setting env var 'LD_LIBRARY_PATH' to '/usr/bin:/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_4_threads' RUNNING: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_4_threads/perf.py'] {'cwd': '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_4_threads', 'stdout': -1, 'universal_newlines': True} ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_4_threads/perf.py", line 9, in import cffi ModuleNotFoundError: No module named 'cffi' ____________________ TestPerformance.test_perf_in_8_threads ____________________ self = def test_perf_in_8_threads(self): > perf_cffi = self.prepare_module('perf') testing/embedding/test_performance.py:46: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/embedding/test_basic.py:96: in prepare_module output = self._run([sys.executable, pathname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_8_threads/perf.py'] def _run(self, args): popen = self._run_base(args, cwd=self.get_path(), stdout=subprocess.PIPE, universal_newlines=True) output = popen.stdout.read() err = popen.wait() if err: raise OSError("popen failed with exit code %r: %r" % ( > err, args)) E OSError: popen failed with exit code 1: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_8_threads/perf.py'] testing/embedding/test_basic.py:67: OSError ----------------------------- Captured stdout call ----------------------------- * setting env var 'LD_LIBRARY_PATH' to '/usr/bin:/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_8_threads' RUNNING: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_8_threads/perf.py'] {'cwd': '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_8_threads', 'stdout': -1, 'universal_newlines': True} ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_perf_in_8_threads/perf.py", line 9, in import cffi ModuleNotFoundError: No module named 'cffi' _________________________ TestRecursive.test_recursive _________________________ self = def test_recursive(self): > add_recursive_cffi = self.prepare_module('add_recursive') testing/embedding/test_recursive.py:6: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/embedding/test_basic.py:96: in prepare_module output = self._run([sys.executable, pathname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_recursive/add_recursive.py'] def _run(self, args): popen = self._run_base(args, cwd=self.get_path(), stdout=subprocess.PIPE, universal_newlines=True) output = popen.stdout.read() err = popen.wait() if err: raise OSError("popen failed with exit code %r: %r" % ( > err, args)) E OSError: popen failed with exit code 1: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_recursive/add_recursive.py'] testing/embedding/test_basic.py:67: OSError ----------------------------- Captured stdout call ----------------------------- * setting env var 'LD_LIBRARY_PATH' to '/usr/bin:/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_recursive' RUNNING: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_recursive/add_recursive.py'] {'cwd': '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_recursive', 'stdout': -1, 'universal_newlines': True} ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_recursive/add_recursive.py", line 9, in import cffi ModuleNotFoundError: No module named 'cffi' ______________________ TestThreadLocal.test_thread_local _______________________ self = def test_thread_local(self): > tlocal_cffi = self.prepare_module('tlocal') testing/embedding/test_tlocal.py:6: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testing/embedding/test_basic.py:96: in prepare_module output = self._run([sys.executable, pathname]) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = args = ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_thread_local/tlocal.py'] def _run(self, args): popen = self._run_base(args, cwd=self.get_path(), stdout=subprocess.PIPE, universal_newlines=True) output = popen.stdout.read() err = popen.wait() if err: raise OSError("popen failed with exit code %r: %r" % ( > err, args)) E OSError: popen failed with exit code 1: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_thread_local/tlocal.py'] testing/embedding/test_basic.py:67: OSError ----------------------------- Captured stdout call ----------------------------- * setting env var 'LD_LIBRARY_PATH' to '/usr/bin:/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_thread_local' RUNNING: ['/usr/bin/python3', '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_thread_local/tlocal.py'] {'cwd': '/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_thread_local', 'stdout': -1, 'universal_newlines': True} ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/tmp/B.QBYi88/BUILD/tmp/ffi-1/embedding/test_thread_local/tlocal.py", line 9, in import cffi ModuleNotFoundError: No module named 'cffi' ======= 16 failed, 1859 passed, 90 skipped, 4 xfailed in 176.59 seconds ======== error: Bad exit status from /tmp/B.QBYi88/BUILD/tmp/rpm-tmp.83972 (%build) RPM build errors: Bad exit status from /tmp/B.QBYi88/BUILD/tmp/rpm-tmp.83972 (%build) ended at: Mon May 28 14:09:13 2018, done in 0:06:12.431108 error: No files produced. mesg: ttyname failed: Inappropriate ioctl for device + chmod -R u+rwX /tmp/B.QBYi88/BUILD + rm -rf /tmp/B.QBYi88/tmp /tmp/B.QBYi88/BUILD mesg: ttyname failed: Inappropriate ioctl for device + rm -rf /tmp/B.QBYi88 Begin-TLD-Builder-Info Build-Time: user:284.84s sys:96.54s real:377.56s (faults io:24 non-io:22960750) End-TLD-Builder-Info