Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/fedrq.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-542360-25723/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/fedrq.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1680912000 Wrote: /builddir/build/SRPMS/fedrq-0.6.0-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target noarch --nodeps /builddir/build/SPECS/fedrq.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-542360-25723/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target noarch --nodeps /builddir/build/SPECS/fedrq.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1680912000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CtPSYF + umask 022 + cd /builddir/build/BUILD + /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/~gotmax23.pgp --signature=/builddir/build/SOURCES/fedrq-0.6.0.tar.gz.asc --data=/builddir/build/SOURCES/fedrq-0.6.0.tar.gz gpgv: Signature made Sat Apr 8 05:02:18 2023 EDT gpgv: using RSA key F57C76E5A238FE0A628E2ECEF79E4E25E8C661F8 gpgv: issuer "maxwell@gtmx.me" gpgv: Good signature from "Maxwell G " gpgv: aka "Maxwell G (Communication) " + cd /builddir/build/BUILD + rm -rf fedrq-0.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fedrq-0.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd fedrq-0.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.8druwU + umask 022 + cd /builddir/build/BUILD + cd fedrq-0.6.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/fedrq-0.6.0/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/fedrq-0.6.0/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/fedrq-0.6.0/pyproject-wheeldir -x test Handling flit_core >=3.7,<4 from build-system.requires Requirement not satisfied: flit_core >=3.7,<4 Exiting dependency generation pass: build backend + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/fedrq-0.6.0-1.fc38.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target noarch --nodeps /builddir/build/SPECS/fedrq.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-542360-25723/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target noarch --nodeps /builddir/build/SPECS/fedrq.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1680912000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.H6FjGU + umask 022 + cd /builddir/build/BUILD + /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/~gotmax23.pgp --signature=/builddir/build/SOURCES/fedrq-0.6.0.tar.gz.asc --data=/builddir/build/SOURCES/fedrq-0.6.0.tar.gz gpgv: Signature made Sat Apr 8 05:02:18 2023 EDT gpgv: using RSA key F57C76E5A238FE0A628E2ECEF79E4E25E8C661F8 gpgv: issuer "maxwell@gtmx.me" gpgv: Good signature from "Maxwell G " gpgv: aka "Maxwell G (Communication) " + cd /builddir/build/BUILD + rm -rf fedrq-0.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fedrq-0.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd fedrq-0.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.iDIHL2 + umask 022 + cd /builddir/build/BUILD + cd fedrq-0.6.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/fedrq-0.6.0/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/fedrq-0.6.0/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/fedrq-0.6.0/pyproject-wheeldir -x test Handling flit_core >=3.7,<4 from build-system.requires Requirement satisfied: flit_core >=3.7,<4 (installed: flit_core 3.8.0) Handling pydantic ~= 1.0 from hook generated metadata: Requires-Dist Requirement not satisfied: pydantic ~= 1.0 Handling tomli; python_version<'3.11' from hook generated metadata: Requires-Dist Ignoring alien requirement: tomli; python_version<'3.11' Handling requests from hook generated metadata: Requires-Dist Requirement not satisfied: requests Handling fedrq[test] ; extra == "dev" from hook generated metadata: Requires-Dist Ignoring alien requirement: fedrq[test] ; extra == "dev" Handling fedrq[lint] ; extra == "dev" from hook generated metadata: Requires-Dist Ignoring alien requirement: fedrq[lint] ; extra == "dev" Handling mkdocs ; extra == "doc" from hook generated metadata: Requires-Dist Ignoring alien requirement: mkdocs ; extra == "doc" Handling mkdocs-material ; extra == "doc" from hook generated metadata: Requires-Dist Ignoring alien requirement: mkdocs-material ; extra == "doc" Handling mkdocstrings[python]>=0.18 ; extra == "doc" from hook generated metadata: Requires-Dist Ignoring alien requirement: mkdocstrings[python]>=0.18 ; extra == "doc" Handling mkdocs-exclude ; extra == "doc" from hook generated metadata: Requires-Dist Ignoring alien requirement: mkdocs-exclude ; extra == "doc" Handling black ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: black ; extra == "lint" Handling isort ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: isort ; extra == "lint" Handling mypy ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: mypy ; extra == "lint" Handling reuse ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: reuse ; extra == "lint" Handling ruff ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: ruff ; extra == "lint" Handling tomli-w ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: tomli-w ; extra == "lint" Handling types-requests ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: types-requests ; extra == "lint" Handling argcomplete ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: argcomplete ; extra == "lint" Handling typing_extensions ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: typing_extensions ; extra == "lint" Handling pytest ; extra == "test" from hook generated metadata: Requires-Dist Requirement not satisfied: pytest ; extra == "test" Handling pytest-mock ; extra == "test" from hook generated metadata: Requires-Dist Requirement not satisfied: pytest-mock ; extra == "test" Handling tomli-w ; extra == "test" from hook generated metadata: Requires-Dist Requirement not satisfied: tomli-w ; extra == "test" + rm -rfv fedrq-0.6.0.dist-info/ removed 'fedrq-0.6.0.dist-info/entry_points.txt' removed 'fedrq-0.6.0.dist-info/WHEEL' removed 'fedrq-0.6.0.dist-info/METADATA' removed directory 'fedrq-0.6.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/fedrq-0.6.0-1.fc38.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target noarch --nodeps /builddir/build/SPECS/fedrq.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-542360-25723/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target noarch --nodeps /builddir/build/SPECS/fedrq.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1680912000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hviDXG + umask 022 + cd /builddir/build/BUILD + /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/~gotmax23.pgp --signature=/builddir/build/SOURCES/fedrq-0.6.0.tar.gz.asc --data=/builddir/build/SOURCES/fedrq-0.6.0.tar.gz gpgv: Signature made Sat Apr 8 05:02:18 2023 EDT gpgv: using RSA key F57C76E5A238FE0A628E2ECEF79E4E25E8C661F8 gpgv: issuer "maxwell@gtmx.me" gpgv: Good signature from "Maxwell G " gpgv: aka "Maxwell G (Communication) " + cd /builddir/build/BUILD + rm -rf fedrq-0.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/fedrq-0.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd fedrq-0.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.drlJi2 + umask 022 + cd /builddir/build/BUILD + cd fedrq-0.6.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/fedrq-0.6.0/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/fedrq-0.6.0/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/fedrq-0.6.0/pyproject-wheeldir -x test Handling flit_core >=3.7,<4 from build-system.requires Requirement satisfied: flit_core >=3.7,<4 (installed: flit_core 3.8.0) Handling pydantic ~= 1.0 from hook generated metadata: Requires-Dist Requirement satisfied: pydantic ~= 1.0 (installed: pydantic 1.10.2) Handling tomli; python_version<'3.11' from hook generated metadata: Requires-Dist Ignoring alien requirement: tomli; python_version<'3.11' Handling requests from hook generated metadata: Requires-Dist Requirement satisfied: requests (installed: requests 2.28.2) Handling fedrq[test] ; extra == "dev" from hook generated metadata: Requires-Dist Ignoring alien requirement: fedrq[test] ; extra == "dev" Handling fedrq[lint] ; extra == "dev" from hook generated metadata: Requires-Dist Ignoring alien requirement: fedrq[lint] ; extra == "dev" Handling mkdocs ; extra == "doc" from hook generated metadata: Requires-Dist Ignoring alien requirement: mkdocs ; extra == "doc" Handling mkdocs-material ; extra == "doc" from hook generated metadata: Requires-Dist Ignoring alien requirement: mkdocs-material ; extra == "doc" Handling mkdocstrings[python]>=0.18 ; extra == "doc" from hook generated metadata: Requires-Dist Ignoring alien requirement: mkdocstrings[python]>=0.18 ; extra == "doc" Handling mkdocs-exclude ; extra == "doc" from hook generated metadata: Requires-Dist Ignoring alien requirement: mkdocs-exclude ; extra == "doc" Handling black ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: black ; extra == "lint" Handling isort ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: isort ; extra == "lint" Handling mypy ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: mypy ; extra == "lint" Handling reuse ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: reuse ; extra == "lint" Handling ruff ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: ruff ; extra == "lint" Handling tomli-w ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: tomli-w ; extra == "lint" Handling types-requests ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: types-requests ; extra == "lint" Handling argcomplete ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: argcomplete ; extra == "lint" Handling typing_extensions ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: typing_extensions ; extra == "lint" Handling pytest ; extra == "test" from hook generated metadata: Requires-Dist Requirement satisfied: pytest ; extra == "test" (installed: pytest 7.2.2) Handling pytest-mock ; extra == "test" from hook generated metadata: Requires-Dist Requirement satisfied: pytest-mock ; extra == "test" (installed: pytest-mock 3.10.0) Handling tomli-w ; extra == "test" from hook generated metadata: Requires-Dist Requirement satisfied: tomli-w ; extra == "test" (installed: tomli-w 1.0.0) + rm -rfv fedrq-0.6.0.dist-info/ removed 'fedrq-0.6.0.dist-info/entry_points.txt' removed 'fedrq-0.6.0.dist-info/WHEEL' removed 'fedrq-0.6.0.dist-info/METADATA' removed directory 'fedrq-0.6.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/fedrq-0.6.0-1.fc38.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target noarch --nodeps /builddir/build/SPECS/fedrq.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-542360-25723/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target noarch --nodeps /builddir/build/SPECS/fedrq.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1680912000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.9RshLP + umask 022 + cd /builddir/build/BUILD + cd fedrq-0.6.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + '[' -f pyproject.toml ']' + echo '(python3dist(toml) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/fedrq-0.6.0/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/fedrq-0.6.0/.pyproject-builddir + RPM_TOXENV=py311 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/fedrq-0.6.0/pyproject-wheeldir -x test Handling flit_core >=3.7,<4 from build-system.requires Requirement satisfied: flit_core >=3.7,<4 (installed: flit_core 3.8.0) Handling pydantic ~= 1.0 from hook generated metadata: Requires-Dist Requirement satisfied: pydantic ~= 1.0 (installed: pydantic 1.10.2) Handling tomli; python_version<'3.11' from hook generated metadata: Requires-Dist Ignoring alien requirement: tomli; python_version<'3.11' Handling requests from hook generated metadata: Requires-Dist Requirement satisfied: requests (installed: requests 2.28.2) Handling fedrq[test] ; extra == "dev" from hook generated metadata: Requires-Dist Ignoring alien requirement: fedrq[test] ; extra == "dev" Handling fedrq[lint] ; extra == "dev" from hook generated metadata: Requires-Dist Ignoring alien requirement: fedrq[lint] ; extra == "dev" Handling mkdocs ; extra == "doc" from hook generated metadata: Requires-Dist Ignoring alien requirement: mkdocs ; extra == "doc" Handling mkdocs-material ; extra == "doc" from hook generated metadata: Requires-Dist Ignoring alien requirement: mkdocs-material ; extra == "doc" Handling mkdocstrings[python]>=0.18 ; extra == "doc" from hook generated metadata: Requires-Dist Ignoring alien requirement: mkdocstrings[python]>=0.18 ; extra == "doc" Handling mkdocs-exclude ; extra == "doc" from hook generated metadata: Requires-Dist Ignoring alien requirement: mkdocs-exclude ; extra == "doc" Handling black ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: black ; extra == "lint" Handling isort ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: isort ; extra == "lint" Handling mypy ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: mypy ; extra == "lint" Handling reuse ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: reuse ; extra == "lint" Handling ruff ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: ruff ; extra == "lint" Handling tomli-w ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: tomli-w ; extra == "lint" Handling types-requests ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: types-requests ; extra == "lint" Handling argcomplete ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: argcomplete ; extra == "lint" Handling typing_extensions ; extra == "lint" from hook generated metadata: Requires-Dist Ignoring alien requirement: typing_extensions ; extra == "lint" Handling pytest ; extra == "test" from hook generated metadata: Requires-Dist Requirement satisfied: pytest ; extra == "test" (installed: pytest 7.2.2) Handling pytest-mock ; extra == "test" from hook generated metadata: Requires-Dist Requirement satisfied: pytest-mock ; extra == "test" (installed: pytest-mock 3.10.0) Handling tomli-w ; extra == "test" from hook generated metadata: Requires-Dist Requirement satisfied: tomli-w ; extra == "test" (installed: tomli-w 1.0.0) + rm -rfv fedrq-0.6.0.dist-info/ removed 'fedrq-0.6.0.dist-info/entry_points.txt' removed 'fedrq-0.6.0.dist-info/WHEEL' removed 'fedrq-0.6.0.dist-info/METADATA' removed directory 'fedrq-0.6.0.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NkktYw + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd fedrq-0.6.0 + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP contrib/api_examples/a_noarch_bash.py contrib/api_examples/ftbfs_retirements.py contrib/api_examples/a_noarch_bash.py: updating contrib/api_examples/ftbfs_retirements.py: updating + mkdir -p /builddir/build/BUILD/fedrq-0.6.0/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/fedrq-0.6.0/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/fedrq-0.6.0/pyproject-wheeldir Processing /builddir/build/BUILD/fedrq-0.6.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: fedrq Building wheel for fedrq (pyproject.toml): started Running command Building wheel for fedrq (pyproject.toml) Building wheel for fedrq (pyproject.toml): finished with status 'done' Created wheel for fedrq: filename=fedrq-0.6.0-py3-none-any.whl size=63439 sha256=14d456c2fe6d8767e4cb76085d7daa67d36f51ca215c4ff9fc13029ee49ef1df Stored in directory: /builddir/.cache/pip/wheels/40/24/38/a59817529a5dad0e8cf81e7569a7cc927ef154dd2f46d9cbed Successfully built fedrq + scdoc + scdoc + register-python-argcomplete --shell bash fedrq + register-python-argcomplete --shell fish fedrq + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.g4PqaD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch ++ dirname /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd fedrq-0.6.0 ++ xargs basename --multiple ++ ls /builddir/build/BUILD/fedrq-0.6.0/pyproject-wheeldir/fedrq-0.6.0-py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=fedrq==0.6.0 + TMPDIR=/builddir/build/BUILD/fedrq-0.6.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/fedrq-0.6.0/pyproject-wheeldir fedrq==0.6.0 Using pip 22.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: /builddir/build/BUILD/fedrq-0.6.0/pyproject-wheeldir Processing ./pyproject-wheeldir/fedrq-0.6.0-py3-none-any.whl Installing collected packages: fedrq Creating /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/bin/fedrq to 755 Successfully installed fedrq-0.6.0 + '[' -d /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/bin/fedrq /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/bin/fedrq: updating + rm -rfv /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/fedrq-0.6.0-1.fc38.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages ']' + site_dirs+=("/usr/lib/python3.11/site-packages") + '[' /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib64/python3.11/site-packages '!=' /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages ']' + '[' -d /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib64/python3.11/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.11/site-packages/fedrq-0.6.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq-0.6.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch --record /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq-0.6.0.dist-info/RECORD --output /builddir/build/BUILD/fedrq-0.6.0-1.fc38.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq-0.6.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq-0.6.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq-0.6.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq-0.6.0.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/fedrq-0.6.0-1.fc38.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/fedrq-0.6.0-1.fc38.noarch-pyproject-files --output-modules /builddir/build/BUILD/fedrq-0.6.0-1.fc38.noarch-pyproject-modules --buildroot /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch --sitelib /usr/lib/python3.11/site-packages --sitearch /usr/lib64/python3.11/site-packages --python-version 3.11 --pyproject-record /builddir/build/BUILD/fedrq-0.6.0-1.fc38.noarch-pyproject-record --prefix /usr fedrq + install -Dpm 0644 fedrq.1 -t /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/share/man/man1/ + install -Dpm 0644 fedrq.5 -t /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/share/man/man5/ + install -Dpm 0644 fedrq.bash /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/share/bash-completion/completions/fedrq + install -Dpm 0644 fedrq.fish /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/share/fish/vendor_completions.d/fedrq.fish + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.6.0-1.fc38 --unique-debug-suffix -0.6.0-1.fc38.noarch --unique-debug-src-base fedrq-0.6.0-1.fc38.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/fedrq-0.6.0 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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 Bytecompiling .py files below /builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.EDNsZF + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd fedrq-0.6.0 + FEDRQ_BACKEND=dnf + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/fedrq-0.6.0/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=8 + /usr/bin/pytest -v -m 'not no_rpm_mock' ============================= test session starts ============================== platform linux -- Python 3.11.2, pytest-7.2.2, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/fedrq-0.6.0, configfile: pyproject.toml plugins: mock-3.10.0 collecting ... collected 155 items / 18 deselected / 137 selected tests/unit/test_checkconfig.py::test_checkconfig_basic PASSED [ 0%] tests/unit/test_checkconfig.py::test_checkconfig_dump PASSED [ 1%] tests/unit/test_checkconfig.py::test_checkconfig_dump_error PASSED [ 2%] tests/unit/test_checkconfig.py::test_checkconfig_default_branch_error PASSED [ 2%] tests/unit/test_command.py::test_smartcache_used[pkgs] PASSED [ 3%] tests/unit/test_command.py::test_smartcache_used[whatrequires] PASSED [ 4%] tests/unit/test_command.py::test_smartcache_used[subpkgs] PASSED [ 5%] tests/unit/test_command.py::test_smartcache_not_used[pkgs] PASSED [ 5%] tests/unit/test_command.py::test_smartcache_not_used[whatrequires] PASSED [ 6%] tests/unit/test_command.py::test_smartcache_not_used[subpkgs] PASSED [ 7%] tests/unit/test_command.py::test_smartcache_config[args0-True-] PASSED [ 8%] tests/unit/test_command.py::test_smartcache_config[args1-True-] PASSED [ 8%] tests/unit/test_command.py::test_smartcache_config[args2-False-] PASSED [ 9%] tests/unit/test_command.py::test_smartcache_config[args3-False-] PASSED [ 10%] tests/unit/test_command.py::test_smartcache_config[args4-False-] PASSED [ 10%] tests/unit/test_command.py::test_smartcache_config[args5-False-] PASSED [ 11%] tests/unit/test_command.py::test_smartcache_config[args6-True-] PASSED [ 12%] tests/unit/test_command.py::test_smartcache_config[args7-False-] PASSED [ 13%] tests/unit/test_command.py::test_nonexistant_formatter[pkgs] PASSED [ 13%] tests/unit/test_command.py::test_nonexistant_formatter[whatrequires] PASSED [ 14%] tests/unit/test_command.py::test_nonexistant_formatter[subpkgs] PASSED [ 15%] tests/unit/test_command.py::test_formatter_0_args[json-pkgs] PASSED [ 16%] tests/unit/test_command.py::test_formatter_0_args[json-whatrequires] PASSED [ 16%] tests/unit/test_command.py::test_formatter_0_args[json-subpkgs] PASSED [ 17%] tests/unit/test_command.py::test_formatter_0_args[attr-pkgs] PASSED [ 18%] tests/unit/test_command.py::test_formatter_0_args[attr-whatrequires] PASSED [ 18%] tests/unit/test_command.py::test_formatter_0_args[attr-subpkgs] PASSED [ 19%] tests/unit/test_command.py::test_json_formatter_invalid_args[pkgs] PASSED [ 20%] tests/unit/test_command.py::test_json_formatter_invalid_args[whatrequires] PASSED [ 21%] tests/unit/test_command.py::test_json_formatter_invalid_args[subpkgs] PASSED [ 21%] tests/unit/test_formatters.py::test_plain_formatter PASSED [ 22%] tests/unit/test_formatters.py::test_plainwithrepo_formatter PASSED [ 23%] tests/unit/test_formatters.py::test_name_formatter PASSED [ 24%] tests/unit/test_formatters.py::test_evr_formatter PASSED [ 24%] tests/unit/test_formatters.py::test_nv_formatter PASSED [ 25%] tests/unit/test_formatters.py::test_source_formatter PASSED [ 26%] tests/unit/test_formatters.py::test_version_formatter[None-expected0] PASSED [ 27%] tests/unit/test_formatters.py::test_version_formatter[1-expected1] PASSED [ 27%] tests/unit/test_formatters.py::test_epoch_formatter PASSED [ 28%] tests/unit/test_formatters.py::test_requires_formatter PASSED [ 29%] tests/unit/test_formatters.py::test_repo_formatter PASSED [ 29%] tests/unit/test_formatters.py::test_repo_license_formatter PASSED [ 30%] tests/unit/test_formatters.py::test_debug_name_formatter PASSED [ 31%] tests/unit/test_formatters.py::test_repo_files_formatter PASSED [ 32%] tests/unit/test_formatters.py::test_formatter_sanity[name] PASSED [ 32%] tests/unit/test_formatters.py::test_formatter_sanity[arch] PASSED [ 33%] tests/unit/test_formatters.py::test_formatter_sanity[a] PASSED [ 34%] tests/unit/test_formatters.py::test_formatter_sanity[epoch] PASSED [ 35%] tests/unit/test_formatters.py::test_formatter_sanity[e] PASSED [ 35%] tests/unit/test_formatters.py::test_formatter_sanity[version] PASSED [ 36%] tests/unit/test_formatters.py::test_formatter_sanity[v] PASSED [ 37%] tests/unit/test_formatters.py::test_formatter_sanity[release] PASSED [ 37%] tests/unit/test_formatters.py::test_formatter_sanity[r] PASSED [ 38%] tests/unit/test_formatters.py::test_formatter_sanity[from_repo] PASSED [ 39%] tests/unit/test_formatters.py::test_formatter_sanity[evr] PASSED [ 40%] tests/unit/test_formatters.py::test_formatter_sanity[debug_name] PASSED [ 40%] tests/unit/test_formatters.py::test_formatter_sanity[source_name] PASSED [ 41%] tests/unit/test_formatters.py::test_formatter_sanity[source_debug_name] PASSED [ 42%] tests/unit/test_formatters.py::test_formatter_sanity[installtime] PASSED [ 43%] tests/unit/test_formatters.py::test_formatter_sanity[buildtime] PASSED [ 43%] tests/unit/test_formatters.py::test_formatter_sanity[size] PASSED [ 44%] tests/unit/test_formatters.py::test_formatter_sanity[downloadsize] PASSED [ 45%] tests/unit/test_formatters.py::test_formatter_sanity[installsize] PASSED [ 45%] tests/unit/test_formatters.py::test_formatter_sanity[provides] PASSED [ 46%] tests/unit/test_formatters.py::test_formatter_sanity[requires] PASSED [ 47%] tests/unit/test_formatters.py::test_formatter_sanity[recommends] PASSED [ 48%] tests/unit/test_formatters.py::test_formatter_sanity[suggests] PASSED [ 48%] tests/unit/test_formatters.py::test_formatter_sanity[supplements] PASSED [ 49%] tests/unit/test_formatters.py::test_formatter_sanity[enhances] PASSED [ 50%] tests/unit/test_formatters.py::test_formatter_sanity[obsoletes] PASSED [ 51%] tests/unit/test_formatters.py::test_formatter_sanity[conflicts] PASSED [ 51%] tests/unit/test_formatters.py::test_formatter_sanity[sourcerpm] PASSED [ 52%] tests/unit/test_formatters.py::test_formatter_sanity[description] PASSED [ 53%] tests/unit/test_formatters.py::test_formatter_sanity[summary] PASSED [ 54%] tests/unit/test_formatters.py::test_formatter_sanity[license] PASSED [ 54%] tests/unit/test_formatters.py::test_formatter_sanity[url] PASSED [ 55%] tests/unit/test_formatters.py::test_formatter_sanity[reason] PASSED [ 56%] tests/unit/test_formatters.py::test_formatter_sanity[files] PASSED [ 56%] tests/unit/test_formatters.py::test_formatter_sanity[reponame] PASSED [ 57%] tests/unit/test_formatters.py::test_formatter_sanity[repoid] PASSED [ 58%] tests/unit/test_formatters.py::test_formatter_sanity[vendor] PASSED [ 59%] tests/unit/test_formatters.py::test_formatter_sanity[packager] PASSED [ 59%] tests/unit/test_formatters.py::test_formatter_sanity[location] PASSED [ 60%] tests/unit/test_formatters.py::test_json_formatter PASSED [ 61%] tests/unit/test_pkgs.py::test_disablerepo_wildcard PASSED [ 62%] tests/unit/test_pkgs.py::test_repo_by_real_name[args0] PASSED [ 62%] tests/unit/test_pkgs.py::test_repo_by_real_name[args1] PASSED [ 63%] tests/unit/test_pkgs.py::test_repo_by_real_name[args2] PASSED [ 64%] tests/unit/test_pkgs.py::test_repo_by_real_name[args3] PASSED [ 64%] tests/unit/test_release.py::test_copr_repo[gotmax23/fedrq] PASSED [ 65%] tests/unit/test_release.py::test_copr_repo[gotmax23/fedrq@copr.fedoraproject.org/] PASSED [ 66%] tests/unit/test_release.py::test_copr_repo[gotmax23/fedrq@https://copr.fedoraproject.org/] PASSED [ 67%] tests/unit/test_release.py::test_copr_repo[gotmax23/fedrq@copr.fedoraproject.org] PASSED [ 67%] tests/unit/test_release.py::test_copr_repo[gotmax23/fedrq@https://copr.fedoraproject.org] PASSED [ 68%] tests/unit/test_release.py::test_copr_repo_group[@python/python3.12] PASSED [ 69%] tests/unit/test_release.py::test_copr_repo_group[@python/python3.12@copr.fedoraproject.org/] PASSED [ 70%] tests/unit/test_release.py::test_copr_repo_group[@python/python3.12@https://copr.fedoraproject.org/] PASSED [ 70%] tests/unit/test_release.py::test_copr_repo_group[@python/python3.12@copr.fedoraproject.org] PASSED [ 71%] tests/unit/test_release.py::test_copr_repo_group[@python/python3.12@https://copr.fedoraproject.org] PASSED [ 72%] tests/unit/test_release.py::test_copr_custom PASSED [ 72%] tests/unit/test_repo.py::test_repo_package_count PASSED [ 73%] tests/unit/test_repoquery.py::test_make_base_rawhide_repos PASSED [ 74%] tests/unit/test_repoquery.py::test_package_protocol PASSED [ 75%] tests/unit/test_repoquery.py::test_query_protocol PASSED [ 75%] tests/unit/test_repoquery.py::test_baseurl_repog PASSED [ 76%] tests/unit/test_subbpkgs.py::test_subpkgs_basic PASSED [ 77%] tests/unit/test_subbpkgs.py::test_subpkgs_specific_version PASSED [ 78%] tests/unit/test_subbpkgs.py::test_subpkg_latest PASSED [ 78%] tests/unit/test_subbpkgs.py::test_subpkg_all[largs0] PASSED [ 79%] tests/unit/test_subbpkgs.py::test_subpkg_all[largs1] PASSED [ 80%] tests/unit/test_subbpkgs.py::test_subpkg_noarch PASSED [ 81%] tests/unit/test_subbpkgs.py::test_subpkg_arched PASSED [ 81%] tests/unit/test_subbpkgs.py::test_subpkg_match PASSED [ 82%] tests/unit/test_whatrequires.py::test_whatrequires_exact PASSED [ 83%] tests/unit/test_whatrequires.py::test_whatrequires_name PASSED [ 83%] tests/unit/test_whatrequires.py::test_whatrequires_resolve_b[args0] PASSED [ 84%] tests/unit/test_whatrequires.py::test_whatrequires_resolve_b[args1] PASSED [ 85%] tests/unit/test_whatrequires.py::test_whatrequires_resolve_b[args2] PASSED [ 86%] tests/unit/test_whatrequires.py::test_whatrequires_resolve_b[args3] PASSED [ 86%] tests/unit/test_whatrequires.py::test_whatrequires_resolve_b[args4] PASSED [ 87%] tests/unit/test_whatrequires.py::test_whatrequires_resolve_a[args0] PASSED [ 88%] tests/unit/test_whatrequires.py::test_whatrequires_resolve_a[args1] PASSED [ 89%] tests/unit/test_whatrequires.py::test_whatrequires_resolve_a[args2] PASSED [ 89%] tests/unit/test_whatrequires.py::test_whatrequires_resolve_a[args3] PASSED [ 90%] tests/unit/test_whatrequires.py::test_whatrequires_resolve_a[args4] PASSED [ 91%] tests/unit/test_whatrequires.py::test_whatrequires_versioned_resolve PASSED [ 91%] tests/unit/test_whatrequires.py::test_exact_no_result[args0-True] PASSED [ 92%] tests/unit/test_whatrequires.py::test_exact_no_result[args1-True] PASSED [ 93%] tests/unit/test_whatrequires.py::test_exact_no_result[args2-True] PASSED [ 94%] tests/unit/test_whatrequires.py::test_exact_no_result[args3-True] PASSED [ 94%] tests/unit/test_whatrequires.py::test_exact_no_result[args4-False] PASSED [ 95%] tests/unit/test_whatrequires.py::test_exact_no_result[args5-False] PASSED [ 96%] tests/unit/test_whatrequires.py::test_whatrequires_breakdown PASSED [ 97%] tests/unit/test_whatrequires.py::test_whatrequires_exclude_subpackages PASSED [ 97%] tests/unit/test_whatrequires_src.py::test_whatrequires_src[args0] PASSED [ 98%] tests/unit/test_whatrequires_src.py::test_whatrequires_src[args1] PASSED [ 99%] tests/unit/test_whatrequires_src.py::test_whatrequires_src_exclude PASSED [100%] ================ 137 passed, 18 deselected in 145.86s (0:02:25) ================ + FEDRQ_BACKEND=libdnf5 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/fedrq-0.6.0/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=8 + /usr/bin/pytest -v -m 'not no_rpm_mock' ============================= test session starts ============================== platform linux -- Python 3.11.2, pytest-7.2.2, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/fedrq-0.6.0, configfile: pyproject.toml plugins: mock-3.10.0 collecting ... collected 155 items / 18 deselected / 137 selected tests/unit/test_checkconfig.py::test_checkconfig_basic PASSED [ 0%] tests/unit/test_checkconfig.py::test_checkconfig_dump PASSED [ 1%] tests/unit/test_checkconfig.py::test_checkconfig_dump_error PASSED [ 2%] tests/unit/test_checkconfig.py::test_checkconfig_default_branch_error PASSED [ 2%] tests/unit/test_command.py::test_smartcache_used[pkgs] PASSED [ 3%] tests/unit/test_command.py::test_smartcache_used[whatrequires] PASSED [ 4%] tests/unit/test_command.py::test_smartcache_used[subpkgs] PASSED [ 5%] tests/unit/test_command.py::test_smartcache_not_used[pkgs] FAILED [ 5%] tests/unit/test_command.py::test_smartcache_not_used[whatrequires] FAILED [ 6%] tests/unit/test_command.py::test_smartcache_not_used[subpkgs] FAILED [ 7%] tests/unit/test_command.py::test_smartcache_config[args0-True-] PASSED [ 8%] tests/unit/test_command.py::test_smartcache_config[args1-True-] PASSED [ 8%] tests/unit/test_command.py::test_smartcache_config[args2-False-] PASSED [ 9%] tests/unit/test_command.py::test_smartcache_config[args3-False-] FAILED [ 10%] tests/unit/test_command.py::test_smartcache_config[args4-False-] FAILED [ 10%] tests/unit/test_command.py::test_smartcache_config[args5-False-] FAILED [ 11%] tests/unit/test_command.py::test_smartcache_config[args6-True-] PASSED [ 12%] tests/unit/test_command.py::test_smartcache_config[args7-False-] PASSED [ 13%] tests/unit/test_command.py::test_nonexistant_formatter[pkgs] PASSED [ 13%] tests/unit/test_command.py::test_nonexistant_formatter[whatrequires] PASSED [ 14%] tests/unit/test_command.py::test_nonexistant_formatter[subpkgs] PASSED [ 15%] tests/unit/test_command.py::test_formatter_0_args[json-pkgs] PASSED [ 16%] tests/unit/test_command.py::test_formatter_0_args[json-whatrequires] PASSED [ 16%] tests/unit/test_command.py::test_formatter_0_args[json-subpkgs] PASSED [ 17%] tests/unit/test_command.py::test_formatter_0_args[attr-pkgs] PASSED [ 18%] tests/unit/test_command.py::test_formatter_0_args[attr-whatrequires] PASSED [ 18%] tests/unit/test_command.py::test_formatter_0_args[attr-subpkgs] PASSED [ 19%] tests/unit/test_command.py::test_json_formatter_invalid_args[pkgs] PASSED [ 20%] tests/unit/test_command.py::test_json_formatter_invalid_args[whatrequires] PASSED [ 21%] tests/unit/test_command.py::test_json_formatter_invalid_args[subpkgs] PASSED [ 21%] tests/unit/test_formatters.py::test_plain_formatter PASSED [ 22%] tests/unit/test_formatters.py::test_plainwithrepo_formatter PASSED [ 23%] tests/unit/test_formatters.py::test_name_formatter PASSED [ 24%] tests/unit/test_formatters.py::test_evr_formatter PASSED [ 24%] tests/unit/test_formatters.py::test_nv_formatter PASSED [ 25%] tests/unit/test_formatters.py::test_source_formatter PASSED [ 26%] tests/unit/test_formatters.py::test_version_formatter[None-expected0] PASSED [ 27%] tests/unit/test_formatters.py::test_version_formatter[1-expected1] PASSED [ 27%] tests/unit/test_formatters.py::test_epoch_formatter PASSED [ 28%] tests/unit/test_formatters.py::test_requires_formatter PASSED [ 29%] tests/unit/test_formatters.py::test_repo_formatter PASSED [ 29%] tests/unit/test_formatters.py::test_repo_license_formatter PASSED [ 30%] tests/unit/test_formatters.py::test_debug_name_formatter PASSED [ 31%] tests/unit/test_formatters.py::test_repo_files_formatter PASSED [ 32%] tests/unit/test_formatters.py::test_formatter_sanity[name] PASSED [ 32%] tests/unit/test_formatters.py::test_formatter_sanity[arch] PASSED [ 33%] tests/unit/test_formatters.py::test_formatter_sanity[a] PASSED [ 34%] tests/unit/test_formatters.py::test_formatter_sanity[epoch] PASSED [ 35%] tests/unit/test_formatters.py::test_formatter_sanity[e] PASSED [ 35%] tests/unit/test_formatters.py::test_formatter_sanity[version] PASSED [ 36%] tests/unit/test_formatters.py::test_formatter_sanity[v] PASSED [ 37%] tests/unit/test_formatters.py::test_formatter_sanity[release] PASSED [ 37%] tests/unit/test_formatters.py::test_formatter_sanity[r] PASSED [ 38%] tests/unit/test_formatters.py::test_formatter_sanity[from_repo] PASSED [ 39%] tests/unit/test_formatters.py::test_formatter_sanity[evr] PASSED [ 40%] tests/unit/test_formatters.py::test_formatter_sanity[debug_name] PASSED [ 40%] tests/unit/test_formatters.py::test_formatter_sanity[source_name] PASSED [ 41%] tests/unit/test_formatters.py::test_formatter_sanity[source_debug_name] PASSED [ 42%] tests/unit/test_formatters.py::test_formatter_sanity[installtime] PASSED [ 43%] tests/unit/test_formatters.py::test_formatter_sanity[buildtime] PASSED [ 43%] tests/unit/test_formatters.py::test_formatter_sanity[size] PASSED [ 44%] tests/unit/test_formatters.py::test_formatter_sanity[downloadsize] PASSED [ 45%] tests/unit/test_formatters.py::test_formatter_sanity[installsize] PASSED [ 45%] tests/unit/test_formatters.py::test_formatter_sanity[provides] PASSED [ 46%] tests/unit/test_formatters.py::test_formatter_sanity[requires] PASSED [ 47%] tests/unit/test_formatters.py::test_formatter_sanity[recommends] PASSED [ 48%] tests/unit/test_formatters.py::test_formatter_sanity[suggests] PASSED [ 48%] tests/unit/test_formatters.py::test_formatter_sanity[supplements] PASSED [ 49%] tests/unit/test_formatters.py::test_formatter_sanity[enhances] PASSED [ 50%] tests/unit/test_formatters.py::test_formatter_sanity[obsoletes] PASSED [ 51%] tests/unit/test_formatters.py::test_formatter_sanity[conflicts] PASSED [ 51%] tests/unit/test_formatters.py::test_formatter_sanity[sourcerpm] PASSED [ 52%] tests/unit/test_formatters.py::test_formatter_sanity[description] PASSED [ 53%] tests/unit/test_formatters.py::test_formatter_sanity[summary] PASSED [ 54%] tests/unit/test_formatters.py::test_formatter_sanity[license] PASSED [ 54%] tests/unit/test_formatters.py::test_formatter_sanity[url] PASSED [ 55%] tests/unit/test_formatters.py::test_formatter_sanity[reason] PASSED [ 56%] tests/unit/test_formatters.py::test_formatter_sanity[files] PASSED [ 56%] tests/unit/test_formatters.py::test_formatter_sanity[reponame] PASSED [ 57%] tests/unit/test_formatters.py::test_formatter_sanity[repoid] PASSED [ 58%] tests/unit/test_formatters.py::test_formatter_sanity[vendor] PASSED [ 59%] tests/unit/test_formatters.py::test_formatter_sanity[packager] PASSED [ 59%] tests/unit/test_formatters.py::test_formatter_sanity[location] PASSED [ 60%] tests/unit/test_formatters.py::test_json_formatter PASSED [ 61%] tests/unit/test_pkgs.py::test_disablerepo_wildcard PASSED [ 62%] tests/unit/test_pkgs.py::test_repo_by_real_name[args0] PASSED [ 62%] tests/unit/test_pkgs.py::test_repo_by_real_name[args1] PASSED [ 63%] tests/unit/test_pkgs.py::test_repo_by_real_name[args2] PASSED [ 64%] tests/unit/test_pkgs.py::test_repo_by_real_name[args3] PASSED [ 64%] tests/unit/test_release.py::test_copr_repo[gotmax23/fedrq] PASSED [ 65%] tests/unit/test_release.py::test_copr_repo[gotmax23/fedrq@copr.fedoraproject.org/] PASSED [ 66%] tests/unit/test_release.py::test_copr_repo[gotmax23/fedrq@https://copr.fedoraproject.org/] PASSED [ 67%] tests/unit/test_release.py::test_copr_repo[gotmax23/fedrq@copr.fedoraproject.org] PASSED [ 67%] tests/unit/test_release.py::test_copr_repo[gotmax23/fedrq@https://copr.fedoraproject.org] PASSED [ 68%] tests/unit/test_release.py::test_copr_repo_group[@python/python3.12] PASSED [ 69%] tests/unit/test_release.py::test_copr_repo_group[@python/python3.12@copr.fedoraproject.org/] PASSED [ 70%] tests/unit/test_release.py::test_copr_repo_group[@python/python3.12@https://copr.fedoraproject.org/] PASSED [ 70%] tests/unit/test_release.py::test_copr_repo_group[@python/python3.12@copr.fedoraproject.org] PASSED [ 71%] tests/unit/test_release.py::test_copr_repo_group[@python/python3.12@https://copr.fedoraproject.org] PASSED [ 72%] tests/unit/test_release.py::test_copr_custom PASSED [ 72%] tests/unit/test_repo.py::test_repo_package_count PASSED [ 73%] tests/unit/test_repoquery.py::test_make_base_rawhide_repos PASSED [ 74%] tests/unit/test_repoquery.py::test_package_protocol PASSED [ 75%] tests/unit/test_repoquery.py::test_query_protocol PASSED [ 75%] tests/unit/test_repoquery.py::test_baseurl_repog PASSED [ 76%] tests/unit/test_subbpkgs.py::test_subpkgs_basic PASSED [ 77%] tests/unit/test_subbpkgs.py::test_subpkgs_specific_version PASSED [ 78%] tests/unit/test_subbpkgs.py::test_subpkg_latest PASSED [ 78%] tests/unit/test_subbpkgs.py::test_subpkg_all[largs0] PASSED [ 79%] tests/unit/test_subbpkgs.py::test_subpkg_all[largs1] PASSED [ 80%] tests/unit/test_subbpkgs.py::test_subpkg_noarch PASSED [ 81%] tests/unit/test_subbpkgs.py::test_subpkg_arched PASSED [ 81%] tests/unit/test_subbpkgs.py::test_subpkg_match PASSED [ 82%] tests/unit/test_whatrequires.py::test_whatrequires_exact PASSED [ 83%] tests/unit/test_whatrequires.py::test_whatrequires_name PASSED [ 83%] tests/unit/test_whatrequires.py::test_whatrequires_resolve_b[args0] PASSED [ 84%] tests/unit/test_whatrequires.py::test_whatrequires_resolve_b[args1] PASSED [ 85%] tests/unit/test_whatrequires.py::test_whatrequires_resolve_b[args2] PASSED [ 86%] tests/unit/test_whatrequires.py::test_whatrequires_resolve_b[args3] PASSED [ 86%] tests/unit/test_whatrequires.py::test_whatrequires_resolve_b[args4] PASSED [ 87%] tests/unit/test_whatrequires.py::test_whatrequires_resolve_a[args0] PASSED [ 88%] tests/unit/test_whatrequires.py::test_whatrequires_resolve_a[args1] PASSED [ 89%] tests/unit/test_whatrequires.py::test_whatrequires_resolve_a[args2] PASSED [ 89%] tests/unit/test_whatrequires.py::test_whatrequires_resolve_a[args3] PASSED [ 90%] tests/unit/test_whatrequires.py::test_whatrequires_resolve_a[args4] PASSED [ 91%] tests/unit/test_whatrequires.py::test_whatrequires_versioned_resolve PASSED [ 91%] tests/unit/test_whatrequires.py::test_exact_no_result[args0-True] PASSED [ 92%] tests/unit/test_whatrequires.py::test_exact_no_result[args1-True] PASSED [ 93%] tests/unit/test_whatrequires.py::test_exact_no_result[args2-True] PASSED [ 94%] tests/unit/test_whatrequires.py::test_exact_no_result[args3-True] PASSED [ 94%] tests/unit/test_whatrequires.py::test_exact_no_result[args4-False] PASSED [ 95%] tests/unit/test_whatrequires.py::test_exact_no_result[args5-False] PASSED [ 96%] tests/unit/test_whatrequires.py::test_whatrequires_breakdown PASSED [ 97%] tests/unit/test_whatrequires.py::test_whatrequires_exclude_subpackages PASSED [ 97%] tests/unit/test_whatrequires_src.py::test_whatrequires_src[args0] PASSED [ 98%] tests/unit/test_whatrequires_src.py::test_whatrequires_src[args1] PASSED [ 99%] tests/unit/test_whatrequires_src.py::test_whatrequires_src_exclude PASSED [100%] =================================== FAILURES =================================== ________________________ test_smartcache_not_used[pkgs] ________________________ subcommand = 'pkgs' mocker = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x3fb67e7890> patch_config_dirs = PosixPath('/tmp/pytest-of-mockbuild/pytest-1/test_smartcache_not_used_pkgs_0/custom') temp_smartcache = PosixPath('/tmp/pytest-of-mockbuild/pytest-1/test_smartcache_not_used_pkgs_0/smartcache') @pytest.mark.parametrize("subcommand", SUBCOMMANDS) def test_smartcache_not_used( subcommand, mocker, monkeypatch, patch_config_dirs, temp_smartcache ): """ Ensure that the smartcache is not used when the requested branch's releasever matches the the system's releasever """ assert not list(temp_smartcache.iterdir()) mocks = {} def _set_config(self, key: str) -> None: arg = getattr(self.args, key, None) if arg is not None: setattr(self.config, key, arg) if key == "backend": mocks["get_releasever"] = mocker.patch.object( self.config.backend_mod, "get_releasever", return_value="tester" ) mocks["bm_set"] = mocker.spy(self.config.backend_mod.BaseMaker, "set") cls = fedrq.cli.COMMANDS[subcommand] monkeypatch.setattr(cls, "_set_config", _set_config) parser = cls.make_parser() args = parser.parse_args(["--sc", "packageb"]) > cls(args) tests/unit/test_command.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/commands/pkgs.py:21: in __init__ self.v_default() ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/base.py:381: in v_default self.v_rq() ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/base.py:95: in wrapper error = func(self, *args, **kwargs) ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/base.py:363: in v_rq self.rq = self.backend.Repoquery(bm.fill_sack()) ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/backends/libdnf5/backend.py:243: in fill_sack self.rs.update_and_load_enabled_repos(load_system_repo) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = *' at 0x3fb6793120> > load_system = False def update_and_load_enabled_repos(self, load_system): r""" Downloads (if necessary) all enabled repository metadata and loads them in parallel. See `update_and_load_repos()`, which is called on the list of enabled repos and, if requested, the system repository. :type load_system: boolean :param load_system: Whether to load the system repository """ > return _repo.RepoSackWeakPtr_update_and_load_enabled_repos(self, load_system) E RuntimeError: Failed to download metadata (baseurl: "file:///builddir/build/BUILD/fedrq-0.6.0/tests/test_data/repos/repo1/repo/") for repository "testrepo1" /usr/lib64/python3.11/site-packages/libdnf5/repo.py:2559: RuntimeError ____________________ test_smartcache_not_used[whatrequires] ____________________ subcommand = 'whatrequires' mocker = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x3fb5db9110> patch_config_dirs = PosixPath('/tmp/pytest-of-mockbuild/pytest-1/test_smartcache_not_used_whatr0/custom') temp_smartcache = PosixPath('/tmp/pytest-of-mockbuild/pytest-1/test_smartcache_not_used_whatr0/smartcache') @pytest.mark.parametrize("subcommand", SUBCOMMANDS) def test_smartcache_not_used( subcommand, mocker, monkeypatch, patch_config_dirs, temp_smartcache ): """ Ensure that the smartcache is not used when the requested branch's releasever matches the the system's releasever """ assert not list(temp_smartcache.iterdir()) mocks = {} def _set_config(self, key: str) -> None: arg = getattr(self.args, key, None) if arg is not None: setattr(self.config, key, arg) if key == "backend": mocks["get_releasever"] = mocker.patch.object( self.config.backend_mod, "get_releasever", return_value="tester" ) mocks["bm_set"] = mocker.spy(self.config.backend_mod.BaseMaker, "set") cls = fedrq.cli.COMMANDS[subcommand] monkeypatch.setattr(cls, "_set_config", _set_config) parser = cls.make_parser() args = parser.parse_args(["--sc", "packageb"]) > cls(args) tests/unit/test_command.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/commands/whatrequires.py:63: in __init__ self.v_default() ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/base.py:381: in v_default self.v_rq() ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/base.py:95: in wrapper error = func(self, *args, **kwargs) ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/base.py:363: in v_rq self.rq = self.backend.Repoquery(bm.fill_sack()) ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/backends/libdnf5/backend.py:243: in fill_sack self.rs.update_and_load_enabled_repos(load_system_repo) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = *' at 0x3fb6793ba0> > load_system = False def update_and_load_enabled_repos(self, load_system): r""" Downloads (if necessary) all enabled repository metadata and loads them in parallel. See `update_and_load_repos()`, which is called on the list of enabled repos and, if requested, the system repository. :type load_system: boolean :param load_system: Whether to load the system repository """ > return _repo.RepoSackWeakPtr_update_and_load_enabled_repos(self, load_system) E RuntimeError: Failed to download metadata (baseurl: "file:///builddir/build/BUILD/fedrq-0.6.0/tests/test_data/repos/repo1/repo/") for repository "testrepo1" /usr/lib64/python3.11/site-packages/libdnf5/repo.py:2559: RuntimeError ______________________ test_smartcache_not_used[subpkgs] _______________________ subcommand = 'subpkgs' mocker = monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x3fb8845ad0> patch_config_dirs = PosixPath('/tmp/pytest-of-mockbuild/pytest-1/test_smartcache_not_used_subpk0/custom') temp_smartcache = PosixPath('/tmp/pytest-of-mockbuild/pytest-1/test_smartcache_not_used_subpk0/smartcache') @pytest.mark.parametrize("subcommand", SUBCOMMANDS) def test_smartcache_not_used( subcommand, mocker, monkeypatch, patch_config_dirs, temp_smartcache ): """ Ensure that the smartcache is not used when the requested branch's releasever matches the the system's releasever """ assert not list(temp_smartcache.iterdir()) mocks = {} def _set_config(self, key: str) -> None: arg = getattr(self.args, key, None) if arg is not None: setattr(self.config, key, arg) if key == "backend": mocks["get_releasever"] = mocker.patch.object( self.config.backend_mod, "get_releasever", return_value="tester" ) mocks["bm_set"] = mocker.spy(self.config.backend_mod.BaseMaker, "set") cls = fedrq.cli.COMMANDS[subcommand] monkeypatch.setattr(cls, "_set_config", _set_config) parser = cls.make_parser() args = parser.parse_args(["--sc", "packageb"]) > cls(args) tests/unit/test_command.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/commands/subpkgs.py:20: in __init__ self.v_default() ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/base.py:381: in v_default self.v_rq() ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/base.py:95: in wrapper error = func(self, *args, **kwargs) ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/base.py:363: in v_rq self.rq = self.backend.Repoquery(bm.fill_sack()) ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/backends/libdnf5/backend.py:243: in fill_sack self.rs.update_and_load_enabled_repos(load_system_repo) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = *' at 0x3fb5eeab80> > load_system = False def update_and_load_enabled_repos(self, load_system): r""" Downloads (if necessary) all enabled repository metadata and loads them in parallel. See `update_and_load_repos()`, which is called on the list of enabled repos and, if requested, the system repository. :type load_system: boolean :param load_system: Whether to load the system repository """ > return _repo.RepoSackWeakPtr_update_and_load_enabled_repos(self, load_system) E RuntimeError: Failed to download metadata (baseurl: "file:///builddir/build/BUILD/fedrq-0.6.0/tests/test_data/repos/repo1/repo/") for repository "testrepo1" /usr/lib64/python3.11/site-packages/libdnf5/repo.py:2559: RuntimeError _________________ test_smartcache_config[args3-False-] _________________ args = ['--system-cache'], config_smartcache = False cachedir = at 0x3fb8992200> patch_config_dirs = PosixPath('/tmp/pytest-of-mockbuild/pytest-1/test_smartcache_config_args3_F0/custom') temp_smartcache = PosixPath('/tmp/pytest-of-mockbuild/pytest-1/test_smartcache_config_args3_F0/smartcache') mocker = default_backend = @pytest.mark.parametrize( "args, config_smartcache, cachedir", ( # smartcache is specified in the config file (default) ([], True, lambda d: d / "tester"), # smartcache is specified in the config file and on the cli (redundant) (["--sc"], True, lambda d: d / "tester"), # smartcache is only specified on the cli (["--sc"], False, lambda d: d / "tester"), # --system-cache is used to override the config file's 'smartcache = true' (["--system-cache"], False, lambda _: None), # --system-cache is used when smartcache is disabled in the config ([], False, lambda _: None), # --system-cache is used when smartcache is disabled in the config (redundant) (["--system-cache"], False, lambda _: None), # --cachedir trumps smartcache (["--cachedir=blah"], True, lambda _: Path("blah")), (["--cachedir=blah"], False, lambda _: Path("blah")), ), ) def test_smartcache_config( args, config_smartcache, cachedir, patch_config_dirs, temp_smartcache, mocker, default_backend, ): assert os.environ["XDG_CACHE_HOME"] == str(temp_smartcache) bm_set = mocker.spy(default_backend.BaseMaker, "set") write_config = [True] # Check that True is the default if config_smartcache: write_config.append(False) dest = patch_config_dirs / "smartcache.toml" assert not dest.exists() for w in write_config: try: if w: data = {"smartcache": config_smartcache} with dest.open("wb") as fp: tomli_w.dump(data, fp) parser = fedrq.cli.Pkgs.make_parser() pargs = parser.parse_args([*args, "packagea"]) > fedrq.cli.Pkgs(pargs) tests/unit/test_command.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/commands/pkgs.py:21: in __init__ self.v_default() ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/base.py:381: in v_default self.v_rq() ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/base.py:95: in wrapper error = func(self, *args, **kwargs) ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/base.py:363: in v_rq self.rq = self.backend.Repoquery(bm.fill_sack()) ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/backends/libdnf5/backend.py:243: in fill_sack self.rs.update_and_load_enabled_repos(load_system_repo) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = *' at 0x3fb5eef630> > load_system = False def update_and_load_enabled_repos(self, load_system): r""" Downloads (if necessary) all enabled repository metadata and loads them in parallel. See `update_and_load_repos()`, which is called on the list of enabled repos and, if requested, the system repository. :type load_system: boolean :param load_system: Whether to load the system repository """ > return _repo.RepoSackWeakPtr_update_and_load_enabled_repos(self, load_system) E RuntimeError: Failed to download metadata (baseurl: "file:///builddir/build/BUILD/fedrq-0.6.0/tests/test_data/repos/repo1/repo/") for repository "testrepo1" /usr/lib64/python3.11/site-packages/libdnf5/repo.py:2559: RuntimeError _________________ test_smartcache_config[args4-False-] _________________ args = [], config_smartcache = False cachedir = at 0x3fb89922a0> patch_config_dirs = PosixPath('/tmp/pytest-of-mockbuild/pytest-1/test_smartcache_config_args4_F0/custom') temp_smartcache = PosixPath('/tmp/pytest-of-mockbuild/pytest-1/test_smartcache_config_args4_F0/smartcache') mocker = default_backend = @pytest.mark.parametrize( "args, config_smartcache, cachedir", ( # smartcache is specified in the config file (default) ([], True, lambda d: d / "tester"), # smartcache is specified in the config file and on the cli (redundant) (["--sc"], True, lambda d: d / "tester"), # smartcache is only specified on the cli (["--sc"], False, lambda d: d / "tester"), # --system-cache is used to override the config file's 'smartcache = true' (["--system-cache"], False, lambda _: None), # --system-cache is used when smartcache is disabled in the config ([], False, lambda _: None), # --system-cache is used when smartcache is disabled in the config (redundant) (["--system-cache"], False, lambda _: None), # --cachedir trumps smartcache (["--cachedir=blah"], True, lambda _: Path("blah")), (["--cachedir=blah"], False, lambda _: Path("blah")), ), ) def test_smartcache_config( args, config_smartcache, cachedir, patch_config_dirs, temp_smartcache, mocker, default_backend, ): assert os.environ["XDG_CACHE_HOME"] == str(temp_smartcache) bm_set = mocker.spy(default_backend.BaseMaker, "set") write_config = [True] # Check that True is the default if config_smartcache: write_config.append(False) dest = patch_config_dirs / "smartcache.toml" assert not dest.exists() for w in write_config: try: if w: data = {"smartcache": config_smartcache} with dest.open("wb") as fp: tomli_w.dump(data, fp) parser = fedrq.cli.Pkgs.make_parser() pargs = parser.parse_args([*args, "packagea"]) > fedrq.cli.Pkgs(pargs) tests/unit/test_command.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/commands/pkgs.py:21: in __init__ self.v_default() ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/base.py:381: in v_default self.v_rq() ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/base.py:95: in wrapper error = func(self, *args, **kwargs) ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/base.py:363: in v_rq self.rq = self.backend.Repoquery(bm.fill_sack()) ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/backends/libdnf5/backend.py:243: in fill_sack self.rs.update_and_load_enabled_repos(load_system_repo) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = *' at 0x3fb5ee9f80> > load_system = False def update_and_load_enabled_repos(self, load_system): r""" Downloads (if necessary) all enabled repository metadata and loads them in parallel. See `update_and_load_repos()`, which is called on the list of enabled repos and, if requested, the system repository. :type load_system: boolean :param load_system: Whether to load the system repository """ > return _repo.RepoSackWeakPtr_update_and_load_enabled_repos(self, load_system) E RuntimeError: Failed to download metadata (baseurl: "file:///builddir/build/BUILD/fedrq-0.6.0/tests/test_data/repos/repo1/repo/") for repository "testrepo1" /usr/lib64/python3.11/site-packages/libdnf5/repo.py:2559: RuntimeError _________________ test_smartcache_config[args5-False-] _________________ args = ['--system-cache'], config_smartcache = False cachedir = at 0x3fb8992340> patch_config_dirs = PosixPath('/tmp/pytest-of-mockbuild/pytest-1/test_smartcache_config_args5_F0/custom') temp_smartcache = PosixPath('/tmp/pytest-of-mockbuild/pytest-1/test_smartcache_config_args5_F0/smartcache') mocker = default_backend = @pytest.mark.parametrize( "args, config_smartcache, cachedir", ( # smartcache is specified in the config file (default) ([], True, lambda d: d / "tester"), # smartcache is specified in the config file and on the cli (redundant) (["--sc"], True, lambda d: d / "tester"), # smartcache is only specified on the cli (["--sc"], False, lambda d: d / "tester"), # --system-cache is used to override the config file's 'smartcache = true' (["--system-cache"], False, lambda _: None), # --system-cache is used when smartcache is disabled in the config ([], False, lambda _: None), # --system-cache is used when smartcache is disabled in the config (redundant) (["--system-cache"], False, lambda _: None), # --cachedir trumps smartcache (["--cachedir=blah"], True, lambda _: Path("blah")), (["--cachedir=blah"], False, lambda _: Path("blah")), ), ) def test_smartcache_config( args, config_smartcache, cachedir, patch_config_dirs, temp_smartcache, mocker, default_backend, ): assert os.environ["XDG_CACHE_HOME"] == str(temp_smartcache) bm_set = mocker.spy(default_backend.BaseMaker, "set") write_config = [True] # Check that True is the default if config_smartcache: write_config.append(False) dest = patch_config_dirs / "smartcache.toml" assert not dest.exists() for w in write_config: try: if w: data = {"smartcache": config_smartcache} with dest.open("wb") as fp: tomli_w.dump(data, fp) parser = fedrq.cli.Pkgs.make_parser() pargs = parser.parse_args([*args, "packagea"]) > fedrq.cli.Pkgs(pargs) tests/unit/test_command.py:155: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/commands/pkgs.py:21: in __init__ self.v_default() ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/base.py:381: in v_default self.v_rq() ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/base.py:95: in wrapper error = func(self, *args, **kwargs) ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/cli/base.py:363: in v_rq self.rq = self.backend.Repoquery(bm.fill_sack()) ../../BUILDROOT/fedrq-0.6.0-1.fc38.noarch/usr/lib/python3.11/site-packages/fedrq/backends/libdnf5/backend.py:243: in fill_sack self.rs.update_and_load_enabled_repos(load_system_repo) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = *' at 0x3fb6792220> > load_system = False def update_and_load_enabled_repos(self, load_system): r""" Downloads (if necessary) all enabled repository metadata and loads them in parallel. See `update_and_load_repos()`, which is called on the list of enabled repos and, if requested, the system repository. :type load_system: boolean :param load_system: Whether to load the system repository """ > return _repo.RepoSackWeakPtr_update_and_load_enabled_repos(self, load_system) E RuntimeError: Failed to download metadata (baseurl: "file:///builddir/build/BUILD/fedrq-0.6.0/tests/test_data/repos/repo1/repo/") for repository "testrepo1" /usr/lib64/python3.11/site-packages/libdnf5/repo.py:2559: RuntimeError =========================== short test summary info ============================ FAILED tests/unit/test_command.py::test_smartcache_not_used[pkgs] - RuntimeEr... FAILED tests/unit/test_command.py::test_smartcache_not_used[whatrequires] - R... FAILED tests/unit/test_command.py::test_smartcache_not_used[subpkgs] - Runtim... FAILED tests/unit/test_command.py::test_smartcache_config[args3-False-] FAILED tests/unit/test_command.py::test_smartcache_config[args4-False-] FAILED tests/unit/test_command.py::test_smartcache_config[args5-False-] =========== 6 failed, 131 passed, 18 deselected in 101.76s (0:01:41) =========== RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.EDNsZF (%check) Bad exit status from /var/tmp/rpm-tmp.EDNsZF (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -ba --noprep --target noarch --nodeps /builddir/build/SPECS/fedrq.spec