Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-pytest-mock.spec'], chrootPath='/var/lib/mock/module-python27-2.7-8060020220517074052-8cdc2268-build-60595-20182/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-pytest-mock.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-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.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-pytest-mock.spec'], chrootPath='/var/lib/mock/module-python27-2.7-8060020220517074052-8cdc2268-build-60595-20182/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-pytest-mock.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.fwsIhJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-mock-1.9.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/pytest-mock-1.9.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-mock-1.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf pytest_mock.egg-info + sed -i 's/\r$//' README.rst + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fuz7QK + umask 022 + cd /builddir/build/BUILD + cd pytest-mock-1.9.0 + 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 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' your setuptools is too old (<12) setuptools_scm functionality is degraded running build running build_py creating build creating build/lib copying pytest_mock.py -> build/lib copying _pytest_mock_version.py -> build/lib + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wbsRUJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch ++ dirname /builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch + cd pytest-mock-1.9.0 + 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 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch your setuptools is too old (<12) setuptools_scm functionality is degraded running install running install_lib creating /builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch/usr creating /builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch/usr/lib creating /builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch/usr/lib/python2.7/site-packages copying build/lib/_pytest_mock_version.py -> /builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch/usr/lib/python2.7/site-packages copying build/lib/pytest_mock.py -> /builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch/usr/lib/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch/usr/lib/python2.7/site-packages/_pytest_mock_version.py to _pytest_mock_version.pyc byte-compiling /builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch/usr/lib/python2.7/site-packages/pytest_mock.py to pytest_mock.pyc writing byte-compilation script '/tmp/tmpczZFbh.py' /usr/bin/python2 -O /tmp/tmpczZFbh.py removing /tmp/tmpczZFbh.py running install_egg_info running egg_info creating pytest_mock.egg-info writing requirements to pytest_mock.egg-info/requires.txt writing pytest_mock.egg-info/PKG-INFO writing top-level names to pytest_mock.egg-info/top_level.txt writing dependency_links to pytest_mock.egg-info/dependency_links.txt writing entry points to pytest_mock.egg-info/entry_points.txt writing manifest file 'pytest_mock.egg-info/SOURCES.txt' reading manifest file 'pytest_mock.egg-info/SOURCES.txt' writing manifest file 'pytest_mock.egg-info/SOURCES.txt' Copying pytest_mock.egg-info to /builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch/usr/lib/python2.7/site-packages/pytest_mock-1.9.0-py2.7.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 1.9.0-4.module+el8.6.0+443+8cf4cae6 --unique-debug-suffix -1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch --unique-debug-src-base python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pytest-mock-1.9.0 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-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.xEGdCL + umask 022 + cd /builddir/build/BUILD + cd pytest-mock-1.9.0 ++ pwd + PYTHONPATH=/builddir/build/BUILD/pytest-mock-1.9.0 + py.test-2.7 test_pytest_mock.py ============================= test session starts ============================== platform linux2 -- Python 2.7.18, pytest-3.4.2, py-1.5.3, pluggy-0.6.0 rootdir: /builddir/build/BUILD/pytest-mock-1.9.0, inifile: plugins: mock-1.9.0 collected 47 items test_pytest_mock.py ............................x..x............s.. [100%] =============== 44 passed, 1 skipped, 2 xfailed in 0.88 seconds ================ + exit 0 Processing files: python2-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XYO4wL + umask 022 + cd /builddir/build/BUILD + cd pytest-mock-1.9.0 + DOCDIR=/builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch/usr/share/doc/python2-pytest-mock + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch/usr/share/doc/python2-pytest-mock + cp -pr README.rst /builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch/usr/share/doc/python2-pytest-mock + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.W3hZAI + umask 022 + cd /builddir/build/BUILD + cd pytest-mock-1.9.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch/usr/share/licenses/python2-pytest-mock + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch/usr/share/licenses/python2-pytest-mock + cp -pr LICENSE /builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch/usr/share/licenses/python2-pytest-mock + exit 0 Provides: python2-pytest-mock = 1.9.0-4.module+el8.6.0+443+8cf4cae6 python2.7dist(pytest-mock) = 1.9.0 python2dist(pytest-mock) = 1.9.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch Wrote: /builddir/build/RPMS/python2-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TNkuWJ + umask 022 + cd /builddir/build/BUILD + cd pytest-mock-1.9.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-pytest-mock-1.9.0-4.module+el8.6.0+443+8cf4cae6.noarch + exit 0 Child return code was: 0