Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-iniconfig.spec'], chrootPath='/var/lib/mock/module-python39-3.9-8060020220817062626-27933696-build-25050-6831/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 noarch --nodeps /builddir/build/SPECS/python-iniconfig.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-iniconfig.spec'], chrootPath='/var/lib/mock/module-python39-3.9-8060020220817062626-27933696-build-25050-6831/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 noarch --nodeps /builddir/build/SPECS/python-iniconfig.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.C3jqEj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf iniconfig-1.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/iniconfig-1.1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd iniconfig-1.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's/ *use_scm_version=.*,/version='\''1.1.1'\'',/' setup.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WLrAve + umask 022 + cd /builddir/build/BUILD + cd iniconfig-1.1.1 + 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 creating build/lib/iniconfig copying src/iniconfig/__init__.py -> build/lib/iniconfig running egg_info writing src/iniconfig.egg-info/PKG-INFO writing dependency_links to src/iniconfig.egg-info/dependency_links.txt writing top-level names to src/iniconfig.egg-info/top_level.txt reading manifest file 'src/iniconfig.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/iniconfig.egg-info/SOURCES.txt' copying src/iniconfig/__init__.pyi -> build/lib/iniconfig copying src/iniconfig/py.typed -> build/lib/iniconfig + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nP4i04 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.noarch ++ dirname /builddir/build/BUILDROOT/python-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.noarch + cd iniconfig-1.1.1 + 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-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.noarch/usr creating /builddir/build/BUILDROOT/python-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.noarch/usr/lib creating /builddir/build/BUILDROOT/python-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.noarch/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.noarch/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.noarch/usr/lib/python3.9/site-packages/iniconfig copying build/lib/iniconfig/__init__.pyi -> /builddir/build/BUILDROOT/python-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.noarch/usr/lib/python3.9/site-packages/iniconfig copying build/lib/iniconfig/__init__.py -> /builddir/build/BUILDROOT/python-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.noarch/usr/lib/python3.9/site-packages/iniconfig copying build/lib/iniconfig/py.typed -> /builddir/build/BUILDROOT/python-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.noarch/usr/lib/python3.9/site-packages/iniconfig byte-compiling /builddir/build/BUILDROOT/python-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.noarch/usr/lib/python3.9/site-packages/iniconfig/__init__.py to __init__.cpython-39.pyc writing byte-compilation script '/tmp/tmpf__j0rw5.py' /usr/bin/python3.9 /tmp/tmpf__j0rw5.py removing /tmp/tmpf__j0rw5.py running install_egg_info running egg_info writing src/iniconfig.egg-info/PKG-INFO writing dependency_links to src/iniconfig.egg-info/dependency_links.txt writing top-level names to src/iniconfig.egg-info/top_level.txt reading manifest file 'src/iniconfig.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/iniconfig.egg-info/SOURCES.txt' Copying src/iniconfig.egg-info to /builddir/build/BUILDROOT/python-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.noarch/usr/lib/python3.9/site-packages/iniconfig-1.1.1-py3.9.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.noarch/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 1.1.1-2.module+oc8.6.0+323+037407a9 --unique-debug-suffix -1.1.1-2.module+oc8.6.0+323+037407a9.noarch --unique-debug-src-base python-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/iniconfig-1.1.1 find: 'debug': No such file or directory + /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-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.noarch/usr/lib/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.43cjkA + umask 022 + cd /builddir/build/BUILD + cd iniconfig-1.1.1 + 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' + PATH=/builddir/build/BUILDROOT/python-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.noarch/usr/lib64/python3.9/site-packages:/builddir/build/BUILDROOT/python-iniconfig-1.1.1-2.module+oc8.6.0+323+037407a9.noarch/usr/lib/python3.9/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/pytest-3.9 Traceback (most recent call last): File "/usr/bin/pytest-3.9", line 33, in sys.exit(load_entry_point('pytest==0.0.0', 'console_scripts', 'pytest')()) File "/usr/bin/pytest-3.9", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/lib64/python3.9/importlib/metadata.py", line 77, in load module = import_module(match.group('module')) File "/usr/lib64/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 850, in exec_module File "", line 228, in _call_with_frames_removed 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' RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.43cjkA (%check) Bad exit status from /var/tmp/rpm-tmp.43cjkA (%check) 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 noarch --nodeps /builddir/build/SPECS/python-iniconfig.spec