Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/resalloc.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-1e3ab5e9f24833b301476896bc70206a44b45b48/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/resalloc.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 Wrote: /builddir/build/SRPMS/resalloc-4.1-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'], chrootPath='/var/lib/mock/epel-1-armhfp-1e3ab5e9f24833b301476896bc70206a44b45b48/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/resalloc.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.IUkZFd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf resalloc-4.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/resalloc-4.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd resalloc-4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MZfXgf + umask 022 + cd /builddir/build/BUILD + cd resalloc-4.1 + 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/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/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/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/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.sfmHCU + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch + cd resalloc-4.1 + 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-4.1-1.el7.noarch running install running install_lib creating /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr creating /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc copying build/lib/resalloc/client.py -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc copying build/lib/resalloc/helpers.py -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc copying build/lib/resalloc/__init__.py -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc creating /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/alembic.ini -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/maint.py -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/models.py -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/api.py -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver creating /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic creating /builddir/build/BUILDROOT/resalloc-4.1-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-4.1-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-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/__init__.py -> /builddir/build/BUILDROOT/resalloc-4.1-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-4.1-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-4.1-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-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/__init__.py -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic copying build/lib/resallocserver/alembic/env.py -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic copying build/lib/resallocserver/priority_queue.py -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/main.py -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/log.py -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/app.py -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/__init__.py -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/config.py -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/logic.py -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver copying build/lib/resallocserver/manager.py -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver byte-compiling /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc/client.py to client.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc/helpers.py to helpers.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/maint.py to maint.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/models.py to models.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/api.py to api.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.1-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-4.1-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-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/versions/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.1-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-4.1-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-4.1-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-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/alembic/env.py to env.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/priority_queue.py to priority_queue.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/main.py to main.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/log.py to log.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/app.py to app.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/config.py to config.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/logic.py to logic.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resallocserver/manager.py to manager.pyc writing byte-compilation script '/tmp/tmp_Nzx6U.py' /usr/bin/python2 -O /tmp/tmp_Nzx6U.py removing /tmp/tmp_Nzx6U.py running install_data creating /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/etc creating /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/etc/resallocserver copying config/pools.yaml -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/etc/resallocserver copying config/server.yaml -> /builddir/build/BUILDROOT/resalloc-4.1-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' writing manifest file 'resalloc.egg-info/SOURCES.txt' Copying resalloc.egg-info to /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/python2.7/site-packages/resalloc-4.1-py2.7.egg-info running install_scripts creating /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/bin copying build/scripts-2.7/resalloc-maint -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/bin copying build/scripts-2.7/resalloc -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/bin copying build/scripts-2.7/resalloc-server -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/bin copying build/scripts-2.7/resalloc-check-vm-ip -> /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/bin/resalloc-maint to 755 changing mode of /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/bin/resalloc to 755 changing mode of /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/bin/resalloc-server to 755 changing mode of /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/bin/resalloc-check-vm-ip to 755 installing man/resalloc-maint.1 installing man/resalloc.1 + mkdir -p /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/var/log/resallocserver + install -p -m 644 /builddir/build/SOURCES/resalloc.service /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/lib/systemd/system + install -d -m 700 /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/var/lib/resallocserver + install -d -m 700 /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/etc/logrotate.d + install -p -m 644 /builddir/build/SOURCES/logrotate /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/etc/logrotate.d/resalloc-server + install -p -m 644 man/resalloc-server.1 /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/man/man1 + install -d -m 755 /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch//usr/libexec + install -p -m 755 /builddir/build/SOURCES/merge-hook-logs /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch//usr/libexec/resalloc-merge-hook-logs + install -d /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/etc/cron.hourly + install -p -m 755 /builddir/build/SOURCES/cron.hourly /builddir/build/BUILDROOT/resalloc-4.1-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-4.1 /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-4.1-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.Dw1mpG + umask 022 + cd /builddir/build/BUILD + cd resalloc-4.1 + make check TEST_PYTHONS=python2 make[1]: Entering directory `/builddir/build/BUILD/resalloc-4.1' status=true ; \ for python in python2; do \ PYTHON=$python ./unittests.sh || status=false ; \ done ;\ $status * sourcedir: /builddir/build/BUILD/resalloc-4.1 * testdir: /builddir/build/BUILD/resalloc-4.1/tests * PYTHON: python2 * PYTHONPATH: /builddir/build/BUILD/resalloc-4.1 ============================= test session starts ============================== platform linux2 -- Python 2.7.5 -- py-1.4.32 -- pytest-2.7.0 rootdir: /builddir/build/BUILD/resalloc-4.1, inifile: plugins: cov collected 7 items tests/test_cli.py . tests/test_command.py . tests/test_manager.py ..... --------------- coverage: platform linux2, python 2.7.5-final-0 ---------------- Name Stmts Miss Cover Missing ------------------------------------------------------------------------------------------------------------ resalloc/__init__ 1 0 100% resalloc/client 57 17 70% 12-15, 46, 67-68, 79-83, 91, 95, 112, 116, 119, 123 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/__init__ 0 0 100% 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 37 4 89% 38, 71-73 resallocserver/config 10 0 100% resallocserver/log 19 1 95% 24 resallocserver/logic 72 29 60% 33, 43-46, 57, 82, 86, 93-101, 104-119, 122, 134, 142, 146-153, 166 resallocserver/main 75 36 52% 40-45, 64-66, 69-78, 91-99, 102, 117-118, 124-144 resallocserver/maint 51 51 0% 18-98 resallocserver/manager 398 269 32% 49, 56-58, 64, 88-89, 106-118, 131-132, 137-142, 146, 149, 152-153, 158-164, 167-195, 201-218, 224-284, 289-338, 341-343, 368-370, 381-389, 393-394, 399-417, 421-444, 447-466, 469-483, 486-503, 506-520, 523-560, 563-567, 575, 580, 588-590, 609, 622, 628-629, 635, 639, 643-652, 656-667 resallocserver/models 64 3 95% 90-92 resallocserver/priority_queue 32 7 78% 25, 40, 46-47, 56, 65, 72 setup 22 22 0% 18-48 tests/__init__ 55 5 91% 17-18, 74-78 tests/test_cli 18 0 100% tests/test_command 36 0 100% tests/test_manager 24 0 100% ------------------------------------------------------------------------------------------------------------ TOTAL 1246 551 56% ========================== 7 passed in 18.34 seconds =========================== make[1]: Leaving directory `/builddir/build/BUILD/resalloc-4.1' make[1]: Entering directory `/builddir/build/BUILD/resalloc-4.1' ===> running test 'tests/basic.sh' (python2+sqlite) ~ I'm in /tmp/resalloc-tests-basic.sh-gxgNIIP * 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 * 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: 32604 Terminated "$SERVER_BIN" "$@" ---> [ OK ] ===> running test 'tests/check.sh' (python2+sqlite) ~ I'm in /tmp/resalloc-tests-check.sh-0m7hLoo * Wait for 5 preallocated machines * wait till the first set of VMs is deleted by watcher ~ cleanup ./testlib: line 42: 2626 Terminated "$SERVER_BIN" "$@" ---> [ OK ] ===> running test 'tests/reuse.sh' (python2+sqlite) ~ I'm in /tmp/resalloc-tests-reuse.sh-WP3MvVx * 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: 2832 Terminated "$SERVER_BIN" "$@" ---> [ OK ] ===> running test 'tests/basic.sh' (python2+postgresql) ~ I'm in /tmp/resalloc-tests-basic.sh-bccqwpW * 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 * 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: 3505 Terminated "$SERVER_BIN" "$@" ---> [ OK ] ===> running test 'tests/check.sh' (python2+postgresql) ~ I'm in /tmp/resalloc-tests-check.sh-Qje3k0E * preparing PostgreSQL server * Wait for 5 preallocated machines * wait till the first set of VMs is deleted by watcher ~ cleanup ---> [ OK ] ===> running test 'tests/reuse.sh' (python2+postgresql) ~ I'm in /tmp/resalloc-tests-reuse.sh-LoQ7csU * 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: 7994 Terminated "$SERVER_BIN" "$@" ---> [ OK ] make[1]: Leaving directory `/builddir/build/BUILD/resalloc-4.1' + ln -s /usr/lib/python2.7/site-packages/resallocserver /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/var/lib/resallocserver/project + exit 0 Processing files: resalloc-4.1-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.o9izsD + umask 022 + cd /builddir/build/BUILD + cd resalloc-4.1 + DOCDIR=/builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/doc/resalloc-4.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/doc/resalloc-4.1 + cp -pr NEWS /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/doc/resalloc-4.1 + cp -pr README /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/doc/resalloc-4.1 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.pA4dWD + umask 022 + cd /builddir/build/BUILD + cd resalloc-4.1 + LICENSEDIR=/builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/licenses/resalloc-4.1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/licenses/resalloc-4.1 + cp -pr COPYING /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/licenses/resalloc-4.1 + exit 0 Provides: resalloc = 4.1-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python2 Processing files: resalloc-server-4.1-1.el7.noarch warning: Explicit %attr() mode not applicaple to symlink: /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/var/lib/resallocserver/project Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CF5ppL + umask 022 + cd /builddir/build/BUILD + cd resalloc-4.1 + DOCDIR=/builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/doc/resalloc-server-4.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/doc/resalloc-server-4.1 + cp -pr NEWS /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/doc/resalloc-server-4.1 + cp -pr README /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/doc/resalloc-server-4.1 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.lfaexR + umask 022 + cd /builddir/build/BUILD + cd resalloc-4.1 + LICENSEDIR=/builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/licenses/resalloc-server-4.1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/licenses/resalloc-server-4.1 + cp -pr COPYING /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/licenses/resalloc-server-4.1 + exit 0 Provides: config(resalloc-server) = 4.1-1.el7 resalloc-server = 4.1-1.el7 Requires(interp): /bin/sh /bin/sh /bin/sh 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(pre): /bin/sh /usr/sbin/useradd Requires(post): /bin/sh Requires(postun): /bin/sh Requires: /bin/sh /usr/bin/python2 python(abi) = 2.7 Processing files: python2-resalloc-4.1-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kyTjCa + umask 022 + cd /builddir/build/BUILD + cd resalloc-4.1 + DOCDIR=/builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/doc/python2-resalloc-4.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/doc/python2-resalloc-4.1 + cp -pr NEWS /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/doc/python2-resalloc-4.1 + cp -pr README /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/doc/python2-resalloc-4.1 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7onR2w + umask 022 + cd /builddir/build/BUILD + cd resalloc-4.1 + LICENSEDIR=/builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/licenses/python2-resalloc-4.1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/licenses/python2-resalloc-4.1 + cp -pr COPYING /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch/usr/share/licenses/python2-resalloc-4.1 + exit 0 Provides: python-resalloc = 4.1-1.el7 python2-resalloc = 4.1-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 2.7 Obsoletes: python-resalloc < 4.1-1.el7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch Wrote: /builddir/build/RPMS/resalloc-4.1-1.el7.noarch.rpm Wrote: /builddir/build/RPMS/resalloc-server-4.1-1.el7.noarch.rpm Wrote: /builddir/build/RPMS/python2-resalloc-4.1-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3qOZvw + umask 022 + cd /builddir/build/BUILD + cd resalloc-4.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/resalloc-4.1-1.el7.noarch + exit 0 Child return code was: 0