Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/pdc-updater.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-285631a8a007f46586596c3b6b074ea84b635d3b/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=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/pdc-updater.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/python2: No such file or directory sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/pdc-updater-0.6.5-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/pdc-updater.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-285631a8a007f46586596c3b6b074ea84b635d3b/root'shell=Falseuid=996env={'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/pdc-updater.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.Uy5HWk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pdc-updater-0.6.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/pdc-updater-0.6.5.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd pdc-updater-0.6.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ICwEd6 + umask 022 + cd /builddir/build/BUILD + cd pdc-updater-0.6.5 + /usr/bin/python2 setup.py build /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'include_data' warnings.warn(msg) running build running build_py creating build creating build/lib creating build/lib/pdcupdater copying pdcupdater/utils.py -> build/lib/pdcupdater copying pdcupdater/consumer.py -> build/lib/pdcupdater copying pdcupdater/__init__.py -> build/lib/pdcupdater copying pdcupdater/services.py -> build/lib/pdcupdater copying pdcupdater/commands.py -> build/lib/pdcupdater creating build/lib/pdcupdater/handlers copying pdcupdater/handlers/pkgdb.py -> build/lib/pdcupdater/handlers copying pdcupdater/handlers/rpms.py -> build/lib/pdcupdater/handlers copying pdcupdater/handlers/persons.py -> build/lib/pdcupdater/handlers copying pdcupdater/handlers/modules.py -> build/lib/pdcupdater/handlers copying pdcupdater/handlers/retirement.py -> build/lib/pdcupdater/handlers copying pdcupdater/handlers/atomic.py -> build/lib/pdcupdater/handlers copying pdcupdater/handlers/__init__.py -> build/lib/pdcupdater/handlers copying pdcupdater/handlers/compose.py -> build/lib/pdcupdater/handlers creating build/lib/pdcupdater/tests copying pdcupdater/tests/__init__.py -> build/lib/pdcupdater/tests creating build/lib/pdcupdater/handlers/depchain copying pdcupdater/handlers/depchain/rpms.py -> build/lib/pdcupdater/handlers/depchain copying pdcupdater/handlers/depchain/containers.py -> build/lib/pdcupdater/handlers/depchain copying pdcupdater/handlers/depchain/base.py -> build/lib/pdcupdater/handlers/depchain copying pdcupdater/handlers/depchain/__init__.py -> build/lib/pdcupdater/handlers/depchain creating build/lib/pdcupdater/tests/handler_tests copying pdcupdater/tests/handler_tests/test_pkgdb.py -> build/lib/pdcupdater/tests/handler_tests copying pdcupdater/tests/handler_tests/test_persons.py -> build/lib/pdcupdater/tests/handler_tests copying pdcupdater/tests/handler_tests/test_kerberos_auth.py -> build/lib/pdcupdater/tests/handler_tests copying pdcupdater/tests/handler_tests/__init__.py -> build/lib/pdcupdater/tests/handler_tests copying pdcupdater/tests/handler_tests/test_depchain_containers.py -> build/lib/pdcupdater/tests/handler_tests copying pdcupdater/tests/handler_tests/test_atomic.py -> build/lib/pdcupdater/tests/handler_tests copying pdcupdater/tests/handler_tests/test_retirement.py -> build/lib/pdcupdater/tests/handler_tests copying pdcupdater/tests/handler_tests/test_compose.py -> build/lib/pdcupdater/tests/handler_tests copying pdcupdater/tests/handler_tests/test_depchain_rpms.py -> build/lib/pdcupdater/tests/handler_tests copying pdcupdater/tests/handler_tests/test_rpms.py -> build/lib/pdcupdater/tests/handler_tests copying pdcupdater/tests/handler_tests/test_modules.py -> build/lib/pdcupdater/tests/handler_tests + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yoFbwf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch + cd pdc-updater-0.6.5 + /usr/bin/python2 setup.py install -O1 --skip-build --root=/builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'include_data' warnings.warn(msg) running install running install_lib creating /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr creating /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater copying build/lib/pdcupdater/utils.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater copying build/lib/pdcupdater/consumer.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater copying build/lib/pdcupdater/__init__.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater copying build/lib/pdcupdater/services.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater creating /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers copying build/lib/pdcupdater/handlers/pkgdb.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers copying build/lib/pdcupdater/handlers/rpms.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers copying build/lib/pdcupdater/handlers/persons.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers copying build/lib/pdcupdater/handlers/modules.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers copying build/lib/pdcupdater/handlers/retirement.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers creating /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers/depchain copying build/lib/pdcupdater/handlers/depchain/rpms.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers/depchain copying build/lib/pdcupdater/handlers/depchain/containers.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers/depchain copying build/lib/pdcupdater/handlers/depchain/base.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers/depchain copying build/lib/pdcupdater/handlers/depchain/__init__.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers/depchain copying build/lib/pdcupdater/handlers/atomic.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers copying build/lib/pdcupdater/handlers/__init__.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers copying build/lib/pdcupdater/handlers/compose.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers copying build/lib/pdcupdater/commands.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater creating /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests creating /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests copying build/lib/pdcupdater/tests/handler_tests/test_pkgdb.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests copying build/lib/pdcupdater/tests/handler_tests/test_persons.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests copying build/lib/pdcupdater/tests/handler_tests/test_kerberos_auth.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests copying build/lib/pdcupdater/tests/handler_tests/__init__.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests copying build/lib/pdcupdater/tests/handler_tests/test_depchain_containers.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests copying build/lib/pdcupdater/tests/handler_tests/test_atomic.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests copying build/lib/pdcupdater/tests/handler_tests/test_retirement.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests copying build/lib/pdcupdater/tests/handler_tests/test_compose.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests copying build/lib/pdcupdater/tests/handler_tests/test_depchain_rpms.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests copying build/lib/pdcupdater/tests/handler_tests/test_rpms.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests copying build/lib/pdcupdater/tests/handler_tests/test_modules.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests copying build/lib/pdcupdater/tests/__init__.py -> /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/utils.py to utils.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/consumer.py to consumer.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/services.py to services.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers/pkgdb.py to pkgdb.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers/rpms.py to rpms.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers/persons.py to persons.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers/modules.py to modules.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers/retirement.py to retirement.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers/depchain/rpms.py to rpms.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers/depchain/containers.py to containers.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers/depchain/base.py to base.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers/depchain/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers/atomic.py to atomic.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/handlers/compose.py to compose.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/commands.py to commands.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests/test_pkgdb.py to test_pkgdb.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests/test_persons.py to test_persons.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests/test_kerberos_auth.py to test_kerberos_auth.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests/test_depchain_containers.py to test_depchain_containers.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests/test_atomic.py to test_atomic.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests/test_retirement.py to test_retirement.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests/test_compose.py to test_compose.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests/test_depchain_rpms.py to test_depchain_rpms.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests/test_rpms.py to test_rpms.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/handler_tests/test_modules.py to test_modules.pyc byte-compiling /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdcupdater/tests/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmp_lhTJO.py' /usr/bin/python2 -O /tmp/tmp_lhTJO.py removing /tmp/tmp_lhTJO.py running install_egg_info running egg_info writing requirements to pdc_updater.egg-info/requires.txt writing pdc_updater.egg-info/PKG-INFO writing top-level names to pdc_updater.egg-info/top_level.txt writing dependency_links to pdc_updater.egg-info/dependency_links.txt writing entry points to pdc_updater.egg-info/entry_points.txt reading manifest file 'pdc_updater.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pdc_updater.egg-info/SOURCES.txt' Copying pdc_updater.egg-info to /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/pdc_updater-0.6.5-py2.7.egg-info running install_scripts Installing pdc-updater-initialize script to /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/bin Installing pdc-updater-audit script to /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/bin Installing pdc-updater-retry script to /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/bin + rm -rf /builddir/build/BUILDROOT/pdc-updater-0.6.5-1.el7.noarch/usr/lib/python2.7/site-packages/tests/ + /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/pdc-updater-0.6.5 /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/pdc-updater-0.6.5-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.ScWrID + umask 022 + cd /builddir/build/BUILD + cd pdc-updater-0.6.5 + rm -f pdcupdater/tests/handler_tests/test_kerberos_auth.py + PYTHONPATH=. + nosetests -v test_get_fedmsg (pdcupdater.tests.handler_tests.TestBaseHarness) ... ok test_get_nonexistant_fedmsg (pdcupdater.tests.handler_tests.TestBaseHarness) ... ok Failure: AttributeError ('module' object has no attribute 'mock_api') ... ERROR Failure: AttributeError ('module' object has no attribute 'mock_api') ... ERROR Failure: AttributeError ('module' object has no attribute 'mock_api') ... ERROR Failure: AttributeError ('module' object has no attribute 'mock_api') ... ERROR Failure: AttributeError ('module' object has no attribute 'mock_api') ... ERROR Failure: AttributeError ('module' object has no attribute 'mock_api') ... ERROR Failure: AttributeError ('module' object has no attribute 'mock_api') ... ERROR Failure: AttributeError ('module' object has no attribute 'mock_api') ... ERROR Failure: AttributeError ('module' object has no attribute 'mock_api') ... ERROR ====================================================================== ERROR: Failure: AttributeError ('module' object has no attribute 'mock_api') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/test_atomic.py", line 10, in class TestAtomicUpdate(BaseHandlerTest): File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/test_atomic.py", line 34, in TestAtomicUpdate @mock_pdc File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/__init__.py", line 32, in mock_pdc @pdc_client.test_helpers.mock_api AttributeError: 'module' object has no attribute 'mock_api' ====================================================================== ERROR: Failure: AttributeError ('module' object has no attribute 'mock_api') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/test_compose.py", line 27, in class TestNewCompose(BaseHandlerTest): File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/test_compose.py", line 85, in TestNewCompose @mock_pdc File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/__init__.py", line 32, in mock_pdc @pdc_client.test_helpers.mock_api AttributeError: 'module' object has no attribute 'mock_api' ====================================================================== ERROR: Failure: AttributeError ('module' object has no attribute 'mock_api') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/test_depchain_containers.py", line 9, in class TestInclusionDepIngestion(BaseHandlerTest): File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/test_depchain_containers.py", line 29, in TestInclusionDepIngestion @mock.patch('pdcupdater.services.koji_get_build') File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/__init__.py", line 32, in mock_pdc @pdc_client.test_helpers.mock_api AttributeError: 'module' object has no attribute 'mock_api' ====================================================================== ERROR: Failure: AttributeError ('module' object has no attribute 'mock_api') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/test_depchain_rpms.py", line 31, in class TestBuildtimeDepIngestion(BaseHandlerTest): File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/test_depchain_rpms.py", line 62, in TestBuildtimeDepIngestion @mock.patch('pdcupdater.utils.interesting_tags') File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/__init__.py", line 32, in mock_pdc @pdc_client.test_helpers.mock_api AttributeError: 'module' object has no attribute 'mock_api' ====================================================================== ERROR: Failure: AttributeError ('module' object has no attribute 'mock_api') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/test_modules.py", line 59, in class TestModuleStateChange(BaseHandlerTest): File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/test_modules.py", line 113, in TestModuleStateChange @mock_pdc File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/__init__.py", line 32, in mock_pdc @pdc_client.test_helpers.mock_api AttributeError: 'module' object has no attribute 'mock_api' ====================================================================== ERROR: Failure: AttributeError ('module' object has no attribute 'mock_api') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/test_persons.py", line 9, in class TestNewPerson(BaseHandlerTest): File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/test_persons.py", line 25, in TestNewPerson @mock_pdc File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/__init__.py", line 32, in mock_pdc @pdc_client.test_helpers.mock_api AttributeError: 'module' object has no attribute 'mock_api' ====================================================================== ERROR: Failure: AttributeError ('module' object has no attribute 'mock_api') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/test_pkgdb.py", line 261, in class TestNewPackage(BaseHandlerTest): File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/test_pkgdb.py", line 289, in TestNewPackage @mock_pdc File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/__init__.py", line 32, in mock_pdc @pdc_client.test_helpers.mock_api AttributeError: 'module' object has no attribute 'mock_api' ====================================================================== ERROR: Failure: AttributeError ('module' object has no attribute 'mock_api') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/test_retirement.py", line 9, in class TestRetiredComponents(BaseHandlerTest): File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/test_retirement.py", line 24, in TestRetiredComponents @mock_pdc File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/__init__.py", line 32, in mock_pdc @pdc_client.test_helpers.mock_api AttributeError: 'module' object has no attribute 'mock_api' ====================================================================== ERROR: Failure: AttributeError ('module' object has no attribute 'mock_api') ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/loader.py", line 418, in loadTestsFromName addr.filename, addr.module) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 47, in importFromPath return self.importFromDir(dir_path, fqname) File "/usr/lib/python2.7/site-packages/nose/importer.py", line 94, in importFromDir mod = load_module(part_fqname, fh, filename, desc) File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/test_rpms.py", line 100, in class TestNewRPM(BaseHandlerTest): File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/test_rpms.py", line 135, in TestNewRPM @mock.patch('pdcupdater.services.koji_rpms_from_build') File "/builddir/build/BUILD/pdc-updater-0.6.5/pdcupdater/tests/handler_tests/__init__.py", line 32, in mock_pdc @pdc_client.test_helpers.mock_api AttributeError: 'module' object has no attribute 'mock_api' ---------------------------------------------------------------------- Ran 11 tests in 22.015s FAILED (errors=9) RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.ScWrID (%check) Bad exit status from /var/tmp/rpm-tmp.ScWrID (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/pdc-updater.spec