Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-cffi.spec'], chrootPath='/var/lib/mock/module-python39-3.9-8060020220817081912-ca6bcf7f-build-25132-6834/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-cffi.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-cffi-1.14.3-2.module+oc8.6.0+324+50ce9f5e.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-cffi.spec'], chrootPath='/var/lib/mock/module-python39-3.9-8060020220817081912-ca6bcf7f-build-25132-6834/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-cffi.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.60VDWe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cffi-1.14.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/cffi-1.14.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cffi-1.14.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QLuXO3 + umask 022 + cd /builddir/build/BUILD + cd cffi-1.14.3 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3.9 setup.py build '--executable=/usr/bin/python3.9 -s' running build running build_py creating build creating build/lib.linux-x86_64-3.9 creating build/lib.linux-x86_64-3.9/cffi copying cffi/recompiler.py -> build/lib.linux-x86_64-3.9/cffi copying cffi/cffi_opcode.py -> build/lib.linux-x86_64-3.9/cffi copying cffi/backend_ctypes.py -> build/lib.linux-x86_64-3.9/cffi copying cffi/vengine_cpy.py -> build/lib.linux-x86_64-3.9/cffi copying cffi/cparser.py -> build/lib.linux-x86_64-3.9/cffi copying cffi/setuptools_ext.py -> build/lib.linux-x86_64-3.9/cffi copying cffi/lock.py -> build/lib.linux-x86_64-3.9/cffi copying cffi/__init__.py -> build/lib.linux-x86_64-3.9/cffi copying cffi/api.py -> build/lib.linux-x86_64-3.9/cffi copying cffi/model.py -> build/lib.linux-x86_64-3.9/cffi copying cffi/ffiplatform.py -> build/lib.linux-x86_64-3.9/cffi copying cffi/error.py -> build/lib.linux-x86_64-3.9/cffi copying cffi/verifier.py -> build/lib.linux-x86_64-3.9/cffi copying cffi/vengine_gen.py -> build/lib.linux-x86_64-3.9/cffi copying cffi/commontypes.py -> build/lib.linux-x86_64-3.9/cffi copying cffi/pkgconfig.py -> build/lib.linux-x86_64-3.9/cffi copying cffi/_cffi_include.h -> build/lib.linux-x86_64-3.9/cffi copying cffi/parse_c_type.h -> build/lib.linux-x86_64-3.9/cffi copying cffi/_embedding.h -> build/lib.linux-x86_64-3.9/cffi copying cffi/_cffi_errors.h -> build/lib.linux-x86_64-3.9/cffi running build_ext building '_cffi_backend' extension creating build/temp.linux-x86_64-3.9 creating build/temp.linux-x86_64-3.9/c gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/python3.9 -c c/_cffi_backend.c -o build/temp.linux-x86_64-3.9/c/_cffi_backend.o gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -g -Wl,-z,relro -Wl,-z,now -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-3.9/c/_cffi_backend.o -L/usr/lib64 -lffi -o build/lib.linux-x86_64-3.9/_cffi_backend.cpython-39-x86_64-linux-gnu.so + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.n4wBHO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64 ++ dirname /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64 + cd cffi-1.14.3 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3.9 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr creating /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9 creating /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages creating /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi copying build/lib.linux-x86_64-3.9/cffi/recompiler.py -> /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi copying build/lib.linux-x86_64-3.9/cffi/_embedding.h -> /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi copying build/lib.linux-x86_64-3.9/cffi/cffi_opcode.py -> /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi copying build/lib.linux-x86_64-3.9/cffi/backend_ctypes.py -> /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi copying build/lib.linux-x86_64-3.9/cffi/_cffi_errors.h -> /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi copying build/lib.linux-x86_64-3.9/cffi/parse_c_type.h -> /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi copying build/lib.linux-x86_64-3.9/cffi/vengine_cpy.py -> /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi copying build/lib.linux-x86_64-3.9/cffi/cparser.py -> /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi copying build/lib.linux-x86_64-3.9/cffi/setuptools_ext.py -> /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi copying build/lib.linux-x86_64-3.9/cffi/lock.py -> /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi copying build/lib.linux-x86_64-3.9/cffi/_cffi_include.h -> /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi copying build/lib.linux-x86_64-3.9/cffi/__init__.py -> /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi copying build/lib.linux-x86_64-3.9/cffi/api.py -> /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi copying build/lib.linux-x86_64-3.9/cffi/model.py -> /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi copying build/lib.linux-x86_64-3.9/cffi/ffiplatform.py -> /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi copying build/lib.linux-x86_64-3.9/cffi/error.py -> /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi copying build/lib.linux-x86_64-3.9/cffi/verifier.py -> /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi copying build/lib.linux-x86_64-3.9/cffi/vengine_gen.py -> /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi copying build/lib.linux-x86_64-3.9/cffi/commontypes.py -> /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi copying build/lib.linux-x86_64-3.9/cffi/pkgconfig.py -> /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi copying build/lib.linux-x86_64-3.9/_cffi_backend.cpython-39-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages byte-compiling /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi/recompiler.py to recompiler.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi/cffi_opcode.py to cffi_opcode.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi/backend_ctypes.py to backend_ctypes.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi/vengine_cpy.py to vengine_cpy.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi/cparser.py to cparser.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi/setuptools_ext.py to setuptools_ext.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi/lock.py to lock.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi/api.py to api.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi/model.py to model.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi/ffiplatform.py to ffiplatform.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi/error.py to error.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi/verifier.py to verifier.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi/vengine_gen.py to vengine_gen.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi/commontypes.py to commontypes.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi/pkgconfig.py to pkgconfig.cpython-39.pyc writing byte-compilation script '/tmp/tmpwv2g0u33.py' /usr/bin/python3.9 /tmp/tmpwv2g0u33.py removing /tmp/tmpwv2g0u33.py running install_egg_info running egg_info writing cffi.egg-info/PKG-INFO writing dependency_links to cffi.egg-info/dependency_links.txt writing entry points to cffi.egg-info/entry_points.txt writing requirements to cffi.egg-info/requires.txt writing top-level names to cffi.egg-info/top_level.txt reading manifest file 'cffi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'cffi.egg-info/SOURCES.txt' Copying cffi.egg-info to /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/cffi-1.14.3-py3.9.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 1.14.3-2.oc8 --unique-debug-suffix -1.14.3-2.oc8.x86_64 --unique-debug-src-base python-cffi-1.14.3-2.oc8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/cffi-1.14.3 extracting debug info from /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages/_cffi_backend.cpython-39-x86_64-linux-gnu.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 937 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9 using /usr/bin/python3.9 Bytecompiling .py files below /builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib/debug/usr/lib64/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.9 + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.u6HHs7 + umask 022 + cd /builddir/build/BUILD + cd cffi-1.14.3 + PYTHONPATH=/builddir/build/BUILDROOT/python-cffi-1.14.3-2.oc8.x86_64/usr/lib64/python3.9/site-packages + /usr/bin/python3.9 -m pytest c/ testing/ Traceback (most recent call last): File "/usr/lib64/python3.9/runpy.py", line 188, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/usr/lib64/python3.9/runpy.py", line 147, in _get_module_details return _get_module_details(pkg_main_name, error) File "/usr/lib64/python3.9/runpy.py", line 111, in _get_module_details __import__(pkg_name) File "/usr/lib/python3.9/site-packages/pytest/__init__.py", line 7, in from _pytest.assertion import register_assert_rewrite File "/usr/lib/python3.9/site-packages/_pytest/assertion/__init__.py", line 10, in from _pytest.assertion import rewrite File "/usr/lib/python3.9/site-packages/_pytest/assertion/rewrite.py", line 30, in from _pytest.assertion import util File "/usr/lib/python3.9/site-packages/_pytest/assertion/util.py", line 14, in import _pytest._code File "/usr/lib/python3.9/site-packages/_pytest/_code/__init__.py", line 2, in from .code import Code File "/usr/lib/python3.9/site-packages/_pytest/_code/code.py", line 29, in import pluggy ModuleNotFoundError: No module named 'pluggy' error: Bad exit status from /var/tmp/rpm-tmp.u6HHs7 (%check) Bad exit status from /var/tmp/rpm-tmp.u6HHs7 (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-cffi.spec