Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/flatpak-module-tools.spec'], chrootPath='/var/lib/mock/f41-build-2587659-25554/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=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3pd171vf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3pd171vf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'c647bc9387a4491cbf421784ba8d83fe', '-D', '/var/lib/mock/f41-build-2587659-25554/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3pd171vf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target noarch --nodeps /builddir/build/SPECS/flatpak-module-tools.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/flatpak-module-tools-1.0.2-2.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/flatpak-module-tools.spec'], chrootPath='/var/lib/mock/f41-build-2587659-25554/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=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3pd171vf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3pd171vf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', 'a1a7f57023fd4e5d9cfe679bd55b4fff', '-D', '/var/lib/mock/f41-build-2587659-25554/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3pd171vf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target noarch --nodeps /builddir/build/SPECS/flatpak-module-tools.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1721174400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.X9ebVw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf flatpak-module-tools-1.0.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/flatpak-module-tools-1.0.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd flatpak-module-tools-1.0.2 + rm -rf /builddir/build/BUILD/flatpak-module-tools-1.0.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/flatpak-module-tools-1.0.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3JZDsg + 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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd flatpak-module-tools-1.0.2 + export SETUPTOOLS_SCM_PRETEND_VERSION=1.0.2 + SETUPTOOLS_SCM_PRETEND_VERSION=1.0.2 + mkdir -p /builddir/build/BUILD/flatpak-module-tools-1.0.2/.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 -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/flatpak-module-tools-1.0.2/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/flatpak-module-tools-1.0.2/pyproject-wheeldir Processing /builddir/build/BUILD/flatpak-module-tools-1.0.2 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/flatpak-module-tools-1.0.2/.pyproject-builddir/pip-modern-metadata-hng81ef3/flatpak_module_tools.egg-info writing /builddir/build/BUILD/flatpak-module-tools-1.0.2/.pyproject-builddir/pip-modern-metadata-hng81ef3/flatpak_module_tools.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/flatpak-module-tools-1.0.2/.pyproject-builddir/pip-modern-metadata-hng81ef3/flatpak_module_tools.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/flatpak-module-tools-1.0.2/.pyproject-builddir/pip-modern-metadata-hng81ef3/flatpak_module_tools.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/flatpak-module-tools-1.0.2/.pyproject-builddir/pip-modern-metadata-hng81ef3/flatpak_module_tools.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/flatpak-module-tools-1.0.2/.pyproject-builddir/pip-modern-metadata-hng81ef3/flatpak_module_tools.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/flatpak-module-tools-1.0.2/.pyproject-builddir/pip-modern-metadata-hng81ef3/flatpak_module_tools.egg-info/SOURCES.txt' ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any reading manifest file '/builddir/build/BUILD/flatpak-module-tools-1.0.2/.pyproject-builddir/pip-modern-metadata-hng81ef3/flatpak_module_tools.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'LICENSE.gplv3' writing manifest file '/builddir/build/BUILD/flatpak-module-tools-1.0.2/.pyproject-builddir/pip-modern-metadata-hng81ef3/flatpak_module_tools.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/flatpak-module-tools-1.0.2/.pyproject-builddir/pip-modern-metadata-hng81ef3/flatpak_module_tools-1.0.2.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: flatpak-module-tools Building wheel for flatpak-module-tools (pyproject.toml): started Running command Building wheel for flatpak-module-tools (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/flatpak_module_tools copying flatpak_module_tools/cli.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/koji_utils.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/flatpak_builder.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/console_logging.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/__init__.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/config.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/git_utils.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/container_builder.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/rpm_utils.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/build_scheduler.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/build_context.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/container_spec.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/installer.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/mock.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/utils.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/package_locator.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/rpm_builder.py -> build/lib/flatpak_module_tools copying flatpak_module_tools/flatpak_generator.py -> build/lib/flatpak_module_tools running egg_info writing flatpak_module_tools.egg-info/PKG-INFO writing dependency_links to flatpak_module_tools.egg-info/dependency_links.txt writing entry points to flatpak_module_tools.egg-info/entry_points.txt writing requirements to flatpak_module_tools.egg-info/requires.txt writing top-level names to flatpak_module_tools.egg-info/top_level.txt ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any reading manifest file 'flatpak_module_tools.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' adding license file 'LICENSE.gplv3' writing manifest file 'flatpak_module_tools.egg-info/SOURCES.txt' /usr/lib/python3.12/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'flatpak_module_tools.depchase' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'flatpak_module_tools.depchase' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'flatpak_module_tools.depchase' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'flatpak_module_tools.depchase' to be distributed and are already explicitly excluding 'flatpak_module_tools.depchase' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3.12/site-packages/setuptools/command/build_py.py:207: _Warning: Package 'flatpak_module_tools.templates' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'flatpak_module_tools.templates' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'flatpak_module_tools.templates' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'flatpak_module_tools.templates' to be distributed and are already explicitly excluding 'flatpak_module_tools.templates' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) copying flatpak_module_tools/config.yaml -> build/lib/flatpak_module_tools copying flatpak_module_tools/py.typed -> build/lib/flatpak_module_tools creating build/lib/flatpak_module_tools/depchase copying flatpak_module_tools/depchase/cli.py -> build/lib/flatpak_module_tools/depchase copying flatpak_module_tools/depchase/depchase.py -> build/lib/flatpak_module_tools/depchase copying flatpak_module_tools/depchase/fetchrepodata.py -> build/lib/flatpak_module_tools/depchase copying flatpak_module_tools/depchase/repodata.py -> build/lib/flatpak_module_tools/depchase creating build/lib/flatpak_module_tools/templates copying flatpak_module_tools/templates/mock.cfg.j2 -> build/lib/flatpak_module_tools/templates installing to build/bdist.linux-riscv64/wheel running install running install_lib creating build/bdist.linux-riscv64 creating build/bdist.linux-riscv64/wheel creating build/bdist.linux-riscv64/wheel/flatpak_module_tools copying build/lib/flatpak_module_tools/cli.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools copying build/lib/flatpak_module_tools/koji_utils.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools copying build/lib/flatpak_module_tools/py.typed -> build/bdist.linux-riscv64/wheel/flatpak_module_tools copying build/lib/flatpak_module_tools/flatpak_builder.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools copying build/lib/flatpak_module_tools/config.yaml -> build/bdist.linux-riscv64/wheel/flatpak_module_tools copying build/lib/flatpak_module_tools/console_logging.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools copying build/lib/flatpak_module_tools/__init__.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools copying build/lib/flatpak_module_tools/config.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools copying build/lib/flatpak_module_tools/git_utils.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools copying build/lib/flatpak_module_tools/container_builder.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools copying build/lib/flatpak_module_tools/rpm_utils.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools copying build/lib/flatpak_module_tools/build_scheduler.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools copying build/lib/flatpak_module_tools/build_context.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools creating build/bdist.linux-riscv64/wheel/flatpak_module_tools/templates copying build/lib/flatpak_module_tools/templates/mock.cfg.j2 -> build/bdist.linux-riscv64/wheel/flatpak_module_tools/templates copying build/lib/flatpak_module_tools/container_spec.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools copying build/lib/flatpak_module_tools/installer.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools copying build/lib/flatpak_module_tools/mock.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools copying build/lib/flatpak_module_tools/utils.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools copying build/lib/flatpak_module_tools/package_locator.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools copying build/lib/flatpak_module_tools/rpm_builder.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools copying build/lib/flatpak_module_tools/flatpak_generator.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools creating build/bdist.linux-riscv64/wheel/flatpak_module_tools/depchase copying build/lib/flatpak_module_tools/depchase/cli.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools/depchase copying build/lib/flatpak_module_tools/depchase/fetchrepodata.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools/depchase copying build/lib/flatpak_module_tools/depchase/depchase.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools/depchase copying build/lib/flatpak_module_tools/depchase/repodata.py -> build/bdist.linux-riscv64/wheel/flatpak_module_tools/depchase running install_egg_info Copying flatpak_module_tools.egg-info to build/bdist.linux-riscv64/wheel/flatpak_module_tools-1.0.2-py3.12.egg-info running install_scripts creating build/bdist.linux-riscv64/wheel/flatpak_module_tools-1.0.2.dist-info/WHEEL creating '/builddir/build/BUILD/flatpak-module-tools-1.0.2/.pyproject-builddir/pip-wheel-64ujd4zt/.tmp-aopv1xh8/flatpak_module_tools-1.0.2-py3-none-any.whl' and adding 'build/bdist.linux-riscv64/wheel' to it adding 'flatpak_module_tools/__init__.py' adding 'flatpak_module_tools/build_context.py' adding 'flatpak_module_tools/build_scheduler.py' adding 'flatpak_module_tools/cli.py' adding 'flatpak_module_tools/config.py' adding 'flatpak_module_tools/config.yaml' adding 'flatpak_module_tools/console_logging.py' adding 'flatpak_module_tools/container_builder.py' adding 'flatpak_module_tools/container_spec.py' adding 'flatpak_module_tools/flatpak_builder.py' adding 'flatpak_module_tools/flatpak_generator.py' adding 'flatpak_module_tools/git_utils.py' adding 'flatpak_module_tools/installer.py' adding 'flatpak_module_tools/koji_utils.py' adding 'flatpak_module_tools/mock.py' adding 'flatpak_module_tools/package_locator.py' adding 'flatpak_module_tools/py.typed' adding 'flatpak_module_tools/rpm_builder.py' adding 'flatpak_module_tools/rpm_utils.py' adding 'flatpak_module_tools/utils.py' adding 'flatpak_module_tools/depchase/cli.py' adding 'flatpak_module_tools/depchase/depchase.py' adding 'flatpak_module_tools/depchase/fetchrepodata.py' adding 'flatpak_module_tools/depchase/repodata.py' adding 'flatpak_module_tools/templates/mock.cfg.j2' adding 'flatpak_module_tools-1.0.2.dist-info/LICENSE' adding 'flatpak_module_tools-1.0.2.dist-info/LICENSE.gplv3' adding 'flatpak_module_tools-1.0.2.dist-info/METADATA' adding 'flatpak_module_tools-1.0.2.dist-info/WHEEL' adding 'flatpak_module_tools-1.0.2.dist-info/entry_points.txt' adding 'flatpak_module_tools-1.0.2.dist-info/top_level.txt' adding 'flatpak_module_tools-1.0.2.dist-info/RECORD' removing build/bdist.linux-riscv64/wheel Building wheel for flatpak-module-tools (pyproject.toml): finished with status 'done' Created wheel for flatpak-module-tools: filename=flatpak_module_tools-1.0.2-py3-none-any.whl size=80862 sha256=c6bce3f1d0d907a370c9f4ab458c03fc202b572bd01cc5734b7a9a6ac685b69d Stored in directory: /builddir/.cache/pip/wheels/30/07/ab/d1666dfd07d81d8d7e87d1053d6c9820bbc646d478c3b8d9c9 Successfully built flatpak-module-tools + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kyTnUq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch ++ dirname /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd flatpak-module-tools-1.0.2 ++ xargs basename --multiple ++ ls /builddir/build/BUILD/flatpak-module-tools-1.0.2/pyproject-wheeldir/flatpak_module_tools-1.0.2-py3-none-any.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=flatpak_module_tools==1.0.2 + '[' -z flatpak_module_tools==1.0.2 ']' + TMPDIR=/builddir/build/BUILD/flatpak-module-tools-1.0.2/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.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/flatpak-module-tools-1.0.2/pyproject-wheeldir flatpak_module_tools==1.0.2 Using pip 24.1.1 from /usr/lib/python3.12/site-packages/pip (python 3.12) Looking in links: /builddir/build/BUILD/flatpak-module-tools-1.0.2/pyproject-wheeldir Processing ./pyproject-wheeldir/flatpak_module_tools-1.0.2-py3-none-any.whl Installing collected packages: flatpak_module_tools Creating /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/bin changing mode of /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/bin/flatpak-module to 755 changing mode of /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/bin/flatpak-module-depchase to 755 Successfully installed flatpak_module_tools-1.0.2 + '[' -d /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.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/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/bin/flatpak-module /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/bin/flatpak-module-depchase /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/bin/flatpak-module: updating /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/bin/flatpak-module-depchase: updating + rm -rfv /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/flatpak-module-tools-1.0.2-2.fc41.noarch-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/lib/python3.12/site-packages ']' + site_dirs+=("/usr/lib/python3.12/site-packages") + '[' /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/lib64/python3.12/site-packages '!=' /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/lib/python3.12/site-packages ']' + '[' -d /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/lib64/python3.12/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.12/site-packages/flatpak_module_tools-1.0.2.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools-1.0.2.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch --record /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools-1.0.2.dist-info/RECORD --output /builddir/build/BUILD/flatpak-module-tools-1.0.2-2.fc41.noarch-pyproject-record + rm -fv /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools-1.0.2.dist-info/RECORD removed '/builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools-1.0.2.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools-1.0.2.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/lib/python3.12/site-packages/flatpak_module_tools-1.0.2.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/flatpak-module-tools-1.0.2-2.fc41.noarch-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.0.2-2.fc41 --unique-debug-suffix -1.0.2-2.fc41.noarch --unique-debug-src-base flatpak-module-tools-1.0.2-2.fc41.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/flatpak-module-tools-1.0.2 find-debuginfo: starting Extracting debug info from 0 files Creating .debug symlinks for symlinks to ELF files find: ‘debug’: No such file or directory find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j32 Bytecompiling .py files below /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/lib/python3.12 using python3.12 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j32 /builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch Cannot initialize handler pyc: ModuleNotFoundError: No module named 'marshalparser' [src/multiprocess.rs:66:9] &cmd = Command { program: "/usr/bin/add-determinism", args: [ "/usr/bin/add-determinism", "--socket", "3", "--brp", "--handler", "ar,jar,javadoc", ], env: CommandEnv { clear: false, vars: { "SOURCE_DATE_EPOCH": Some( "1721174400", ), }, }, create_pidfd: false, } Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Bye! Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.WgXiQh + 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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd flatpak-module-tools-1.0.2 + 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 -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/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/lib64/python3.12/site-packages:/builddir/build/BUILDROOT/flatpak-module-tools-1.0.2-2.fc41.noarch/usr/lib/python3.12/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/flatpak-module-tools-1.0.2/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=32 + /usr/bin/pytest -k 'not test_create_rpm_manifest' ============================= test session starts ============================== platform linux -- Python 3.12.3, pytest-7.4.3, pluggy-1.3.0 rootdir: /builddir/build/BUILD/flatpak-module-tools-1.0.2 configfile: pyproject.toml testpaths: tests plugins: cov-4.0.0 collected 110 items / 1 deselected / 109 selected tests/test_build_context.py ...... [ 5%] tests/test_cli.py F.FFF..FFF.........F....F..... [ 33%] tests/test_container_spec.py .............. [ 45%] tests/test_flatpak_builder.py ............ [ 56%] tests/test_flatpak_generator.py ....... [ 63%] tests/test_git_utils.py ....... [ 69%] tests/test_koji_utils.py ... [ 72%] tests/test_package_locator.py ..... [ 77%] tests/test_rpm_utils.py .. [ 78%] tests/test_tree_processor.py .................... [ 97%] tests/test_utils.py ... [100%] =================================== FAILURES =================================== _____________________________ test_global_options ______________________________ rpm_builder_mock = repo_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_global_options0/eog') tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_global_options0') @pytest.mark.usefixtures("isolated_config") def test_global_options(rpm_builder_mock, repo_path, tmp_path): config_file = tmp_path / "custom.conf" with open(config_file, "w") as f: f.write(dedent("""\ profiles: custom: koji_profile: custom """)) > expect_success([ "--path", repo_path, "--config", config_file, "--profile", "custom", "--verbose", "build-rpms-local", "--auto" ]) tests/test_cli.py:161: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_cli.py:127: in expect_success result = runner.invoke( /usr/lib/python3.12/site-packages/click/testing.py:408: in invoke return_value = cli.main(args=args or (), prog_name=prog_name, **extra) /usr/lib/python3.12/site-packages/click/core.py:1078: in main rv = self.invoke(ctx) /usr/lib/python3.12/site-packages/click/core.py:1688: in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) /usr/lib/python3.12/site-packages/click/core.py:1434: in invoke return ctx.invoke(self.callback, **ctx.params) /usr/lib/python3.12/site-packages/click/core.py:783: in invoke return __callback(*args, **kwargs) /usr/lib/python3.12/site-packages/click/decorators.py:33: in new_func return f(get_current_context(), *args, **kwargs) flatpak_module_tools/cli.py:480: in build_rpms_local container_spec=spec, local_repo=paths.local_repo, local_runtime=local_runtime, flatpak_module_tools/cli.py:55: in local_repo result = self.path / Path(Arch().rpm) / "rpms" _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = def __new__(cls, *, oci: Optional[str] = None, flatpak: Optional[str] = None, rpm: Optional[str] = None): if flatpak is None and oci is None and rpm is None: rpm = _get_rpm_arch() for v in cls.__dict__.values(): if isinstance(v, Arch) and (v.oci == oci or v.flatpak == flatpak or v.rpm == rpm): return v else: > raise KeyError(f"Can't find Arch(flatpak={flatpak}, oci={oci}, rpm={rpm})") E KeyError: "Can't find Arch(flatpak=None, oci=None, rpm=riscv64)" flatpak_module_tools/utils.py:102: KeyError ____________________________ test_local_repo_option ____________________________ rpm_builder_mock = container_builder_mock = tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_local_repo_option0') repo_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_local_repo_option0/eog') def test_local_repo_option(rpm_builder_mock, container_builder_mock, tmp_path, repo_path): local_repo = tmp_path / "rpms" local_repo.mkdir() subprocess.check_call(["createrepo_c", local_repo]) > expect_success([ "--path", repo_path, "build-container-local", "--local-repo", local_repo ]) tests/test_cli.py:189: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_cli.py:127: in expect_success result = runner.invoke( /usr/lib/python3.12/site-packages/click/testing.py:408: in invoke return_value = cli.main(args=args or (), prog_name=prog_name, **extra) /usr/lib/python3.12/site-packages/click/core.py:1078: in main rv = self.invoke(ctx) /usr/lib/python3.12/site-packages/click/core.py:1688: in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) /usr/lib/python3.12/site-packages/click/core.py:1434: in invoke return ctx.invoke(self.callback, **ctx.params) /usr/lib/python3.12/site-packages/click/core.py:783: in invoke return __callback(*args, **kwargs) /usr/lib/python3.12/site-packages/click/decorators.py:33: in new_func return f(get_current_context(), *args, **kwargs) flatpak_module_tools/cli.py:286: in build_container_local build_context = AutoBuildContext( flatpak_module_tools/build_context.py:191: in __init__ super().__init__( flatpak_module_tools/build_context.py:30: in __init__ self.arch = arch or Arch() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = def __new__(cls, *, oci: Optional[str] = None, flatpak: Optional[str] = None, rpm: Optional[str] = None): if flatpak is None and oci is None and rpm is None: rpm = _get_rpm_arch() for v in cls.__dict__.values(): if isinstance(v, Arch) and (v.oci == oci or v.flatpak == flatpak or v.rpm == rpm): return v else: > raise KeyError(f"Can't find Arch(flatpak={flatpak}, oci={oci}, rpm={rpm})") E KeyError: "Can't find Arch(flatpak=None, oci=None, rpm=riscv64)" flatpak_module_tools/utils.py:102: KeyError ----------------------------- Captured stdout call ----------------------------- Directory walk started Directory walk done - 0 packages Temporary output repo path: /tmp/pytest-of-mockbuild/pytest-0/test_local_repo_option0/rpms/.repodata/ Pool started (with 5 workers) Pool finished _______________________ test_local_repo_missing_warning ________________________ rpm_builder_mock = container_builder_mock = tmp_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_local_repo_missing_warnin0') repo_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_local_repo_missing_warnin0/eog') def test_local_repo_missing_warning(rpm_builder_mock, container_builder_mock, tmp_path, repo_path): local_repo = tmp_path / "rpms" > expect_error([ "--path", repo_path, "build-container-local", "--local-repo", local_repo ], "warning: No repository at", exit_failure=False) tests/test_cli.py:203: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_cli.py:137: in expect_error result = runner.invoke( /usr/lib/python3.12/site-packages/click/testing.py:408: in invoke return_value = cli.main(args=args or (), prog_name=prog_name, **extra) /usr/lib/python3.12/site-packages/click/core.py:1078: in main rv = self.invoke(ctx) /usr/lib/python3.12/site-packages/click/core.py:1688: in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) /usr/lib/python3.12/site-packages/click/core.py:1434: in invoke return ctx.invoke(self.callback, **ctx.params) /usr/lib/python3.12/site-packages/click/core.py:783: in invoke return __callback(*args, **kwargs) /usr/lib/python3.12/site-packages/click/decorators.py:33: in new_func return f(get_current_context(), *args, **kwargs) flatpak_module_tools/cli.py:286: in build_container_local build_context = AutoBuildContext( flatpak_module_tools/build_context.py:191: in __init__ super().__init__( flatpak_module_tools/build_context.py:30: in __init__ self.arch = arch or Arch() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = def __new__(cls, *, oci: Optional[str] = None, flatpak: Optional[str] = None, rpm: Optional[str] = None): if flatpak is None and oci is None and rpm is None: rpm = _get_rpm_arch() for v in cls.__dict__.values(): if isinstance(v, Arch) and (v.oci == oci or v.flatpak == flatpak or v.rpm == rpm): return v else: > raise KeyError(f"Can't find Arch(flatpak={flatpak}, oci={oci}, rpm={rpm})") E KeyError: "Can't find Arch(flatpak=None, oci=None, rpm=riscv64)" flatpak_module_tools/utils.py:102: KeyError __________________________ test_containerspec_option ___________________________ rpm_builder_mock = repo_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_containerspec_option0/eog') def test_containerspec_option(rpm_builder_mock, repo_path): new_path = repo_path / "container-new.yaml" with open(new_path, "w") as f: f.write(APP_CONTAINER_YAML) > expect_success([ "--path", repo_path, "build-rpms-local", "--auto", "--containerspec", "container-new.yaml" ]) tests/test_cli.py:219: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_cli.py:127: in expect_success result = runner.invoke( /usr/lib/python3.12/site-packages/click/testing.py:408: in invoke return_value = cli.main(args=args or (), prog_name=prog_name, **extra) /usr/lib/python3.12/site-packages/click/core.py:1078: in main rv = self.invoke(ctx) /usr/lib/python3.12/site-packages/click/core.py:1688: in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) /usr/lib/python3.12/site-packages/click/core.py:1434: in invoke return ctx.invoke(self.callback, **ctx.params) /usr/lib/python3.12/site-packages/click/core.py:783: in invoke return __callback(*args, **kwargs) /usr/lib/python3.12/site-packages/click/decorators.py:33: in new_func return f(get_current_context(), *args, **kwargs) flatpak_module_tools/cli.py:480: in build_rpms_local container_spec=spec, local_repo=paths.local_repo, local_runtime=local_runtime, flatpak_module_tools/cli.py:55: in local_repo result = self.path / Path(Arch().rpm) / "rpms" _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = def __new__(cls, *, oci: Optional[str] = None, flatpak: Optional[str] = None, rpm: Optional[str] = None): if flatpak is None and oci is None and rpm is None: rpm = _get_rpm_arch() for v in cls.__dict__.values(): if isinstance(v, Arch) and (v.oci == oci or v.flatpak == flatpak or v.rpm == rpm): return v else: > raise KeyError(f"Can't find Arch(flatpak={flatpak}, oci={oci}, rpm={rpm})") E KeyError: "Can't find Arch(flatpak=None, oci=None, rpm=riscv64)" flatpak_module_tools/utils.py:102: KeyError _______________________________ test_target_cli ________________________________ rpm_builder_mock = repo_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_target_cli0/eog') def test_target_cli(rpm_builder_mock, repo_path): > expect_success([ "--path", repo_path, "build-rpms-local", "--auto", "--target", "f40-flatpak-candidate" ]) tests/test_cli.py:248: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_cli.py:127: in expect_success result = runner.invoke( /usr/lib/python3.12/site-packages/click/testing.py:408: in invoke return_value = cli.main(args=args or (), prog_name=prog_name, **extra) /usr/lib/python3.12/site-packages/click/core.py:1078: in main rv = self.invoke(ctx) /usr/lib/python3.12/site-packages/click/core.py:1688: in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) /usr/lib/python3.12/site-packages/click/core.py:1434: in invoke return ctx.invoke(self.callback, **ctx.params) /usr/lib/python3.12/site-packages/click/core.py:783: in invoke return __callback(*args, **kwargs) /usr/lib/python3.12/site-packages/click/decorators.py:33: in new_func return f(get_current_context(), *args, **kwargs) flatpak_module_tools/cli.py:480: in build_rpms_local container_spec=spec, local_repo=paths.local_repo, local_runtime=local_runtime, flatpak_module_tools/cli.py:55: in local_repo result = self.path / Path(Arch().rpm) / "rpms" _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = def __new__(cls, *, oci: Optional[str] = None, flatpak: Optional[str] = None, rpm: Optional[str] = None): if flatpak is None and oci is None and rpm is None: rpm = _get_rpm_arch() for v in cls.__dict__.values(): if isinstance(v, Arch) and (v.oci == oci or v.flatpak == flatpak or v.rpm == rpm): return v else: > raise KeyError(f"Can't find Arch(flatpak={flatpak}, oci={oci}, rpm={rpm})") E KeyError: "Can't find Arch(flatpak=None, oci=None, rpm=riscv64)" flatpak_module_tools/utils.py:102: KeyError __________________________ test_target_container_yaml __________________________ rpm_builder_mock = repo_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_target_container_yaml0/eog') def test_target_container_yaml(rpm_builder_mock, repo_path): > expect_success([ "--path", repo_path, "build-rpms-local", "--auto" ]) tests/test_cli.py:259: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_cli.py:127: in expect_success result = runner.invoke( /usr/lib/python3.12/site-packages/click/testing.py:408: in invoke return_value = cli.main(args=args or (), prog_name=prog_name, **extra) /usr/lib/python3.12/site-packages/click/core.py:1078: in main rv = self.invoke(ctx) /usr/lib/python3.12/site-packages/click/core.py:1688: in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) /usr/lib/python3.12/site-packages/click/core.py:1434: in invoke return ctx.invoke(self.callback, **ctx.params) /usr/lib/python3.12/site-packages/click/core.py:783: in invoke return __callback(*args, **kwargs) /usr/lib/python3.12/site-packages/click/decorators.py:33: in new_func return f(get_current_context(), *args, **kwargs) flatpak_module_tools/cli.py:480: in build_rpms_local container_spec=spec, local_repo=paths.local_repo, local_runtime=local_runtime, flatpak_module_tools/cli.py:55: in local_repo result = self.path / Path(Arch().rpm) / "rpms" _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = def __new__(cls, *, oci: Optional[str] = None, flatpak: Optional[str] = None, rpm: Optional[str] = None): if flatpak is None and oci is None and rpm is None: rpm = _get_rpm_arch() for v in cls.__dict__.values(): if isinstance(v, Arch) and (v.oci == oci or v.flatpak == flatpak or v.rpm == rpm): return v else: > raise KeyError(f"Can't find Arch(flatpak={flatpak}, oci={oci}, rpm={rpm})") E KeyError: "Can't find Arch(flatpak=None, oci=None, rpm=riscv64)" flatpak_module_tools/utils.py:102: KeyError ____________________________ test_target_git_branch ____________________________ rpm_builder_mock = repo_path_git = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_target_git_branch0/eog_checkout') @pytest.mark.container_yaml(RUNTIME_CONTAINER_YAML) def test_target_git_branch(rpm_builder_mock, repo_path_git): subprocess.check_call([ "git", "config", "branch.stable.merge", "refs/heads/f41" ], cwd=repo_path_git) > expect_success(["--path", repo_path_git, "build-rpms-local", "--auto"]) tests/test_cli.py:275: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_cli.py:127: in expect_success result = runner.invoke( /usr/lib/python3.12/site-packages/click/testing.py:408: in invoke return_value = cli.main(args=args or (), prog_name=prog_name, **extra) /usr/lib/python3.12/site-packages/click/core.py:1078: in main rv = self.invoke(ctx) /usr/lib/python3.12/site-packages/click/core.py:1688: in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) /usr/lib/python3.12/site-packages/click/core.py:1434: in invoke return ctx.invoke(self.callback, **ctx.params) /usr/lib/python3.12/site-packages/click/core.py:783: in invoke return __callback(*args, **kwargs) /usr/lib/python3.12/site-packages/click/decorators.py:33: in new_func return f(get_current_context(), *args, **kwargs) flatpak_module_tools/cli.py:480: in build_rpms_local container_spec=spec, local_repo=paths.local_repo, local_runtime=local_runtime, flatpak_module_tools/cli.py:55: in local_repo result = self.path / Path(Arch().rpm) / "rpms" _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = def __new__(cls, *, oci: Optional[str] = None, flatpak: Optional[str] = None, rpm: Optional[str] = None): if flatpak is None and oci is None and rpm is None: rpm = _get_rpm_arch() for v in cls.__dict__.values(): if isinstance(v, Arch) and (v.oci == oci or v.flatpak == flatpak or v.rpm == rpm): return v else: > raise KeyError(f"Can't find Arch(flatpak={flatpak}, oci={oci}, rpm={rpm})") E KeyError: "Can't find Arch(flatpak=None, oci=None, rpm=riscv64)" flatpak_module_tools/utils.py:102: KeyError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-mockbuild/pytest-0/test_target_git_branch0/eog/.git/ [stable (root-commit) ac47b15] Initial import 1 file changed, 10 insertions(+) create mode 100644 container.yaml ---------------------------- Captured stderr setup ----------------------------- Cloning into '/tmp/pytest-of-mockbuild/pytest-0/test_target_git_branch0/eog_checkout'... _____________________________ test_assemble_manual _____________________________ container_builder_mock = repo_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_assemble_manual0/eog') def test_assemble_manual(container_builder_mock, repo_path): > expect_success([ "--path", repo_path, "assemble", "--nvr", "eog-45.1-1", "--runtime-nvr", "flatpak-runtime-39-1", "--runtime-repo", "42", "--app-repo", "43", ]) tests/test_cli.py:388: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_cli.py:127: in expect_success result = runner.invoke( /usr/lib/python3.12/site-packages/click/testing.py:408: in invoke return_value = cli.main(args=args or (), prog_name=prog_name, **extra) /usr/lib/python3.12/site-packages/click/core.py:1078: in main rv = self.invoke(ctx) /usr/lib/python3.12/site-packages/click/core.py:1688: in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) /usr/lib/python3.12/site-packages/click/core.py:1434: in invoke return ctx.invoke(self.callback, **ctx.params) /usr/lib/python3.12/site-packages/click/core.py:783: in invoke return __callback(*args, **kwargs) /usr/lib/python3.12/site-packages/click/decorators.py:33: in new_func return f(get_current_context(), *args, **kwargs) flatpak_module_tools/cli.py:358: in assemble build_context = ManualBuildContext( flatpak_module_tools/build_context.py:320: in __init__ super().__init__(profile=profile, arch=arch, container_spec=container_spec) flatpak_module_tools/build_context.py:30: in __init__ self.arch = arch or Arch() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = def __new__(cls, *, oci: Optional[str] = None, flatpak: Optional[str] = None, rpm: Optional[str] = None): if flatpak is None and oci is None and rpm is None: rpm = _get_rpm_arch() for v in cls.__dict__.values(): if isinstance(v, Arch) and (v.oci == oci or v.flatpak == flatpak or v.rpm == rpm): return v else: > raise KeyError(f"Can't find Arch(flatpak={flatpak}, oci={oci}, rpm={rpm})") E KeyError: "Can't find Arch(flatpak=None, oci=None, rpm=riscv64)" flatpak_module_tools/utils.py:102: KeyError ______________________________ test_assemble_auto ______________________________ container_builder_mock = repo_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_assemble_auto0/eog') def test_assemble_auto(container_builder_mock, repo_path): > expect_success(["--path", repo_path, "assemble"]) tests/test_cli.py:435: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_cli.py:127: in expect_success result = runner.invoke( /usr/lib/python3.12/site-packages/click/testing.py:408: in invoke return_value = cli.main(args=args or (), prog_name=prog_name, **extra) /usr/lib/python3.12/site-packages/click/core.py:1078: in main rv = self.invoke(ctx) /usr/lib/python3.12/site-packages/click/core.py:1688: in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) /usr/lib/python3.12/site-packages/click/core.py:1434: in invoke return ctx.invoke(self.callback, **ctx.params) /usr/lib/python3.12/site-packages/click/core.py:783: in invoke return __callback(*args, **kwargs) /usr/lib/python3.12/site-packages/click/decorators.py:33: in new_func return f(get_current_context(), *args, **kwargs) flatpak_module_tools/cli.py:365: in assemble build_context = AutoBuildContext( flatpak_module_tools/build_context.py:191: in __init__ super().__init__( flatpak_module_tools/build_context.py:30: in __init__ self.arch = arch or Arch() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ cls = def __new__(cls, *, oci: Optional[str] = None, flatpak: Optional[str] = None, rpm: Optional[str] = None): if flatpak is None and oci is None and rpm is None: rpm = _get_rpm_arch() for v in cls.__dict__.values(): if isinstance(v, Arch) and (v.oci == oci or v.flatpak == flatpak or v.rpm == rpm): return v else: > raise KeyError(f"Can't find Arch(flatpak={flatpak}, oci={oci}, rpm={rpm})") E KeyError: "Can't find Arch(flatpak=None, oci=None, rpm=riscv64)" flatpak_module_tools/utils.py:102: KeyError =============================== warnings summary =============================== flatpak_module_tools/config.py:6 /builddir/build/BUILD/flatpak-module-tools-1.0.2/flatpak_module_tools/config.py:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html import pkg_resources tests/test_cli.py:230 /builddir/build/BUILD/flatpak-module-tools-1.0.2/tests/test_cli.py:230: PytestUnknownMarkWarning: Unknown pytest.mark.container_yaml - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.container_yaml("42") tests/test_cli.py:238 /builddir/build/BUILD/flatpak-module-tools-1.0.2/tests/test_cli.py:238: PytestUnknownMarkWarning: Unknown pytest.mark.container_yaml - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.container_yaml("42") tests/test_cli.py:269 /builddir/build/BUILD/flatpak-module-tools-1.0.2/tests/test_cli.py:269: PytestUnknownMarkWarning: Unknown pytest.mark.container_yaml - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.container_yaml(RUNTIME_CONTAINER_YAML) tests/test_cli.py:282 /builddir/build/BUILD/flatpak-module-tools-1.0.2/tests/test_cli.py:282: PytestUnknownMarkWarning: Unknown pytest.mark.container_yaml - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.container_yaml(RUNTIME_CONTAINER_YAML) tests/test_cli.py:291 /builddir/build/BUILD/flatpak-module-tools-1.0.2/tests/test_cli.py:291: PytestUnknownMarkWarning: Unknown pytest.mark.container_yaml - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.container_yaml(RUNTIME_CONTAINER_YAML) tests/test_cli.py:419 /builddir/build/BUILD/flatpak-module-tools-1.0.2/tests/test_cli.py:419: PytestUnknownMarkWarning: Unknown pytest.mark.container_yaml - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.container_yaml(RUNTIME_CONTAINER_YAML) tests/test_flatpak_generator.py:80 /builddir/build/BUILD/flatpak-module-tools-1.0.2/tests/test_flatpak_generator.py:80: PytestUnknownMarkWarning: Unknown pytest.mark.needs_metadata - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.needs_metadata tests/test_flatpak_generator.py:87 /builddir/build/BUILD/flatpak-module-tools-1.0.2/tests/test_flatpak_generator.py:87: PytestUnknownMarkWarning: Unknown pytest.mark.needs_metadata - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html @pytest.mark.needs_metadata tests/test_flatpak_builder.py::test_source_info_bad_profile[arch0] /builddir/build/BUILD/flatpak-module-tools-1.0.2/tests/test_flatpak_builder.py:191: DeprecationWarning: Modulemd.ModuleStream.read_string is deprecated testapp_mmd = Modulemd.ModuleStream.read_string(testapp_mmd, True) tests/test_package_locator.py::test_package_locator[gz-.gz] tests/test_package_locator.py::test_package_locator[zstd-.zst] /usr/lib/python3.12/site-packages/responses/__init__.py:666: DeprecationWarning: stream argument is deprecated. Use stream parameter in request directly warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ---------- coverage: platform linux, python 3.12.3-final-0 ----------- Name Stmts Miss Cover Missing ------------------------------------------------------------------------- flatpak_module_tools/__init__.py 6 0 100% flatpak_module_tools/build_context.py 170 15 91% 72-88, 95-96, 109-110, 328 flatpak_module_tools/build_scheduler.py 348 269 23% 51-54, 57-64, 67-70, 73-77, 82-84, 87-96, 99-128, 138-143, 150, 153-176, 186-203, 206-231, 234-241, 244-246, 254-255, 263-264, 278-283, 286, 289, 295-303, 306-318, 321-451, 464-465, 477-478, 481, 484-489, 492-536 flatpak_module_tools/cli.py 262 2 99% 369-373 flatpak_module_tools/config.py 113 16 86% 91, 95-96, 102-103, 107-111, 117-121, 148-150 flatpak_module_tools/console_logging.py 177 117 34% 30-34, 37, 44-61, 64-73, 76, 88, 103-121, 124-133, 140, 157-173, 179-207, 210-214, 221-222, 231-241, 247-264 flatpak_module_tools/container_builder.py 206 158 23% 27-31, 65, 68-89, 92-97, 108-122, 128-134, 138-140, 145, 148-149, 152-153, 156, 160, 166-167, 170-172, 179-182, 185-192, 195-220, 223-244, 248-254, 260-277, 280-290, 295-367, 372-385, 388-416 flatpak_module_tools/container_spec.py 137 0 100% flatpak_module_tools/flatpak_builder.py 554 81 85% 49, 58, 122, 169, 217-224, 229, 368, 387-403, 408, 503-509, 512, 515, 518, 522, 525-526, 529, 552, 564, 567, 570, 588-592, 611, 675-679, 701, 715-716, 729, 737, 740, 908-911, 916, 926, 931-937, 989-990, 1004-1008, 1011, 1021, 1024, 1070 flatpak_module_tools/flatpak_generator.py 88 1 99% 177 flatpak_module_tools/git_utils.py 38 0 100% flatpak_module_tools/installer.py 133 113 15% 18-44, 48-88, 93-100, 103, 106, 109, 112-122, 127-203 flatpak_module_tools/koji_utils.py 96 57 41% 63-65, 69-85, 90-95, 98-101, 104-109, 113-148 flatpak_module_tools/mock.py 7 3 57% 17-22 flatpak_module_tools/package_locator.py 114 0 100% flatpak_module_tools/rpm_builder.py 270 234 13% 31, 38-53, 57-93, 98-102, 109-138, 141, 150-162, 168-259, 262-274, 280-293, 296-343, 346-361, 364-387, 391-412, 418-431, 438-459, 465-512 flatpak_module_tools/rpm_utils.py 64 21 67% 11-16, 20-49 flatpak_module_tools/utils.py 113 10 91% 42-44, 53-54, 58-61, 128 ------------------------------------------------------------------------- TOTAL 2896 1097 62% Coverage HTML written to dir htmlcov =========================== short test summary info ============================ FAILED tests/test_cli.py::test_global_options - KeyError: "Can't find Arch(fl... FAILED tests/test_cli.py::test_local_repo_option - KeyError: "Can't find Arch... FAILED tests/test_cli.py::test_local_repo_missing_warning - KeyError: "Can't ... FAILED tests/test_cli.py::test_containerspec_option - KeyError: "Can't find A... FAILED tests/test_cli.py::test_target_cli - KeyError: "Can't find Arch(flatpa... FAILED tests/test_cli.py::test_target_container_yaml - KeyError: "Can't find ... FAILED tests/test_cli.py::test_target_git_branch - KeyError: "Can't find Arch... FAILED tests/test_cli.py::test_assemble_manual - KeyError: "Can't find Arch(f... FAILED tests/test_cli.py::test_assemble_auto - KeyError: "Can't find Arch(fla... ===== 9 failed, 100 passed, 1 deselected, 12 warnings in 218.51s (0:03:38) ===== error: Bad exit status from /var/tmp/rpm-tmp.WgXiQh (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.WgXiQh (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M a1a7f57023fd4e5d9cfe679bd55b4fff -D /var/lib/mock/f41-build-2587659-25554/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.3pd171vf:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 --noclean --target noarch --nodeps /builddir/build/SPECS/flatpak-module-tools.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M a1a7f57023fd4e5d9cfe679bd55b4fff -D /var/lib/mock/f41-build-2587659-25554/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.3pd171vf:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 --noclean --target noarch --nodeps /builddir/build/SPECS/flatpak-module-tools.spec'