Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/prunerepo.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1660639462.302667/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.94twght7:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.94twght7:/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', '6c164ccb3d994dc7b99a88bb24fc7682', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1660639462.302667/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.94twght7:/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/prunerepo.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=1658448000 Wrote: /builddir/build/SRPMS/prunerepo-1.21-6.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/prunerepo.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1660639462.302667/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.94twght7:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.94twght7:/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', '26a83e516bc14db8a28737ebc473898b', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1660639462.302667/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.94twght7:/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/prunerepo.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=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.leSuEL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf prunerepo-1.21 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/prunerepo-1.21.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd prunerepo-1.21 + /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.w6CHYC + 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 -Wl,-dT,/builddir/build/BUILD/prunerepo-1.21/.package_note-prunerepo-1.21-6.fc38.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh prunerepo 1.21-6.fc38 x86_64 + cd prunerepo-1.21 + name=prunerepo + version=1.21 + summary='Remove old packages from rpm-md repository' + 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 -Wl,-dT,/builddir/build/BUILD/prunerepo-1.21/.package_note-prunerepo-1.21-6.fc38.x86_64.ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' running build running build_py creating build creating build/lib creating build/lib/prunerepo copying prunerepo/pair_srpm_rpm.py -> build/lib/prunerepo copying prunerepo/main.py -> build/lib/prunerepo copying prunerepo/helpers.py -> build/lib/prunerepo copying prunerepo/__init__.py -> build/lib/prunerepo running egg_info creating prunerepo.egg-info writing prunerepo.egg-info/PKG-INFO writing dependency_links to prunerepo.egg-info/dependency_links.txt writing entry points to prunerepo.egg-info/entry_points.txt writing top-level names to prunerepo.egg-info/top_level.txt writing manifest file 'prunerepo.egg-info/SOURCES.txt' reading manifest file 'prunerepo.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'prunerepo.egg-info/SOURCES.txt' + a2x -d manpage -f manpage man/prunerepo.1.asciidoc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QhxcPE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/prunerepo-1.21-6.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 -Wl,-dT,/builddir/build/BUILD/prunerepo-1.21/.package_note-prunerepo-1.21-6.fc38.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd prunerepo-1.21 + name=prunerepo + version=1.21 + summary='Remove old packages from rpm-md repository' + 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 -Wl,-dT,/builddir/build/BUILD/prunerepo-1.21/.package_note-prunerepo-1.21-6.fc38.x86_64.ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/prunerepo-1.21-6.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/prunerepo-1.21-6.fc38.x86_64/usr creating /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64/usr/lib creating /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64/usr/lib/python3.11 creating /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64/usr/lib/python3.11/site-packages/prunerepo copying build/lib/prunerepo/__init__.py -> /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64/usr/lib/python3.11/site-packages/prunerepo copying build/lib/prunerepo/helpers.py -> /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64/usr/lib/python3.11/site-packages/prunerepo copying build/lib/prunerepo/main.py -> /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64/usr/lib/python3.11/site-packages/prunerepo copying build/lib/prunerepo/pair_srpm_rpm.py -> /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64/usr/lib/python3.11/site-packages/prunerepo byte-compiling /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64/usr/lib/python3.11/site-packages/prunerepo/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64/usr/lib/python3.11/site-packages/prunerepo/helpers.py to helpers.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64/usr/lib/python3.11/site-packages/prunerepo/main.py to main.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64/usr/lib/python3.11/site-packages/prunerepo/pair_srpm_rpm.py to pair_srpm_rpm.cpython-311.pyc writing byte-compilation script '/tmp/tmpz86z0_0b.py' /usr/bin/python3 /tmp/tmpz86z0_0b.py removing /tmp/tmpz86z0_0b.py running install_egg_info running egg_info writing prunerepo.egg-info/PKG-INFO writing dependency_links to prunerepo.egg-info/dependency_links.txt writing entry points to prunerepo.egg-info/entry_points.txt writing top-level names to prunerepo.egg-info/top_level.txt reading manifest file 'prunerepo.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'prunerepo.egg-info/SOURCES.txt' Copying prunerepo.egg-info to /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64/usr/lib/python3.11/site-packages/prunerepo-1.21-py3.11.egg-info running install_scripts Installing prunerepo script to /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64/usr/bin + rm -rfv /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64/usr/bin/__pycache__ + install -d /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64/usr/share/man/man1 + install -p -m 644 man/prunerepo.1 /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64//usr/share/man/man1/ + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.21-6.fc38 --unique-debug-suffix -1.21-6.fc38.x86_64 --unique-debug-src-base prunerepo-1.21-6.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/prunerepo-1.21 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 + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/prunerepo-1.21-6.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.zXCfL9 + 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 -Wl,-dT,/builddir/build/BUILD/prunerepo-1.21/.package_note-prunerepo-1.21-6.fc38.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh prunerepo 1.21-6.fc38 x86_64 + cd prunerepo-1.21 + tests/run.sh ============================ Test that all srpms get deleted when the same package is present in multiple directories and --days is used ============================ rm: cannot remove '/builddir/build/BUILD/prunerepo-1.21/tests/2srpmsfor1rpm/repo-test': No such file or directory Removing obsoleted packages... Checking '/builddir/build/BUILD/prunerepo-1.21/tests/2srpmsfor1rpm/repo-test' repo for removal candidates older than 1 days Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/2srpmsfor1rpm/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False --latest-limit=1 Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/2srpmsfor1rpm/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False Using repo ID builddir_build_BUILD_prunerepo_1_21_tests_2srpmsfor1rpm_repo_test => /builddir/build/BUILD/prunerepo-1.21/tests/2srpmsfor1rpm/repo-test Checking age of the 'python3-motionpaint-1.3-1.fc23.noarch.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/2srpmsfor1rpm/repo-test/00000003-motionpaint-1.3/python3-motionpaint-1.3-1.fc23.noarch.rpm Checking age of the 'python3-motionpaint-1.3-1.fc23.noarch.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/2srpmsfor1rpm/repo-test/00000005-motionpaint-1.3/python3-motionpaint-1.3-1.fc23.noarch.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/2srpmsfor1rpm/repo-test/00000003-motionpaint-1.3/python3-motionpaint-1.3-1.fc23.noarch.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/2srpmsfor1rpm/repo-test/00000003-motionpaint-1.3/python-motionpaint-1.3-1.fc23.src.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/2srpmsfor1rpm/repo-test/00000005-motionpaint-1.3/python3-motionpaint-1.3-1.fc23.noarch.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/2srpmsfor1rpm/repo-test/00000005-motionpaint-1.3/python-motionpaint-1.3-1.fc23.src.rpm Recreating repository... Executing: /usr/bin/createrepo_c --database --update --local-sqlite --cachedir /tmp/ --workers 8 . > ls 00000003-motionpaint-1.3/*.rpm ls: cannot access '00000003-motionpaint-1.3/*.rpm': No such file or directory > ls 00000005-motionpaint-1.3/*.rpm ls: cannot access '00000005-motionpaint-1.3/*.rpm': No such file or directory > ls 00000007-motionpaint-1.4/python-motionpaint-1.4-1.fc23.src.rpm 00000007-motionpaint-1.4/python3-motionpaint-1.4-1.fc23.noarch.rpm 00000007-motionpaint-1.4/python-motionpaint-1.4-1.fc23.src.rpm 00000007-motionpaint-1.4/python3-motionpaint-1.4-1.fc23.noarch.rpm > ls 00000007-motionpaint-1.4/python-motionpaint-1.4-1.fc23.src.rpm 00000007-motionpaint-1.4/python-motionpaint-1.4-1.fc23.src.rpm success. ============================ test basic functionality ============================ rm: cannot remove '/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test': No such file or directory Removing obsoleted packages... Checking '/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test' repo for removal candidates older than 0 days Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False --latest-limit=1 Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False Using repo ID builddir_build_BUILD_prunerepo_1_21_tests_base_repo_test => /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test Checking age of the 'example-1.0.1-1.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-debuginfo-1.0.1-1.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-debuginfo-1.0.2-2.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-1.0.2-2.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.src.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.src.rpm Recreating repository... Executing: /usr/bin/createrepo_c --database --update --local-sqlite --cachedir /tmp/ --workers 8 . > ls 0-oldestbuild/*.rpm ls: cannot access '0-oldestbuild/*.rpm': No such file or directory > ls 1-norpmsinside/*.rpm ls: cannot access '1-norpmsinside/*.rpm': No such file or directory > ls 2-secondlatestpkg/*.rpm ls: cannot access '2-secondlatestpkg/*.rpm': No such file or directory > [[ `ls 3-latestpkg/example-1.0.3-2.fc23.src.rpm 3-latestpkg/example-1.0.3-2.fc23.x86_64.rpm 3-latestpkg/example-debuginfo-1.0.3-2.fc23.x86_64.rpm | wc -l` == 3 ]] > [[ `listpkgsbyfs` == `listpkgsbyrepo` ]] success. ============================ test --cleancopr ============================ Removing obsoleted packages... Checking '/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test' repo for removal candidates older than 0 days Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False --latest-limit=1 Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False Using repo ID builddir_build_BUILD_prunerepo_1_21_tests_base_repo_test => /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test Checking age of the 'example-debuginfo-1.0.1-1.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-1.0.1-1.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-debuginfo-1.0.2-2.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-1.0.2-2.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.src.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.src.rpm Recreating repository... Executing: /usr/bin/createrepo_c --database --update --local-sqlite --cachedir /tmp/ --workers 8 . This feature is deprecated and will be removed in a future release. Please, use a custom solution instead. Cleaning COPR repository... Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/build-2.log Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/1-norpmsinside Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/build-1.log Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/build-0.log > ls -d 0-oldestbuild ls: cannot access '0-oldestbuild': No such file or directory > ls -d 1-norpmsinside ls: cannot access '1-norpmsinside': No such file or directory > ls -d 2-secondlatestpkg ls: cannot access '2-secondlatestpkg': No such file or directory > ls -d 3-latestpkg 3-latestpkg > ls build-0.log ls: cannot access 'build-0.log': No such file or directory > ls build-1.log ls: cannot access 'build-1.log': No such file or directory > ls build-2.log ls: cannot access 'build-2.log': No such file or directory > ls build-3.log build-3.log success. ============================ test --days ============================ Removing obsoleted packages... Checking '/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test' repo for removal candidates older than 2431 days Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False --latest-limit=1 Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False Using repo ID builddir_build_BUILD_prunerepo_1_21_tests_base_repo_test => /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test Checking age of the 'example-1.0.1-1.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-1.0.2-2.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-debuginfo-1.0.1-1.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-debuginfo-1.0.2-2.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.src.rpm Recreating repository... Executing: /usr/bin/createrepo_c --database --update --local-sqlite --cachedir /tmp/ --workers 8 . > ls 0-oldestbuild/*.rpm ls: cannot access '0-oldestbuild/*.rpm': No such file or directory > [[ `ls 2-secondlatestpkg/example-1.0.2-2.fc23.src.rpm 2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm 2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm | wc -l` == 3 ]] > [[ `ls 3-latestpkg/example-1.0.3-2.fc23.src.rpm 3-latestpkg/example-1.0.3-2.fc23.x86_64.rpm 3-latestpkg/example-debuginfo-1.0.3-2.fc23.x86_64.rpm | wc -l` == 3 ]] success. ============================ test --nocreaterepo ============================ > [[ `listpkgsbyfs` == `listpkgsbyrepo` ]] > sleep 1 Removing obsoleted packages... Checking '/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test' repo for removal candidates older than 0 days Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False --latest-limit=1 Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False Using repo ID builddir_build_BUILD_prunerepo_1_21_tests_base_repo_test => /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test Checking age of the 'example-1.0.1-1.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-debuginfo-1.0.1-1.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-1.0.2-2.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-debuginfo-1.0.2-2.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.src.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.src.rpm > [[ `listpkgsbyfs` == `listpkgsbyrepo` ]] > [[ $repomdlastmodtime1 == `stat -c %Y $testrepo/repodata/repomd.xml` ]] success. ============================ test repo is not recreatered if there was not a change ============================ > [[ `listpkgsbyfs` == `listpkgsbyrepo` ]] > sleep 1 Removing obsoleted packages... Checking '/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test' repo for removal candidates older than 999999999 days Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False --latest-limit=1 Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False Using repo ID builddir_build_BUILD_prunerepo_1_21_tests_base_repo_test => /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test Checking age of the 'example-debuginfo-1.0.2-2.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-1.0.1-1.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-debuginfo-1.0.1-1.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-1.0.2-2.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY No outdated RPMs for removal. > [[ `listpkgsbyfs` == `listpkgsbyrepo` ]] > [[ $repomdlastmodtime1 == `stat -c %Y $testrepo/repodata/repomd.xml` ]] success. ============================ test --alwayscreaterepo ============================ > [[ `listpkgsbyfs` == `listpkgsbyrepo` ]] > sleep 1 Removing obsoleted packages... Checking '/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test' repo for removal candidates older than 999999999 days Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False --latest-limit=1 Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False Using repo ID builddir_build_BUILD_prunerepo_1_21_tests_base_repo_test => /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test Checking age of the 'example-1.0.2-2.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-1.0.1-1.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-debuginfo-1.0.2-2.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-debuginfo-1.0.1-1.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY No outdated RPMs for removal. Recreating repository... Executing: /usr/bin/createrepo_c --database --update --local-sqlite --cachedir /tmp/ --workers 8 . > [[ `listpkgsbyfs` == `listpkgsbyrepo` ]] > [[ $repomdlastmodtime1 < `stat -c %Y $testrepo/repodata/repomd.xml` ]] success. ============================ test --nocreaterepo takes precedence over --alwayscreaterepo ============================ > [[ `listpkgsbyfs` == `listpkgsbyrepo` ]] > sleep 1 Removing obsoleted packages... Checking '/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test' repo for removal candidates older than 999999999 days Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False --latest-limit=1 Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False Using repo ID builddir_build_BUILD_prunerepo_1_21_tests_base_repo_test => /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test Checking age of the 'example-1.0.1-1.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-debuginfo-1.0.2-2.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-1.0.2-2.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-debuginfo-1.0.1-1.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY No outdated RPMs for removal. > [[ `listpkgsbyfs` == `listpkgsbyrepo` ]] > [[ $repomdlastmodtime1 < `stat -c %Y $testrepo/repodata/repomd.xml` ]] > sleep 1 Removing obsoleted packages... Checking '/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test' repo for removal candidates older than 0 days Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False --latest-limit=1 Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False Using repo ID builddir_build_BUILD_prunerepo_1_21_tests_base_repo_test => /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test Checking age of the 'example-1.0.1-1.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-debuginfo-1.0.1-1.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-debuginfo-1.0.2-2.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-1.0.2-2.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.src.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.src.rpm > [[ `listpkgsbyfs` == `listpkgsbyrepo` ]] > [[ $repomdlastmodtime1 < `stat -c %Y $testrepo/repodata/repomd.xml` ]] success. ============================ test repo data always fresh (no dnf cache used) ============================ Removing obsoleted packages... Checking '/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test' repo for removal candidates older than 0 days Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False --latest-limit=1 Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False Using repo ID builddir_build_BUILD_prunerepo_1_21_tests_base_repo_test => /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test Checking age of the 'example-1.0.1-1.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-1.0.2-2.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-debuginfo-1.0.2-2.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-debuginfo-1.0.1-1.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/2-secondlatestpkg/example-1.0.2-2.fc23.src.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.src.rpm Recreating repository... Executing: /usr/bin/createrepo_c --database --update --local-sqlite --cachedir /tmp/ --workers 8 . > ls 2-secondlatestpkg/*.rpm ls: cannot access '2-secondlatestpkg/*.rpm': No such file or directory > [[ `ls 3-latestpkg/example-1.0.3-2.fc23.src.rpm 3-latestpkg/example-1.0.3-2.fc23.x86_64.rpm 3-latestpkg/example-debuginfo-1.0.3-2.fc23.x86_64.rpm | wc -l` == 3 ]] > rm -r $testrepo/3-latestpkg > createrepo_c $testrepo Directory walk started Directory walk done - 6 packages Temporary output repo path: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/.repodata/ Preparing sqlite DBs Pool started (with 5 workers) Pool finished Removing obsoleted packages... Checking '/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test' repo for removal candidates older than 0 days Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False --latest-limit=1 Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False Using repo ID builddir_build_BUILD_prunerepo_1_21_tests_base_repo_test => /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test Checking age of the 'example-1.0.1-1.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Checking age of the 'example-debuginfo-1.0.1-1.fc23.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm Command error output: warning: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID 3a1ce3e4: NOKEY Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-debuginfo-1.0.1-1.fc23.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/base/repo-test/0-oldestbuild/example-1.0.1-1.fc23.src.rpm Recreating repository... Executing: /usr/bin/createrepo_c --database --update --local-sqlite --cachedir /tmp/ --workers 8 . > [[ `ls 2-secondlatestpkg/example-1.0.2-2.fc23.src.rpm 2-secondlatestpkg/example-1.0.2-2.fc23.x86_64.rpm 2-secondlatestpkg/example-debuginfo-1.0.2-2.fc23.x86_64.rpm | wc -l` == 3 ]] success. ============================ test --cleancopr --days ============================ rm: cannot remove '/builddir/build/BUILD/prunerepo-1.21/tests/days4cleancopr/repo-test': No such file or directory Removing obsoleted packages... Checking '/builddir/build/BUILD/prunerepo-1.21/tests/days4cleancopr/repo-test' repo for removal candidates older than 3 days Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/days4cleancopr/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False --latest-limit=1 No outdated RPMs for removal. This feature is deprecated and will be removed in a future release. Please, use a custom solution instead. Cleaning COPR repository... > ls -d 1-norpmsinside 1-norpmsinside Removing obsoleted packages... Checking '/builddir/build/BUILD/prunerepo-1.21/tests/days4cleancopr/repo-test' repo for removal candidates older than 1 days Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/days4cleancopr/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False --latest-limit=1 No outdated RPMs for removal. This feature is deprecated and will be removed in a future release. Please, use a custom solution instead. Cleaning COPR repository... Removing: /builddir/build/BUILD/prunerepo-1.21/tests/days4cleancopr/repo-test/1-norpmsinside Removing: /builddir/build/BUILD/prunerepo-1.21/tests/days4cleancopr/repo-test/build-1.log > ls -d 1-norpmsinside ls: cannot access '1-norpmsinside': No such file or directory success. ============================ test --cleancopr --days ============================ rm: cannot remove '/builddir/build/BUILD/prunerepo-1.21/tests/keep-srpm-for-rpm/repo-test': No such file or directory > ls subdir1/dummy-pkg-blah-1-1.fc34.x86_64.rpm subdir1/dummy-pkg-blah-1-1.fc34.x86_64.rpm > ls subdir1/dummy-pkg-1-1.fc34.src.rpm subdir1/dummy-pkg-1-1.fc34.src.rpm > ls subdir2/dummy-pkg-2-1.fc34.src.rpm subdir2/dummy-pkg-2-1.fc34.src.rpm > ls subdir2/dummy-pkg-2-1.fc34.x86_64.rpm subdir2/dummy-pkg-2-1.fc34.x86_64.rpm > ls subdir1/dummy-pkg-1-1.fc34.x86_64.rpm subdir1/dummy-pkg-1-1.fc34.x86_64.rpm Removing obsoleted packages... Checking '/builddir/build/BUILD/prunerepo-1.21/tests/keep-srpm-for-rpm/repo-test' repo for removal candidates older than 0 days Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/keep-srpm-for-rpm/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False --latest-limit=1 Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/keep-srpm-for-rpm/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False Using repo ID builddir_build_BUILD_prunerepo_1_21_tests_keep_srpm_for_rpm_repo_test => /builddir/build/BUILD/prunerepo-1.21/tests/keep-srpm-for-rpm/repo-test Checking age of the 'dummy-pkg-1-1.fc34.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/keep-srpm-for-rpm/repo-test/subdir1/dummy-pkg-1-1.fc34.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/keep-srpm-for-rpm/repo-test/subdir1/dummy-pkg-1-1.fc34.x86_64.rpm Recreating repository... Executing: /usr/bin/createrepo_c --database --update --local-sqlite --cachedir /tmp/ --workers 8 . > ls subdir1/dummy-pkg-blah-1-1.fc34.x86_64.rpm subdir1/dummy-pkg-blah-1-1.fc34.x86_64.rpm > ls subdir1/dummy-pkg-1-1.fc34.src.rpm subdir1/dummy-pkg-1-1.fc34.src.rpm > ls subdir2/dummy-pkg-2-1.fc34.src.rpm subdir2/dummy-pkg-2-1.fc34.src.rpm > ls subdir2/dummy-pkg-2-1.fc34.x86_64.rpm subdir2/dummy-pkg-2-1.fc34.x86_64.rpm > ls subdir1/dummy-pkg-1-1.fc34.x86_64.rpm ls: cannot access 'subdir1/dummy-pkg-1-1.fc34.x86_64.rpm': No such file or directory Directory walk started Directory walk done - 6 packages Temporary output repo path: ./.repodata/ Preparing sqlite DBs Pool started (with 5 workers) Pool finished > ls subdir2/dummy-pkg-2-1.fc34.src.rpm subdir2/dummy-pkg-2-1.fc34.src.rpm > ls subdir2/dummy-pkg-2-1.fc34.x86_64.rpm subdir2/dummy-pkg-2-1.fc34.x86_64.rpm > ls subdir2/dummy-pkg-blah-2-1.fc34.x86_64.rpm subdir2/dummy-pkg-blah-2-1.fc34.x86_64.rpm > ls subdir1/dummy-pkg-1-1.fc34.src.rpm subdir1/dummy-pkg-1-1.fc34.src.rpm > ls subdir1/dummy-pkg-1-1.fc34.x86_64.rpm subdir1/dummy-pkg-1-1.fc34.x86_64.rpm > ls subdir1/dummy-pkg-blah-1-1.fc34.x86_64.rpm subdir1/dummy-pkg-blah-1-1.fc34.x86_64.rpm Removing obsoleted packages... Checking '/builddir/build/BUILD/prunerepo-1.21/tests/keep-srpm-for-rpm/repo-test' repo for removal candidates older than 0 days Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/keep-srpm-for-rpm/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False --latest-limit=1 Executing: dnf repoquery --repofrompath=prunerepo_query,/builddir/build/BUILD/prunerepo-1.21/tests/keep-srpm-for-rpm/repo-test --repo=prunerepo_query --refresh --queryformat=%{location} --quiet --setopt=skip_if_unavailable=False Using repo ID builddir_build_BUILD_prunerepo_1_21_tests_keep_srpm_for_rpm_repo_test => /builddir/build/BUILD/prunerepo-1.21/tests/keep-srpm-for-rpm/repo-test Checking age of the 'dummy-pkg-1-1.fc34.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/keep-srpm-for-rpm/repo-test/subdir1/dummy-pkg-1-1.fc34.x86_64.rpm Checking age of the 'dummy-pkg-blah-1-1.fc34.x86_64.rpm' file Executing: /usr/bin/rpm -qp --queryformat %{BUILDTIME} /builddir/build/BUILD/prunerepo-1.21/tests/keep-srpm-for-rpm/repo-test/subdir1/dummy-pkg-blah-1-1.fc34.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/keep-srpm-for-rpm/repo-test/subdir1/dummy-pkg-1-1.fc34.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/keep-srpm-for-rpm/repo-test/subdir1/dummy-pkg-blah-1-1.fc34.x86_64.rpm Removing: /builddir/build/BUILD/prunerepo-1.21/tests/keep-srpm-for-rpm/repo-test/subdir1/dummy-pkg-1-1.fc34.src.rpm Recreating repository... Executing: /usr/bin/createrepo_c --database --update --local-sqlite --cachedir /tmp/ --workers 8 . > ls subdir2/dummy-pkg-2-1.fc34.src.rpm subdir2/dummy-pkg-2-1.fc34.src.rpm > ls subdir2/dummy-pkg-2-1.fc34.x86_64.rpm subdir2/dummy-pkg-2-1.fc34.x86_64.rpm > ls subdir2/dummy-pkg-blah-2-1.fc34.x86_64.rpm subdir2/dummy-pkg-blah-2-1.fc34.x86_64.rpm > ls subdir1/dummy-pkg-1-1.fc34.src.rpm ls: cannot access 'subdir1/dummy-pkg-1-1.fc34.src.rpm': No such file or directory > ls subdir1/dummy-pkg-1-1.fc34.x86_64.rpm ls: cannot access 'subdir1/dummy-pkg-1-1.fc34.x86_64.rpm': No such file or directory > ls subdir1/dummy-pkg-blah-1-1.fc34.x86_64.rpm ls: cannot access 'subdir1/dummy-pkg-blah-1-1.fc34.x86_64.rpm': No such file or directory success. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: prunerepo-1.21-6.fc38.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.O23s8T + umask 022 + cd /builddir/build/BUILD + cd prunerepo-1.21 + LICENSEDIR=/builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64/usr/share/licenses/prunerepo + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64/usr/share/licenses/prunerepo + cp -pr LICENSE /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64/usr/share/licenses/prunerepo + RPM_EC=0 ++ jobs -p + exit 0 Provides: prunerepo = 1.21-6.fc38 python3.11dist(prunerepo) = 1.21 python3dist(prunerepo) = 1.21 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 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64 Wrote: /builddir/build/RPMS/prunerepo-1.21-6.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.IeMKAJ + umask 022 + cd /builddir/build/BUILD + cd prunerepo-1.21 + /usr/bin/rm -rf /builddir/build/BUILDROOT/prunerepo-1.21-6.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.kka20t + umask 022 + cd /builddir/build/BUILD + rm -rf prunerepo-1.21 prunerepo-1.21.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0