Mock Version: 1.2.15 Mock Version: 1.2.15 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-pytest-cov.spec'], chrootPath='/var/lib/mock/cloud7-openstack-common-el7-build-28936-41255/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400logger=uid=497) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-pytest-cov.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-pytest-cov-2.5.1-1.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-pytest-cov.spec '], chrootPath='/var/lib/mock/cloud7-openstack-common-el7-build-28936-41255/root'shell=Falseuid=497env={'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-pytest-cov.spec '] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bA3068 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytest-cov-2.5.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/pytest-cov-2.5.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd pytest-cov-2.5.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf '*.egg-info' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IbCK2g + umask 022 + cd /builddir/build/BUILD + cd pytest-cov-2.5.1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib creating build/lib/pytest_cov copying src/pytest_cov/engine.py -> build/lib/pytest_cov copying src/pytest_cov/plugin.py -> build/lib/pytest_cov copying src/pytest_cov/__init__.py -> build/lib/pytest_cov copying src/pytest_cov/compat.py -> build/lib/pytest_cov copying src/pytest_cov/embed.py -> build/lib/pytest_cov running egg_info creating src/pytest_cov.egg-info writing requirements to src/pytest_cov.egg-info/requires.txt writing src/pytest_cov.egg-info/PKG-INFO writing top-level names to src/pytest_cov.egg-info/top_level.txt writing dependency_links to src/pytest_cov.egg-info/dependency_links.txt writing entry points to src/pytest_cov.egg-info/entry_points.txt writing manifest file 'src/pytest_cov.egg-info/SOURCES.txt' reading manifest file 'src/pytest_cov.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '.isort.cfg' warning: no files found matching '.pylintrc' warning: no previously-included files matching '*.py[cod]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution writing manifest file 'src/pytest_cov.egg-info/SOURCES.txt' copying src/pytest-cov.pth -> build/lib + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xoMiDp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch + cd pytest-cov-2.5.1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr creating /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/lib/python2.7/site-packages/pytest_cov copying build/lib/pytest_cov/engine.py -> /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/lib/python2.7/site-packages/pytest_cov copying build/lib/pytest_cov/plugin.py -> /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/lib/python2.7/site-packages/pytest_cov copying build/lib/pytest_cov/__init__.py -> /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/lib/python2.7/site-packages/pytest_cov copying build/lib/pytest_cov/compat.py -> /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/lib/python2.7/site-packages/pytest_cov copying build/lib/pytest_cov/embed.py -> /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/lib/python2.7/site-packages/pytest_cov copying build/lib/pytest-cov.pth -> /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/lib/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/lib/python2.7/site-packages/pytest_cov/engine.py to engine.pyc byte-compiling /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/lib/python2.7/site-packages/pytest_cov/plugin.py to plugin.pyc byte-compiling /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/lib/python2.7/site-packages/pytest_cov/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/lib/python2.7/site-packages/pytest_cov/compat.py to compat.pyc byte-compiling /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/lib/python2.7/site-packages/pytest_cov/embed.py to embed.pyc writing byte-compilation script '/tmp/tmpuy2rcB.py' /usr/bin/python2 -O /tmp/tmpuy2rcB.py removing /tmp/tmpuy2rcB.py running install_egg_info running egg_info writing requirements to src/pytest_cov.egg-info/requires.txt writing src/pytest_cov.egg-info/PKG-INFO writing top-level names to src/pytest_cov.egg-info/top_level.txt writing dependency_links to src/pytest_cov.egg-info/dependency_links.txt writing entry points to src/pytest_cov.egg-info/entry_points.txt reading manifest file 'src/pytest_cov.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '.isort.cfg' warning: no files found matching '.pylintrc' warning: no previously-included files matching '*.py[cod]' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files matching '*.so' found anywhere in distribution writing manifest file 'src/pytest_cov.egg-info/SOURCES.txt' Copying src/pytest_cov.egg-info to /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/lib/python2.7/site-packages/pytest_cov-2.5.1-py2.7.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/pytest-cov-2.5.1 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.mTeewz + umask 022 + cd /builddir/build/BUILD + cd pytest-cov-2.5.1 + PYTHONPATH=/builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/lib/python2.7/site-packages:/builddir/build/BUILD/pytest-cov-2.5.1/tests + py.test-2.7 -vv ============================= test session starts ============================== platform linux2 -- Python 2.7.5, pytest-3.0.6, py-1.4.31, pluggy-0.4.0 -- /usr/bin/python2 cachedir: .cache rootdir: /builddir/build/BUILD/pytest-cov-2.5.1, inifile: setup.cfg plugins: cov-2.5.1 collecting ... collected 0 items / 2 errors =========================== short test summary info ============================ ERROR tests/test_pytest_cov.py ERROR tests/test_pytest_cov.py ==================================== ERRORS ==================================== __________________ ERROR collecting tests/test_pytest_cov.py ___________________ tests/test_pytest_cov.py:15: in from six import exec_ E ImportError: No module named six __________________ ERROR collecting tests/test_pytest_cov.py ___________________ ImportError while importing test module '/builddir/build/BUILD/pytest-cov-2.5.1/tests/test_pytest_cov.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python2.7/site-packages/_pytest/python.py:418: in _importtestmodule mod = self.fspath.pyimport(ensuresyspath=importmode) /usr/lib/python2.7/site-packages/py/_path/local.py:650: in pyimport __import__(modname) /usr/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:216: in load_module py.builtin.exec_(co, mod.__dict__) tests/test_pytest_cov.py:15: in from six import exec_ E ImportError: No module named six ============================ pytest-warning summary ============================ WC1 None [pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead. !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!! ================== 1 pytest-warnings, 2 error in 0.45 seconds ================== + : + exit 0 Processing files: python-pytest-cov-2.5.1-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZAYhfL + umask 022 + cd /builddir/build/BUILD + cd pytest-cov-2.5.1 + DOCDIR=/builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/share/doc/python-pytest-cov-2.5.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/share/doc/python-pytest-cov-2.5.1 + cp -pr AUTHORS.rst /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/share/doc/python-pytest-cov-2.5.1 + cp -pr CHANGELOG.rst /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/share/doc/python-pytest-cov-2.5.1 + cp -pr CONTRIBUTING.rst /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/share/doc/python-pytest-cov-2.5.1 + cp -pr README.rst /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/share/doc/python-pytest-cov-2.5.1 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.0oPx0W + umask 022 + cd /builddir/build/BUILD + cd pytest-cov-2.5.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/share/licenses/python-pytest-cov-2.5.1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/share/licenses/python-pytest-cov-2.5.1 + cp -pr LICENSE /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch/usr/share/licenses/python-pytest-cov-2.5.1 + exit 0 Provides: python-pytest-cov = 2.5.1-1.el7 python2-pytest-cov = 2.5.1-1.el7 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-cov-2.5.1-1.el7.noarch Wrote: /builddir/build/RPMS/python-pytest-cov-2.5.1-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kfNLHl + umask 022 + cd /builddir/build/BUILD + cd pytest-cov-2.5.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-pytest-cov-2.5.1-1.el7.noarch + exit 0 Child return code was: 0 LEAVE do -->