Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/rpkg.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-f6064e680f7fcbf65064c7dd535b911e09bfb505/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', '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=0logger=uid=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/rpkg.spec'] with env {'LANG': 'en_US.UTF-8', '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 sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/rpkg-1.46-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/rpkg.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-f6064e680f7fcbf65064c7dd535b911e09bfb505/root'shell=Falseuid=995env={'LANG': 'en_US.UTF-8', '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=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/rpkg.spec'] with env {'LANG': 'en_US.UTF-8', '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.hDIQVX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpkg-1.46 + /usr/bin/gzip -dc /builddir/build/SOURCES/rpkg-1.46.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd rpkg-1.46 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yL17WP + umask 022 + cd /builddir/build/BUILD + cd rpkg-1.46 + /usr/bin/python setup.py build running build running build_py creating build creating build/lib creating build/lib/pyrpkg copying src/pyrpkg/utils.py -> build/lib/pyrpkg copying src/pyrpkg/gitignore.py -> build/lib/pyrpkg copying src/pyrpkg/lookaside.py -> build/lib/pyrpkg copying src/pyrpkg/sources.py -> build/lib/pyrpkg copying src/pyrpkg/errors.py -> build/lib/pyrpkg copying src/pyrpkg/__init__.py -> build/lib/pyrpkg copying src/pyrpkg/cli.py -> build/lib/pyrpkg running build_scripts creating build/scripts-2.7 copying and adjusting src/rpkg -> build/scripts-2.7 changing mode of build/scripts-2.7/rpkg from 644 to 755 + /usr/bin/python src/rpkg_man_page.py + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QAJuLN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch + cd rpkg-1.46 + rm -rf /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch + /usr/bin/python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch running install running install_lib creating /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch creating /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr creating /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/lib/python2.7/site-packages/pyrpkg copying build/lib/pyrpkg/utils.py -> /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/lib/python2.7/site-packages/pyrpkg copying build/lib/pyrpkg/gitignore.py -> /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/lib/python2.7/site-packages/pyrpkg copying build/lib/pyrpkg/lookaside.py -> /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/lib/python2.7/site-packages/pyrpkg copying build/lib/pyrpkg/sources.py -> /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/lib/python2.7/site-packages/pyrpkg copying build/lib/pyrpkg/errors.py -> /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/lib/python2.7/site-packages/pyrpkg copying build/lib/pyrpkg/__init__.py -> /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/lib/python2.7/site-packages/pyrpkg copying build/lib/pyrpkg/cli.py -> /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/lib/python2.7/site-packages/pyrpkg byte-compiling /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/lib/python2.7/site-packages/pyrpkg/utils.py to utils.pyc byte-compiling /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/lib/python2.7/site-packages/pyrpkg/gitignore.py to gitignore.pyc byte-compiling /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/lib/python2.7/site-packages/pyrpkg/lookaside.py to lookaside.pyc byte-compiling /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/lib/python2.7/site-packages/pyrpkg/sources.py to sources.pyc byte-compiling /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/lib/python2.7/site-packages/pyrpkg/errors.py to errors.pyc byte-compiling /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/lib/python2.7/site-packages/pyrpkg/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/lib/python2.7/site-packages/pyrpkg/cli.py to cli.pyc writing byte-compilation script '/tmp/tmpCDQLhb.py' /usr/bin/python -O /tmp/tmpCDQLhb.py removing /tmp/tmpCDQLhb.py running install_data creating /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/etc creating /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/etc/bash_completion.d copying src/rpkg.bash -> /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/etc/bash_completion.d creating /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/etc/rpkg copying src/rpkg.conf -> /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/etc/rpkg running install_egg_info running egg_info writing requirements to src/rpkg.egg-info/requires.txt writing src/rpkg.egg-info/PKG-INFO writing top-level names to src/rpkg.egg-info/top_level.txt writing dependency_links to src/rpkg.egg-info/dependency_links.txt reading manifest file 'src/rpkg.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/rpkg.egg-info/SOURCES.txt' Copying src/rpkg.egg-info to /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/lib/python2.7/site-packages/rpkg-1.46-py2.7.egg-info running install_scripts creating /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/bin copying build/scripts-2.7/rpkg -> /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/bin/rpkg to 755 + /usr/bin/install -d /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/share/man/man1 + /usr/bin/install -p -m 0644 rpkg.1 /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/share/man/man1 + /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/rpkg-1.46 /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/rpkg-1.46-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.E6dxIp + umask 022 + cd /builddir/build/BUILD + cd rpkg-1.46 + /usr/bin/python setup.py test running test running egg_info writing requirements to src/rpkg.egg-info/requires.txt writing src/rpkg.egg-info/PKG-INFO writing top-level names to src/rpkg.egg-info/top_level.txt writing dependency_links to src/rpkg.egg-info/dependency_links.txt reading manifest file 'src/rpkg.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/rpkg.egg-info/SOURCES.txt' running build_ext /usr/lib/python2.7/site-packages/nose/config.py:264: RuntimeWarning: Option 'with-coverage' in config file 'setup.cfg' ignored: excluded by runtime environment warn(msg, RuntimeWarning) /usr/lib/python2.7/site-packages/nose/config.py:264: RuntimeWarning: Option 'cover-package' in config file 'setup.cfg' ignored: excluded by runtime environment warn(msg, RuntimeWarning) Initialized empty Git repository in /tmp/rpkg-commands-tests-tK4YFf/.git/ [master (root-commit) f660f53] "initial commit" 1 file changed, 21 insertions(+) create mode 100644 package.spec Cloning into '/tmp/rpkg-commands-tests-cloned-mNT40y'... done. Branch eng-rhel-6 set up to track remote branch eng-rhel-6 from origin. Branch eng-rhel-6.5 set up to track remote branch eng-rhel-6.5 from origin. Branch eng-rhel-7 set up to track remote branch eng-rhel-7 from origin. test_load_branch_merge_from_eng_rhel_6 (test_commands.LoadBranchMergeTest) ... ok test_load_branch_merge_from_eng_rhel_6_5 (test_commands.LoadBranchMergeTest) Ensure load_branch_merge can work well against a more special branch ... ok test_load_branch_merge_from_not_remote_merge_branch (test_commands.LoadBranchMergeTest) Ensure load_branch_merge fails against local-branch ... ok test_load_branch_merge_using_dist_option (test_commands.LoadBranchMergeTest) Ensure load_branch_merge uses dist specified via --dist ... ok test_load_from_spec (test_commands.LoadNameVerRelTest) Ensure name, version, release can be loaded from a valid SPEC ... ok test_load_spec_where_path_contains_space (test_commands.LoadNameVerRelTest) Ensure load_nameverrel works with a repo whose path contains space ... ok test_load_when_rpm_fails (test_commands.LoadNameVerRelTest) Ensure rpkgError is raised when rpm command fails ... ok test_load_rpmdefines_against_invalid_branch (test_commands.LoadRPMDefinesTest) Ensure load_rpmdefines if active branch name is invalid ... ok test_load_rpmdefines_from_eng_rhel_6 (test_commands.LoadRPMDefinesTest) Run load_rpmdefines against branch eng-rhel-6 ... ok test_load_rpmdefines_from_eng_rhel_6_5 (test_commands.LoadRPMDefinesTest) Run load_rpmdefines against branch eng-rhel-6.5 ... ok test_add_existing_line (test_gitgnore.GitIgnoreTestCase) ... ok test_match_empty (test_gitgnore.GitIgnoreTestCase) ... ok test_match_glob (test_gitgnore.GitIgnoreTestCase) ... ok test_match_line_from_existing_file (test_gitgnore.GitIgnoreTestCase) ... ok test_match_unwritten_line (test_gitgnore.GitIgnoreTestCase) ... ok test_write_append_to_existing_file (test_gitgnore.GitIgnoreTestCase) ... ok test_write_new_file (test_gitgnore.GitIgnoreTestCase) ... ok test_download (test_lookaside.CGILookasideCacheTestCase) ... ok test_download_corrupted (test_lookaside.CGILookasideCacheTestCase) ... ok test_download_failed (test_lookaside.CGILookasideCacheTestCase) ... ok test_download_failed_status_code (test_lookaside.CGILookasideCacheTestCase) ... ok test_download_kwargs (test_lookaside.CGILookasideCacheTestCase) ... ok test_file_is_valid (test_lookaside.CGILookasideCacheTestCase) ... ok test_hash_file (test_lookaside.CGILookasideCacheTestCase) ... ok test_hash_file_empty (test_lookaside.CGILookasideCacheTestCase) ... ok test_hash_file_invalid_hash_type (test_lookaside.CGILookasideCacheTestCase) ... ok test_print_download_progress (test_lookaside.CGILookasideCacheTestCase) ... ok test_print_no_progress (test_lookaside.CGILookasideCacheTestCase) ... ok test_print_upload_progress (test_lookaside.CGILookasideCacheTestCase) ... ok test_remote_file_does_not_exist (test_lookaside.CGILookasideCacheTestCase) ... ok test_remote_file_exists (test_lookaside.CGILookasideCacheTestCase) ... ok test_remote_file_exists_check_failed (test_lookaside.CGILookasideCacheTestCase) ... ok test_remote_file_exists_check_failed_status_code (test_lookaside.CGILookasideCacheTestCase) ... ok test_remote_file_exists_check_unexpected_error (test_lookaside.CGILookasideCacheTestCase) ... ok test_remote_file_exists_missing_custom_certs (test_lookaside.CGILookasideCacheTestCase) ... ok test_remote_file_exists_with_custom_certs (test_lookaside.CGILookasideCacheTestCase) ... ok test_upload (test_lookaside.CGILookasideCacheTestCase) ... ok test_upload_already_exists (test_lookaside.CGILookasideCacheTestCase) ... ok test_upload_failed (test_lookaside.CGILookasideCacheTestCase) ... ok test_upload_failed_status_code (test_lookaside.CGILookasideCacheTestCase) ... ok test_upload_missing_custom_certs (test_lookaside.CGILookasideCacheTestCase) ... ok test_upload_with_custom_certs (test_lookaside.CGILookasideCacheTestCase) ... ok test_bsd_style_entry (test_sources.SourceFileEntryTestCase) ... ok test_entry (test_sources.SourceFileEntryTestCase) ... ok test_add_entry (test_sources.SourcesFileTestCase) ... ok test_add_entry_mixing_hashtypes (test_sources.SourcesFileTestCase) ... ok test_add_entry_twice (test_sources.SourcesFileTestCase) ... ok test_migrate_old_style_line (test_sources.SourcesFileTestCase) ... ok test_open_empty_file (test_sources.SourcesFileTestCase) ... ok test_open_existing_file (test_sources.SourcesFileTestCase) ... ok test_open_existing_file_with_identical_entries_old_and_new (test_sources.SourcesFileTestCase) ... ok test_open_existing_file_with_mixed_lines (test_sources.SourcesFileTestCase) ... ok test_open_existing_file_with_old_style_lines (test_sources.SourcesFileTestCase) ... ok test_open_existing_file_with_wrong_line (test_sources.SourcesFileTestCase) ... ok test_open_new_file (test_sources.SourcesFileTestCase) ... ok test_parse_empty_line (test_sources.SourcesFileTestCase) ... ok test_parse_entry_line (test_sources.SourcesFileTestCase) ... ok test_parse_eol_line (test_sources.SourcesFileTestCase) ... ok test_parse_old_style_line (test_sources.SourcesFileTestCase) ... ok test_parse_whitespace_line (test_sources.SourcesFileTestCase) ... ok test_parse_wrong_lines (test_sources.SourcesFileTestCase) ... ok test_write_adding_a_line (test_sources.SourcesFileTestCase) ... ok test_write_new_file (test_sources.SourcesFileTestCase) ... ok test_write_over (test_sources.SourcesFileTestCase) ... ok test_computed_only_once (test_utils.CachedPropertyTestCase) ... ok test_not_shared_between_instances (test_utils.CachedPropertyTestCase) ... ok test_not_shared_between_properties (test_utils.CachedPropertyTestCase) ... ok test_not_shared_when_inheriting (test_utils.CachedPropertyTestCase) ... ok test_warn_deprecated (test_utils.DeprecationUtilsTestCase) ... ok test_complex_result (test_utils.LogResultTestCase) ... ok test_dict_result (test_utils.LogResultTestCase) ... ok test_list_result (test_utils.LogResultTestCase) ... ok test_str_result (test_utils.LogResultTestCase) ... ok ---------------------------------------------------------------------- Ran 73 tests in 6.865s OK Processing files: rpkg-1.46-1.el7.noarch + exit 0 Provides: config(rpkg) = 1.46-1.el7 rpkg = 1.46-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python Conflicts: fedpkg <= 1.7 Processing files: pyrpkg-1.46-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zWAltO + umask 022 + cd /builddir/build/BUILD + cd rpkg-1.46 + DOCDIR=/builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/share/doc/pyrpkg-1.46 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/share/doc/pyrpkg-1.46 + cp -pr COPYING /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/share/doc/pyrpkg-1.46 + cp -pr COPYING-koji /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/share/doc/pyrpkg-1.46 + cp -pr LGPL /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/share/doc/pyrpkg-1.46 + cp -pr README /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch/usr/share/doc/pyrpkg-1.46 + exit 0 Provides: pyrpkg = 1.46-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/rpkg-1.46-1.el7.noarch Wrote: /builddir/build/RPMS/rpkg-1.46-1.el7.noarch.rpm Wrote: /builddir/build/RPMS/pyrpkg-1.46-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UTs7W5 + umask 022 + cd /builddir/build/BUILD + cd rpkg-1.46 + rm -rf /builddir/build/BUILDROOT/rpkg-1.46-1.el7.noarch + exit 0 Child return code was: 0