Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/resalloc.spec'], chrootPath='/var/lib/mock/f40-build-2053279-49087/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.fc40.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/f40-build-2053279-49087/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.sbnle5 + 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.Dr5PSC + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -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 -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 -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 -Werror=implicit-function-declaration -Werror=implicit-int -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 -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/dispatcher.py -> build/lib/resalloc_agent_spawner copying resalloc_agent_spawner/worker.py -> 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 creating build/lib/resallocwebui copying resallocwebui/app.py -> build/lib/resallocwebui copying resallocwebui/__init__.py -> build/lib/resallocwebui creating build/lib/resallocserver copying resallocserver/api.py -> build/lib/resallocserver copying resallocserver/main.py -> build/lib/resallocserver copying resallocserver/app.py -> build/lib/resallocserver copying resallocserver/models.py -> build/lib/resallocserver copying resallocserver/maint.py -> build/lib/resallocserver copying resallocserver/logic.py -> build/lib/resallocserver copying resallocserver/priority_queue.py -> build/lib/resallocserver copying resallocserver/manager.py -> build/lib/resallocserver copying resallocserver/__init__.py -> build/lib/resallocserver copying resallocserver/helpers.py -> build/lib/resallocserver copying resallocserver/log.py -> build/lib/resallocserver copying resallocserver/config.py -> build/lib/resallocserver creating build/lib/resalloc copying resalloc/client.py -> build/lib/resalloc copying resalloc/__init__.py -> build/lib/resalloc copying resalloc/helpers.py -> build/lib/resalloc creating build/lib/resallocserver/alembic copying resallocserver/alembic/env.py -> build/lib/resallocserver/alembic copying resallocserver/alembic/__init__.py -> build/lib/resallocserver/alembic creating build/lib/resallocserver/alembic/versions copying resallocserver/alembic/versions/78237445aff8_index_not_closed_tickets.py -> build/lib/resallocserver/alembic/versions copying resallocserver/alembic/versions/a53d2303943a_add_cleaning_unknown_resources_column.py -> build/lib/resallocserver/alembic/versions copying resallocserver/alembic/versions/210774551cd3_performance_indexes.py -> build/lib/resallocserver/alembic/versions copying resallocserver/alembic/versions/eac9fc01d0d1_allow_resource_reuse.py -> build/lib/resallocserver/alembic/versions copying resallocserver/alembic/versions/5759bc82a992_initial_revision.py -> build/lib/resallocserver/alembic/versions copying resallocserver/alembic/versions/__init__.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.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.2bimkC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch ++ dirname /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -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 -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 -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 -Werror=implicit-function-declaration -Werror=implicit-int -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 -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.fc40.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 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.fc40.noarch/usr creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12 creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.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.fc40.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.fc40.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.fc40.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.fc40.noarch/usr/lib/python3.12/site-packages/resalloc_agent_spawner creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocwebui copying build/lib/resallocwebui/app.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocwebui copying build/lib/resallocwebui/__init__.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocwebui creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/api.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/main.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/app.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/models.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.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.fc40.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.fc40.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.fc40.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.fc40.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.fc40.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.fc40.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.fc40.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.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/env.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic copying build/lib/resallocserver/alembic/__init__.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver/alembic copying build/lib/resallocserver/alembic.ini -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/maint.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/logic.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/priority_queue.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/manager.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/__init__.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/helpers.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/log.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver copying build/lib/resallocserver/config.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resalloc copying build/lib/resalloc/client.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resalloc copying build/lib/resalloc/__init__.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resalloc copying build/lib/resalloc/helpers.py -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resalloc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.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.fc40.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.fc40.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.fc40.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.fc40.noarch/usr/lib/python3.12/site-packages/resallocwebui/app.py to app.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocwebui/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver/api.py to api.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver/main.py to main.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver/app.py to app.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver/models.py to models.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.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.fc40.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.fc40.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.fc40.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.fc40.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.fc40.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.fc40.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.fc40.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.fc40.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.fc40.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.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver/maint.py to maint.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver/logic.py to logic.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.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.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver/manager.py to manager.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver/helpers.py to helpers.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver/log.py to log.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resallocserver/config.py to config.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resalloc/client.py to client.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resalloc/__init__.py to __init__.cpython-312.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/python3.12/site-packages/resalloc/helpers.py to helpers.cpython-312.pyc writing byte-compilation script '/tmp/tmpqtrgljry.py' /usr/bin/python3 /tmp/tmpqtrgljry.py removing /tmp/tmpqtrgljry.py running install_data creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/etc creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/etc/resallocserver copying config/pools.yaml -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/etc/resallocserver copying config/server.yaml -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/etc/resallocserver creating /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/etc/resalloc-agent-spawner copying config/agent-spawner/config.yaml -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.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.fc40.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.fc40.noarch/usr/bin copying build/scripts-3.12/resalloc-check-vm-ip -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/bin copying build/scripts-3.12/resalloc -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/bin copying build/scripts-3.12/resalloc-server -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/bin copying build/scripts-3.12/resalloc-maint -> /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/bin/resalloc-check-vm-ip to 755 changing mode of /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/bin/resalloc to 755 changing mode of /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/bin/resalloc-server to 755 changing mode of /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/bin/resalloc-maint to 755 Installing resalloc-agent-spawner script to /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/bin Installing resalloc-agent-worker script to /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/bin installing man/resalloc.1 installing man/resalloc-maint.1 + rm -rfv /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/bin/__pycache__ + install -d -m 755 /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/share/resallocwebui + cp -r resallocwebui/templates /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/share/resallocwebui/ + cp -r resallocwebui/static /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/share/resallocwebui/ + install -d -m 755 /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/var/www/ + install -p -m 755 resallocwebui/cgi-resalloc /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/var/www/cgi-resalloc + mkdir -p /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/var/log/resallocserver + install -p -m 644 /builddir/build/SOURCES/resalloc.service /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/systemd/system + install -p -m 644 /builddir/build/SOURCES/resalloc-agent-spawner.service /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/lib/systemd/system + install -d -m 700 /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/var/lib/resallocserver + install -d -m 700 /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/etc/logrotate.d + install -p -m 644 /builddir/build/SOURCES/logrotate /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/etc/logrotate.d/resalloc-server + install -p -m 644 man/resalloc-server.1 /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/usr/share/man/man1 + install -d -m 755 /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch//usr/libexec + install -p -m 755 /builddir/build/SOURCES/merge-hook-logs /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch//usr/libexec/resalloc-merge-hook-logs + install -d /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/etc/cron.hourly + install -p -m 755 /builddir/build/SOURCES/cron.hourly /builddir/build/BUILDROOT/resalloc-5.1-1.fc40.noarch/etc/cron.hourly/resalloc + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 5.1-1.fc40 --unique-debug-suffix -5.1-1.fc40.noarch --unique-debug-src-base resalloc-5.1-1.fc40.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/libexec/resalloc-merge-hook-logs from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/resalloc-check-vm-ip 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.fc40.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.oN7TUt + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -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 -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 -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.3.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 139.36s (0:02:19) =================== 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-WYOKjqh * 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+sqlite) ~ I'm in /tmp/resalloc-tests-check.sh-9UnTrB9 * 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-Kj1hPRW * 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) FATAL: Unsuccessful waiting for ticket 6 ~ cleanup ---> [ FAIL ] ===> running test 'tests/reuse.sh' (python3+sqlite) ~ I'm in /tmp/resalloc-tests-reuse.sh-RFC91cq * 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 ===== 2 - reuse_count_00000002_20231217_114551 pool=reuse_count tags=B status=UP releases=0 ticket=NULL 3 - reuse_time_00000003_20231217_114552 pool=reuse_time tags=C status=UP releases=0 ticket=NULL 4 - reuse_00000004_20231217_114553 pool=reuse tags=A status=UP releases=1 ticket=8 5 - reuse_time_00000005_20231217_114554 pool=reuse_time tags=C status=UP releases=0 ticket=NULL 6 - reuse_00000006_20231217_114556 pool=reuse tags=A status=UP releases=0 ticket=4 7 - reuse_00000007_20231217_114643 pool=reuse tags=A status=UP releases=0 ticket=5 8 - reuse_00000008_20231217_114734 pool=reuse tags=A status=UP releases=0 ticket=6 9 - reuse_00000009_20231217_114738 pool=reuse tags=A status=UP releases=0 ticket=7 ===== 4 - state=OPEN tags=A resource=reuse_00000006_20231217_114556 5 - state=OPEN tags=A resource=reuse_00000007_20231217_114643 6 - state=OPEN tags=A resource=reuse_00000008_20231217_114734 7 - state=OPEN tags=A resource=reuse_00000009_20231217_114738 8 - state=OPEN tags=A resource=reuse_00000004_20231217_114553 ===== INFO 2023-12-17 11:45:43,723 PID:2012954:72057591991291936(MainThread) Initializing database INFO 2023-12-17 11:45:47,937 PID:2012954:72057591940776320(Watcher) Watcher loop INFO 2023-12-17 11:45:47,944 PID:2012954:72057591991291936(Manager) Manager's loop. DEBUG 2023-12-17 11:45:49,145 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=0 up=0 ready=0 taken=0 start=0 term=0 released=0 free=0 releasing=0 DEBUG 2023-12-17 11:45:50,139 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=1 up=0 ready=0 taken=0 start=1 term=0 released=0 free=0 releasing=0 INFO 2023-12-17 11:45:50,199 PID:2012954:72057591932383616(Allocator-1) Allocating reuse_00000001_20231217_114549 (#0 in pool 'reuse') TID=72057591932383616 DEBUG 2023-12-17 11:45:50,207 PID:2012954:72057591932383616(Allocator-1) running: echo >&2 before; env | grep ^RESALLOC_; echo >&2 after DEBUG 2023-12-17 11:45:50,663 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=0 up=0 ready=0 taken=0 start=0 term=0 released=0 free=0 releasing=0 INFO 2023-12-17 11:45:50,812 PID:2012954:72057591932383616(Allocator-1) Allocating reuse_00000001_20231217_114549 finished => UP DEBUG 2023-12-17 11:45:51,309 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=0 ready=0 taken=0 start=1 term=0 released=0 free=0 releasing=0 INFO 2023-12-17 11:45:51,401 PID:2012954:72057591923990912(Allocator-2) Allocating reuse_count_00000002_20231217_114551 (#0 in pool 'reuse_count') TID=72057591923990912 DEBUG 2023-12-17 11:45:51,416 PID:2012954:72057591923990912(Allocator-2) running: echo >&2 before; env | grep ^RESALLOC_; echo >&2 after DEBUG 2023-12-17 11:45:51,855 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=0 up=0 ready=0 taken=0 start=0 term=0 released=0 free=0 releasing=0 INFO 2023-12-17 11:45:51,946 PID:2012954:72057591923990912(Allocator-2) Allocating reuse_count_00000002_20231217_114551 finished => UP DEBUG 2023-12-17 11:45:52,390 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=1 up=0 ready=0 taken=0 start=1 term=0 released=0 free=0 releasing=0 INFO 2023-12-17 11:45:52,499 PID:2012954:72057591923990912(Allocator-3) Allocating reuse_time_00000003_20231217_114552 (#0 in pool 'reuse_time') TID=72057591923990912 DEBUG 2023-12-17 11:45:52,511 PID:2012954:72057591923990912(Allocator-3) running: echo >&2 before; env | grep ^RESALLOC_; echo >&2 after INFO 2023-12-17 11:45:52,981 PID:2012954:72057591923990912(Allocator-3) Allocating reuse_time_00000003_20231217_114552 finished => UP INFO 2023-12-17 11:45:53,082 PID:2012954:72057591991291936(Manager) Manager's loop. DEBUG 2023-12-17 11:45:53,624 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-12-17 11:45:53,935 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=2 up=1 ready=1 taken=0 start=1 term=0 released=0 free=1 releasing=0 INFO 2023-12-17 11:45:53,992 PID:2012954:72057591923990912(Allocator-4) Allocating reuse_00000004_20231217_114553 (#1 in pool 'reuse') TID=72057591923990912 DEBUG 2023-12-17 11:45:54,003 PID:2012954:72057591923990912(Allocator-4) running: echo >&2 before; env | grep ^RESALLOC_; echo >&2 after DEBUG 2023-12-17 11:45:54,377 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 INFO 2023-12-17 11:45:54,504 PID:2012954:72057591923990912(Allocator-4) Allocating reuse_00000004_20231217_114553 finished => UP DEBUG 2023-12-17 11:45:54,666 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-12-17 11:45:55,016 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=2 up=1 ready=1 taken=0 start=1 term=0 released=0 free=1 releasing=0 INFO 2023-12-17 11:45:55,105 PID:2012954:72057591923990912(Allocator-5) Allocating reuse_time_00000005_20231217_114554 (#1 in pool 'reuse_time') TID=72057591923990912 DEBUG 2023-12-17 11:45:55,111 PID:2012954:72057591923990912(Allocator-5) running: echo >&2 before; env | grep ^RESALLOC_; echo >&2 after INFO 2023-12-17 11:45:55,364 PID:2012954:72057591991291936(Manager) Manager's loop. INFO 2023-12-17 11:45:55,756 PID:2012954:72057591923990912(Allocator-5) Allocating reuse_time_00000005_20231217_114554 finished => UP DEBUG 2023-12-17 11:45:56,087 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 DEBUG 2023-12-17 11:45:56,447 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=3 up=2 ready=2 taken=0 start=1 term=0 released=0 free=2 releasing=0 INFO 2023-12-17 11:45:56,453 PID:2012954:72057591923990912(Allocator-6) Allocating reuse_00000006_20231217_114556 (#2 in pool 'reuse') TID=72057591923990912 DEBUG 2023-12-17 11:45:56,474 PID:2012954:72057591923990912(Allocator-6) running: echo >&2 before; env | grep ^RESALLOC_; echo >&2 after DEBUG 2023-12-17 11:45:56,954 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 INFO 2023-12-17 11:45:57,020 PID:2012954:72057591923990912(Allocator-6) Allocating reuse_00000006_20231217_114556 finished => UP DEBUG 2023-12-17 11:45:57,295 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-12-17 11:45:57,390 PID:2012954:72057591991291936(Manager) Manager's loop. DEBUG 2023-12-17 11:45:57,867 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=3 up=3 ready=3 taken=0 start=0 term=0 released=0 free=3 releasing=0 DEBUG 2023-12-17 11:45:58,066 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-12-17 11:45:58,278 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-12-17 11:45:58,427 PID:2012954:72057591940776320(Watcher) Watcher loop DEBUG 2023-12-17 11:45:58,737 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:45:59,337 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:45:59,708 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:00,188 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:00,664 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:01,134 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-12-17 11:46:11,565 PID:2012954:72057591940776320(Watcher) Watcher loop DEBUG 2023-12-17 11:46:11,905 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:12,419 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:13,031 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:13,564 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:14,024 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:14,537 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-12-17 11:46:18,391 PID:2012954:72057591991291936(Manager) Manager's loop. DEBUG 2023-12-17 11:46:18,830 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=3 up=3 ready=3 taken=0 start=0 term=0 released=0 free=3 releasing=0 DEBUG 2023-12-17 11:46:18,942 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-12-17 11:46:19,050 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-12-17 11:46:25,058 PID:2012954:72057591940776320(Watcher) Watcher loop DEBUG 2023-12-17 11:46:25,274 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:25,768 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:26,228 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:26,707 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:27,116 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:27,594 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-12-17 11:46:29,212 PID:2012954:72057591991291936(Manager) Manager's loop. DEBUG 2023-12-17 11:46:29,875 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=3 up=3 ready=3 taken=0 start=0 term=0 released=0 free=3 releasing=0 DEBUG 2023-12-17 11:46:30,081 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-12-17 11:46:30,291 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-12-17 11:46:30,862 PID:2012954:72057591991291936(Manager) Assigning reuse_00000001_20231217_114549 to 1 INFO 2023-12-17 11:46:38,107 PID:2012954:72057591940776320(Watcher) Watcher loop DEBUG 2023-12-17 11:46:38,362 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:39,218 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:39,748 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:40,171 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:40,769 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-12-17 11:46:41,105 PID:2012954:72057591991291936(Manager) Manager's loop. DEBUG 2023-12-17 11:46:41,493 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-12-17 11:46:42,186 PID:2012954:72057591923990912(Releaser-1) Releasing reuse_00000001_20231217_114549 DEBUG 2023-12-17 11:46:42,233 PID:2012954:72057591923990912(Releaser-1) running: echo >&2 stderr; echo stdout; echo $RESALLOC_RESOURCE_DATA | base64 --decode DEBUG 2023-12-17 11:46:42,742 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=3 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=1 INFO 2023-12-17 11:46:43,044 PID:2012954:72057591923990912(Releaser-1) Releasing reuse_00000001_20231217_114549 finished INFO 2023-12-17 11:46:43,353 PID:2012954:72057591923990912(Allocator-7) Allocating reuse_00000007_20231217_114643 (#3 in pool 'reuse') TID=72057591923990912 DEBUG 2023-12-17 11:46:43,357 PID:2012954:72057591923990912(Allocator-7) running: echo >&2 before; env | grep ^RESALLOC_; echo >&2 after DEBUG 2023-12-17 11:46:43,563 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=4 up=3 ready=3 taken=0 start=1 term=0 released=1 free=2 releasing=0 DEBUG 2023-12-17 11:46:43,892 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 INFO 2023-12-17 11:46:43,926 PID:2012954:72057591923990912(Allocator-7) Allocating reuse_00000007_20231217_114643 finished => UP DEBUG 2023-12-17 11:46:44,203 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-12-17 11:46:44,285 PID:2012954:72057591991291936(Manager) Manager's loop. DEBUG 2023-12-17 11:46:44,759 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=4 up=4 ready=4 taken=0 start=0 term=0 released=1 free=3 releasing=0 DEBUG 2023-12-17 11:46:44,908 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-12-17 11:46:45,055 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-12-17 11:46:48,794 PID:2012954:72057591991291936(Manager) Manager's loop. DEBUG 2023-12-17 11:46:49,213 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=4 up=4 ready=4 taken=0 start=0 term=0 released=1 free=3 releasing=0 DEBUG 2023-12-17 11:46:49,360 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-12-17 11:46:49,514 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-12-17 11:46:49,946 PID:2012954:72057591991291936(Manager) Assigning reuse_00000001_20231217_114549 to 2 INFO 2023-12-17 11:46:52,099 PID:2012954:72057591940776320(Watcher) Watcher loop DEBUG 2023-12-17 11:46:52,510 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:53,046 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:53,677 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:54,436 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:54,920 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:55,429 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:46:55,888 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-12-17 11:47:06,404 PID:2012954:72057591940776320(Watcher) Watcher loop DEBUG 2023-12-17 11:47:06,729 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:07,247 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:07,694 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:08,164 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:08,588 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:08,995 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:09,401 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-12-17 11:47:10,109 PID:2012954:72057591991291936(Manager) Manager's loop. DEBUG 2023-12-17 11:47:10,656 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=4 up=4 ready=3 taken=1 start=0 term=0 released=0 free=3 releasing=0 DEBUG 2023-12-17 11:47:10,797 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-12-17 11:47:10,935 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-12-17 11:47:19,860 PID:2012954:72057591940776320(Watcher) Watcher loop INFO 2023-12-17 11:47:20,845 PID:2012954:72057591991291936(Manager) Manager's loop. DEBUG 2023-12-17 11:47:21,107 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:21,934 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-12-17 11:47:22,267 PID:2012954:72057591923990912(Releaser-1) Releasing reuse_00000001_20231217_114549 DEBUG 2023-12-17 11:47:22,371 PID:2012954:72057591923990912(Releaser-1) running: echo >&2 stderr; echo stdout; echo $RESALLOC_RESOURCE_DATA | base64 --decode DEBUG 2023-12-17 11:47:22,729 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:23,273 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-12-17 11:47:23,507 PID:2012954:72057591923990912(Releaser-1) Releasing reuse_00000001_20231217_114549 finished DEBUG 2023-12-17 11:47:23,656 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=4 up=4 ready=4 taken=0 start=0 term=0 released=1 free=3 releasing=0 DEBUG 2023-12-17 11:47:23,834 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:24,198 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-12-17 11:47:24,511 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:24,665 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-12-17 11:47:24,861 PID:2012954:72057591991291936(Manager) Manager's loop. DEBUG 2023-12-17 11:47:25,053 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:25,745 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=4 up=4 ready=4 taken=0 start=0 term=0 released=1 free=3 releasing=0 DEBUG 2023-12-17 11:47:25,906 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-12-17 11:47:26,038 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-12-17 11:47:27,182 PID:2012954:72057591991291936(Manager) Manager's loop. DEBUG 2023-12-17 11:47:27,817 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=4 up=4 ready=4 taken=0 start=0 term=0 released=1 free=3 releasing=0 DEBUG 2023-12-17 11:47:28,021 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-12-17 11:47:28,208 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-12-17 11:47:28,508 PID:2012954:72057591991291936(Manager) Assigning reuse_00000004_20231217_114553 to 3 INFO 2023-12-17 11:47:32,660 PID:2012954:72057591991291936(Manager) Manager's loop. DEBUG 2023-12-17 11:47:33,014 PID:2012954:72057591991291936(Manager) Requesting reuse_00000001_20231217_114549 removal, too long in one sandbox, since 1702831590.8696752, last_allowed_time was 1702831592.961463, now 1702831652.961463 DEBUG 2023-12-17 11:47:33,248 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=4 up=3 ready=2 taken=1 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-12-17 11:47:33,310 PID:2012954:72057591923990912(Terminator-1) Terminating reuse_00000001_20231217_114549 started DEBUG 2023-12-17 11:47:33,315 PID:2012954:72057591923990912(Terminator-1) running: echo >&2 stderr; echo stdout INFO 2023-12-17 11:47:33,901 PID:2012954:72057591923990912(Terminator-1) Terminating reuse_00000001_20231217_114549 finished DEBUG 2023-12-17 11:47:34,228 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=4 up=3 ready=2 taken=1 start=1 term=0 released=0 free=2 releasing=0 INFO 2023-12-17 11:47:34,291 PID:2012954:72057591923990912(Allocator-8) Allocating reuse_00000008_20231217_114734 (#0 in pool 'reuse') TID=72057591923990912 DEBUG 2023-12-17 11:47:34,303 PID:2012954:72057591923990912(Allocator-8) running: echo >&2 before; env | grep ^RESALLOC_; echo >&2 after DEBUG 2023-12-17 11:47:34,710 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 INFO 2023-12-17 11:47:34,819 PID:2012954:72057591923990912(Allocator-8) Allocating reuse_00000008_20231217_114734 finished => UP DEBUG 2023-12-17 11:47:35,130 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-12-17 11:47:35,568 PID:2012954:72057591991291936(Manager) Assigning reuse_00000006_20231217_114556 to 4 INFO 2023-12-17 11:47:35,703 PID:2012954:72057591940776320(Watcher) Watcher loop INFO 2023-12-17 11:47:35,715 PID:2012954:72057591991291936(Manager) Manager's loop. DEBUG 2023-12-17 11:47:36,476 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:37,061 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:37,488 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=4 up=4 ready=2 taken=2 start=0 term=0 released=0 free=2 releasing=0 DEBUG 2023-12-17 11:47:37,676 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:38,362 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-12-17 11:47:38,877 PID:2012954:72057591923990912(Allocator-9) Allocating reuse_00000009_20231217_114738 (#4 in pool 'reuse') TID=72057591923990912 DEBUG 2023-12-17 11:47:38,909 PID:2012954:72057591923990912(Allocator-9) running: echo >&2 before; env | grep ^RESALLOC_; echo >&2 after DEBUG 2023-12-17 11:47:38,882 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=5 up=4 ready=2 taken=2 start=1 term=0 released=0 free=2 releasing=0 DEBUG 2023-12-17 11:47:39,197 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-12-17 11:47:39,636 PID:2012954:72057591923990912(Allocator-9) Allocating reuse_00000009_20231217_114738 finished => UP DEBUG 2023-12-17 11:47:39,999 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:40,162 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-12-17 11:47:40,606 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 DEBUG 2023-12-17 11:47:40,650 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-12-17 11:47:41,231 PID:2012954:72057591991291936(Manager) Assigning reuse_00000007_20231217_114643 to 5 INFO 2023-12-17 11:47:41,329 PID:2012954:72057591991291936(Manager) Manager's loop. DEBUG 2023-12-17 11:47:41,737 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=5 up=5 ready=2 taken=3 start=0 term=0 released=0 free=2 releasing=0 DEBUG 2023-12-17 11:47:41,850 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-12-17 11:47:41,964 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-12-17 11:47:45,065 PID:2012954:72057591991291936(Manager) Manager's loop. DEBUG 2023-12-17 11:47:45,405 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=5 up=5 ready=2 taken=3 start=0 term=0 released=0 free=2 releasing=0 DEBUG 2023-12-17 11:47:45,510 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-12-17 11:47:45,617 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-12-17 11:47:45,794 PID:2012954:72057591991291936(Manager) Assigning reuse_00000008_20231217_114734 to 6 INFO 2023-12-17 11:47:49,140 PID:2012954:72057591991291936(Manager) Manager's loop. DEBUG 2023-12-17 11:47:49,555 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=5 up=5 ready=1 taken=4 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-12-17 11:47:49,668 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-12-17 11:47:49,780 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-12-17 11:47:49,948 PID:2012954:72057591991291936(Manager) Assigning reuse_00000009_20231217_114738 to 7 INFO 2023-12-17 11:47:51,135 PID:2012954:72057591940776320(Watcher) Watcher loop DEBUG 2023-12-17 11:47:51,363 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:51,814 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:52,321 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:52,811 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:53,351 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:53,883 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:54,430 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:47:54,955 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-12-17 11:47:55,789 PID:2012954:72057591991291936(Manager) Manager's loop. DEBUG 2023-12-17 11:47:56,551 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=5 up=5 ready=0 taken=5 start=0 term=0 released=0 free=0 releasing=0 DEBUG 2023-12-17 11:47:56,691 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-12-17 11:47:56,840 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 DEBUG 2023-12-17 11:47:57,053 PID:2012954:72057591991291936(Manager) 3 resources UP but unusable for INFO 2023-12-17 11:48:04,562 PID:2012954:72057591991291936(Manager) Manager's loop. INFO 2023-12-17 11:48:04,962 PID:2012954:72057591932383616(Releaser-4) Releasing reuse_00000004_20231217_114553 DEBUG 2023-12-17 11:48:04,974 PID:2012954:72057591932383616(Releaser-4) running: echo >&2 stderr; echo stdout; echo $RESALLOC_RESOURCE_DATA | base64 --decode DEBUG 2023-12-17 11:48:05,338 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=5 up=4 ready=0 taken=4 start=0 term=0 released=0 free=0 releasing=1 DEBUG 2023-12-17 11:48:05,474 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 INFO 2023-12-17 11:48:05,532 PID:2012954:72057591940776320(Watcher) Watcher loop INFO 2023-12-17 11:48:05,698 PID:2012954:72057591932383616(Releaser-4) Releasing reuse_00000004_20231217_114553 finished DEBUG 2023-12-17 11:48:05,860 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 DEBUG 2023-12-17 11:48:06,264 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-12-17 11:48:06,487 PID:2012954:72057591991291936(Manager) Assigning reuse_00000004_20231217_114553 to 8 DEBUG 2023-12-17 11:48:06,698 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-12-17 11:48:06,929 PID:2012954:72057591991291936(Manager) Manager's loop. DEBUG 2023-12-17 11:48:07,386 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:48:07,820 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:48:08,335 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:48:08,722 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=5 up=5 ready=0 taken=5 start=0 term=0 released=0 free=0 releasing=0 DEBUG 2023-12-17 11:48:08,757 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:48:09,143 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-12-17 11:48:09,231 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:48:09,643 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 DEBUG 2023-12-17 11:48:09,773 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-12-17 11:48:20,485 PID:2012954:72057591940776320(Watcher) Watcher loop DEBUG 2023-12-17 11:48:20,780 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:48:21,234 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:48:21,794 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:48:22,360 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:48:22,855 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:48:23,299 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:48:23,871 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:48:24,377 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout INFO 2023-12-17 11:48:30,205 PID:2012954:72057591991291936(Manager) Manager's loop. DEBUG 2023-12-17 11:48:31,081 PID:2012954:72057591991291936(Manager) => POOL('reuse'): on=5 up=5 ready=0 taken=5 start=0 term=0 released=0 free=0 releasing=0 DEBUG 2023-12-17 11:48:31,234 PID:2012954:72057591991291936(Manager) => POOL('reuse_count'): on=1 up=1 ready=1 taken=0 start=0 term=0 released=0 free=1 releasing=0 DEBUG 2023-12-17 11:48:31,385 PID:2012954:72057591991291936(Manager) => POOL('reuse_time'): on=2 up=2 ready=2 taken=0 start=0 term=0 released=0 free=2 releasing=0 INFO 2023-12-17 11:48:34,875 PID:2012954:72057591940776320(Watcher) Watcher loop DEBUG 2023-12-17 11:48:35,255 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:48:35,796 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:48:36,234 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:48:36,794 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:48:37,304 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:48:37,733 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:48:38,308 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout DEBUG 2023-12-17 11:48:38,811 PID:2012954:72057591940776320(Watcher) running: echo >&2 stderr; echo stdout ===== 11:45:29.957970662: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc-maint resource-list 11:45:49.775017251: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc-maint resource-list --up 11:46:09.277580436: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc-maint resource-list --up 11:46:23.708638473: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket --tag A --sandbox=sb 11:46:29.820559731: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket-wait 1 11:46:35.575264885: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket-close 1 11:46:43.561138161: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket --tag A --sandbox=sb 11:46:49.223588715: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket-wait 2 11:46:55.057800370: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc-maint resource-list 11:47:13.758846448: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket-close 2 11:47:21.697825923: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket --tag A --sandbox=first-sb 11:47:27.865980182: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket --tag A --sandbox=second-sb 11:47:33.051288831: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket --tag A --sandbox=second-sb 11:47:40.012184497: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket --tag A --sandbox=second-sb 11:47:45.606757150: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket --tag A --sandbox=second-sb 11:47:49.527789987: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket --tag A --sandbox=first-sb 11:47:56.335712652: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket-wait 8 11:47:59.487910782: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc --connection http://localhost:55550 ticket-close 3 11:48:06.128239745: /builddir/build/BUILD/resalloc-5.1/test-tooling/resalloc-maint resource-list 11:48:26.967398742: /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-GCK76iq * 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