Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/resalloc.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-f0927869266851fb6e63e571a1529bedea54c727/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/resalloc.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/resalloc-5.0-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/resalloc.spec'], nspawn_args=[]shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/epel-1-armhfp-f0927869266851fb6e63e571a1529bedea54c727/root'gid=135user='mockbuild'timeout=0logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/resalloc.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Rq6VFh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf resalloc-5.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/resalloc-5.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd resalloc-5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yXgV6r + umask 022 + cd /builddir/build/BUILD + cd resalloc-5.0 + 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=neon -mfloat-abi=hard' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py running build_manpages generating man/resalloc-maint.1 generating man/resalloc.1 creating build creating build/lib creating build/lib/resalloc copying resalloc/client.py -> build/lib/resalloc copying resalloc/helpers.py -> build/lib/resalloc copying resalloc/__init__.py -> build/lib/resalloc creating build/lib/resallocserver copying resallocserver/maint.py -> build/lib/resallocserver copying resallocserver/models.py -> build/lib/resallocserver copying resallocserver/api.py -> build/lib/resallocserver copying resallocserver/priority_queue.py -> build/lib/resallocserver copying resallocserver/main.py -> build/lib/resallocserver copying resallocserver/log.py -> build/lib/resallocserver copying resallocserver/helpers.py -> build/lib/resallocserver copying resallocserver/app.py -> build/lib/resallocserver copying resallocserver/__init__.py -> build/lib/resallocserver copying resallocserver/config.py -> build/lib/resallocserver copying resallocserver/logic.py -> build/lib/resallocserver copying resallocserver/manager.py -> build/lib/resallocserver creating build/lib/resallocwebui copying resallocwebui/app.py -> build/lib/resallocwebui copying resallocwebui/__init__.py -> build/lib/resallocwebui creating build/lib/resallocserver/alembic copying resallocserver/alembic/__init__.py -> build/lib/resallocserver/alembic copying resallocserver/alembic/env.py -> build/lib/resallocserver/alembic creating build/lib/resallocserver/alembic/versions copying resallocserver/alembic/versions/78237445aff8_index_not_closed_tickets.py -> build/lib/resallocserver/alembic/versions copying resallocserver/alembic/versions/cdf29a997efc_resource_pool_id.py -> build/lib/resallocserver/alembic/versions copying resallocserver/alembic/versions/eac9fc01d0d1_allow_resource_reuse.py -> build/lib/resallocserver/alembic/versions copying resallocserver/alembic/versions/__init__.py -> build/lib/resallocserver/alembic/versions copying resallocserver/alembic/versions/5759bc82a992_initial_revision.py -> build/lib/resallocserver/alembic/versions copying resallocserver/alembic/versions/0e370f3171e5_add_priority_for_resources_tags.py -> build/lib/resallocserver/alembic/versions copying resallocserver/alembic/versions/a53d2303943a_add_cleaning_unknown_resources_column.py -> build/lib/resallocserver/alembic/versions copying resallocserver/alembic/versions/210774551cd3_performance_indexes.py -> build/lib/resallocserver/alembic/versions copying resallocserver/alembic.ini -> build/lib/resallocserver running build_scripts creating build/scripts-2.7 copying and adjusting bin/resalloc -> build/scripts-2.7 copying and adjusting bin/resalloc-server -> build/scripts-2.7 copying and adjusting bin/resalloc-maint -> build/scripts-2.7 copying bin/resalloc-check-vm-ip -> build/scripts-2.7 changing mode of build/scripts-2.7/resalloc from 644 to 755 changing mode of build/scripts-2.7/resalloc-server from 644 to 755 changing mode of build/scripts-2.7/resalloc-maint from 644 to 755 + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ey95wq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch + cd resalloc-5.0 + 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=neon -mfloat-abi=hard' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch running install running install_lib creating /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr creating /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc copying build/lib/resalloc/client.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc copying build/lib/resalloc/helpers.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc copying build/lib/resalloc/__init__.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc creating /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/alembic.ini -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/maint.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/models.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/api.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver creating /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic creating /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/78237445aff8_index_not_closed_tickets.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/cdf29a997efc_resource_pool_id.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/eac9fc01d0d1_allow_resource_reuse.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/__init__.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/5759bc82a992_initial_revision.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/0e370f3171e5_add_priority_for_resources_tags.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/a53d2303943a_add_cleaning_unknown_resources_column.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/210774551cd3_performance_indexes.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/__init__.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic copying build/lib/resallocserver/alembic/env.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic copying build/lib/resallocserver/priority_queue.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/main.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/log.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/helpers.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/app.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/__init__.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/config.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/logic.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/manager.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver creating /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocwebui copying build/lib/resallocwebui/app.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocwebui copying build/lib/resallocwebui/__init__.py -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocwebui byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc/client.py to client.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc/helpers.py to helpers.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/maint.py to maint.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/models.py to models.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/api.py to api.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions/78237445aff8_index_not_closed_tickets.py to 78237445aff8_index_not_closed_tickets.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions/cdf29a997efc_resource_pool_id.py to cdf29a997efc_resource_pool_id.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions/eac9fc01d0d1_allow_resource_reuse.py to eac9fc01d0d1_allow_resource_reuse.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions/5759bc82a992_initial_revision.py to 5759bc82a992_initial_revision.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions/0e370f3171e5_add_priority_for_resources_tags.py to 0e370f3171e5_add_priority_for_resources_tags.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions/a53d2303943a_add_cleaning_unknown_resources_column.py to a53d2303943a_add_cleaning_unknown_resources_column.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions/210774551cd3_performance_indexes.py to 210774551cd3_performance_indexes.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/env.py to env.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/priority_queue.py to priority_queue.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/main.py to main.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/log.py to log.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/helpers.py to helpers.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/app.py to app.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/config.py to config.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/logic.py to logic.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/manager.py to manager.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocwebui/app.py to app.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocwebui/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmpiD_4kB.py' /usr/bin/python2 -O /tmp/tmpiD_4kB.py removing /tmp/tmpiD_4kB.py running install_data creating /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/etc creating /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/etc/resallocserver copying config/pools.yaml -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/etc/resallocserver copying config/server.yaml -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/etc/resallocserver running install_egg_info running egg_info writing requirements to resalloc.egg-info/requires.txt writing resalloc.egg-info/PKG-INFO writing top-level names to resalloc.egg-info/top_level.txt writing dependency_links to resalloc.egg-info/dependency_links.txt reading manifest file 'resalloc.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.py' under directory 'build_manpages/build_manpages' writing manifest file 'resalloc.egg-info/SOURCES.txt' Copying resalloc.egg-info to /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc-5.0-py2.7.egg-info running install_scripts creating /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/bin copying build/scripts-2.7/resalloc-maint -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/bin copying build/scripts-2.7/resalloc -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/bin copying build/scripts-2.7/resalloc-server -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/bin copying build/scripts-2.7/resalloc-check-vm-ip -> /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/bin/resalloc-maint to 755 changing mode of /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/bin/resalloc to 755 changing mode of /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/bin/resalloc-server to 755 changing mode of /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/bin/resalloc-check-vm-ip to 755 installing man/resalloc-maint.1 installing man/resalloc.1 + rm -r /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/python2.7/site-packages/resallocwebui + mkdir -p /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/var/log/resallocserver + install -p -m 644 /builddir/build/SOURCES/resalloc.service /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/lib/systemd/system + install -d -m 700 /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/var/lib/resallocserver + install -d -m 700 /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/etc/logrotate.d + install -p -m 644 /builddir/build/SOURCES/logrotate /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/etc/logrotate.d/resalloc-server + install -p -m 644 man/resalloc-server.1 /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/usr/share/man/man1 + install -d -m 755 /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch//usr/libexec + install -p -m 755 /builddir/build/SOURCES/merge-hook-logs /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch//usr/libexec/resalloc-merge-hook-logs + install -d /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/etc/cron.hourly + install -p -m 755 /builddir/build/SOURCES/cron.hourly /builddir/build/BUILDROOT/resalloc-5.0-1.el7.noarch/etc/cron.hourly/resalloc + /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/resalloc-5.0 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/resalloc-5.0-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.W23VAt + umask 022 + cd /builddir/build/BUILD + cd resalloc-5.0 + make check TEST_PYTHONS=python2 make unittests make[1]: Entering directory `/builddir/build/BUILD/resalloc-5.0' status=true ; \ for python in python2; do \ PYTHON=$python ./unittests.sh -vv || status=false ; \ done ;\ $status * sourcedir: /builddir/build/BUILD/resalloc-5.0 * testdir: /builddir/build/BUILD/resalloc-5.0/tests * PYTHON: python2 * PYTHONPATH: /builddir/build/BUILD/resalloc-5.0 ============================= test session starts ============================== platform linux2 -- Python 2.7.5 -- py-1.4.32 -- pytest-2.7.0 -- /usr/bin/python2 rootdir: /builddir/build/BUILD/resalloc-5.0, inifile: plugins: cov collecting ... collected 8 items tests/test_cli.py::test_errno_reconnect <- /builddir/build/BUILD/resalloc-5.0/tests/test_cli.py PASSED tests/test_command.py::TestRunCommand::test_trim PASSED tests/test_manager.py::test_normalize_tags PASSED tests/test_manager.py::TestManager::test_resource_tag_priority[passengers0-car3] PASSED tests/test_manager.py::TestManager::test_resource_tag_priority[passengers1-car2] PASSED tests/test_manager.py::TestManager::test_resource_tag_priority[passengers2-car1] PASSED tests/test_manager.py::TestManager::test_resource_tag_priority[passengers3-car3] PASSED tests/test_manager.py::TestManager::test_resource_tag_priority[passengers4-car2] PASSED --------------- coverage: platform linux2, python 2.7.5-final-0 ---------------- Name Stmts Miss Cover Missing ------------------------------------------------------------------------------------------------------------------ resalloc/__init__ 1 0 100% resalloc/client 63 20 68% 15-19, 50-52, 73-74, 85-89, 97, 101, 118, 122, 125, 129 resalloc/helpers 63 15 76% 39, 81, 92, 97, 99, 104-118 resallocserver/__init__ 0 0 100% resallocserver/alembic/__init__ 0 0 100% resallocserver/alembic/env 31 9 71% 12-14, 28, 53-60, 82 resallocserver/alembic/versions/0e370f3171e5_add_priority_for_resources_tags 12 2 83% 25-26 resallocserver/alembic/versions/210774551cd3_performance_indexes 30 11 63% 42-55 resallocserver/alembic/versions/5759bc82a992_initial_revision 18 5 72% 60-64 resallocserver/alembic/versions/78237445aff8_index_not_closed_tickets 12 2 83% 30-31 resallocserver/alembic/versions/__init__ 0 0 100% resallocserver/alembic/versions/a53d2303943a_add_cleaning_unknown_resources_column 14 2 86% 35-36 resallocserver/alembic/versions/cdf29a997efc_resource_pool_id 8 1 88% 27 resallocserver/alembic/versions/eac9fc01d0d1_allow_resource_reuse 45 16 64% 43, 46-51, 56-66 resallocserver/api 68 48 29% 37, 40, 43-58, 62-65, 69-80, 85-101, 105-110 resallocserver/app 36 4 89% 37, 70-72 resallocserver/config 10 0 100% resallocserver/helpers 0 0 100% resallocserver/log 19 1 95% 24 resallocserver/logic 75 30 60% 34, 44-47, 58, 84, 88, 95-103, 106-121, 124, 136, 142, 146-153, 167, 172 resallocserver/main 78 39 50% 40-45, 64-66, 69-78, 91-99, 102, 117-118, 124-147 resallocserver/maint 88 88 0% 18-147 resallocserver/manager 609 435 29% 49, 63-65, 71, 96-97, 102, 120, 135, 151-174, 187-188, 193-200, 204, 207, 210-216, 221, 224-230, 233-262, 267, 271-296, 301, 304-346, 355, 359-372, 387-397, 400-402, 407-456, 459-461, 491-493, 498-501, 506-509, 516-524, 534-543, 547-552, 557-575, 579-601, 604-634, 637-651, 654-683, 686-707, 711-735, 766-792, 796-839, 843-847, 855-857, 870, 895-896, 902, 906, 919, 925-928, 934, 938, 949-1056, 1061-1078, 1082-1095 resallocserver/models 78 10 87% 35, 65, 106-108, 111-116, 120 resallocserver/priority_queue 32 6 81% 30, 45, 51-52, 70, 77 resallocwebui/__init__ 11 11 0% 1-17 resallocwebui/app 36 36 0% 1-64 setup 12 12 0% 18-38 tests/__init__ 55 5 91% 17-18, 74-78 tests/test_cli 18 0 100% tests/test_command 36 0 100% tests/test_manager 31 0 100% ------------------------------------------------------------------------------------------------------------------ TOTAL 1589 808 49% ========================== 8 passed in 24.98 seconds =========================== make[1]: Leaving directory `/builddir/build/BUILD/resalloc-5.0' make shelltests make[1]: Entering directory `/builddir/build/BUILD/resalloc-5.0' cd shelltests ; \ status=true ; \ for python in python2; do \ for database in sqlite postgresql; do \ PYTHON=$python DATABASE=$database \ ./testrunner basic.sh check.sh ondemand.sh reuse.sh ; \ test $? -eq 0 || status=false ; \ done ; \ done ; \ $status ===> running test 'tests/basic.sh' (python2+sqlite) ~ I'm in /tmp/resalloc-tests-basic.sh-bV6EAC2 * Wait for 5 preallocated machines * check that after some time still only 5 are available * take all the resources which should be available * take some more tickets, to reach the maximum * take one more, which should wait * release one ticket and check that the waiting ticket now succeeds * close all the tickets now and check that again 5 is up * wait till all the log files are in place * check that log files contain both stderr and stdout * check that terminate log contains RESALLOC_RESOURCE_DATA var * test force-delete of two resources * check that multiple checks are logged into single log file * check that RESALLOC_ID_IN_POOL has sane numbers ~ cleanup ./testlib: line 42: 26276 Terminated "$SERVER_BIN" "$@" ---> [ OK ] ===> running test 'tests/check.sh' (python2+sqlite) ~ I'm in /tmp/resalloc-tests-check.sh-1SHPENs * Wait for 5 preallocated machines * wait till the first set of VMs is deleted by watcher ~ cleanup ./testlib: line 42: 28851 Terminated "$SERVER_BIN" "$@" ---> [ OK ] ===> running test 'tests/ondemand.sh' (python2+sqlite) ~ I'm in /tmp/resalloc-tests-ondemand.sh-Cj8zOf7 Traceback (most recent call last): File "/builddir/build/BUILD/resalloc-5.0/test-tooling/../bin/resalloc", line 113, in sys.exit(main()) File "/builddir/build/BUILD/resalloc-5.0/test-tooling/../bin/resalloc", line 79, in main ticket = conn.newTicket(arg.tags, arg.sandbox) File "/builddir/build/BUILD/resalloc-5.0/resalloc/client.py", line 124, in newTicket ticket_id = self._connection.call("takeTicket", *args) File "/builddir/build/BUILD/resalloc-5.0/resalloc/client.py", line 45, in call return fcall(*args) File "/usr/lib/python2.7/xmlrpclib.py", line 1233, in __call__ return self.__send(self.__name, args) File "/usr/lib/python2.7/xmlrpclib.py", line 1591, in __request verbose=self.__verbose File "/usr/lib/python2.7/xmlrpclib.py", line 1273, in request return self.single_request(host, handler, request_body, verbose) File "/usr/lib/python2.7/xmlrpclib.py", line 1301, in single_request self.send_content(h, request_body) File "/usr/lib/python2.7/xmlrpclib.py", line 1448, in send_content connection.endheaders(request_body) File "/usr/lib/python2.7/httplib.py", line 1068, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/httplib.py", line 894, in _send_output self.send(msg) File "/usr/lib/python2.7/httplib.py", line 856, in send self.connect() File "/usr/lib/python2.7/httplib.py", line 837, in connect self.timeout, self.source_address) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err socket.error: [Errno 111] Connection refused ~ cleanup ./testlib: line 42: 29186 Terminated "$SERVER_BIN" "$@" ---> [ FAIL ] ===> running test 'tests/reuse.sh' (python2+sqlite) ~ I'm in /tmp/resalloc-tests-reuse.sh-b5ne0j5 * Wait for 6 preallocated machines * check that after some time still only 6 are available * 1. case: take -> return -> re-take * 2. case: take all -> take one more -> release one * 3. case: count limit * 4. case: time limit ~ cleanup ./testlib: line 42: 29232 Terminated "$SERVER_BIN" "$@" ---> [ OK ] ===> running test 'tests/basic.sh' (python2+postgresql) ~ I'm in /tmp/resalloc-tests-basic.sh-KD0E5bR * preparing PostgreSQL server * Wait for 5 preallocated machines * check that after some time still only 5 are available * take all the resources which should be available * take some more tickets, to reach the maximum * take one more, which should wait * release one ticket and check that the waiting ticket now succeeds * close all the tickets now and check that again 5 is up * wait till all the log files are in place * check that log files contain both stderr and stdout * check that terminate log contains RESALLOC_RESOURCE_DATA var * test force-delete of two resources * check that multiple checks are logged into single log file * check that RESALLOC_ID_IN_POOL has sane numbers ~ cleanup ./testlib: line 42: 29924 Terminated "$SERVER_BIN" "$@" ---> [ OK ] ===> running test 'tests/check.sh' (python2+postgresql) ~ I'm in /tmp/resalloc-tests-check.sh-MPSRoTC * preparing PostgreSQL server * Wait for 5 preallocated machines * wait till the first set of VMs is deleted by watcher ~ cleanup ---> [ OK ] ===> running test 'tests/ondemand.sh' (python2+postgresql) ~ I'm in /tmp/resalloc-tests-ondemand.sh-TvgLdvZ * preparing PostgreSQL server * Wait for 3 resources, 2x 'basic', 1x 'ondemand' * Wait for 3 resources, 2x 'basic', 1x 'ondemand' (nothing changed) * Wait for ticket 8 being resolved (in ondemand2) * Wait for ticket 9 being resolved (in ondemand1) * Wait for 5 resources, two more on-demand machines * Wait for ticket 10 being resolved (on demand, but not prioritized) * Wait for ticket 11 being resolved (the last one allocated) * Wait for ticket 14 being resolved (taking a waiting on demand task) * Wait for ticket 12 being resolved (taking non-on-demand task) * Wait for ticket 13 being resolved (taking also task for basic pool) * Wait for ticket 6 being resolved (additional ondemand resource taking old basic ticket) * Wait for ticket 7 being resolved (take ticket by basic pool again) * Wait for ticket 17 being resolved (fresh new basic resource #1) * Wait for ticket 16 being resolved (fresh new basic resource #2) ~ cleanup ---> [ OK ] ===> running test 'tests/reuse.sh' (python2+postgresql) ~ I'm in /tmp/resalloc-tests-reuse.sh-obF7ht7 * preparing PostgreSQL server * Wait for 6 preallocated machines * check that after some time still only 6 are available * 1. case: take -> return -> re-take * 2. case: take all -> take one more -> release one * 3. case: count limit * 4. case: time limit ~ cleanup ./testlib: line 42: 1331 Terminated "$SERVER_BIN" "$@" ---> [ OK ] make[1]: *** [shelltests] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/resalloc-5.0' make: *** [check] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.W23VAt (%check) Bad exit status from /var/tmp/rpm-tmp.W23VAt (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 89, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 582, 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/resalloc.spec