Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.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/f39-build-1666101-40762/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1699228800 Wrote: /builddir/build/SRPMS/resalloc-5.1-1.fc39.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/f39-build-1666101-40762/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1699228800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.z0tGnc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf resalloc-5.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/resalloc-5.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd resalloc-5.1 + rm -rf /builddir/build/BUILD/resalloc-5.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/resalloc-5.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1eFlc7 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd resalloc-5.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py running build_manpages generating man/resalloc.1 generating man/resalloc-maint.1 creating build creating build/lib creating build/lib/resalloc_agent_spawner copying resalloc_agent_spawner/__init__.py -> build/lib/resalloc_agent_spawner copying resalloc_agent_spawner/helpers.py -> build/lib/resalloc_agent_spawner copying resalloc_agent_spawner/dispatcher.py -> build/lib/resalloc_agent_spawner copying resalloc_agent_spawner/worker.py -> build/lib/resalloc_agent_spawner creating build/lib/resalloc copying resalloc/__init__.py -> build/lib/resalloc copying resalloc/helpers.py -> build/lib/resalloc copying resalloc/client.py -> build/lib/resalloc creating build/lib/resallocserver copying resallocserver/__init__.py -> build/lib/resallocserver copying resallocserver/config.py -> build/lib/resallocserver copying resallocserver/app.py -> build/lib/resallocserver copying resallocserver/main.py -> build/lib/resallocserver copying resallocserver/models.py -> build/lib/resallocserver copying resallocserver/manager.py -> build/lib/resallocserver copying resallocserver/priority_queue.py -> build/lib/resallocserver copying resallocserver/helpers.py -> build/lib/resallocserver copying resallocserver/logic.py -> build/lib/resallocserver copying resallocserver/maint.py -> build/lib/resallocserver copying resallocserver/log.py -> build/lib/resallocserver copying resallocserver/api.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/__init__.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/eac9fc01d0d1_allow_resource_reuse.py -> build/lib/resallocserver/alembic/versions copying resallocserver/alembic/versions/210774551cd3_performance_indexes.py -> build/lib/resallocserver/alembic/versions copying resallocserver/alembic/versions/cdf29a997efc_resource_pool_id.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/5759bc82a992_initial_revision.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.ini -> build/lib/resallocserver running build_scripts creating build/scripts-3.12 copying and adjusting bin/resalloc -> build/scripts-3.12 copying and adjusting bin/resalloc-server -> build/scripts-3.12 copying and adjusting bin/resalloc-maint -> build/scripts-3.12 copying bin/resalloc-check-vm-ip -> build/scripts-3.12 changing mode of build/scripts-3.12/resalloc from 644 to 755 changing mode of build/scripts-3.12/resalloc-server from 644 to 755 changing mode of build/scripts-3.12/resalloc-maint from 644 to 755 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XdHLtn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch ++ dirname /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd resalloc-5.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch --prefix /usr running install /usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer, pypa/build or other standards-based tools. Follow the current Python packaging guidelines when building Python RPM packages. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html and https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12 creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resalloc_agent_spawner copying build/lib/resalloc_agent_spawner/__init__.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resalloc_agent_spawner copying build/lib/resalloc_agent_spawner/helpers.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resalloc_agent_spawner copying build/lib/resalloc_agent_spawner/dispatcher.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resalloc_agent_spawner copying build/lib/resalloc_agent_spawner/worker.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resalloc_agent_spawner creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resalloc copying build/lib/resalloc/__init__.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resalloc copying build/lib/resalloc/helpers.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resalloc copying build/lib/resalloc/client.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resalloc creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/__init__.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/config.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/app.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/main.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/models.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/manager.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/priority_queue.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/helpers.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/logic.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/maint.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic copying build/lib/resallocserver/alembic/__init__.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/__init__.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/78237445aff8_index_not_closed_tickets.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/eac9fc01d0d1_allow_resource_reuse.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/210774551cd3_performance_indexes.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/cdf29a997efc_resource_pool_id.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/0e370f3171e5_add_priority_for_resources_tags.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/5759bc82a992_initial_revision.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/a53d2303943a_add_cleaning_unknown_resources_column.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/env.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic copying build/lib/resallocserver/log.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/alembic.ini -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/api.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocwebui copying build/lib/resallocwebui/__init__.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocwebui copying build/lib/resallocwebui/app.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocwebui byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resalloc_agent_spawner/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resalloc_agent_spawner/helpers.py to helpers.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resalloc_agent_spawner/dispatcher.py to dispatcher.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resalloc_agent_spawner/worker.py to worker.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resalloc/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resalloc/helpers.py to helpers.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resalloc/client.py to client.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/config.py to config.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/app.py to app.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/main.py to main.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/models.py to models.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/manager.py to manager.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/priority_queue.py to priority_queue.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/helpers.py to helpers.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/logic.py to logic.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/maint.py to maint.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic/versions/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic/versions/78237445aff8_index_not_closed_tickets.py to 78237445aff8_index_not_closed_tickets.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic/versions/eac9fc01d0d1_allow_resource_reuse.py to eac9fc01d0d1_allow_resource_reuse.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic/versions/210774551cd3_performance_indexes.py to 210774551cd3_performance_indexes.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic/versions/cdf29a997efc_resource_pool_id.py to cdf29a997efc_resource_pool_id.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic/versions/0e370f3171e5_add_priority_for_resources_tags.py to 0e370f3171e5_add_priority_for_resources_tags.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic/versions/5759bc82a992_initial_revision.py to 5759bc82a992_initial_revision.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic/versions/a53d2303943a_add_cleaning_unknown_resources_column.py to a53d2303943a_add_cleaning_unknown_resources_column.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic/env.py to env.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/log.py to log.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocserver/api.py to api.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocwebui/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resallocwebui/app.py to app.cpython-312.pyc writing byte-compilation script '/tmp/tmpjdolt3fi.py' /usr/bin/python3 /tmp/tmpjdolt3fi.py removing /tmp/tmpjdolt3fi.py running install_data creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/etc creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/etc/resallocserver copying config/pools.yaml -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/etc/resallocserver copying config/server.yaml -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/etc/resallocserver creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/etc/resalloc-agent-spawner copying config/agent-spawner/config.yaml -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/etc/resalloc-agent-spawner running install_egg_info running egg_info writing resalloc.egg-info/PKG-INFO writing dependency_links to resalloc.egg-info/dependency_links.txt writing entry points to resalloc.egg-info/entry_points.txt writing requirements to resalloc.egg-info/requires.txt writing top-level names to resalloc.egg-info/top_level.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' adding license file 'COPYING' writing manifest file 'resalloc.egg-info/SOURCES.txt' Copying resalloc.egg-info to /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12/site-packages/resalloc-5.1-py3.12.egg-info running install_scripts creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/bin copying build/scripts-3.12/resalloc-server -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/bin copying build/scripts-3.12/resalloc -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/bin copying build/scripts-3.12/resalloc-check-vm-ip -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/bin copying build/scripts-3.12/resalloc-maint -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/bin/resalloc-server to 755 changing mode of /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/bin/resalloc to 755 changing mode of /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/bin/resalloc-check-vm-ip to 755 changing mode of /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/bin/resalloc-maint to 755 Installing resalloc-agent-spawner script to /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/bin Installing resalloc-agent-worker script to /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/bin installing man/resalloc.1 installing man/resalloc-maint.1 + rm -rfv /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/bin/__pycache__ + install -d -m 755 /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/share/resallocwebui + cp -r resallocwebui/templates /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/share/resallocwebui/ + cp -r resallocwebui/static /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/share/resallocwebui/ + install -d -m 755 /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/var/www/ + install -p -m 755 resallocwebui/cgi-resalloc /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/var/www/cgi-resalloc + mkdir -p /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/var/log/resallocserver + install -p -m 644 /builddir/build/SOURCES/resalloc.service /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/systemd/system + install -p -m 644 /builddir/build/SOURCES/resalloc-agent-spawner.service /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/systemd/system + install -d -m 700 /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/var/lib/resallocserver + install -d -m 700 /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/etc/logrotate.d + install -p -m 644 /builddir/build/SOURCES/logrotate /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/etc/logrotate.d/resalloc-server + install -p -m 644 man/resalloc-server.1 /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/share/man/man1 + install -d -m 755 /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch//usr/libexec + install -p -m 755 /builddir/build/SOURCES/merge-hook-logs /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch//usr/libexec/resalloc-merge-hook-logs + install -d /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/etc/cron.hourly + install -p -m 755 /builddir/build/SOURCES/cron.hourly /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/etc/cron.hourly/resalloc + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 5.1-1.fc39 --unique-debug-suffix -5.1-1.fc39.noarch --unique-debug-src-base resalloc-5.1-1.fc39.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/resalloc-5.1 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/resalloc-check-vm-ip from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/resalloc-merge-hook-logs from /bin/sh to #!/usr/bin/sh mangling shebang in /etc/cron.hourly/resalloc from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/resalloc-5.1-1.fc39.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.NMsHBO + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd resalloc-5.1 + make check TEST_PYTHONS=python3 make unittests make[1]: Entering directory '/builddir/build/BUILD/resalloc-5.1' status=true ; \ for python in python3; do \ PYTHON=$python ./unittests.sh -vv || status=false ; \ done ;\ $status * sourcedir: /builddir/build/BUILD/resalloc-5.1 * testdir: /builddir/build/BUILD/resalloc-5.1/tests * PYTHON: python3 * PYTHONPATH: /builddir/build/BUILD/resalloc-5.1 ============================= test session starts ============================== platform linux -- Python 3.12.0, pytest-7.3.2, pluggy-1.2.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/resalloc-5.1 plugins: cov-4.0.0 collecting ... collected 8 items tests/test_cli.py::test_errno_reconnect PASSED [ 12%] tests/test_command.py::TestRunCommand::test_trim PASSED [ 25%] tests/test_manager.py::test_normalize_tags PASSED [ 37%] tests/test_manager.py::TestManager::test_resource_tag_priority[passengers0-car3] PASSED [ 50%] tests/test_manager.py::TestManager::test_resource_tag_priority[passengers1-car2] PASSED [ 62%] tests/test_manager.py::TestManager::test_resource_tag_priority[passengers2-car1] PASSED [ 75%] tests/test_manager.py::TestManager::test_resource_tag_priority[passengers3-car3] PASSED [ 87%] tests/test_manager.py::TestManager::test_resource_tag_priority[passengers4-car2] PASSED [100%] =============================== warnings summary =============================== resallocserver/models.py:26 /builddir/build/BUILD/resalloc-5.1/resallocserver/models.py:26: MovedIn20Warning: Deprecated API features detected! These feature(s) are not compatible with SQLAlchemy 2.0. To prevent incompatible upgrades prior to updating applications, ensure requirements files are pinned to "sqlalchemy<2.0". Set environment variable SQLALCHEMY_WARN_20=1 to show all deprecation warnings. Set environment variable SQLALCHEMY_SILENCE_UBER_WARNING=1 to silence this message. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) Base = declarative_base() -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ---------- coverage: platform linux, python 3.12.0-final-0 ----------- Name Stmts Miss Cover Missing --------------------------------------------------------------------------------------------------------------------- resalloc/__init__.py 1 0 100% resalloc/client.py 65 19 71% 13-14, 50-52, 74-75, 86-91, 99, 103, 120, 124, 127, 131 resalloc/helpers.py 64 15 77% 39, 81, 92, 97, 99, 104-118 resalloc_agent_spawner/__init__.py 0 0 100% resalloc_agent_spawner/dispatcher.py 146 146 0% 5-282 resalloc_agent_spawner/helpers.py 50 50 0% 5-109 resalloc_agent_spawner/worker.py 29 29 0% 5-64 resallocserver/__init__.py 0 0 100% resallocserver/alembic/__init__.py 0 0 100% resallocserver/alembic/env.py 31 9 71% 12-14, 28, 53-60, 82 resallocserver/alembic/versions/0e370f3171e5_add_priority_for_resources_tags.py 12 2 83% 25-26 resallocserver/alembic/versions/5759bc82a992_initial_revision.py 18 5 72% 60-64 resallocserver/alembic/versions/78237445aff8_index_not_closed_tickets.py 12 2 83% 30-31 resallocserver/alembic/versions/210774551cd3_performance_indexes.py 30 11 63% 42-55 resallocserver/alembic/versions/__init__.py 0 0 100% resallocserver/alembic/versions/a53d2303943a_add_cleaning_unknown_resources_column.py 14 2 86% 35-36 resallocserver/alembic/versions/cdf29a997efc_resource_pool_id.py 8 1 88% 27 resallocserver/alembic/versions/eac9fc01d0d1_allow_resource_reuse.py 45 16 64% 43, 46-51, 56-66 resallocserver/api.py 67 48 28% 37, 40, 43-58, 62-80, 85-101, 105-110 resallocserver/app.py 39 4 90% 37, 70-72 resallocserver/config.py 10 0 100% resallocserver/helpers.py 0 0 100% resallocserver/log.py 19 1 95% 24 resallocserver/logic.py 75 30 60% 34, 44-47, 58, 84, 88, 95-103, 106-121, 124, 136, 142, 146-153, 167, 172 resallocserver/main.py 78 37 53% 36-39, 64-66, 69-78, 91-99, 102, 117-118, 124-147 resallocserver/maint.py 88 88 0% 18-147 resallocserver/manager.py 615 437 29% 49, 63-65, 71, 96-97, 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.py 81 10 88% 35, 65, 106-108, 111-116, 120 resallocserver/priority_queue.py 33 6 82% 30, 45, 51-52, 70, 77 resallocwebui/__init__.py 11 11 0% 1-17 resallocwebui/app.py 39 39 0% 1-64 setup.py 12 12 0% 18-38 tests/__init__.py 56 5 91% 20-21, 74-78 tests/test_cli.py 19 0 100% tests/test_command.py 36 0 100% tests/test_manager.py 32 0 100% --------------------------------------------------------------------------------------------------------------------- TOTAL 1835 1035 44% =================== 8 passed, 1 warning in 83.38s (0:01:23) ==================== make[1]: Leaving directory '/builddir/build/BUILD/resalloc-5.1' make shelltests make[1]: Entering directory '/builddir/build/BUILD/resalloc-5.1' cd shelltests ; \ status=true ; \ for python in python3; 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' (python3+sqlite) ~ I'm in /tmp/resalloc-tests-basic.sh-ce4NJUY * 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 :(sqlite3.OperationalError) database is locked\n[SQL: SELECT tickets.id AS tickets_id, tickets.resource_id AS tickets_resource_id, tickets.state AS tickets_state, tickets.tid AS tickets_tid, tickets.sandbox AS tickets_sandbox \nFROM tickets \nWHERE tickets.id = ?]\n[parameters: ('33',)]\n(Background on this error at: https://sqlalche.me/e/14/e3q8)"> :(sqlite3.OperationalError) database is locked\n[SQL: SELECT tickets.id AS tickets_id, tickets.resource_id AS tickets_resource_id, tickets.state AS tickets_state, tickets.tid AS tickets_tid, tickets.sandbox AS tickets_sandbox \nFROM tickets \nWHERE tickets.id = ?]\n[parameters: ('34',)]\n(Background on this error at: https://sqlalche.me/e/14/e3q8)"> :(sqlite3.OperationalError) database is locked\n[SQL: SELECT tickets.id AS tickets_id, tickets.resource_id AS tickets_resource_id, tickets.state AS tickets_state, tickets.tid AS tickets_tid, tickets.sandbox AS tickets_sandbox \nFROM tickets \nWHERE tickets.id = ?]\n[parameters: ('34',)]\n(Background on this error at: https://sqlalche.me/e/14/e3q8)"> :(sqlite3.OperationalError) database is locked\n[SQL: SELECT tickets.id AS tickets_id, tickets.resource_id AS tickets_resource_id, tickets.state AS tickets_state, tickets.tid AS tickets_tid, tickets.sandbox AS tickets_sandbox \nFROM tickets \nWHERE tickets.id = ?]\n[parameters: ('34',)]\n(Background on this error at: https://sqlalche.me/e/14/e3q8)"> Traceback (most recent call last): File "/builddir/build/BUILD/resalloc-5.1/test-tooling/../bin/resalloc", line 119, in sys.exit(main()) ^^^^^^ File "/builddir/build/BUILD/resalloc-5.1/test-tooling/../bin/resalloc", line 109, in main ticket.close() File "/builddir/build/BUILD/resalloc-5.1/resalloc/client.py", line 103, in close self._connection.call("closeTicket", self.id) File "/builddir/build/BUILD/resalloc-5.1/resalloc/client.py", line 45, in call return fcall(*args) ^^^^^^^^^^^^ File "/usr/lib64/python3.12/xmlrpc/client.py", line 1122, in __call__ return self.__send(self.__name, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/xmlrpc/client.py", line 1461, in __request response = self.__transport.request( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/xmlrpc/client.py", line 1166, in request return self.single_request(host, handler, request_body, verbose) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/xmlrpc/client.py", line 1178, in single_request http_conn = self.send_request(host, handler, request_body, verbose) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/xmlrpc/client.py", line 1291, in send_request self.send_content(connection, request_body) File "/usr/lib64/python3.12/xmlrpc/client.py", line 1321, in send_content connection.endheaders(request_body) File "/usr/lib64/python3.12/http/client.py", line 1314, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib64/python3.12/http/client.py", line 1074, in _send_output self.send(msg) File "/usr/lib64/python3.12/http/client.py", line 1018, in send self.connect() File "/usr/lib64/python3.12/http/client.py", line 984, in connect self.sock = self._create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/socket.py", line 852, in create_connection raise exceptions[0] File "/usr/lib64/python3.12/socket.py", line 837, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused ~ cleanup ---> [ FAIL ] ===> running test 'tests/check.sh' (python3+sqlite) ~ I'm in /tmp/resalloc-tests-check.sh-9ZVQJDZ * Wait for 5 preallocated machines * wait till the first set of VMs is deleted by watcher ~ cleanup ---> [ OK ] ===> running test 'tests/ondemand.sh' (python3+sqlite) ~ I'm in /tmp/resalloc-tests-ondemand.sh-HDHfIkX Traceback (most recent call last): File "/builddir/build/BUILD/resalloc-5.1/test-tooling/../bin/resalloc", line 119, in sys.exit(main()) ^^^^^^ File "/builddir/build/BUILD/resalloc-5.1/test-tooling/../bin/resalloc", line 79, in main ticket = conn.newTicket(arg.tags, arg.sandbox) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/resalloc-5.1/resalloc/client.py", line 126, in newTicket ticket_id = self._connection.call("takeTicket", *args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/resalloc-5.1/resalloc/client.py", line 45, in call return fcall(*args) ^^^^^^^^^^^^ File "/usr/lib64/python3.12/xmlrpc/client.py", line 1122, in __call__ return self.__send(self.__name, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/xmlrpc/client.py", line 1461, in __request response = self.__transport.request( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/xmlrpc/client.py", line 1166, in request return self.single_request(host, handler, request_body, verbose) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/xmlrpc/client.py", line 1178, in single_request http_conn = self.send_request(host, handler, request_body, verbose) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/xmlrpc/client.py", line 1291, in send_request self.send_content(connection, request_body) File "/usr/lib64/python3.12/xmlrpc/client.py", line 1321, in send_content connection.endheaders(request_body) File "/usr/lib64/python3.12/http/client.py", line 1314, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib64/python3.12/http/client.py", line 1074, in _send_output self.send(msg) File "/usr/lib64/python3.12/http/client.py", line 1018, in send self.connect() File "/usr/lib64/python3.12/http/client.py", line 984, in connect self.sock = self._create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/socket.py", line 852, in create_connection raise exceptions[0] File "/usr/lib64/python3.12/socket.py", line 837, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused ~ cleanup ---> [ FAIL ] ===> running test 'tests/reuse.sh' (python3+sqlite) ~ I'm in /tmp/resalloc-tests-reuse.sh-pdyIJbn * 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 FAIL: exists ===== 1 - reuse_00000001_20231114_053708 pool=reuse tags=A status=UP releases=2 ticket=NULL 2 - reuse_count_00000002_20231114_053709 pool=reuse_count tags=B status=UP releases=0 ticket=NULL 3 - reuse_time_00000003_20231114_053709 pool=reuse_time tags=C status=UP releases=0 ticket=NULL 4 - reuse_00000004_20231114_053710 pool=reuse tags=A status=UP releases=1 ticket=8 5 - reuse_time_00000005_20231114_053710 pool=reuse_time tags=C status=UP releases=0 ticket=NULL 6 - reuse_00000006_20231114_053711 pool=reuse tags=A status=UP releases=0 ticket=4 7 - reuse_00000007_20231114_053735 pool=reuse tags=A status=UP releases=0 ticket=5 8 - reuse_00000008_20231114_053757 pool=reuse tags=A status=UP releases=0 ticket=6 ===== 4 - state=OPEN tags=A resource=reuse_00000006_20231114_053711 5 - state=OPEN tags=A resource=reuse_00000007_20231114_053735 6 - state=OPEN tags=A resource=reuse_00000008_20231114_053757 7 - state=OPEN tags=A 8 - state=OPEN tags=A resource=reuse_00000004_20231114_053710 ===== INFO 2023-11-14 05:37:03,975 PID:3101929:72057592840572960(MainThread) Initializing database INFO 2023-11-14 05:37:08,133 PID:3101929:72057592790053248(Watcher) Watcher loop INFO 2023-11-14 05:37:08,135 PID:3101929:72057592840572960(Manager) Manager's loop. DEBUG 2023-11-14 05:37:08,549 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=0 up=0 ready=0 taken=0 start=0 term=0 released=0 free=0 releasing=0 DEBUG 2023-11-14 05:37:08,785 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=1 up=0 ready=0 taken=0 start=1 term=0 released=0 free=0 releasing=0 INFO 2023-11-14 05:37:08,834 PID:3101929:72057592781660544(Allocator-1) Allocating reuse_00000001_20231114_053708 (#0 in pool 'reuse') TID=72057592781660544 DEBUG 2023-11-14 05:37:08,837 PID:3101929:72057592781660544(Allocator-1) running: echo >&2 before; env | grep ^RESALLOC_; echo >&2 after DEBUG 2023-11-14 05:37:08,969 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=0 up=0 ready=0 taken=0 start=0 term=0 released=0 free=0 releasing=0 INFO 2023-11-14 05:37:09,079 PID:3101929:72057592781660544(Allocator-1) Allocating reuse_00000001_20231114_053708 finished => UP INFO 2023-11-14 05:37:09,414 PID:3101929:72057592773267840(Allocator-2) Allocating reuse_count_00000002_20231114_053709 (#0 in pool 'reuse_count') TID=72057592773267840 DEBUG 2023-11-14 05:37:09,419 PID:3101929:72057592773267840(Allocator-2) running: echo >&2 before; env | grep ^RESALLOC_; echo >&2 after DEBUG 2023-11-14 05:37:09,424 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=1 up=0 ready=0 taken=0 start=1 term=0 released=0 free=0 releasing=0 DEBUG 2023-11-14 05:37:09,579 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=0 up=0 ready=0 taken=0 start=0 term=0 released=0 free=0 releasing=0 INFO 2023-11-14 05:37:09,673 PID:3101929:72057592773267840(Allocator-2) Allocating reuse_count_00000002_20231114_053709 finished => UP DEBUG 2023-11-14 05:37:09,817 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=1 up=0 ready=0 taken=0 start=1 term=0 released=0 free=0 releasing=0 INFO 2023-11-14 05:37:09,835 PID:3101929:72057592781660544(Allocator-3) Allocating reuse_time_00000003_20231114_053709 (#0 in pool 'reuse_time') TID=72057592781660544 DEBUG 2023-11-14 05:37:09,843 PID:3101929:72057592781660544(Allocator-3) running: echo >&2 before; env | grep ^RESALLOC_; echo >&2 after INFO 2023-11-14 05:37:10,014 PID:3101929:72057592840572960(Manager) Manager's loop. INFO 2023-11-14 05:37:10,115 PID:3101929:72057592781660544(Allocator-3) Allocating reuse_time_00000003_20231114_053709 finished => UP DEBUG 2023-11-14 05:37:10,309 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-11-14 05:37:10,436 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=2 up=1 ready=1 taken=0 start=1 term=0 released=0 free=1 releasing=0 INFO 2023-11-14 05:37:10,459 PID:3101929:72057592781660544(Allocator-4) Allocating reuse_00000004_20231114_053710 (#1 in pool 'reuse') TID=72057592781660544 DEBUG 2023-11-14 05:37:10,466 PID:3101929:72057592781660544(Allocator-4) running: echo >&2 before; env | grep ^RESALLOC_; echo >&2 after DEBUG 2023-11-14 05:37:10,613 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-11-14 05:37:10,692 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 INFO 2023-11-14 05:37:10,704 PID:3101929:72057592781660544(Allocator-4) Allocating reuse_00000004_20231114_053710 finished => UP DEBUG 2023-11-14 05:37:10,899 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=2 up=1 ready=1 taken=0 start=1 term=0 released=0 free=1 releasing=0 INFO 2023-11-14 05:37:10,928 PID:3101929:72057592781660544(Allocator-5) Allocating reuse_time_00000005_20231114_053710 (#1 in pool 'reuse_time') TID=72057592781660544 DEBUG 2023-11-14 05:37:10,936 PID:3101929:72057592781660544(Allocator-5) running: echo >&2 before; env | grep ^RESALLOC_; echo >&2 after INFO 2023-11-14 05:37:11,025 PID:3101929:72057592840572960(Manager) Manager's loop. INFO 2023-11-14 05:37:11,172 PID:3101929:72057592781660544(Allocator-5) Allocating reuse_time_00000005_20231114_053710 finished => UP DEBUG 2023-11-14 05:37:11,345 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 DEBUG 2023-11-14 05:37:11,470 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=3 up=2 ready=2 taken=0 start=1 term=0 released=0 free=2 releasing=0 INFO 2023-11-14 05:37:11,495 PID:3101929:72057592781660544(Allocator-6) Allocating reuse_00000006_20231114_053711 (#2 in pool 'reuse') TID=72057592781660544 DEBUG 2023-11-14 05:37:11,502 PID:3101929:72057592781660544(Allocator-6) running: echo >&2 before; env | grep ^RESALLOC_; echo >&2 after DEBUG 2023-11-14 05:37:11,642 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-11-14 05:37:11,720 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-11-14 05:37:11,738 PID:3101929:72057592781660544(Allocator-6) Allocating reuse_00000006_20231114_053711 finished => UP INFO 2023-11-14 05:37:11,791 PID:3101929:72057592840572960(Manager) Manager's loop. DEBUG 2023-11-14 05:37:12,052 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=3 up=3 ready=3 taken=0 start=0 term=0 released=0 free=3 releasing=0 DEBUG 2023-11-14 05:37:12,115 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-11-14 05:37:12,178 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-11-14 05:37:12,208 PID:3101929:72057592840572960(Manager) Manager's loop. DEBUG 2023-11-14 05:37:12,396 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=3 up=3 ready=3 taken=0 start=0 term=0 released=0 free=3 releasing=0 DEBUG 2023-11-14 05:37:12,460 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-11-14 05:37:12,522 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-11-14 05:37:18,361 PID:3101929:72057592790053248(Watcher) Watcher loop DEBUG 2023-11-14 05:37:18,506 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:18,729 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:18,955 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:19,181 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:19,815 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:20,073 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-11-14 05:37:30,291 PID:3101929:72057592790053248(Watcher) Watcher loop INFO 2023-11-14 05:37:30,646 PID:3101929:72057592840572960(Manager) Manager's loop. DEBUG 2023-11-14 05:37:30,831 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:31,076 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:31,188 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=3 up=3 ready=3 taken=0 start=0 term=0 released=0 free=3 releasing=0 DEBUG 2023-11-14 05:37:31,288 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:31,405 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-11-14 05:37:31,501 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:31,621 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 DEBUG 2023-11-14 05:37:31,779 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:31,979 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-11-14 05:37:32,120 PID:3101929:72057592840572960(Manager) Assigning reuse_00000001_20231114_053708 to 1 INFO 2023-11-14 05:37:35,176 PID:3101929:72057592840572960(Manager) Manager's loop. INFO 2023-11-14 05:37:35,362 PID:3101929:72057592781660544(Releaser-1) Releasing reuse_00000001_20231114_053708 DEBUG 2023-11-14 05:37:35,371 PID:3101929:72057592781660544(Releaser-1) running: echo >&2 stderr; echo stdout; echo $RESALLOC_RESOURCE_DATA | base64 --decode DEBUG 2023-11-14 05:37:35,573 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=3 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=1 INFO 2023-11-14 05:37:35,642 PID:3101929:72057592781660544(Releaser-1) Releasing reuse_00000001_20231114_053708 finished DEBUG 2023-11-14 05:37:35,741 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=4 up=3 ready=3 taken=0 start=1 term=0 released=1 free=2 releasing=0 INFO 2023-11-14 05:37:35,764 PID:3101929:72057592781660544(Allocator-7) Allocating reuse_00000007_20231114_053735 (#3 in pool 'reuse') TID=72057592781660544 DEBUG 2023-11-14 05:37:35,771 PID:3101929:72057592781660544(Allocator-7) running: echo >&2 before; env | grep ^RESALLOC_; echo >&2 after DEBUG 2023-11-14 05:37:35,903 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-11-14 05:37:35,974 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-11-14 05:37:35,996 PID:3101929:72057592781660544(Allocator-7) Allocating reuse_00000007_20231114_053735 finished => UP INFO 2023-11-14 05:37:36,041 PID:3101929:72057592840572960(Manager) Manager's loop. DEBUG 2023-11-14 05:37:36,260 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=4 up=4 ready=4 taken=0 start=0 term=0 released=1 free=3 releasing=0 DEBUG 2023-11-14 05:37:36,318 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-11-14 05:37:36,376 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-11-14 05:37:36,405 PID:3101929:72057592840572960(Manager) Manager's loop. DEBUG 2023-11-14 05:37:36,590 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=4 up=4 ready=4 taken=0 start=0 term=0 released=1 free=3 releasing=0 DEBUG 2023-11-14 05:37:36,646 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-11-14 05:37:36,703 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-11-14 05:37:39,601 PID:3101929:72057592840572960(Manager) Manager's loop. DEBUG 2023-11-14 05:37:39,788 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=4 up=4 ready=4 taken=0 start=0 term=0 released=1 free=3 releasing=0 DEBUG 2023-11-14 05:37:39,847 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-11-14 05:37:39,908 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-11-14 05:37:40,031 PID:3101929:72057592840572960(Manager) Assigning reuse_00000001_20231114_053708 to 2 INFO 2023-11-14 05:37:42,258 PID:3101929:72057592790053248(Watcher) Watcher loop DEBUG 2023-11-14 05:37:42,398 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:42,603 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:42,812 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:43,246 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:43,457 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:43,668 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:43,878 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-11-14 05:37:51,370 PID:3101929:72057592840572960(Manager) Manager's loop. INFO 2023-11-14 05:37:51,565 PID:3101929:72057592781660544(Releaser-1) Releasing reuse_00000001_20231114_053708 DEBUG 2023-11-14 05:37:51,571 PID:3101929:72057592781660544(Releaser-1) running: echo >&2 stderr; echo stdout; echo $RESALLOC_RESOURCE_DATA | base64 --decode DEBUG 2023-11-14 05:37:51,783 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=4 up=3 ready=3 taken=0 start=0 term=0 released=0 free=3 releasing=1 INFO 2023-11-14 05:37:51,920 PID:3101929:72057592781660544(Releaser-1) Releasing reuse_00000001_20231114_053708 finished DEBUG 2023-11-14 05:37:51,947 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-11-14 05:37:52,009 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-11-14 05:37:52,043 PID:3101929:72057592840572960(Manager) Manager's loop. DEBUG 2023-11-14 05:37:52,245 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=4 up=4 ready=4 taken=0 start=0 term=0 released=1 free=3 releasing=0 DEBUG 2023-11-14 05:37:52,306 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-11-14 05:37:52,366 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-11-14 05:37:53,645 PID:3101929:72057592840572960(Manager) Manager's loop. DEBUG 2023-11-14 05:37:53,835 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=4 up=4 ready=4 taken=0 start=0 term=0 released=1 free=3 releasing=0 DEBUG 2023-11-14 05:37:53,896 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-11-14 05:37:53,957 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-11-14 05:37:54,074 PID:3101929:72057592840572960(Manager) Assigning reuse_00000004_20231114_053710 to 3 INFO 2023-11-14 05:37:54,926 PID:3101929:72057592790053248(Watcher) Watcher loop DEBUG 2023-11-14 05:37:55,065 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:55,269 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:55,588 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:55,802 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-11-14 05:37:55,979 PID:3101929:72057592840572960(Manager) Manager's loop. DEBUG 2023-11-14 05:37:56,088 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:56,308 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:56,830 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:37:56,939 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=4 up=4 ready=3 taken=1 start=0 term=0 released=1 free=2 releasing=0 DEBUG 2023-11-14 05:37:57,140 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=5 up=4 ready=3 taken=1 start=1 term=0 released=1 free=2 releasing=0 INFO 2023-11-14 05:37:57,179 PID:3101929:72057592781660544(Allocator-8) Allocating reuse_00000008_20231114_053757 (#4 in pool 'reuse') TID=72057592781660544 DEBUG 2023-11-14 05:37:57,181 PID:3101929:72057592781660544(Allocator-8) running: echo >&2 before; env | grep ^RESALLOC_; echo >&2 after DEBUG 2023-11-14 05:37:57,316 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-11-14 05:37:57,389 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-11-14 05:37:57,409 PID:3101929:72057592781660544(Allocator-8) Allocating reuse_00000008_20231114_053757 finished => UP INFO 2023-11-14 05:37:57,561 PID:3101929:72057592840572960(Manager) Assigning reuse_00000006_20231114_053711 to 4 INFO 2023-11-14 05:37:57,603 PID:3101929:72057592840572960(Manager) Manager's loop. DEBUG 2023-11-14 05:37:57,824 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=5 up=5 ready=3 taken=2 start=0 term=0 released=1 free=2 releasing=0 DEBUG 2023-11-14 05:37:57,886 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-11-14 05:37:57,949 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-11-14 05:37:58,309 PID:3101929:72057592840572960(Manager) Manager's loop. DEBUG 2023-11-14 05:37:58,519 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=5 up=5 ready=3 taken=2 start=0 term=0 released=1 free=2 releasing=0 DEBUG 2023-11-14 05:37:58,582 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-11-14 05:37:58,643 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-11-14 05:37:58,753 PID:3101929:72057592840572960(Manager) Assigning reuse_00000007_20231114_053735 to 5 INFO 2023-11-14 05:38:00,519 PID:3101929:72057592840572960(Manager) Manager's loop. DEBUG 2023-11-14 05:38:00,737 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=5 up=5 ready=2 taken=3 start=0 term=0 released=1 free=1 releasing=0 DEBUG 2023-11-14 05:38:00,799 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-11-14 05:38:00,863 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-11-14 05:38:00,965 PID:3101929:72057592840572960(Manager) Assigning reuse_00000008_20231114_053757 to 6 INFO 2023-11-14 05:38:02,859 PID:3101929:72057592840572960(Manager) Manager's loop. DEBUG 2023-11-14 05:38:03,086 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=5 up=5 ready=1 taken=4 start=0 term=0 released=1 free=0 releasing=0 DEBUG 2023-11-14 05:38:03,146 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-11-14 05:38:03,206 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 DEBUG 2023-11-14 05:38:03,295 PID:3101929:72057592840572960(Manager) 4 resources UP but unusable for INFO 2023-11-14 05:38:05,083 PID:3101929:72057592840572960(Manager) Manager's loop. DEBUG 2023-11-14 05:38:05,306 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=5 up=5 ready=1 taken=4 start=0 term=0 released=1 free=0 releasing=0 DEBUG 2023-11-14 05:38:05,368 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-11-14 05:38:05,430 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 DEBUG 2023-11-14 05:38:05,531 PID:3101929:72057592840572960(Manager) 4 resources UP but unusable for DEBUG 2023-11-14 05:38:05,594 PID:3101929:72057592840572960(Manager) 4 resources UP but unusable for INFO 2023-11-14 05:38:07,041 PID:3101929:72057592790053248(Watcher) Watcher loop DEBUG 2023-11-14 05:38:07,191 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:38:07,419 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:38:07,613 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:38:07,951 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:38:08,172 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:38:08,393 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:38:08,612 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:38:09,250 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-11-14 05:38:10,732 PID:3101929:72057592840572960(Manager) Manager's loop. INFO 2023-11-14 05:38:11,026 PID:3101929:72057592773267840(Releaser-4) Releasing reuse_00000004_20231114_053710 DEBUG 2023-11-14 05:38:11,032 PID:3101929:72057592773267840(Releaser-4) running: echo >&2 stderr; echo stdout; echo $RESALLOC_RESOURCE_DATA | base64 --decode DEBUG 2023-11-14 05:38:11,278 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=5 up=4 ready=1 taken=3 start=0 term=0 released=1 free=0 releasing=1 INFO 2023-11-14 05:38:11,328 PID:3101929:72057592773267840(Releaser-4) Releasing reuse_00000004_20231114_053710 finished DEBUG 2023-11-14 05:38:11,390 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-11-14 05:38:11,458 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 DEBUG 2023-11-14 05:38:11,581 PID:3101929:72057592840572960(Manager) 5 resources UP but unusable for INFO 2023-11-14 05:38:11,655 PID:3101929:72057592840572960(Manager) Assigning reuse_00000004_20231114_053710 to 8 INFO 2023-11-14 05:38:11,700 PID:3101929:72057592840572960(Manager) Manager's loop. DEBUG 2023-11-14 05:38:11,981 PID:3101929:72057592840572960(Manager) => POOL('reuse'): on=5 up=5 ready=1 taken=4 start=0 term=0 released=1 free=0 releasing=0 DEBUG 2023-11-14 05:38:12,042 PID:3101929:72057592840572960(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-11-14 05:38:12,105 PID:3101929:72057592840572960(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 DEBUG 2023-11-14 05:38:12,203 PID:3101929:72057592840572960(Manager) 4 resources UP but unusable for INFO 2023-11-14 05:38:19,532 PID:3101929:72057592790053248(Watcher) Watcher loop DEBUG 2023-11-14 05:38:19,684 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:38:19,893 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:38:20,111 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:38:20,336 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:38:20,548 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:38:20,765 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:38:20,986 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-11-14 05:38:21,210 PID:3101929:72057592790053248(Watcher) running: echo >&2 stderr; echo stdout ===== 05:36:56.428026203: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc-maint resource-list 05:37:03.372932680: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc-maint resource-list 05:37:10.664348201: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc-maint resource-list --up 05:37:20.761725786: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc-maint resource-list --up 05:37:27.495652557: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket --tag A --sandbox=sb 05:37:30.849884814: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket-wait 1 05:37:33.134438751: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket-close 1 05:37:37.423195491: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket --tag A --sandbox=sb 05:37:39.855080940: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket-wait 2 05:37:42.048981716: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc-maint resource-list 05:37:49.335941409: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket-close 2 05:37:51.625366077: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket --tag A --sandbox=first-sb 05:37:53.894614420: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket --tag A --sandbox=second-sb 05:37:56.166038176: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket --tag A --sandbox=second-sb 05:37:58.493645179: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket --tag A --sandbox=second-sb 05:38:00.700179434: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket --tag A --sandbox=second-sb 05:38:03.052689492: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket --tag A --sandbox=first-sb 05:38:05.275068544: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket-wait 8 05:38:08.330314751: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket-close 3 05:38:12.002120473: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc-maint resource-list 05:38:19.072477026: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc-maint ticket-list ===== ~ cleanup ---> [ FAIL ] ===> running test 'tests/basic.sh' (python3+postgresql) ~ I'm in /tmp/resalloc-tests-basic.sh-WDVjNWm * 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 ---> [ OK ] ===> running test 'tests/check.sh' (python3+postgresql) ~ I'm in /tmp/resalloc-tests-check.sh-N3ZG73p * 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' (python3+postgresql) ~ I'm in /tmp/resalloc-tests-ondemand.sh-URIWUEp * 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' (python3+postgresql) ~ I'm in /tmp/resalloc-tests-reuse.sh-L1uUWjN * 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 1,2c1,2 < RESALLOC_ID=3 < RESALLOC_NAME=reuse_time_00000003_20231114_055902 --- > RESALLOC_ID=5 > RESALLOC_NAME=reuse_time_00000005_20231114_055904 4c4 < RESALLOC_ID_IN_POOL=0 --- > RESALLOC_ID_IN_POOL=1 ~ cleanup ---> [ FAIL ] make[1]: *** [Makefile:17: shelltests] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/resalloc-5.1' make: *** [Makefile:38: check] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.NMsHBO (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.NMsHBO (%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.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/resalloc.spec