Mock Version: 1.3.3 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/downstream-cherry-picker.spec'], printOutput=Falsegid=135chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-4356/root'logger=user='mockbuild'uid=1001timeout=0shell=Falseenv={'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/downstream-cherry-picker.spec'] with env {'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'} and shell False sh: /usr/bin/python: No such file or directory sh: /usr/bin/python2: No such file or directory warning: Could not canonicalize hostname: copr-builder-843373242.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/downstream-cherry-picker-1.2.0-1.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/downstream-cherry-picker.spec'], private_network=Truegid=135chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-4356/root'logger=user='mockbuild'uid=1001timeout=0shell=Falseenv={'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'}printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/downstream-cherry-picker.spec'] with env {'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9ocw4O + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf downstream-cherry-picker-1.2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/downstream-cherry-picker-1.2.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd downstream-cherry-picker-1.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Xc3zEF + umask 022 + cd /builddir/build/BUILD + cd downstream-cherry-picker-1.2.0 + /usr/bin/python2 setup.py build running build running build_py creating build creating build/lib creating build/lib/downstream_cherry_picker copying downstream_cherry_picker/__init__.py -> build/lib/downstream_cherry_picker creating build/lib/downstream_cherry_picker/tests copying downstream_cherry_picker/tests/test_init.py -> build/lib/downstream_cherry_picker/tests copying downstream_cherry_picker/tests/test_get_sha_range.py -> build/lib/downstream_cherry_picker/tests copying downstream_cherry_picker/tests/__init__.py -> build/lib/downstream_cherry_picker/tests running build_scripts creating build/scripts-2.7 copying and adjusting bin/downstream-cherry-picker -> build/scripts-2.7 changing mode of build/scripts-2.7/downstream-cherry-picker from 644 to 755 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.B0ptvw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64 + cd downstream-cherry-picker-1.2.0 + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr creating /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/lib creating /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/downstream_cherry_picker creating /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/downstream_cherry_picker/tests copying build/lib/downstream_cherry_picker/tests/__init__.py -> /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/downstream_cherry_picker/tests copying build/lib/downstream_cherry_picker/tests/test_get_sha_range.py -> /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/downstream_cherry_picker/tests copying build/lib/downstream_cherry_picker/tests/test_init.py -> /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/downstream_cherry_picker/tests copying build/lib/downstream_cherry_picker/__init__.py -> /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/downstream_cherry_picker byte-compiling /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/downstream_cherry_picker/tests/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/downstream_cherry_picker/tests/test_get_sha_range.py to test_get_sha_range.pyc byte-compiling /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/downstream_cherry_picker/tests/test_init.py to test_init.pyc byte-compiling /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/downstream_cherry_picker/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmpiY4xMd.py' /usr/bin/python2 -O /tmp/tmpiY4xMd.py removing /tmp/tmpiY4xMd.py running install_egg_info running egg_info creating downstream_cherry_picker.egg-info writing requirements to downstream_cherry_picker.egg-info/requires.txt writing downstream_cherry_picker.egg-info/PKG-INFO writing top-level names to downstream_cherry_picker.egg-info/top_level.txt writing dependency_links to downstream_cherry_picker.egg-info/dependency_links.txt writing manifest file 'downstream_cherry_picker.egg-info/SOURCES.txt' reading manifest file 'downstream_cherry_picker.egg-info/SOURCES.txt' writing manifest file 'downstream_cherry_picker.egg-info/SOURCES.txt' Copying downstream_cherry_picker.egg-info to /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/downstream_cherry_picker-1.2.0-py2.7.egg-info running install_scripts creating /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/bin copying build/scripts-2.7/downstream-cherry-picker -> /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/bin/downstream-cherry-picker to 755 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/downstream-cherry-picker-1.2.0 /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/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/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.zmkKao + umask 022 + cd /builddir/build/BUILD + cd downstream-cherry-picker-1.2.0 ++ pwd + export PYTHONPATH=/builddir/build/BUILD/downstream-cherry-picker-1.2.0 + PYTHONPATH=/builddir/build/BUILD/downstream-cherry-picker-1.2.0 + py.test-2.7 -v downstream_cherry_picker/tests ============================= test session starts ============================== platform linux2 -- Python 2.7.5 -- py-1.4.27 -- pytest-2.7.0 -- /usr/bin/python rootdir: /builddir/build/BUILD/downstream-cherry-picker-1.2.0, inifile: collecting ... collected 14 items downstream_cherry_picker/tests/test_get_sha_range.py::TestGetShaRange::test_get_sha_range[3-02536ea41f947da9757871eb7705c01ca9054420-e639366e52cafa1305b4ce7a8f08f63ee9b91d62] PASSED downstream_cherry_picker/tests/test_get_sha_range.py::TestGetShaRange::test_get_sha_range[12917-386640865dee30d38f17e55fc87535e419bc3cb5-14a6aabe22f68436ea3297ce0851700f86ee5b12] PASSED downstream_cherry_picker/tests/test_get_sha_range.py::TestGetShaRange::test_get_sha_range[12045-b044361336e1f6bc14b715d85f5ed0c289c056bf-b044361336e1f6bc14b715d85f5ed0c289c056bf] PASSED downstream_cherry_picker/tests/test_get_sha_range.py::TestGetShaRange::test_get_sha_range[12088-df1f835168dce219e4db65e02cf54323087e7f49-1926adc826de9ddaaa04138ce2a0b276eeda7ad1] PASSED downstream_cherry_picker/tests/test_get_sha_range.py::TestGetShaRange::test_get_sha_range[12154-6efad699249ba7c6928193dba111dbb23b606beb-6efad699249ba7c6928193dba111dbb23b606beb] PASSED downstream_cherry_picker/tests/test_get_sha_range.py::TestGetShaRange::test_merge_commit_notimplemented PASSED downstream_cherry_picker/tests/test_init.py::TestInit::test_init PASSED downstream_cherry_picker/tests/test_init.py::TestInit::test_parse_pr_url PASSED downstream_cherry_picker/tests/test_init.py::TestInit::test_parse_pr_url_failures[] PASSED downstream_cherry_picker/tests/test_init.py::TestInit::test_parse_pr_url_failures[https://foobar.com/] PASSED downstream_cherry_picker/tests/test_init.py::TestInit::test_parse_pr_url_failures[https://github.com/octocat/] PASSED downstream_cherry_picker/tests/test_init.py::TestInit::test_parse_pr_url_failures[https://github.com/octocat/Hello-World] PASSED downstream_cherry_picker/tests/test_init.py::TestInit::test_parse_pr_url_failures[https://github.com/octocat/Hello-World/pull] PASSED downstream_cherry_picker/tests/test_init.py::TestInit::test_parse_pr_url_failures[https://github.com/octocat/Hello-World/pull/123/garbage] PASSED ========================== 14 passed in 0.13 seconds =========================== + exit 0 Processing files: downstream-cherry-picker-1.2.0-1.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fbtaKg + umask 022 + cd /builddir/build/BUILD + cd downstream-cherry-picker-1.2.0 + DOCDIR=/builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/share/doc/downstream-cherry-picker-1.2.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/share/doc/downstream-cherry-picker-1.2.0 + cp -pr README.rst /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/share/doc/downstream-cherry-picker-1.2.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.pl8nk9 + umask 022 + cd /builddir/build/BUILD + cd downstream-cherry-picker-1.2.0 + LICENSEDIR=/builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/share/licenses/downstream-cherry-picker-1.2.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/share/licenses/downstream-cherry-picker-1.2.0 + cp -pr LICENSE /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64/usr/share/licenses/downstream-cherry-picker-1.2.0 + exit 0 Provides: downstream-cherry-picker = 1.2.0-1.el7.centos 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: /usr/bin/python2 python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-843373242.novalocal Wrote: /builddir/build/RPMS/downstream-cherry-picker-1.2.0-1.el7.centos.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.FxsQlV + umask 022 + cd /builddir/build/BUILD + cd downstream-cherry-picker-1.2.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/downstream-cherry-picker-1.2.0-1.el7.centos.x86_64 + exit 0 Child return code was: 0