Build log:
Mock Version: 5.5
Mock Version: 5.5
Mock Version: 5.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/resalloc.spec'], chrootPath='/var/lib/mock/epel7-build-49336992-5866874/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fffb9f09af0>timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/resalloc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
sh: /usr/bin/python: No such file or directory
sh: /usr/bin/python: No such file or directory
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/resalloc-5.2-1.el7.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/resalloc.spec'], chrootPath='/var/lib/mock/epel7-build-49336992-5866874/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fffb9f09af0>timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/resalloc.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: noarch
Building for target noarch
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2EUiID
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf resalloc-5.2
+ /usr/bin/gzip -dc /builddir/build/SOURCES/resalloc-5.2.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd resalloc-5.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ rm -r resalloc_agent_spawner
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uTdFSP
+ umask 022
+ cd /builddir/build/BUILD
+ cd resalloc-5.2
+ python=/usr/bin/python2
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mcpu=power8 -mtune=power8'
+ /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/__init__.py -> build/lib/resalloc
copying resalloc/client.py -> build/lib/resalloc
copying resalloc/helpers.py -> build/lib/resalloc
creating build/lib/resallocserver
copying resallocserver/__init__.py -> build/lib/resallocserver
copying resallocserver/api.py -> build/lib/resallocserver
copying resallocserver/app.py -> build/lib/resallocserver
copying resallocserver/config.py -> build/lib/resallocserver
copying resallocserver/helpers.py -> build/lib/resallocserver
copying resallocserver/log.py -> build/lib/resallocserver
copying resallocserver/logic.py -> build/lib/resallocserver
copying resallocserver/main.py -> build/lib/resallocserver
copying resallocserver/maint.py -> build/lib/resallocserver
copying resallocserver/manager.py -> build/lib/resallocserver
copying resallocserver/models.py -> build/lib/resallocserver
copying resallocserver/priority_queue.py -> build/lib/resallocserver
creating build/lib/resallocwebui
copying resallocwebui/__init__.py -> build/lib/resallocwebui
copying resallocwebui/app.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/0e370f3171e5_add_priority_for_resources_tags.py -> build/lib/resallocserver/alembic/versions
copying resallocserver/alembic/versions/210774551cd3_performance_indexes.py -> build/lib/resallocserver/alembic/versions
copying resallocserver/alembic/versions/5759bc82a992_initial_revision.py -> build/lib/resallocserver/alembic/versions
copying resallocserver/alembic/versions/78237445aff8_index_not_closed_tickets.py -> build/lib/resallocserver/alembic/versions
copying resallocserver/alembic/versions/__init__.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/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.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
+ sed '1c#! /usr/bin/python2' /builddir/build/SOURCES/wait-for-ssh
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KbTSR2
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch
++ dirname /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch
+ cd resalloc-5.2
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mcpu=power8 -mtune=power8'
+ /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch
running install
running install_lib
creating /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr
creating /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib
creating /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7
creating /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages
creating /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc
copying build/lib/resalloc/__init__.py -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc
copying build/lib/resalloc/client.py -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc
copying build/lib/resalloc/helpers.py -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc
creating /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver
copying build/lib/resallocserver/__init__.py -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver
copying build/lib/resallocserver/api.py -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver
copying build/lib/resallocserver/app.py -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver
copying build/lib/resallocserver/config.py -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver
copying build/lib/resallocserver/helpers.py -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver
copying build/lib/resallocserver/log.py -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver
copying build/lib/resallocserver/logic.py -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver
copying build/lib/resallocserver/main.py -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver
copying build/lib/resallocserver/maint.py -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver
copying build/lib/resallocserver/manager.py -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver
copying build/lib/resallocserver/models.py -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver
copying build/lib/resallocserver/priority_queue.py -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver
creating /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic
copying build/lib/resallocserver/alembic/__init__.py -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic
copying build/lib/resallocserver/alembic/env.py -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic
creating /builddir/build/BUILDROOT/resalloc-5.2-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.2-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.2-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.2-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.2-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.2-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.2-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.2-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.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions
copying build/lib/resallocserver/alembic.ini -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver
creating /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocwebui
copying build/lib/resallocwebui/__init__.py -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocwebui
copying build/lib/resallocwebui/app.py -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocwebui
byte-compiling /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc/__init__.py to __init__.pyc
byte-compiling /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc/client.py to client.pyc
byte-compiling /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc/helpers.py to helpers.pyc
byte-compiling /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/__init__.py to __init__.pyc
byte-compiling /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/api.py to api.pyc
byte-compiling /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/app.py to app.pyc
byte-compiling /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/config.py to config.pyc
byte-compiling /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/helpers.py to helpers.pyc
byte-compiling /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/log.py to log.pyc
byte-compiling /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/logic.py to logic.pyc
byte-compiling /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/main.py to main.pyc
byte-compiling /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/maint.py to maint.pyc
byte-compiling /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/manager.py to manager.pyc
byte-compiling /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/models.py to models.pyc
byte-compiling /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/priority_queue.py to priority_queue.pyc
byte-compiling /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/__init__.py to __init__.pyc
byte-compiling /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/env.py to env.pyc
byte-compiling /builddir/build/BUILDROOT/resalloc-5.2-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.2-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.2-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.2-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.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions/__init__.py to __init__.pyc
byte-compiling /builddir/build/BUILDROOT/resalloc-5.2-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.2-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.2-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.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocwebui/__init__.py to __init__.pyc
byte-compiling /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocwebui/app.py to app.pyc
writing byte-compilation script '/tmp/tmpK8DFE4.py'
/usr/bin/python2 -O /tmp/tmpK8DFE4.py
removing /tmp/tmpK8DFE4.py
running install_data
creating /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/etc
creating /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/etc/resallocserver
copying config/pools.yaml -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/etc/resallocserver
copying config/server.yaml -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/etc/resallocserver
creating /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/etc/resalloc-agent-spawner
copying config/agent-spawner/config.yaml -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/etc/resalloc-agent-spawner
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
writing entry points to resalloc.egg-info/entry_points.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.2-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc-5.2-py2.7.egg-info
running install_scripts
creating /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/bin
copying build/scripts-2.7/resalloc -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/bin
copying build/scripts-2.7/resalloc-server -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/bin
copying build/scripts-2.7/resalloc-maint -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/bin
copying build/scripts-2.7/resalloc-check-vm-ip -> /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/bin
changing mode of /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/bin/resalloc to 755
changing mode of /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/bin/resalloc-server to 755
changing mode of /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/bin/resalloc-maint to 755
changing mode of /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/bin/resalloc-check-vm-ip to 755
Installing resalloc-agent-spawner script to /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/bin
Installing resalloc-agent-worker script to /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/bin
installing man/resalloc-maint.1
installing man/resalloc.1
+ rm -r /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/python2.7/site-packages/resallocwebui
+ mkdir -p /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/systemd/system
+ mkdir -p /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/var/log/resallocserver
+ install -p -m 644 /builddir/build/SOURCES/resalloc.service /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/lib/systemd/system
+ install -d -m 700 /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/var/lib/resallocserver
+ install -d -m 700 /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/etc/logrotate.d
+ install -p -m 644 /builddir/build/SOURCES/logrotate /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/etc/logrotate.d/resalloc-server
+ install -p -m 644 man/resalloc-server.1 /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/share/man/man1
+ install -d -m 755 /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch//usr/libexec
+ install -p -m 755 /builddir/build/SOURCES/merge-hook-logs /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch//usr/libexec/resalloc-merge-hook-logs
+ install -d /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/etc/cron.hourly
+ install -p -m 755 /builddir/build/SOURCES/cron.hourly /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/etc/cron.hourly/resalloc
+ install -p -m 755 resalloc-wait-for-ssh /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/bin/resalloc-wait-for-ssh
+ rm /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/bin/resalloc-agent-spawner /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/usr/bin/resalloc-agent-worker
+ rm /builddir/build/BUILDROOT/resalloc-5.2-1.el7.noarch/etc/resalloc-agent-spawner/config.yaml
+ /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.2
/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.2-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.6Y0Thg
+ umask 022
+ cd /builddir/build/BUILD
+ cd resalloc-5.2
+ make check TEST_PYTHONS=python2
make unittests
make[1]: Entering directory `/builddir/build/BUILD/resalloc-5.2'
status=true ; \
for python in python2; do \
    PYTHON=$python ./unittests.sh -vv || status=false ; \
done ;\
$status
 * sourcedir:  /builddir/build/BUILD/resalloc-5.2
 * testdir:    /builddir/build/BUILD/resalloc-5.2/tests
 * PYTHON:     python2
 * PYTHONPATH: /builddir/build/BUILD/resalloc-5.2
============================= 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.2, inifile: 
plugins: cov
collecting ... collected 8 items
tests/test_cli.py::test_errno_reconnect <- /builddir/build/BUILD/resalloc-5.2/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                                                                         62     20    68%   14-18, 40-41, 63-64, 75-80, 88, 92, 109, 113, 116, 120
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                                                                      67     48    28%   37, 40, 43-58, 62-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                                                                 612    438    28%   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-712, 716-740, 771-797, 801-844, 848-852, 860-862, 875, 900-901, 907, 911, 924, 930-933, 939, 943, 954-1061, 1066-1083, 1087-1100
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                                                                                 1590    811    49%   
=========================== 8 passed in 7.12 seconds ===========================
make[1]: Leaving directory `/builddir/build/BUILD/resalloc-5.2'
make shelltests
make[1]: Entering directory `/builddir/build/BUILD/resalloc-5.2'
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-igTjatk
 * 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: 980786 Terminated              "$SERVER_BIN" "$@"
                              ---> [ OK ]
===> running test 'tests/check.sh' (python2+sqlite)
 ~ I'm in /tmp/resalloc-tests-check.sh-fqLEObf
 * Wait for 5 preallocated machines
 * wait till the first set of VMs is deleted by watcher
 ~ cleanup
./testlib: line 42: 983040 Terminated              "$SERVER_BIN" "$@"
                              ---> [ OK ]
===> running test 'tests/ondemand.sh' (python2+sqlite)
 ~ I'm in /tmp/resalloc-tests-ondemand.sh-8Jsc1Nb
 * Wait for 3 resources, 2x 'basic', 1x 'ondemand'
FATAL: Unexpected number of assigned tickets - First check (test 1 = 2)
 ~ cleanup
./testlib: line 42: 983266 Terminated              "$SERVER_BIN" "$@"
                              ---> [ FAIL ]
===> running test 'tests/reuse.sh' (python2+sqlite)
 ~ I'm in /tmp/resalloc-tests-reuse.sh-NPlgsuM
 * 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: 983413 Terminated              "$SERVER_BIN" "$@"
                              ---> [ OK ]
===> running test 'tests/basic.sh' (python2+postgresql)
 ~ I'm in /tmp/resalloc-tests-basic.sh-ooXlIDN
 * 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: 984080 Terminated              "$SERVER_BIN" "$@"
                              ---> [ OK ]
===> running test 'tests/check.sh' (python2+postgresql)
 ~ I'm in /tmp/resalloc-tests-check.sh-i8b9OzN
 * 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-68SqQHe
 * 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
./testlib: line 42: 986622 Terminated              "$SERVER_BIN" "$@"
                              ---> [ OK ]
===> running test 'tests/reuse.sh' (python2+postgresql)
 ~ I'm in /tmp/resalloc-tests-reuse.sh-hJLZsTC
 * 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: 987864 Terminated              "$SERVER_BIN" "$@"
                              ---> [ OK ]
make[1]: *** [shelltests] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/resalloc-5.2'
make: *** [check] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.6Y0Thg (%check)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.6Y0Thg (%check)
Child return code was: 1
EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/resalloc.spec'\n", 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/resalloc.spec'



Extracted relevant lines:
* Wait for 3 resources, 2x 'basic', 1x 'ondemand'
FATAL: Unexpected number of assigned tickets - First check (test 1 = 2)
 ~ cleanup
                              ---> [ FAIL ]
===> running test 'tests/reuse.sh' (python2+sqlite)
 ~ I'm in /tmp/resalloc-tests-reuse.sh-NPlgsuM
 * Wait for 6 preallocated machines
make[1]: *** [shelltests] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/resalloc-5.2'
make: *** [check] Error 2
EXCEPTION: [Error("Command failed: 
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace
  File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status
    raise exception.Error("Command failed: 
 # %s
%s" % (cmd_pretty(command, env), output), child.returncode)
mockbuild.exception.Error: Command failed: