Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rpkg.spec'], chrootPath='/var/lib/mock/openeuler-23.03-aarch64-1688975289.175243/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rpkg.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 :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rpkg-1.65-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rpkg.spec'], chrootPath='/var/lib/mock/openeuler-23.03-aarch64-1688975289.175243/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rpkg.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 :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rpkg-1.65-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rpkg.spec'], chrootPath='/var/lib/mock/openeuler-23.03-aarch64-1688975289.175243/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rpkg.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0S2ehT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rpkg-1.65 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rpkg-1.65.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rpkg-1.65 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/remove-koji-and-rpm-py-installer-from-requires.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Do-not-use-pytest-related-dependencies-temporarily.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Remove-pytest-coverage-execution.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0004-fedpkg-local-does-not-show-rpmbuild-output.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0005-Fixes-for-exploded-SRPM-layouts.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0006-mockbuild-escape-rpm-command-under-mock.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i -n '/extras_require/,/}/!p' setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DccrzK + umask 022 + cd /builddir/build/BUILD + cd rpkg-1.65 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/pyrpkg copying pyrpkg/spec.py -> build/lib/pyrpkg copying pyrpkg/__init__.py -> build/lib/pyrpkg copying pyrpkg/errors.py -> build/lib/pyrpkg copying pyrpkg/utils.py -> build/lib/pyrpkg copying pyrpkg/gitignore.py -> build/lib/pyrpkg copying pyrpkg/cli.py -> build/lib/pyrpkg copying pyrpkg/sources.py -> build/lib/pyrpkg copying pyrpkg/man_gen.py -> build/lib/pyrpkg copying pyrpkg/completers.py -> build/lib/pyrpkg copying pyrpkg/lookaside.py -> build/lib/pyrpkg creating build/lib/pyrpkg/layout copying pyrpkg/layout/layouts.py -> build/lib/pyrpkg/layout copying pyrpkg/layout/__init__.py -> build/lib/pyrpkg/layout copying pyrpkg/layout/base.py -> build/lib/pyrpkg/layout + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KF3VNx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64 ++ dirname /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64 + cd rpkg-1.65 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64 running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr creating /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib creating /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10 creating /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages creating /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg copying build/lib/pyrpkg/spec.py -> /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg creating /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/layout copying build/lib/pyrpkg/layout/layouts.py -> /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/layout copying build/lib/pyrpkg/layout/__init__.py -> /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/layout copying build/lib/pyrpkg/layout/base.py -> /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/layout copying build/lib/pyrpkg/__init__.py -> /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg copying build/lib/pyrpkg/errors.py -> /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg copying build/lib/pyrpkg/utils.py -> /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg copying build/lib/pyrpkg/gitignore.py -> /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg copying build/lib/pyrpkg/cli.py -> /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg copying build/lib/pyrpkg/sources.py -> /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg copying build/lib/pyrpkg/man_gen.py -> /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg copying build/lib/pyrpkg/completers.py -> /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg copying build/lib/pyrpkg/lookaside.py -> /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg byte-compiling /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/spec.py to spec.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/layout/layouts.py to layouts.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/layout/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/layout/base.py to base.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/errors.py to errors.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/utils.py to utils.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/gitignore.py to gitignore.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/cli.py to cli.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/sources.py to sources.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/man_gen.py to man_gen.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/completers.py to completers.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/lookaside.py to lookaside.cpython-310.pyc writing byte-compilation script '/tmp/tmpvgv0vlah.py' /usr/bin/python3 /tmp/tmpvgv0vlah.py removing /tmp/tmpvgv0vlah.py running install_egg_info running egg_info writing rpkg.egg-info/PKG-INFO writing dependency_links to rpkg.egg-info/dependency_links.txt writing requirements to rpkg.egg-info/requires.txt writing top-level names to rpkg.egg-info/top_level.txt reading manifest file 'rpkg.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files matching '__pycache__' found anywhere in distribution warning: no previously-included files found matching '.gitignore' no previously-included directories found matching 'doc/build' no previously-included directories found matching 'doc/source/commands/' no previously-included directories found matching 'doc/source/_static/' warning: no previously-included files found matching 'doc/source/cli.rst' warning: no previously-included files found matching 'doc/source/man_pages.json' adding license file 'COPYING' adding license file 'COPYING-koji' writing manifest file 'rpkg.egg-info/SOURCES.txt' Copying rpkg.egg-info to /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/rpkg-1.65-py3.10.egg-info running install_scripts + /usr/bin/install -d /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/etc/rpkg + example_cli_dir=/builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/share/rpkg/examples/cli + /usr/bin/install -d /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/share/rpkg/examples/cli + /usr/bin/install -d /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/share/rpkg/examples/cli/usr/bin + /usr/bin/install -d /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/share/rpkg/examples/cli/etc/bash_completion.d + /usr/bin/install -d /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/share/rpkg/examples/cli/etc/rpkg + /usr/bin/install -p -m 0644 bin/rpkg /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/share/rpkg/examples/cli/usr/bin + /usr/bin/install -p -m 0644 etc/bash_completion.d/rpkg.bash /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/share/rpkg/examples/cli/etc/bash_completion.d + /usr/bin/install -p -m 0644 etc/rpkg/rpkg.conf /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/share/rpkg/examples/cli/etc/rpkg + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 1.65-1 --unique-debug-suffix -1.65-1.aarch64 --unique-debug-src-base rpkg-1.65-1.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/rpkg-1.65 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10 using /usr/bin/python3.10 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Ox15tu + umask 022 + cd /builddir/build/BUILD + cd rpkg-1.65 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + PATH=/builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib64/python3.10/site-packages:/builddir/build/BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.10.9, pytest-7.0.1, pluggy-0.13.1 rootdir: /builddir/build/BUILD/rpkg-1.65, configfile: setup.cfg, testpaths: tests collected 25 items / 18 errors / 7 selected ==================================== ERRORS ==================================== ______________________ ERROR collecting tests/test_cli.py ______________________ ImportError while importing test module '/builddir/build/BUILD/rpkg-1.65/tests/test_cli.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/site-packages/git/__init__.py:89: in refresh() /usr/lib/python3.10/site-packages/git/__init__.py:76: in refresh if not Git.refresh(path=path): /usr/lib/python3.10/site-packages/git/cmd.py:392: in refresh raise ImportError(err) E ImportError: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet The above exception was the direct cause of the following exception: /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_cli.py:15: in import git /usr/lib/python3.10/site-packages/git/__init__.py:91: in raise ImportError("Failed to initialize: {0}".format(exc)) from exc E ImportError: Failed to initialize: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet ___________________ ERROR collecting tests/test_commands.py ____________________ ImportError while importing test module '/builddir/build/BUILD/rpkg-1.65/tests/test_commands.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/site-packages/git/__init__.py:89: in refresh() /usr/lib/python3.10/site-packages/git/__init__.py:76: in refresh if not Git.refresh(path=path): /usr/lib/python3.10/site-packages/git/cmd.py:392: in refresh raise ImportError(err) E ImportError: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet The above exception was the direct cause of the following exception: /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_commands.py:11: in import git /usr/lib/python3.10/site-packages/git/__init__.py:91: in raise ImportError("Failed to initialize: {0}".format(exc)) from exc E ImportError: Failed to initialize: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet _________________ ERROR collecting tests/test_flatpak_build.py _________________ ImportError while importing test module '/builddir/build/BUILD/rpkg-1.65/tests/test_flatpak_build.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/site-packages/git/__init__.py:89: in refresh() /usr/lib/python3.10/site-packages/git/__init__.py:76: in refresh if not Git.refresh(path=path): /usr/lib/python3.10/site-packages/git/cmd.py:392: in refresh raise ImportError(err) E ImportError: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet The above exception was the direct cause of the following exception: /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_flatpak_build.py:6: in from pyrpkg import Modulemd ../../BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/__init__.py:36: in import git /usr/lib/python3.10/site-packages/git/__init__.py:91: in raise ImportError("Failed to initialize: {0}".format(exc)) from exc E ImportError: Failed to initialize: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet ________________ ERROR collecting tests/test_layout_distgit.py _________________ ImportError while importing test module '/builddir/build/BUILD/rpkg-1.65/tests/test_layout_distgit.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/site-packages/git/__init__.py:89: in refresh() /usr/lib/python3.10/site-packages/git/__init__.py:76: in refresh if not Git.refresh(path=path): /usr/lib/python3.10/site-packages/git/cmd.py:392: in refresh raise ImportError(err) E ImportError: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet The above exception was the direct cause of the following exception: /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_layout_distgit.py:4: in from pyrpkg import errors ../../BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/__init__.py:36: in import git /usr/lib/python3.10/site-packages/git/__init__.py:91: in raise ImportError("Failed to initialize: {0}".format(exc)) from exc E ImportError: Failed to initialize: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet ___________ ERROR collecting tests/test_layout_distgit_resultsdir.py ___________ ImportError while importing test module '/builddir/build/BUILD/rpkg-1.65/tests/test_layout_distgit_resultsdir.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/site-packages/git/__init__.py:89: in refresh() /usr/lib/python3.10/site-packages/git/__init__.py:76: in refresh if not Git.refresh(path=path): /usr/lib/python3.10/site-packages/git/cmd.py:392: in refresh raise ImportError(err) E ImportError: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet The above exception was the direct cause of the following exception: /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_layout_distgit_resultsdir.py:4: in from pyrpkg import errors ../../BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/__init__.py:36: in import git /usr/lib/python3.10/site-packages/git/__init__.py:91: in raise ImportError("Failed to initialize: {0}".format(exc)) from exc E ImportError: Failed to initialize: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet _______________ ERROR collecting tests/test_layout_incomplete.py _______________ ImportError while importing test module '/builddir/build/BUILD/rpkg-1.65/tests/test_layout_incomplete.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/site-packages/git/__init__.py:89: in refresh() /usr/lib/python3.10/site-packages/git/__init__.py:76: in refresh if not Git.refresh(path=path): /usr/lib/python3.10/site-packages/git/cmd.py:392: in refresh raise ImportError(err) E ImportError: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet The above exception was the direct cause of the following exception: /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_layout_incomplete.py:4: in from pyrpkg import errors ../../BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/__init__.py:36: in import git /usr/lib/python3.10/site-packages/git/__init__.py:91: in raise ImportError("Failed to initialize: {0}".format(exc)) from exc E ImportError: Failed to initialize: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet ________________ ERROR collecting tests/test_layout_retired.py _________________ ImportError while importing test module '/builddir/build/BUILD/rpkg-1.65/tests/test_layout_retired.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/site-packages/git/__init__.py:89: in refresh() /usr/lib/python3.10/site-packages/git/__init__.py:76: in refresh if not Git.refresh(path=path): /usr/lib/python3.10/site-packages/git/cmd.py:392: in refresh raise ImportError(err) E ImportError: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet The above exception was the direct cause of the following exception: /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_layout_retired.py:4: in from pyrpkg import errors ../../BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/__init__.py:36: in import git /usr/lib/python3.10/site-packages/git/__init__.py:91: in raise ImportError("Failed to initialize: {0}".format(exc)) from exc E ImportError: Failed to initialize: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet __________________ ERROR collecting tests/test_layout_srpm.py __________________ ImportError while importing test module '/builddir/build/BUILD/rpkg-1.65/tests/test_layout_srpm.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/site-packages/git/__init__.py:89: in refresh() /usr/lib/python3.10/site-packages/git/__init__.py:76: in refresh if not Git.refresh(path=path): /usr/lib/python3.10/site-packages/git/cmd.py:392: in refresh raise ImportError(err) E ImportError: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet The above exception was the direct cause of the following exception: /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_layout_srpm.py:4: in from pyrpkg import errors ../../BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/__init__.py:36: in import git /usr/lib/python3.10/site-packages/git/__init__.py:91: in raise ImportError("Failed to initialize: {0}".format(exc)) from exc E ImportError: Failed to initialize: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet ___________________ ERROR collecting tests/test_lookaside.py ___________________ ImportError while importing test module '/builddir/build/BUILD/rpkg-1.65/tests/test_lookaside.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/site-packages/git/__init__.py:89: in refresh() /usr/lib/python3.10/site-packages/git/__init__.py:76: in refresh if not Git.refresh(path=path): /usr/lib/python3.10/site-packages/git/cmd.py:392: in refresh raise ImportError(err) E ImportError: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet The above exception was the direct cause of the following exception: /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_lookaside.py:24: in from pyrpkg.errors import (AlreadyUploadedError, DownloadError, ../../BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/__init__.py:36: in import git /usr/lib/python3.10/site-packages/git/__init__.py:91: in raise ImportError("Failed to initialize: {0}".format(exc)) from exc E ImportError: Failed to initialize: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet _________________ ERROR collecting tests/test_module_build.py __________________ ImportError while importing test module '/builddir/build/BUILD/rpkg-1.65/tests/test_module_build.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/site-packages/git/__init__.py:89: in refresh() /usr/lib/python3.10/site-packages/git/__init__.py:76: in refresh if not Git.refresh(path=path): /usr/lib/python3.10/site-packages/git/cmd.py:392: in refresh raise ImportError(err) E ImportError: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet The above exception was the direct cause of the following exception: /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_module_build.py:13: in from utils import CommandTestCase tests/utils.py:10: in from pyrpkg import Commands ../../BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/__init__.py:36: in import git /usr/lib/python3.10/site-packages/git/__init__.py:91: in raise ImportError("Failed to initialize: {0}".format(exc)) from exc E ImportError: Failed to initialize: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet ____________________ ERROR collecting tests/test_retire.py _____________________ ImportError while importing test module '/builddir/build/BUILD/rpkg-1.65/tests/test_retire.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/site-packages/git/__init__.py:89: in refresh() /usr/lib/python3.10/site-packages/git/__init__.py:76: in refresh if not Git.refresh(path=path): /usr/lib/python3.10/site-packages/git/cmd.py:392: in refresh raise ImportError(err) E ImportError: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet The above exception was the direct cause of the following exception: /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_retire.py:8: in import pyrpkg.cli ../../BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/__init__.py:36: in import git /usr/lib/python3.10/site-packages/git/__init__.py:91: in raise ImportError("Failed to initialize: {0}".format(exc)) from exc E ImportError: Failed to initialize: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet ___________________ ERROR collecting tests/test_side_tag.py ____________________ ImportError while importing test module '/builddir/build/BUILD/rpkg-1.65/tests/test_side_tag.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/site-packages/git/__init__.py:89: in refresh() /usr/lib/python3.10/site-packages/git/__init__.py:76: in refresh if not Git.refresh(path=path): /usr/lib/python3.10/site-packages/git/cmd.py:392: in refresh raise ImportError(err) E ImportError: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet The above exception was the direct cause of the following exception: /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_side_tag.py:7: in import pyrpkg.cli ../../BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/__init__.py:36: in import git /usr/lib/python3.10/site-packages/git/__init__.py:91: in raise ImportError("Failed to initialize: {0}".format(exc)) from exc E ImportError: Failed to initialize: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet ____________________ ERROR collecting tests/test_sources.py ____________________ ImportError while importing test module '/builddir/build/BUILD/rpkg-1.65/tests/test_sources.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/site-packages/git/__init__.py:89: in refresh() /usr/lib/python3.10/site-packages/git/__init__.py:76: in refresh if not Git.refresh(path=path): /usr/lib/python3.10/site-packages/git/cmd.py:392: in refresh raise ImportError(err) E ImportError: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet The above exception was the direct cause of the following exception: /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_sources.py:6: in from pyrpkg import sources ../../BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/__init__.py:36: in import git /usr/lib/python3.10/site-packages/git/__init__.py:91: in raise ImportError("Failed to initialize: {0}".format(exc)) from exc E ImportError: Failed to initialize: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet _____________________ ERROR collecting tests/test_spec.py ______________________ ImportError while importing test module '/builddir/build/BUILD/rpkg-1.65/tests/test_spec.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/site-packages/git/__init__.py:89: in refresh() /usr/lib/python3.10/site-packages/git/__init__.py:76: in refresh if not Git.refresh(path=path): /usr/lib/python3.10/site-packages/git/cmd.py:392: in refresh raise ImportError(err) E ImportError: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet The above exception was the direct cause of the following exception: /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_spec.py:6: in from pyrpkg import spec ../../BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/__init__.py:36: in import git /usr/lib/python3.10/site-packages/git/__init__.py:91: in raise ImportError("Failed to initialize: {0}".format(exc)) from exc E ImportError: Failed to initialize: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet _____________________ ERROR collecting tests/test_utils.py _____________________ ImportError while importing test module '/builddir/build/BUILD/rpkg-1.65/tests/test_utils.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/site-packages/git/__init__.py:89: in refresh() /usr/lib/python3.10/site-packages/git/__init__.py:76: in refresh if not Git.refresh(path=path): /usr/lib/python3.10/site-packages/git/cmd.py:392: in refresh raise ImportError(err) E ImportError: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet The above exception was the direct cause of the following exception: /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_utils.py:11: in from pyrpkg.utils import (cached_property, is_file_in_directory, ../../BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/__init__.py:36: in import git /usr/lib/python3.10/site-packages/git/__init__.py:91: in raise ImportError("Failed to initialize: {0}".format(exc)) from exc E ImportError: Failed to initialize: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet ______________ ERROR collecting tests/commands/test_check_repo.py ______________ ImportError while importing test module '/builddir/build/BUILD/rpkg-1.65/tests/commands/test_check_repo.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/site-packages/git/__init__.py:89: in refresh() /usr/lib/python3.10/site-packages/git/__init__.py:76: in refresh if not Git.refresh(path=path): /usr/lib/python3.10/site-packages/git/cmd.py:392: in refresh raise ImportError(err) E ImportError: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet The above exception was the direct cause of the following exception: /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/commands/test_check_repo.py:8: in from pyrpkg.errors import rpkgError ../../BUILDROOT/rpkg-1.65-1.aarch64/usr/lib/python3.10/site-packages/pyrpkg/__init__.py:36: in import git /usr/lib/python3.10/site-packages/git/__init__.py:91: in raise ImportError("Failed to initialize: {0}".format(exc)) from exc E ImportError: Failed to initialize: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet ________________ ERROR collecting tests/commands/test_clone.py _________________ ImportError while importing test module '/builddir/build/BUILD/rpkg-1.65/tests/commands/test_clone.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/site-packages/git/__init__.py:89: in refresh() /usr/lib/python3.10/site-packages/git/__init__.py:76: in refresh if not Git.refresh(path=path): /usr/lib/python3.10/site-packages/git/cmd.py:392: in refresh raise ImportError(err) E ImportError: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet The above exception was the direct cause of the following exception: /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/commands/test_clone.py:5: in import git /usr/lib/python3.10/site-packages/git/__init__.py:91: in raise ImportError("Failed to initialize: {0}".format(exc)) from exc E ImportError: Failed to initialize: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet _________________ ERROR collecting tests/commands/test_push.py _________________ ImportError while importing test module '/builddir/build/BUILD/rpkg-1.65/tests/commands/test_push.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/site-packages/git/__init__.py:89: in refresh() /usr/lib/python3.10/site-packages/git/__init__.py:76: in refresh if not Git.refresh(path=path): /usr/lib/python3.10/site-packages/git/cmd.py:392: in refresh raise ImportError(err) E ImportError: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet The above exception was the direct cause of the following exception: /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/commands/test_push.py:5: in import git /usr/lib/python3.10/site-packages/git/__init__.py:91: in raise ImportError("Failed to initialize: {0}".format(exc)) from exc E ImportError: Failed to initialize: Bad git executable. E The git executable must be specified in one of the following ways: E - be included in your $PATH E - be set via $GIT_PYTHON_GIT_EXECUTABLE E - explicitly set via git.refresh() E E All git commands will error until this is rectified. E E This initial warning can be silenced or aggravated in the future by setting the E $GIT_PYTHON_REFRESH environment variable. Use one of the following values: E - quiet|q|silence|s|none|n|0: for no warning or exception E - warn|w|warning|1: for a printed warning E - error|e|raise|r|2: for a raised exception E E Example: E export GIT_PYTHON_REFRESH=quiet =========================== short test summary info ============================ ERROR tests/test_cli.py ERROR tests/test_commands.py ERROR tests/test_flatpak_build.py ERROR tests/test_layout_distgit.py ERROR tests/test_layout_distgit_resultsdir.py ERROR tests/test_layout_incomplete.py ERROR tests/test_layout_retired.py ERROR tests/test_layout_srpm.py ERROR tests/test_lookaside.py ERROR tests/test_module_build.py ERROR tests/test_retire.py ERROR tests/test_side_tag.py ERROR tests/test_sources.py ERROR tests/test_spec.py ERROR tests/test_utils.py ERROR tests/commands/test_check_repo.py ERROR tests/commands/test_clone.py ERROR tests/commands/test_push.py !!!!!!!!!!!!!!!!!!! Interrupted: 18 errors during collection !!!!!!!!!!!!!!!!!!! ============================== 18 errors in 3.57s ============================== RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.Ox15tu (%check) Bad exit status from /var/tmp/rpm-tmp.Ox15tu (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rpkg.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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 -bb --target aarch64 --nodeps /builddir/build/SPECS/rpkg.spec