Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-ansible-tower-cli.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-d737ff4331ca924089f21262da01482ae0b80d75/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/python-ansible-tower-cli.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/python-ansible-tower-cli-3.0.3-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/python-ansible-tower-cli.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-d737ff4331ca924089f21262da01482ae0b80d75/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/python-ansible-tower-cli.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.kh0Nj3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tower-cli-3.0.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/tower-cli-3.0.3.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd tower-cli-3.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eEg1b4 + umask 022 + cd /builddir/build/BUILD + cd tower-cli-3.0.3 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib creating build/lib/tower_cli copying lib/tower_cli/conf.py -> build/lib/tower_cli copying lib/tower_cli/__init__.py -> build/lib/tower_cli copying lib/tower_cli/api.py -> build/lib/tower_cli creating build/lib/tower_cli/models copying lib/tower_cli/models/fields.py -> build/lib/tower_cli/models copying lib/tower_cli/models/base.py -> build/lib/tower_cli/models copying lib/tower_cli/models/__init__.py -> build/lib/tower_cli/models creating build/lib/tower_cli/resources copying lib/tower_cli/resources/organization.py -> build/lib/tower_cli/resources copying lib/tower_cli/resources/credential.py -> build/lib/tower_cli/resources copying lib/tower_cli/resources/permission.py -> build/lib/tower_cli/resources copying lib/tower_cli/resources/job_template.py -> build/lib/tower_cli/resources copying lib/tower_cli/resources/inventory_script.py -> build/lib/tower_cli/resources copying lib/tower_cli/resources/role.py -> build/lib/tower_cli/resources copying lib/tower_cli/resources/inventory.py -> build/lib/tower_cli/resources copying lib/tower_cli/resources/job.py -> build/lib/tower_cli/resources copying lib/tower_cli/resources/ad_hoc.py -> build/lib/tower_cli/resources copying lib/tower_cli/resources/notification_template.py -> build/lib/tower_cli/resources copying lib/tower_cli/resources/host.py -> build/lib/tower_cli/resources copying lib/tower_cli/resources/user.py -> build/lib/tower_cli/resources copying lib/tower_cli/resources/__init__.py -> build/lib/tower_cli/resources copying lib/tower_cli/resources/label.py -> build/lib/tower_cli/resources copying lib/tower_cli/resources/schedule.py -> build/lib/tower_cli/resources copying lib/tower_cli/resources/team.py -> build/lib/tower_cli/resources copying lib/tower_cli/resources/group.py -> build/lib/tower_cli/resources copying lib/tower_cli/resources/inventory_source.py -> build/lib/tower_cli/resources copying lib/tower_cli/resources/project.py -> build/lib/tower_cli/resources creating build/lib/tower_cli/commands copying lib/tower_cli/commands/config.py -> build/lib/tower_cli/commands copying lib/tower_cli/commands/version.py -> build/lib/tower_cli/commands copying lib/tower_cli/commands/__init__.py -> build/lib/tower_cli/commands creating build/lib/tower_cli/utils copying lib/tower_cli/utils/data_structures.py -> build/lib/tower_cli/utils copying lib/tower_cli/utils/types.py -> build/lib/tower_cli/utils copying lib/tower_cli/utils/compat.py -> build/lib/tower_cli/utils copying lib/tower_cli/utils/parser.py -> build/lib/tower_cli/utils copying lib/tower_cli/utils/command.py -> build/lib/tower_cli/utils copying lib/tower_cli/utils/decorators.py -> build/lib/tower_cli/utils copying lib/tower_cli/utils/exceptions.py -> build/lib/tower_cli/utils copying lib/tower_cli/utils/__init__.py -> build/lib/tower_cli/utils copying lib/tower_cli/utils/debug.py -> build/lib/tower_cli/utils copying lib/tower_cli/VERSION -> build/lib/tower_cli running build_scripts creating build/scripts-2.7 copying and adjusting bin/tower-cli -> build/scripts-2.7 changing mode of build/scripts-2.7/tower-cli from 644 to 755 + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aXgzO5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch + cd tower-cli-3.0.3 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr creating /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli creating /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/models copying build/lib/tower_cli/models/fields.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/models copying build/lib/tower_cli/models/base.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/models copying build/lib/tower_cli/models/__init__.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/models creating /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources copying build/lib/tower_cli/resources/organization.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources copying build/lib/tower_cli/resources/credential.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources copying build/lib/tower_cli/resources/permission.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources copying build/lib/tower_cli/resources/job_template.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources copying build/lib/tower_cli/resources/inventory_script.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources copying build/lib/tower_cli/resources/role.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources copying build/lib/tower_cli/resources/inventory.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources copying build/lib/tower_cli/resources/job.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources copying build/lib/tower_cli/resources/ad_hoc.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources copying build/lib/tower_cli/resources/notification_template.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources copying build/lib/tower_cli/resources/host.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources copying build/lib/tower_cli/resources/user.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources copying build/lib/tower_cli/resources/__init__.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources copying build/lib/tower_cli/resources/label.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources copying build/lib/tower_cli/resources/schedule.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources copying build/lib/tower_cli/resources/team.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources copying build/lib/tower_cli/resources/group.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources copying build/lib/tower_cli/resources/inventory_source.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources copying build/lib/tower_cli/resources/project.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources copying build/lib/tower_cli/conf.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli copying build/lib/tower_cli/__init__.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli creating /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/commands copying build/lib/tower_cli/commands/config.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/commands copying build/lib/tower_cli/commands/version.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/commands copying build/lib/tower_cli/commands/__init__.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/commands creating /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/utils copying build/lib/tower_cli/utils/data_structures.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/utils copying build/lib/tower_cli/utils/types.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/utils copying build/lib/tower_cli/utils/compat.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/utils copying build/lib/tower_cli/utils/parser.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/utils copying build/lib/tower_cli/utils/command.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/utils copying build/lib/tower_cli/utils/decorators.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/utils copying build/lib/tower_cli/utils/exceptions.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/utils copying build/lib/tower_cli/utils/__init__.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/utils copying build/lib/tower_cli/utils/debug.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/utils copying build/lib/tower_cli/VERSION -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli copying build/lib/tower_cli/api.py -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/models/fields.py to fields.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/models/base.py to base.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/models/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources/organization.py to organization.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources/credential.py to credential.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources/permission.py to permission.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources/job_template.py to job_template.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources/inventory_script.py to inventory_script.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources/role.py to role.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources/inventory.py to inventory.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources/job.py to job.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources/ad_hoc.py to ad_hoc.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources/notification_template.py to notification_template.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources/host.py to host.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources/user.py to user.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources/label.py to label.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources/schedule.py to schedule.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources/team.py to team.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources/group.py to group.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources/inventory_source.py to inventory_source.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/resources/project.py to project.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/conf.py to conf.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/commands/config.py to config.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/commands/version.py to version.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/commands/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/utils/data_structures.py to data_structures.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/utils/types.py to types.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/utils/compat.py to compat.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/utils/parser.py to parser.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/utils/command.py to command.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/utils/decorators.py to decorators.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/utils/exceptions.py to exceptions.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/utils/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/utils/debug.py to debug.pyc byte-compiling /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/tower_cli/api.py to api.pyc writing byte-compilation script '/tmp/tmp1hvIVJ.py' /usr/bin/python2 -O /tmp/tmp1hvIVJ.py removing /tmp/tmp1hvIVJ.py running install_egg_info running egg_info creating ansible_tower_cli.egg-info writing requirements to ansible_tower_cli.egg-info/requires.txt writing ansible_tower_cli.egg-info/PKG-INFO writing top-level names to ansible_tower_cli.egg-info/top_level.txt writing dependency_links to ansible_tower_cli.egg-info/dependency_links.txt writing manifest file 'ansible_tower_cli.egg-info/SOURCES.txt' reading manifest file 'ansible_tower_cli.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'ansible_tower_cli.egg-info/SOURCES.txt' Copying ansible_tower_cli.egg-info to /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/lib/python2.7/site-packages/ansible_tower_cli-3.0.3-py2.7.egg-info running install_scripts creating /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/bin copying build/scripts-2.7/tower-cli -> /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/bin/tower-cli to 755 + mkdir -p /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/etc/tower + touch /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/etc/tower/tower_cli.cfg + /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/tower-cli-3.0.3 /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-ansible-tower-cli-3.0.3-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.BxMbd7 + umask 022 + cd /builddir/build/BUILD + cd tower-cli-3.0.3 + nosetests-2.7 -v test_get_resource (tests.test__init.GetResourceTests) ... ok Establish that authentication errors raise the AuthError ... ok Establish that other errors not covered above raise the ... ok Establish that if we get a ConnectionError or an SSLError ... ok Establish that if we get a ConnectionError or an SSLError ... ok Establish that if connection fails and protocol not given, ... ok Establish that forbidden errors raise the ForbiddenError ... ok Establish that commands can not be ran with verify_ssl set ... ok Establish that the --insecure flag will cause the program to ... ok Establish that authentication errors raise the MethodNotAllowed ... ok Establish that authentication errors raise the NotFound ... ok Establish that the prefix property returns the appropriate ... ok Establish that the prefix property returns the appropriate ... ok Establish that a request that returns a valid JSON response ... ok Establish that on a POST request, we encode the provided data ... ok Establish that server errors raise the ServerError ... ok Establish that if `tower-cli config` is sent an invalid key, ... ok Establish that if no global config file exists, that tower-cli ... ok Establish that if `tower-cli config` is called with both a value ... ok Establish that if we are given a key and no value, that the ... ok Establish that if `tower-cli config` is called with no arguments, ... ok Warn user if configuration file permissions can not be set ... ok Establish that calling `tower-cli config --unset` works in the ... ok Establish that if we attempt to write a valid setting, that ... ok Establish that if we attempt to write a valid setting locally, that ... ok Establish that if we attempt to write a valid setting, that ... ok Establish that if we attempt to write a valid setting, that ... ok Establish that the `echo_setting` method works in the way ... ok Establish that the version command gives a nice error in cases ... ok Establish that the version command returns the output we ... ok Establish that the environment variables do not override explicitly ... ok Establish that the environment variables are correctly parsed ... ok Warn file permissions may expose credentials ... ok Establish that the parser can read settings with a standard ... ok Establish that the parser can read settings without a ... ok Establish that if /etc/tower/ exists but isn't readable, ... ok Establish that the abstract MonitorableResource's status ... ok Establish that commands are appropriately classified within ... ok Establish that the endpoints have leading and trailing slashes ... ok Establish that Resource subclasses are required to have ... ok Establish that fields are appropriately classified within ... ok Establish that the stock commands are automatically present ... ok Establish that commands overridden in subclasses retain their ... ok Establish that the _assoc method returns an unchanged status ... ok Establish that the _assoc method returns an changed status ... ok Establish that a standard create call works in the way that ... ok Establish that if we attempt to create a record that already exists, ... ok Establish that if we attempt to create a record and don't specify ... ok Establish that calling `delete` and providing a primary key ... ok Establish that calling `delete` on a record that does not exist ... ok Establish that calling `delete` on a record that does not ... ok Establish that calling `delete` with keyword arguments works ... ok Establish that calling `delete` on a record without a primary ... ok Establish that calling `delete` on a record without a primary ... ok Establish that the _assoc method returns an changed status ... ok Establish that the _disassoc method returns an unchanged status ... ok Establish that the Resource class' `get` method works in the ... ok Establish that if get is called with include_debug_header=False, ... ok Establish that if a read method gets more than one result when ... ok Establish that if a read method gets 0 results when it should have ... ok Establish that the Resource class' `list` method correctly ... ok Establish that if we pass custom keyword arguments to list, that ... ok Establish that if we attempt to query on the same field twice, ... ok Establish that the Resource class' `list` method correctly ... ok Establish that if `list` is called with keyword arguments with ... ok Establish that the list function works even if the server gives ... ok Establish that the `list` method returns pages as integers ... ok Establish that if _lookup is invoked and finds a record when it ... ok Establish that a if _lookup is invoked without any unique ... ok Establish that the modify method works in the way we expect, ... ok Establish that we ignore keyword arguments set to None when ... ok Establish that the modify method does not actually attempt ... ok Establish that if we get a file-like object, that it is ... ok Establish that our write method, if it gets a file-like object, ... ok Establish that a resource with 'null' field is written. ... ok Establish that the command based on a resource is, in fact, a ... ok Establish that the `get_command` method appropriately adds a ... ok Establish that for resources with names beginning with vowels, ... ok Establish that for resources with names ending in y, that plural ... ok Establish that the _echo_method subcommand class works in the ... ok Establish that the _echo_method subcommand decorator works ... ok Establish that the _echo_method subcommand decorator works ... ok Establish that booleans are formatted right-aligned, lower-cased ... ok Establish that a custom dictionary with no ID is made into a ... ok Establish that the `_echo_method` properly returns human formatting ... ok Establish that if there is a change and no id is returned, ... ok Establish that if there are no records sent to the human formatter, ... ok Establish that a single result sent to the human formatter ... ok Establish that pagination works in human formatting, and it ... ok Establish that pagination works in human formatting, and it ... ok Establish that the `_echo_method` properly returns YAML formatting ... ok Establish that if a field is given an explicit key, that they ... ok Establish that a field which is not an option is not made into ... ok Establish that the `get_command` method returns the appropriate ... ok Establish that if `get_command` is called against a command that ... ok Establish that the `list_commands` method for the command ... ok Establish that the `use_fields_as_options` attribute is honored ... ok Establish that the `use_fields_as_options` attribute is honored ... ok Establish that the `__gt__` comparison method on fields works ... ok Establish that the `__lt__` comparison method on fields works ... ok Establish that the `flags` property successfully flags a ... ok Establish that the `flags` property successfully flags read-only ... ok Establish that the `flags` property returns what I expect for a ... ok Establish that the flags property successfully shows the correct ... ok Establish that the `flags` property successfully flags unfilterable ... ok Establish that an explicitly provided help text is preserved ... ok Establish that a sane implicit help text is provided if none is ... ok Establish that a standard cancelation command works in the way ... ok Establish that a standard cancelation command works in the way ... ok Establish that we are able to run an ad hoc command. ... ok Establish that we are able to run a command and monitor ... ok Establish that we are able to run an ad hoc command and also ... ok Establish that we are able use the --become flag ... ok Establish that we are able to run an ad hoc command. ... ok Establish that if the command has failed, that we raise the ... ok test_detailed (tests.test_resources_ad_hoc.StatusTests) ... ok Establish that the data about an ad hoc command retrieved ... ok Establish that creating with special fields uses special no_lookup ... ok Establish that the correct GET data is used with the new ... ok Establish that creating with special fields passes through as-is ... ok Establish that a create without user, team, or credential works ... ok Establish that associate commands work. ... ok Establish that if we create a group, setting force_on_exists, ... ok Establish that if we start the creation process of a child group ... ok Establish that if we make a new group but don't have any interesting ... ok Establish that if we make a new group and provide inventory source ... ok Establish that if we try to create a group that already exists, ... ok Establish that error is thrown when no group/inventory given. ... ok Try to change group to manual, find that it already is. ... ok Establish that associate commands work. ... ok Test that anything not covered by the subclass implementation ... ok Establish that getting root groups from the Tower API works in ... ok Establish that listing with a parent specified works. ... ok Establish that if we attempt to modify a group and the group itself ... ok Establish that if we modify a group, changing its source to ... ok Test than when the group description is changed, we hit the ... ok Establish that if we attempt to modify a field in a group's ... ok Establish that if we try to get root groups without specifying ... ok Test that we can change the endpoint to list children of another ... ok Test that we can change the endpoint to list children of another ... ok Establish that the sync method correctly forwards to the ... ok Establish that the associate method makes the HTTP requests ... ok Establish that the associate method makes the HTTP requests ... ok Establish that a group flag is converted into query string. ... ok Establish that the group flag doesn't break the normal list. ... ok Establish that if an update is currently running, that we see this ... ok Establish that a detailed request is sent back in the way ... ok Establish that running `status` against a project with no updates ... ok Establish that the data about a project update retrieved from the ... ok Establish that if we attempt to update an inventory source that ... ok Establish that if we are able to update an inventory source, ... ok Establish that if we call update with the monitor flag, that the ... ok Establish that a job can be canceled by name or identity ... ok Establish that a standard cancelation command works in the way ... ok Establish that a standard cancelation command works in the way ... ok Establish that a standard cancelation command works in the way ... ok Establish that we are able to create a job that doesn't require ... ok Establish that we are able to create a job that doesn't require ... ok Establish that we are able to create a job and echo the output ... ok Establish that extra variables specified at call time are ... ok Establish that if we should be asking for extra variables at ... ok Establish that if we should be asking for extra variables at ... ok User launches a job that prompts for variables. User closes ... ok Establish that if we should be asking for extra variables at ... ok Establish that extra variables specified at call time as a file are ... ok Establish that if ignored_fields is returned when launching job, ... ok Establish that job template extra_vars are combined with local ... ok Check that in recent versions, it does not include job template ... ok Establish that we are able to create a job and attach tags to it. ... ok Establish that if the click library gives a tuple, than the job ... ok Establish that launching a job with `--use-job-endpoint` set would ... ok Establish that we are able to create a job that doesn't require ... ok Establish that if we attempt to monitor an already successful job, ... ok Establish that if the job has failed, that we raise the ... ok Establish that if the job has failed, that we raise the ... ok Establish that if the first status call returns a pending job, ... ok Establish that the monitor command prints more useful output ... ok Establish that the --timeout flag is honored if sent to ... ok test_detailed (tests.test_resources_job.StatusTests) ... ok Establish that the data about a job retrieved from the jobs ... ok Establish that the data about job specified by query is ... ok Establish that the associate method makes the HTTP requests ... ok Establish that a job template should be able to associate itself ... ok Establish that a job template can be created ... ok Establish that a job template can be created ... ok Establish that the disassociate method makes the HTTP requests ... ok Establish that a job template should be able to disassociate itself ... ok Establish that a job template can be created ... ok Establish that a job template can be modified ... ok Establish that a job template can be modified ... ok Establish that create a label with job template specified ... ok Establish that delete method of a label is properly disabled. ... ok Establish that configuration-related fields are not used for ... ok Establish that we can create a notification template in isolation. ... ok Establish that we can create a notification template under an ... ok Establish that creating a notification template without necessary ... ok Establish that we can delete an existing notification template. ... ok Establish that encrypted configuration fields must be provided ... ok Establish that we can get exactly one notification template. ... ok Establish that incorrect json format would trigger exception. ... ok Establish that we can get a list of notification templates under ... ok Establish that we can modify an existing notification, ... ok Establish that modifying an existing notification template to a new ... ok Establish that --notification-configuration option would ignore ... ok Establish that the associate method makes the HTTP requests ... ok Same associate test, but for creating an admin ... ok Establish that the associate method makes the HTTP requests ... ok Same disassociate test, but for creating an admin ... ok Test request for associating project with organization. ... ok Test request for disassociating project with organization. ... ok test_create_default_permission_type (tests.test_resources_permission.PermissionTests) ... ok test_create_write_type (tests.test_resources_permission.PermissionTests) ... ok test_delete_permission (tests.test_resources_permission.PermissionTests) ... ok test_list_permissions (tests.test_resources_permission.PermissionTests) ... ok test_modify_permission (tests.test_resources_permission.PermissionTests) ... ok test_modify_permission_by_pk (tests.test_resources_permission.PermissionTests) ... ok test_no_user_or_team (tests.test_resources_permission.PermissionTests) ... ok test_set_base_url_team (tests.test_resources_permission.PermissionTests) ... ok test_set_base_url_user (tests.test_resources_permission.PermissionTests) ... ok Establish that a project can be created with the monitor flag ... ok Establish that a project can be created inside of an organization. ... ok Establish organization works as direct API flag when the API ... ok Establish that a project can be created without giving an ... ok Establish that if an update is currently running, that we see this ... ok Establish that a detailed request is sent back in the way ... ok Establish that running `status` against a project with no updates ... ok Establish that the data about a project update retrieved from the ... ok Establish that we are able to create a project update ... ok Establish that we are able to create a project update ... ok Establish that attempting to update a non-updatable project ... ok Test modifying project in order to cover the special case that ... ok Test that output configuration for writing to role works. ... ok Assure that super method is called with right parameters ... ok Test internal use with json format, no debug ... ok Assure that super method is called granting role ... ok Listing based on a resource the role applies to ... ok Teams can not be passed as a parameter, check use of sublist ... ok Assure that super method is called with right parameters ... ok Test that None is returned from removed methods. ... ok Assure that super method is called revoking role ... ok Simulate granting user permission. ... ok Simulate granting user permission. ... ok Simulate revoking user permission where they already lack it. ... ok Simulate granting user permission where they already have it. ... ok Simulate granting user permission where they already have it. ... ok Translation of input args to lookup args, ignoring inventory ... ok Translation of input args to lookup args, using team ... ok Testing obj_res method, ability to produce errors here. ... ok Test that the input format can be correctly translated into the ... ok Testing obj_res method, ability to duplicate errors. ... ok English words changed from singular to plural ... ok Test function that fills in extra columns ... ok Establish that correct endpoint is invoked according to unified jt ... ok Establish that click-related extra function attributes are passed ... ok Establish that docstring of the original method are passed on ... ok Establish that No more than one unified job template fields ... ok Establish that At least one unified job template field should ... ok Establish that the associate method makes the HTTP requests ... ok Establish that the associate method makes the HTTP requests ... ok Establish that when the color setting is false, that color ... ok Establish that when the color setting is true, that color ... ok Establish that no_args_is_help causes the help to be printed, ... ok Establish that the OrderedDict __repr__ method works in the ... ok Establish that extra newlines are correctly applied if they ... ok Establish that a header echoes the expected string, of ... ok Establish that overly long debug messages will be displayed in ... ok Establish that this method does nothing if we are not in ... ok Establish that if we call the @command decorator with a call ... ok Establish that if we call the @command decorator without a ... ok Establish that the show method will properly route to an ... ok Check robustness of the parser functions in how it handles ... ok Combine yaml with json with bare values, check that key:value ... ok Given a yaml file with incorrect syntax, throw a warning ... ok Test that last value is the one that overwrites the others ... ok Give it some with '@' and test that it reads from the file ... ok Test to ensure that both dict and OrderedDict can be parsed ... ok Test that ordered_dump perserves the order of OrderedDict. ... ok Custom input-output scenario tests for 2 sources into one. ... ok Custom input-output scenario tests. ... ok Run tests on the data from Ansible core project. ... ok Test that data is dumped without unicode character marking. ... ok Establish that if a filename is specified with a user home directory ... ok Establish that if we receive a file-like object to the convert ... ok Establish that non-string input is protected against. ... ok Establish that file with variables is opened in this type. ... ok Establish that plain variables are passed as-is. ... ok Establish that custom types are equipped with __name__ field and the ... ok Establish that the convert method converts from the value ... ok Establish that if we get a string value, we do a lookup against ... ok Establish that if doing a foriegn key lookup fails, that we ... ok Establish that if doing a foreign key lookup returns multiple ... ok Establish that if we get an integer sent to the convert method, ... ok Establish that attempting to convert None just returns None, ... ok Establish 'null' passes through as-is ... ok Establish that if we get a string value that looks like an integer, ... ok Establish that the metavar ends up being what we expect, ... ok Name Stmts Miss Branch BrMiss Cover Missing --------------------------------------------------------------------------------------- tower_cli 8 0 0 0 100% tower_cli.api 90 0 38 1 99% tower_cli.commands 0 0 0 0 100% tower_cli.commands.config 68 0 32 0 100% tower_cli.commands.version 14 0 0 0 100% tower_cli.conf 103 0 33 0 100% tower_cli.models 4 0 0 0 100% tower_cli.models.base 425 1 186 2 99% 306 tower_cli.models.fields 47 0 12 0 100% tower_cli.resources 9 0 2 0 100% tower_cli.resources.ad_hoc 42 0 6 0 100% tower_cli.resources.credential 41 0 9 0 100% tower_cli.resources.group 127 0 36 0 100% tower_cli.resources.host 26 0 2 0 100% tower_cli.resources.inventory 10 0 0 0 100% tower_cli.resources.inventory_source 51 0 10 0 100% tower_cli.resources.job 110 7 51 8 91% 153-154, 158-162, 187 tower_cli.resources.job_template 64 0 6 0 100% tower_cli.resources.label 32 2 6 2 89% 71-73 tower_cli.resources.notification_template 128 9 33 5 91% 167, 213-223, 247-250 tower_cli.resources.organization 33 0 0 0 100% tower_cli.resources.permission 57 0 10 0 100% tower_cli.resources.project 73 0 18 0 100% tower_cli.resources.role 161 0 68 0 100% tower_cli.resources.schedule 58 3 16 2 93% 83, 85-86 tower_cli.resources.team 18 0 0 0 100% tower_cli.resources.user 12 0 0 0 100% tower_cli.utils 8 0 4 0 100% tower_cli.utils.command 10 0 2 0 100% tower_cli.utils.data_structures 2 0 0 0 100% tower_cli.utils.debug 31 0 16 0 100% tower_cli.utils.decorators 27 0 2 0 100% tower_cli.utils.exceptions 42 0 2 0 100% tower_cli.utils.parser 73 2 29 3 95% 41, 52 tower_cli.utils.types 60 0 14 0 100% --------------------------------------------------------------------------------------- TOTAL 2064 24 643 23 98% ---------------------------------------------------------------------- Ran 296 tests in 15.344s OK + exit 0 Processing files: python2-ansible-tower-cli-3.0.3-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Oom11e + umask 022 + cd /builddir/build/BUILD + cd tower-cli-3.0.3 + DOCDIR=/builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/share/doc/python2-ansible-tower-cli-3.0.3 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/share/doc/python2-ansible-tower-cli-3.0.3 + cp -pr README.rst /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/share/doc/python2-ansible-tower-cli-3.0.3 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.mZtDtg + umask 022 + cd /builddir/build/BUILD + cd tower-cli-3.0.3 + LICENSEDIR=/builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/share/licenses/python2-ansible-tower-cli-3.0.3 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/share/licenses/python2-ansible-tower-cli-3.0.3 + cp -pr LICENSE /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch/usr/share/licenses/python2-ansible-tower-cli-3.0.3 + exit 0 Provides: ansible-tower-cli = 3.0.3-1.el7 config(python2-ansible-tower-cli) = 3.0.3-1.el7 python-ansible-tower-cli = 3.0.3-1.el7 python2-ansible-tower-cli = 3.0.3-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: /usr/bin/python2 python(abi) = 2.7 Obsoletes: python-ansible-tower-cli < 3.0.3-1.el7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch Wrote: /builddir/build/RPMS/python2-ansible-tower-cli-3.0.3-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.PtPgw2 + umask 022 + cd /builddir/build/BUILD + cd tower-cli-3.0.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-ansible-tower-cli-3.0.3-1.el7.noarch + exit 0 Child return code was: 0