Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/resalloc.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667519412.560179/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1_7h7x2j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1_7h7x2j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f685c4a7c71e4de183b7bc8e4e203a7b', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667519412.560179/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1_7h7x2j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1663891200 Wrote: /builddir/build/SRPMS/resalloc-4.8-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/resalloc.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667519412.560179/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1_7h7x2j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1_7h7x2j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e08e9c9db46d46e3b77600c6cb34b2ce', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667519412.560179/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1_7h7x2j:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1663891200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.E3blGI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf resalloc-4.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/resalloc-4.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd resalloc-4.8 + /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.RpUksd + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd resalloc-4.8 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + /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/resallocwebui copying resallocwebui/app.py -> build/lib/resallocwebui copying resallocwebui/__init__.py -> build/lib/resallocwebui creating build/lib/resallocserver copying resallocserver/priority_queue.py -> build/lib/resallocserver copying resallocserver/models.py -> build/lib/resallocserver copying resallocserver/manager.py -> build/lib/resallocserver copying resallocserver/maint.py -> build/lib/resallocserver copying resallocserver/main.py -> build/lib/resallocserver copying resallocserver/logic.py -> build/lib/resallocserver copying resallocserver/log.py -> build/lib/resallocserver copying resallocserver/helpers.py -> build/lib/resallocserver copying resallocserver/config.py -> build/lib/resallocserver copying resallocserver/app.py -> build/lib/resallocserver copying resallocserver/api.py -> build/lib/resallocserver copying resallocserver/__init__.py -> build/lib/resallocserver creating build/lib/resalloc copying resalloc/helpers.py -> build/lib/resalloc copying resalloc/client.py -> build/lib/resalloc copying resalloc/__init__.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/eac9fc01d0d1_allow_resource_reuse.py -> build/lib/resallocserver/alembic/versions copying resallocserver/alembic/versions/cdf29a997efc_resource_pool_id.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/__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/5759bc82a992_initial_revision.py -> build/lib/resallocserver/alembic/versions copying resallocserver/alembic/versions/210774551cd3_performance_indexes.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.11 copying and adjusting bin/resalloc -> build/scripts-3.11 copying and adjusting bin/resalloc-server -> build/scripts-3.11 copying and adjusting bin/resalloc-maint -> build/scripts-3.11 copying bin/resalloc-check-vm-ip -> build/scripts-3.11 changing mode of build/scripts-3.11/resalloc from 644 to 755 changing mode of build/scripts-3.11/resalloc-server from 644 to 755 changing mode of build/scripts-3.11/resalloc-maint from 644 to 755 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wHlg4O + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd resalloc-4.8 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64 --prefix /usr running install /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr creating /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib creating /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11 creating /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resalloc copying build/lib/resalloc/__init__.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resalloc copying build/lib/resalloc/client.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resalloc copying build/lib/resalloc/helpers.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resalloc creating /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver copying build/lib/resallocserver/alembic.ini -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver creating /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic creating /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/0e370f3171e5_add_priority_for_resources_tags.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/210774551cd3_performance_indexes.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/5759bc82a992_initial_revision.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/78237445aff8_index_not_closed_tickets.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/__init__.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/a53d2303943a_add_cleaning_unknown_resources_column.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/cdf29a997efc_resource_pool_id.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/versions/eac9fc01d0d1_allow_resource_reuse.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic/versions copying build/lib/resallocserver/alembic/__init__.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic copying build/lib/resallocserver/alembic/env.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic copying build/lib/resallocserver/__init__.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver copying build/lib/resallocserver/api.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver copying build/lib/resallocserver/app.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver copying build/lib/resallocserver/config.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver copying build/lib/resallocserver/helpers.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver copying build/lib/resallocserver/log.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver copying build/lib/resallocserver/logic.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver copying build/lib/resallocserver/main.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver copying build/lib/resallocserver/maint.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver copying build/lib/resallocserver/manager.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver copying build/lib/resallocserver/models.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver copying build/lib/resallocserver/priority_queue.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver creating /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocwebui copying build/lib/resallocwebui/__init__.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocwebui copying build/lib/resallocwebui/app.py -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocwebui byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resalloc/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resalloc/client.py to client.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resalloc/helpers.py to helpers.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic/versions/0e370f3171e5_add_priority_for_resources_tags.py to 0e370f3171e5_add_priority_for_resources_tags.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic/versions/210774551cd3_performance_indexes.py to 210774551cd3_performance_indexes.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic/versions/5759bc82a992_initial_revision.py to 5759bc82a992_initial_revision.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic/versions/78237445aff8_index_not_closed_tickets.py to 78237445aff8_index_not_closed_tickets.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic/versions/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic/versions/a53d2303943a_add_cleaning_unknown_resources_column.py to a53d2303943a_add_cleaning_unknown_resources_column.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic/versions/cdf29a997efc_resource_pool_id.py to cdf29a997efc_resource_pool_id.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic/versions/eac9fc01d0d1_allow_resource_reuse.py to eac9fc01d0d1_allow_resource_reuse.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/alembic/env.py to env.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/api.py to api.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/app.py to app.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/config.py to config.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/helpers.py to helpers.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/log.py to log.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/logic.py to logic.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/main.py to main.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/maint.py to maint.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/manager.py to manager.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/models.py to models.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocserver/priority_queue.py to priority_queue.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocwebui/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resallocwebui/app.py to app.cpython-311.pyc writing byte-compilation script '/tmp/tmp9i29kopi.py' /usr/bin/python3 /tmp/tmp9i29kopi.py removing /tmp/tmp9i29kopi.py running install_data creating /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/etc creating /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/etc/resallocserver copying config/pools.yaml -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/etc/resallocserver copying config/server.yaml -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/etc/resallocserver running install_egg_info running egg_info writing resalloc.egg-info/PKG-INFO writing dependency_links to resalloc.egg-info/dependency_links.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' adding license file 'COPYING' writing manifest file 'resalloc.egg-info/SOURCES.txt' Copying resalloc.egg-info to /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11/site-packages/resalloc-4.8-py3.11.egg-info running install_scripts creating /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/bin copying build/scripts-3.11/resalloc-check-vm-ip -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/bin copying build/scripts-3.11/resalloc-maint -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/bin copying build/scripts-3.11/resalloc-server -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/bin copying build/scripts-3.11/resalloc -> /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/bin/resalloc-check-vm-ip to 755 changing mode of /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/bin/resalloc-maint to 755 changing mode of /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/bin/resalloc-server to 755 changing mode of /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/bin/resalloc to 755 installing man/resalloc.1 installing man/resalloc-maint.1 + rm -rfv /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/bin/__pycache__ + install -d -m 755 /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/resallocwebui + cp -r resallocwebui/templates /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/resallocwebui/ + cp -r resallocwebui/static /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/resallocwebui/ + install -d -m 755 /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/var/www/ + install -p -m 755 resallocwebui/cgi-resalloc /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/var/www/cgi-resalloc + mkdir -p /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/var/log/resallocserver + install -p -m 644 /builddir/build/SOURCES/resalloc.service /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/systemd/system + install -d -m 700 /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/var/lib/resallocserver + install -d -m 700 /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/etc/logrotate.d + install -p -m 644 /builddir/build/SOURCES/logrotate /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/etc/logrotate.d/resalloc-server + install -p -m 644 man/resalloc-server.1 /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/man/man1 + install -d -m 755 /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64//usr/libexec + install -p -m 755 /builddir/build/SOURCES/merge-hook-logs /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64//usr/libexec/resalloc-merge-hook-logs + install -d /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/etc/cron.hourly + install -p -m 755 /builddir/build/SOURCES/cron.hourly /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/etc/cron.hourly/resalloc + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 4.8-1.fc38 --unique-debug-suffix -4.8-1.fc38.x86_64 --unique-debug-src-base resalloc-4.8-1.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/resalloc-4.8 find: 'debug': No such file or directory + /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 /etc/cron.hourly/resalloc 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 /usr/bin/resalloc-check-vm-ip from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.U174tO + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd resalloc-4.8 + make check TEST_PYTHONS=python3 make unittests make[1]: Entering directory '/builddir/build/BUILD/resalloc-4.8' status=true ; \ for python in python3; do \ PYTHON=$python ./unittests.sh || status=false ; \ done ;\ $status * sourcedir: /builddir/build/BUILD/resalloc-4.8 * testdir: /builddir/build/BUILD/resalloc-4.8/tests * PYTHON: python3 * PYTHONPATH: /builddir/build/BUILD/resalloc-4.8 ============================= test session starts ============================== platform linux -- Python 3.11.0, pytest-7.1.3, pluggy-1.0.0 rootdir: /builddir/build/BUILD/resalloc-4.8 plugins: cov-4.0.0 collected 7 items tests/test_cli.py . [ 14%] tests/test_command.py . [ 28%] tests/test_manager.py ..... [100%] ---------- coverage: platform linux, python 3.11.0-final-0 ----------- Name Stmts Miss Cover Missing --------------------------------------------------------------------------------------------------------------------- resalloc/__init__.py 1 0 100% resalloc/client.py 63 18 71% 13-14, 50-52, 73-74, 85-89, 97, 101, 118, 122, 125, 129 resalloc/helpers.py 64 15 77% 39, 81, 92, 97, 99, 104-118 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 68 48 29% 37, 40, 43-58, 62-65, 69-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 72 29 60% 33, 43-46, 57, 82, 86, 93-101, 104-119, 122, 134, 142, 146-153, 166 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 466 319 32% 49, 63-65, 71, 96-97, 115-127, 140-141, 146-153, 157, 160, 163-169, 174, 177-183, 186-215, 220, 224-249, 254, 257-315, 324, 328-341, 356-366, 369-371, 376-425, 428-430, 456-458, 469-480, 484-485, 490-508, 512-534, 537-556, 559-573, 576-593, 596-617, 620-644, 647-687, 690-694, 702, 707, 715-717, 732-733, 740, 753, 759-762, 768, 772, 776-785, 789-802 resallocserver/models.py 81 10 88% 35, 65, 106-108, 111-116, 120 resallocserver/priority_queue.py 33 7 79% 25, 40, 46-47, 56, 65, 72 resallocwebui/__init__.py 11 11 0% 1-17 resallocwebui/app.py 39 39 0% 1-64 setup.py 22 22 0% 18-48 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 25 0 100% --------------------------------------------------------------------------------------------------------------------- TOTAL 1460 701 52% ============================== 7 passed in 1.18s =============================== make[1]: Leaving directory '/builddir/build/BUILD/resalloc-4.8' make shelltests make[1]: Entering directory '/builddir/build/BUILD/resalloc-4.8' cd shelltests ; \ status=true ; \ for python in python3; do \ for database in sqlite postgresql; do \ PYTHON=$python DATABASE=$database \ ./testrunner basic.sh check.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-llDBxT4 * 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-VM5ZKUH * Wait for 5 preallocated machines * wait till the first set of VMs is deleted by watcher ~ cleanup ---> [ OK ] ===> running test 'tests/reuse.sh' (python3+sqlite) ~ I'm in /tmp/resalloc-tests-reuse.sh-6lDn0vo * Wait for 6 preallocated machines * check that after some time still only 6 are available * 1. case: take -> return -> re-take * 2. case: take all -> take one more -> release one * 3. case: count limit * 4. case: time limit ~ cleanup ---> [ OK ] ===> running test 'tests/basic.sh' (python3+postgresql) ~ I'm in /tmp/resalloc-tests-basic.sh-Pz5564s * 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-KvS4Tyt * preparing PostgreSQL server * Wait for 5 preallocated machines * wait till the first set of VMs is deleted by watcher ~ cleanup ---> [ OK ] ===> running test 'tests/reuse.sh' (python3+postgresql) ~ I'm in /tmp/resalloc-tests-reuse.sh-4ffrmyF * preparing PostgreSQL server * Wait for 6 preallocated machines * check that after some time still only 6 are available * 1. case: take -> return -> re-take * 2. case: take all -> take one more -> release one * 3. case: count limit * 4. case: time limit ~ cleanup ---> [ OK ] make[1]: Leaving directory '/builddir/build/BUILD/resalloc-4.8' + ln -s /usr/lib/python3.11/site-packages/resallocserver /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/var/lib/resallocserver/project + RPM_EC=0 ++ jobs -p + exit 0 Processing files: resalloc-4.8-1.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.20XC7C + umask 022 + cd /builddir/build/BUILD + cd resalloc-4.8 + DOCDIR=/builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/doc/resalloc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/doc/resalloc + cp -pr NEWS /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/doc/resalloc + cp -pr README /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/doc/resalloc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.GN5hnL + umask 022 + cd /builddir/build/BUILD + cd resalloc-4.8 + LICENSEDIR=/builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/licenses/resalloc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/licenses/resalloc + cp -pr COPYING /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/licenses/resalloc + RPM_EC=0 ++ jobs -p + exit 0 Provides: resalloc = 4.8-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 Processing files: resalloc-server-4.8-1.fc38.noarch warning: Explicit %attr() mode not applicable to symlink: /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/var/lib/resallocserver/project Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wt852P + umask 022 + cd /builddir/build/BUILD + cd resalloc-4.8 + DOCDIR=/builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/doc/resalloc-server + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/doc/resalloc-server + cp -pr NEWS /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/doc/resalloc-server + cp -pr README /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/doc/resalloc-server + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.R6t74h + umask 022 + cd /builddir/build/BUILD + cd resalloc-4.8 + LICENSEDIR=/builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/licenses/resalloc-server + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/licenses/resalloc-server + cp -pr COPYING /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/licenses/resalloc-server + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /var/lib/resallocserver/project -> /usr/lib/python3.11/site-packages/resallocserver Provides: config(resalloc-server) = 4.8-1.fc38 resalloc-server = 4.8-1.fc38 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh /usr/sbin/useradd Requires(post): /bin/sh Requires(postun): /bin/sh Requires: /usr/bin/python3 /usr/bin/sh python(abi) = 3.11 Processing files: resalloc-webui-4.8-1.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2A04fa + umask 022 + cd /builddir/build/BUILD + cd resalloc-4.8 + DOCDIR=/builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/doc/resalloc-webui + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/doc/resalloc-webui + cp -pr NEWS /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/doc/resalloc-webui + cp -pr README /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/doc/resalloc-webui + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6rHDxj + umask 022 + cd /builddir/build/BUILD + cd resalloc-4.8 + LICENSEDIR=/builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/licenses/resalloc-webui + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/licenses/resalloc-webui + cp -pr COPYING /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/licenses/resalloc-webui + RPM_EC=0 ++ jobs -p + exit 0 Provides: resalloc-webui = 4.8-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 python(abi) = 3.11 Recommends: resalloc-selinux Processing files: python3-resalloc-4.8-1.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SjXdGz + umask 022 + cd /builddir/build/BUILD + cd resalloc-4.8 + DOCDIR=/builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/doc/python3-resalloc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/doc/python3-resalloc + cp -pr NEWS /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/doc/python3-resalloc + cp -pr README /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/doc/python3-resalloc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vCa91e + umask 022 + cd /builddir/build/BUILD + cd resalloc-4.8 + LICENSEDIR=/builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/licenses/python3-resalloc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/licenses/python3-resalloc + cp -pr COPYING /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/usr/share/licenses/python3-resalloc + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-resalloc = 4.8-1.fc38 python3-resalloc = 4.8-1.fc38 python3.11-resalloc = 4.8-1.fc38 python3.11dist(resalloc) = 4.8 python3dist(resalloc) = 4.8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.11 python3.11dist(alembic) python3.11dist(flask) python3.11dist(pyyaml) python3.11dist(six) python3.11dist(sqlalchemy) Obsoletes: python-resalloc < 4.8-1.fc38 Processing files: resalloc-selinux-4.8-1.fc38.noarch Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64 Wrote: /builddir/build/RPMS/python3-resalloc-4.8-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/resalloc-webui-4.8-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/resalloc-server-4.8-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/resalloc-4.8-1.fc38.noarch.rpm Wrote: /builddir/build/RPMS/resalloc-selinux-4.8-1.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.uOjY9j + umask 022 + cd /builddir/build/BUILD + cd resalloc-4.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.XZmYeM + umask 022 + cd /builddir/build/BUILD + rm -rf resalloc-4.8 resalloc-4.8.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: Explicit %attr() mode not applicable to symlink: /builddir/build/BUILDROOT/resalloc-4.8-1.fc38.x86_64/var/lib/resallocserver/project absolute symlink: /var/lib/resallocserver/project -> /usr/lib/python3.11/site-packages/resallocserver Child return code was: 0