<86>Dec 14 09:05:01 userdel[1703102]: delete user 'rooter' <86>Dec 14 09:05:01 userdel[1703102]: removed group 'rooter' owned by 'rooter' <86>Dec 14 09:05:01 userdel[1703102]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 14 09:05:01 groupadd[1703149]: group added to /etc/group: name=rooter, GID=1862 <86>Dec 14 09:05:01 groupadd[1703149]: group added to /etc/gshadow: name=rooter <86>Dec 14 09:05:01 groupadd[1703149]: new group: name=rooter, GID=1862 <86>Dec 14 09:05:01 useradd[1703194]: new user: name=rooter, UID=1862, GID=1862, home=/root, shell=/bin/bash, from=none <86>Dec 14 09:05:01 userdel[1703270]: delete user 'builder' <86>Dec 14 09:05:01 userdel[1703270]: removed group 'builder' owned by 'builder' <86>Dec 14 09:05:01 userdel[1703270]: removed shadow group 'builder' owned by 'builder' <86>Dec 14 09:05:01 groupadd[1703342]: group added to /etc/group: name=builder, GID=1863 <86>Dec 14 09:05:01 groupadd[1703342]: group added to /etc/gshadow: name=builder <86>Dec 14 09:05:01 groupadd[1703342]: new group: name=builder, GID=1863 <86>Dec 14 09:05:01 useradd[1703399]: new user: name=builder, UID=1863, GID=1863, home=/usr/src, shell=/bin/bash, from=none <13>Dec 14 09:05:05 rpmi: libidn2-2.3.7-alt1 sisyphus+339505.100.1.2 1706718975 installed <13>Dec 14 09:05:05 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Dec 14 09:05:05 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349845 installed <13>Dec 14 09:05:06 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Dec 14 09:05:06 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Dec 14 09:05:06 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Dec 14 09:05:06 rpmi: libgnutls30-3.8.8-alt2 sisyphus+364832.100.1.1 1734008167 installed <13>Dec 14 09:05:06 rpmi: libngtcp2.16-1.9.1-alt1 sisyphus+363819.100.1.1 1733129258 installed <13>Dec 14 09:05:06 rpmi: libngtcp2_crypto_gnutls8-1.9.1-alt1 sisyphus+363819.100.1.1 1733129258 installed <13>Dec 14 09:05:06 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Dec 14 09:05:06 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Dec 14 09:05:06 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Dec 14 09:05:06 rpmi: publicsuffix-list-dafsa-20240911-alt1 sisyphus+357399.100.1.1 1726160479 installed <13>Dec 14 09:05:06 rpmi: libpsl-0.21.5-alt1 sisyphus+338474.100.1.1 1705684771 installed <13>Dec 14 09:05:06 rpmi: libnghttp3.9-1.6.0-alt1 sisyphus+363819.40.1.1 1733129195 installed <13>Dec 14 09:05:06 rpmi: libnghttp2-1.64.0-alt1 sisyphus+363795.200.2.1 1733118560 installed <13>Dec 14 09:05:06 rpmi: openldap-common-2.6.9-alt1 sisyphus+364781.100.1.1 1733971238 installed <13>Dec 14 09:05:06 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626059663 installed <13>Dec 14 09:05:06 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769693 installed <13>Dec 14 09:05:06 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Dec 14 09:05:06 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Dec 14 09:05:06 rpmi: libxxhash-0.8.2-alt1 sisyphus+336514.200.7.1 1702672120 installed <13>Dec 14 09:05:06 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667413000 installed <13>Dec 14 09:05:06 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684806164 installed <13>Dec 14 09:05:06 rpmi: liblmdb-0.9.33-alt1 sisyphus+360625.100.1.1 1729819639 installed <13>Dec 14 09:05:06 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Dec 14 09:05:06 rpmi: libcom_err-1.47.1.0.10.ad56-alt2 sisyphus+363497.200.3.1 1732729916 installed <13>Dec 14 09:05:06 rpmi: libedit3-3.1.20230828-alt1 sisyphus+330914.200.3.1 1696922745 installed <13>Dec 14 09:05:06 rpmi: less-633-alt1 sisyphus+328181.300.2.1 1693321749 installed <13>Dec 14 09:05:06 rpmi: diffstat-1.64-alt1 sisyphus+346132.200.3.2 1716466240 installed <13>Dec 14 09:05:06 rpmi: libsodium26-1.0.20-alt1 sisyphus+349409.100.1.1 1716752694 installed <13>Dec 14 09:05:06 rpmi: libyaml2-0.2.5-alt1 sisyphus+278391.100.1.1 1626094932 installed <13>Dec 14 09:05:06 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed <13>Dec 14 09:05:06 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468406 installed <13>Dec 14 09:05:06 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962878 installed <13>Dec 14 09:05:06 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 14 09:05:06 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 14 09:05:06 rpmi: ca-certificates-2024.12.10-alt1 sisyphus+364633.200.3.1 1733918603 installed <13>Dec 14 09:05:06 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Dec 14 09:05:06 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Dec 14 09:05:06 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Dec 14 09:05:06 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Dec 14 09:05:06 rpmi: python3-3.12.8-alt1 sisyphus+364336.100.1.1 1733526985 installed <13>Dec 14 09:05:07 rpmi: python3-base-3.12.8-alt1 sisyphus+364336.100.1.1 1733526985 installed <13>Dec 14 09:05:07 rpmi: python3-module-packaging-24.2-alt1 sisyphus+362183.100.1.1 1731315992 installed <13>Dec 14 09:05:07 rpmi: python3-module-system-seed-wheels-0.0.1-alt1 sisyphus+270533.400.6.1 1619683380 installed <86>Dec 14 09:05:07 groupadd[1729208]: group added to /etc/group: name=_keytab, GID=999 <86>Dec 14 09:05:07 groupadd[1729208]: group added to /etc/gshadow: name=_keytab <86>Dec 14 09:05:07 groupadd[1729208]: new group: name=_keytab, GID=999 <13>Dec 14 09:05:07 rpmi: libkrb5-1.21.3-alt2 sisyphus+351857.100.1.1 1719735219 installed <13>Dec 14 09:05:07 rpmi: python3-module-more-itertools-10.5.0-alt1 sisyphus+357221.100.1.1 1725964420 installed <13>Dec 14 09:05:07 rpmi: python3-module-jaraco.functools-4.1.0-alt1 sisyphus+358564.100.1.1 1727528718 installed <13>Dec 14 09:05:07 rpmi: python3-module-yaml-6.0.2-alt1 sisyphus+356896.100.1.1 1725541114 installed <13>Dec 14 09:05:07 rpmi: python3-module-attrs-24.2.0-alt2 sisyphus+355603.200.1.1 1724160494 installed <13>Dec 14 09:05:07 rpmi: python3-module-filelock-3.16.1-alt1 sisyphus+357787.100.1.1 1726664660 installed <13>Dec 14 09:05:07 rpmi: python3-module-iniconfig-2.0.0-alt1 sisyphus+314076.200.3.1 1674737275 installed <13>Dec 14 09:05:07 rpmi: python3-module-pluggy-1.5.0-alt1 sisyphus+345632.100.2.1 1713864244 installed <13>Dec 14 09:05:07 rpmi: python3-module-pytest-8.3.4-alt1 sisyphus+363889.100.1.1 1733152874 installed <13>Dec 14 09:05:07 rpmi: python3-module-rpds-py-0.22.3-alt1 sisyphus+364116.100.1.1 1733391063 installed <13>Dec 14 09:05:07 rpmi: python3-module-referencing-0.35.1-alt1 sisyphus+347280.100.1.1 1714643044 installed <13>Dec 14 09:05:07 rpmi: python3-module-platformdirs-4.3.6-alt1 sisyphus+357787.200.1.1 1726664692 installed <13>Dec 14 09:05:07 rpmi: python3-module-jsonschema-specifications-2024.10.1-alt1 sisyphus+359439.100.1.1 1728564133 installed <13>Dec 14 09:05:07 rpmi: libgsasl18-2.2.1-alt2 sisyphus+359713.200.2.1 1728905438 installed <86>Dec 14 09:05:07 groupadd[1730010]: group added to /etc/group: name=sasl, GID=998 <86>Dec 14 09:05:07 groupadd[1730010]: group added to /etc/gshadow: name=sasl <86>Dec 14 09:05:07 groupadd[1730010]: new group: name=sasl, GID=998 <13>Dec 14 09:05:07 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112524 installed <13>Dec 14 09:05:07 rpmi: libldap2-2.6.9-alt1 sisyphus+364781.100.1.1 1733971261 installed <13>Dec 14 09:05:07 rpmi: python3-module-pip-wheel-24.3.1-alt1 sisyphus+361010.100.1.1 1730124559 installed <13>Dec 14 09:05:07 rpmi: python3-module-setuptools-wheel-1:75.6.0-alt1 sisyphus+363072.100.1.1 1732185085 installed <13>Dec 14 09:05:07 rpmi: python3-module-wheel-wheel-0.45.1-alt1 sisyphus+363326.100.2.1 1732609969 installed <13>Dec 14 09:05:07 rpmi: python3-module-system-seed-wheels-wheels-0.0.1-alt1 sisyphus+270533.400.6.1 1619683380 installed <13>Dec 14 09:05:07 rpmi: python3-module-markupsafe-1:3.0.2-alt1 sisyphus+360209.100.1.1 1729323052 installed <13>Dec 14 09:05:07 rpmi: python3-module-jinja2-3.1.4-alt1 sisyphus+348267.100.1.1 1715939549 installed <13>Dec 14 09:05:07 rpmi: python3-module-ansible-2.18.1-alt1 sisyphus+364379.100.1.1 1733553237 installed <13>Dec 14 09:05:07 rpmi: python3-module-bcrypt-3.2.2-alt1 sisyphus+333513.30700.72.1 1704589372 installed <13>Dec 14 09:05:07 rpmi: python3-module-pycparser-2.21-alt1.1 sisyphus+309935.7300.4.1 1668527005 installed <13>Dec 14 09:05:08 rpmi: python3-module-cffi-1.17.1-alt1 sisyphus+357396.100.1.1 1726156488 installed <13>Dec 14 09:05:08 rpmi: python3-module-cryptography-43.0.0-alt1 sisyphus+353417.100.1.1 1721731017 installed <13>Dec 14 09:05:08 rpmi: mercurial-6.8.1-alt1 sisyphus+358552.100.1.1 1727504031 installed <13>Dec 14 09:05:08 rpmi: python3-module-pynacl-1.5.0-alt1 sisyphus+333513.31600.72.1 1704589705 installed <13>Dec 14 09:05:08 rpmi: python3-module-paramiko-3.5.0-alt1 sisyphus+357791.100.1.1 1726665074 installed <13>Dec 14 09:05:08 rpmi: python3-module-resolvelib-1.1.0-alt1 sisyphus+361352.200.2.1 1730462194 installed <13>Dec 14 09:05:08 rpmi: libpython3-3.12.8-alt1 sisyphus+364336.100.1.1 1733526985 installed <13>Dec 14 09:05:08 rpmi: python3-module-py3dephell-0.1.0-alt2 sisyphus+328191.600.5.1 1693609196 installed <13>Dec 14 09:05:08 rpmi: python3-module-apipkg-3.0.2-alt1 sisyphus+350203.100.1.1 1717353225 installed <13>Dec 14 09:05:08 rpmi: python3-module-py-1.11.0-alt1 sisyphus+295927.100.2.1 1646050822 installed <13>Dec 14 09:05:08 rpmi: python3-module-autocommand-2.2.2-alt1.1 sisyphus+339714.100.1.1 1706968174 installed <13>Dec 14 09:05:08 rpmi: python3-module-distlib-0.3.9-alt1 sisyphus+359423.100.1.1 1728557083 installed <13>Dec 14 09:05:08 rpmi: python3-module-virtualenv-20.28.0-alt1 sisyphus+363402.100.2.1 1732630993 installed <13>Dec 14 09:05:08 rpmi: python3-module-jaraco.context-6.0.1-alt1 sisyphus+357809.300.1.1 1726769204 installed <13>Dec 14 09:05:08 rpmi: python3-module-jaraco.text-4.0.0-alt1 sisyphus+353877.400.2.1 1722250727 installed <13>Dec 14 09:05:08 rpmi: python3-module-jaraco.collections-5.1.0-alt1 sisyphus+357809.200.1.1 1726769173 installed <13>Dec 14 09:05:08 rpmi: python3-module-wheel-0.45.1-alt1 sisyphus+363326.100.2.1 1732609969 installed <13>Dec 14 09:05:08 rpmi: python3-module-pkg_resources-1:75.6.0-alt1 sisyphus+363072.100.1.1 1732185085 installed <13>Dec 14 09:05:08 rpmi: python3-module-six-1.17.0-alt1 sisyphus+364177.100.1.1 1733425205 installed <13>Dec 14 09:05:08 rpmi: tests-for-installed-python3-pkgs-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed <13>Dec 14 09:05:08 rpmi: rpm-build-python3-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed <13>Dec 14 09:05:09 rpmi: python3-dev-3.12.8-alt1 sisyphus+364336.100.1.1 1733526985 installed <13>Dec 14 09:05:09 rpmi: python3-module-setuptools-1:75.6.0-alt1 sisyphus+363072.100.1.1 1732185085 installed <13>Dec 14 09:05:09 rpmi: openssh-common-9.6p1-alt2 sisyphus+351911.100.1.1 1719838551 installed <86>Dec 14 09:05:09 groupadd[1741504]: group added to /etc/group: name=sshagent, GID=997 <86>Dec 14 09:05:09 groupadd[1741504]: group added to /etc/gshadow: name=sshagent <86>Dec 14 09:05:09 groupadd[1741504]: new group: name=sshagent, GID=997 <13>Dec 14 09:05:09 rpmi: openssh-clients-9.6p1-alt2 sisyphus+351911.100.1.1 1719838551 installed <13>Dec 14 09:05:09 rpmi: rsync-3.2.7-alt1 sisyphus+325006.2000.1.1 1689498390 installed <13>Dec 14 09:05:09 rpmi: libssh2-1.11.0-alt2 sisyphus+339356.100.1.1 1706593140 installed <13>Dec 14 09:05:10 rpmi: libcurl-8.11.1-alt1 sisyphus+364692.100.1.1 1733905244 installed <13>Dec 14 09:05:10 rpmi: git-core-2.42.2-alt1 sisyphus+348068.100.1.1 1715721643 installed <13>Dec 14 09:05:10 rpmi: python3-module-setuptools_scm-8.1.0-alt1 sisyphus+358552.200.1.1 1727504224 installed <13>Dec 14 09:05:10 rpmi: python3-module-tox-3.27.1-alt4 sisyphus+345209.200.2.1 1713349545 installed <13>Dec 14 09:05:10 rpmi: ansible-core-2.18.1-alt1 sisyphus+364379.100.1.1 1733553237 installed <13>Dec 14 09:05:10 rpmi: python3-module-jsonschema-4.23.0-alt1 sisyphus+352455.200.1.1 1720510011 installed <13>Dec 14 09:05:10 rpmi: python3-module-flaky-3.8.1-alt1 sisyphus+344119.100.1.1 1711967596 installed <13>Dec 14 09:05:10 rpmi: python3-module-pytest-mock-3.14.0-alt1 sisyphus+343327.100.2.2 1711118794 installed <13>Dec 14 09:05:10 rpmi: python3-module-pip-24.3.1-alt1 sisyphus+361010.100.1.1 1730124559 installed <13>Dec 14 09:05:10 rpmi: python3-module-pyproject-installer-0.5.5-alt1 sisyphus+362541.100.1.1 1731610714 installed <13>Dec 14 09:05:10 rpmi: python3-module-subprocess-tee-0.4.2-alt1 sisyphus+351116.100.1.1 1718704767 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/ansible-compat-24.9.1-alt1.nosrc.rpm (w1.gzdio) Installing ansible-compat-24.9.1-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.6851 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ansible-compat-24.9.1 + echo 'Source #0 (ansible-compat-24.9.1.tar):' Source #0 (ansible-compat-24.9.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/ansible-compat-24.9.1.tar + cd ansible-compat-24.9.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'ref-names: tag: v24.9.1' + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.6851 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ansible-compat-24.9.1 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export 'FFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + /usr/bin/python3 -m pyproject_installer -v build INFO : pyproject_installer.build_cmd._build : Building wheel INFO : pyproject_installer.build_cmd._build : Source tree: /usr/src/RPM/BUILD/ansible-compat-24.9.1 INFO : pyproject_installer.build_cmd._build : Output dir: /usr/src/RPM/BUILD/ansible-compat-24.9.1/dist DEBUG : pyproject_installer.lib.build_backend : Validating source path DEBUG : pyproject_installer.lib.build_backend : Checking for PEP517 spec DEBUG : pyproject_installer.lib.build_backend : Parsing configuration file: /usr/src/RPM/BUILD/ansible-compat-24.9.1/pyproject.toml INFO : backend_caller.py : Calling hook build_wheel in subprocess INFO : backend_caller.py : Build backend: setuptools.build_meta INFO : backend_caller.py : Hook args: ['/usr/src/RPM/BUILD/ansible-compat-24.9.1/dist'] INFO : backend_caller.py : Hook kwargs: {'config_settings': None} /usr/lib/python3/site-packages/setuptools_scm/git.py:312: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") INFO : root : running bdist_wheel INFO : root : running build INFO : root : running build_py INFO : root : creating build/lib/ansible_compat INFO : root : copying src/ansible_compat/__init__.py -> build/lib/ansible_compat INFO : root : copying src/ansible_compat/config.py -> build/lib/ansible_compat INFO : root : copying src/ansible_compat/constants.py -> build/lib/ansible_compat INFO : root : copying src/ansible_compat/errors.py -> build/lib/ansible_compat INFO : root : copying src/ansible_compat/loaders.py -> build/lib/ansible_compat INFO : root : copying src/ansible_compat/ports.py -> build/lib/ansible_compat INFO : root : copying src/ansible_compat/prerun.py -> build/lib/ansible_compat INFO : root : copying src/ansible_compat/runtime.py -> build/lib/ansible_compat INFO : root : copying src/ansible_compat/schema.py -> build/lib/ansible_compat INFO : root : copying src/ansible_compat/types.py -> build/lib/ansible_compat INFO : root : copying src/ansible_compat/_version.py -> build/lib/ansible_compat INFO : root : running egg_info INFO : root : creating src/ansible_compat.egg-info INFO : root : writing src/ansible_compat.egg-info/PKG-INFO INFO : root : writing dependency_links to src/ansible_compat.egg-info/dependency_links.txt INFO : root : writing requirements to src/ansible_compat.egg-info/requires.txt INFO : root : writing top-level names to src/ansible_compat.egg-info/top_level.txt INFO : root : writing manifest file 'src/ansible_compat.egg-info/SOURCES.txt' ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any WARNING setuptools_scm._file_finders.git git archive detected - fallback to listing all files INFO : root : adding license file 'LICENSE' INFO : root : writing manifest file 'src/ansible_compat.egg-info/SOURCES.txt' INFO : root : copying src/ansible_compat/py.typed -> build/lib/ansible_compat INFO : root : installing to build/bdist.linux-i686/wheel INFO : root : running install INFO : root : running install_lib INFO : root : creating build/bdist.linux-i686/wheel INFO : root : creating build/bdist.linux-i686/wheel/ansible_compat INFO : root : copying build/lib/ansible_compat/__init__.py -> build/bdist.linux-i686/wheel/./ansible_compat INFO : root : copying build/lib/ansible_compat/config.py -> build/bdist.linux-i686/wheel/./ansible_compat INFO : root : copying build/lib/ansible_compat/constants.py -> build/bdist.linux-i686/wheel/./ansible_compat INFO : root : copying build/lib/ansible_compat/errors.py -> build/bdist.linux-i686/wheel/./ansible_compat INFO : root : copying build/lib/ansible_compat/loaders.py -> build/bdist.linux-i686/wheel/./ansible_compat INFO : root : copying build/lib/ansible_compat/ports.py -> build/bdist.linux-i686/wheel/./ansible_compat INFO : root : copying build/lib/ansible_compat/prerun.py -> build/bdist.linux-i686/wheel/./ansible_compat INFO : root : copying build/lib/ansible_compat/runtime.py -> build/bdist.linux-i686/wheel/./ansible_compat INFO : root : copying build/lib/ansible_compat/schema.py -> build/bdist.linux-i686/wheel/./ansible_compat INFO : root : copying build/lib/ansible_compat/types.py -> build/bdist.linux-i686/wheel/./ansible_compat INFO : root : copying build/lib/ansible_compat/_version.py -> build/bdist.linux-i686/wheel/./ansible_compat INFO : root : copying build/lib/ansible_compat/py.typed -> build/bdist.linux-i686/wheel/./ansible_compat INFO : root : running install_egg_info INFO : root : Copying src/ansible_compat.egg-info to build/bdist.linux-i686/wheel/./ansible_compat-24.9.1-py3.12.egg-info INFO : root : running install_scripts INFO : root : creating build/bdist.linux-i686/wheel/ansible_compat-24.9.1.dist-info/WHEEL INFO : wheel : creating '/usr/src/RPM/BUILD/ansible-compat-24.9.1/dist/.tmp-_cn2f5nr/ansible_compat-24.9.1-py3-none-any.whl' and adding 'build/bdist.linux-i686/wheel' to it INFO : wheel : adding 'ansible_compat/__init__.py' INFO : wheel : adding 'ansible_compat/_version.py' INFO : wheel : adding 'ansible_compat/config.py' INFO : wheel : adding 'ansible_compat/constants.py' INFO : wheel : adding 'ansible_compat/errors.py' INFO : wheel : adding 'ansible_compat/loaders.py' INFO : wheel : adding 'ansible_compat/ports.py' INFO : wheel : adding 'ansible_compat/prerun.py' INFO : wheel : adding 'ansible_compat/py.typed' INFO : wheel : adding 'ansible_compat/runtime.py' INFO : wheel : adding 'ansible_compat/schema.py' INFO : wheel : adding 'ansible_compat/types.py' INFO : wheel : adding 'ansible_compat-24.9.1.dist-info/LICENSE' INFO : wheel : adding 'ansible_compat-24.9.1.dist-info/METADATA' INFO : wheel : adding 'ansible_compat-24.9.1.dist-info/WHEEL' INFO : wheel : adding 'ansible_compat-24.9.1.dist-info/top_level.txt' INFO : wheel : adding 'ansible_compat-24.9.1.dist-info/RECORD' INFO : root : removing build/bdist.linux-i686/wheel INFO : pyproject_installer.build_cmd._build : Built wheel: ansible_compat-24.9.1-py3-none-any.whl + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.3906 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/ansible-compat-buildroot + : + /bin/rm -rf -- /usr/src/tmp/ansible-compat-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd ansible-compat-24.9.1 + /usr/bin/python3 -m pyproject_installer -v install --destdir=/usr/src/tmp/ansible-compat-buildroot INFO : pyproject_installer.install_cmd._install : Installing wheel INFO : pyproject_installer.install_cmd._install : Wheel directory: /usr/src/RPM/BUILD/ansible-compat-24.9.1/dist INFO : pyproject_installer.install_cmd._install : Wheel filename: ansible_compat-24.9.1-py3-none-any.whl INFO : pyproject_installer.install_cmd._install : Destination: /usr/src/tmp/ansible-compat-buildroot DEBUG : pyproject_installer.lib.wheel : Parsing wheel filename DEBUG : pyproject_installer.lib.wheel : Validating wheel file DEBUG : pyproject_installer.lib.wheel : Validating wheel spec version DEBUG : pyproject_installer.lib.wheel : Parsing wheel spec metadata DEBUG : pyproject_installer.lib.wheel : Validating RECORD INFO : pyproject_installer.install_cmd._install : Wheel installation root: /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages INFO : pyproject_installer.install_cmd._install : Extracting wheel DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: ansible_compat-24.9.1.dist-info/LICENSE DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: ansible_compat-24.9.1.dist-info/WHEEL DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: ansible_compat-24.9.1.dist-info/top_level.txt DEBUG : pyproject_installer.install_cmd._install : Filtering out not allowed file: ansible_compat-24.9.1.dist-info/RECORD INFO : pyproject_installer.install_cmd._install : Wheel was installed + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/ansible-compat-buildroot (auto) Verifying and fixing files in /usr/src/tmp/ansible-compat-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/ansible-compat-buildroot/ (default) Compressing files in /usr/src/tmp/ansible-compat-buildroot (auto) Adjusting library links in /usr/src/tmp/ansible-compat-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/ansible-compat-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Splitting links to aliased files under /{,s}bin in /usr/src/tmp/ansible-compat-buildroot Bytecompiling python3 modules in /usr/src/tmp/ansible-compat-buildroot using /usr/bin/python3 compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/__init__.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/_version.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/config.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/constants.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/errors.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/loaders.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/ports.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/prerun.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/runtime.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/schema.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/types.py Bytecompiling python3 modules with optimization in /usr/src/tmp/ansible-compat-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/__init__.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/_version.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/config.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/constants.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/errors.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/loaders.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/ports.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/prerun.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/runtime.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/schema.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/types.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/ansible-compat-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/__init__.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/_version.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/config.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/constants.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/errors.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/loaders.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/ports.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/prerun.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/runtime.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/schema.py compile /usr/src/tmp/ansible-compat-buildroot/usr/lib/python3/site-packages/ansible_compat/types.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/ansible_compat/__pycache__/__init__.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/ansible_compat/__pycache__/__init__.cpython-312.pyc' './usr/lib/python3/site-packages/ansible_compat/__pycache__/_version.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/ansible_compat/__pycache__/_version.cpython-312.pyc' './usr/lib/python3/site-packages/ansible_compat/__pycache__/_version.cpython-312.opt-2.pyc' => './usr/lib/python3/site-packages/ansible_compat/__pycache__/_version.cpython-312.opt-1.pyc' './usr/lib/python3/site-packages/ansible_compat/__pycache__/config.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/ansible_compat/__pycache__/config.cpython-312.pyc' './usr/lib/python3/site-packages/ansible_compat/__pycache__/constants.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/ansible_compat/__pycache__/constants.cpython-312.pyc' './usr/lib/python3/site-packages/ansible_compat/__pycache__/errors.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/ansible_compat/__pycache__/errors.cpython-312.pyc' './usr/lib/python3/site-packages/ansible_compat/__pycache__/loaders.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/ansible_compat/__pycache__/loaders.cpython-312.pyc' './usr/lib/python3/site-packages/ansible_compat/__pycache__/ports.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/ansible_compat/__pycache__/ports.cpython-312.pyc' './usr/lib/python3/site-packages/ansible_compat/__pycache__/prerun.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/ansible_compat/__pycache__/prerun.cpython-312.pyc' './usr/lib/python3/site-packages/ansible_compat/__pycache__/runtime.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/ansible_compat/__pycache__/runtime.cpython-312.pyc' './usr/lib/python3/site-packages/ansible_compat/__pycache__/schema.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/ansible_compat/__pycache__/schema.cpython-312.pyc' './usr/lib/python3/site-packages/ansible_compat/__pycache__/types.cpython-312.opt-1.pyc' => './usr/lib/python3/site-packages/ansible_compat/__pycache__/types.cpython-312.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.3906 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ansible-compat-24.9.1 + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export 'FFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export NO_INTERNET=YES + NO_INTERNET=YES + /usr/bin/python3 -m pyproject_installer run -- python3 -m pytest -vra -k ' not test_prepare_environment_with_collections and not test_prerun_reqs_v1 and not test_prerun_reqs_v2 and not test_install_collection_from_disk and not test_require_collection and not test_install_collection_git and not test_runtime_scan_path and not test_runtime_has_playbook ' INFO : Creating venv INFO : Installing console scripts INFO : Installing package: /usr/src/RPM/BUILD/ansible-compat-24.9.1/dist/ansible_compat-24.9.1-py3-none-any.whl INFO : Running command: ['/usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/python3', '-m', 'pyproject_installer', 'install', '/usr/src/RPM/BUILD/ansible-compat-24.9.1/dist/ansible_compat-24.9.1-py3-none-any.whl'] INFO : Running command: ['python3', '-m', 'pytest', '-vra', '-k', ' not test_prepare_environment_with_collections and not test_prerun_reqs_v1 and not test_prerun_reqs_v2 and not test_install_collection_from_disk and not test_require_collection and not test_install_collection_git and not test_runtime_scan_path and not test_runtime_has_playbook '] ============================= test session starts ============================== platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0 -- /usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/python3 cachedir: .pytest_cache rootdir: /usr/src/RPM/BUILD/ansible-compat-24.9.1 configfile: pyproject.toml testpaths: test plugins: flaky-3.8.1, mock-3.14.0 collecting ... collected 108 items / 19 deselected / 89 selected test/test_api.py::test_placeholder PASSED [ 1%] test/test_config.py::test_config FAILED [ 2%] test/test_config.py::test_config_with_dump PASSED [ 3%] test/test_config.py::test_config_copy PASSED [ 4%] test/test_config.py::test_parse_ansible_version_fail PASSED [ 5%] test/test_config.py::test_ansible_version_missing PASSED [ 6%] test/test_config.py::test_ansible_version PASSED [ 7%] test/test_config.py::test_ansible_version_arg PASSED [ 8%] test/test_config.py::test_ansible_collections_path_env[blank] PASSED [ 10%] test/test_config.py::test_ansible_collections_path_env[singular] PASSED [ 11%] test/test_config.py::test_ansible_collections_path_env[plural] PASSED [ 12%] test/test_configuration_example.py::test_example_config PASSED [ 13%] test/test_loaders.py::test_colpath_from_path PASSED [ 14%] test/test_prerun.py::test_get_cache_dir_relative PASSED [ 15%] test/test_runtime.py::test_runtime_version PASSED [ 16%] test/test_runtime.py::test_runtime_version_outdated[module-required] PASSED [ 17%] test/test_runtime.py::test_runtime_version_outdated[module-unrequired] PASSED [ 19%] test/test_runtime.py::test_runtime_missing_ansible_module PASSED [ 20%] test/test_runtime.py::test_runtime_mismatch_ansible_module PASSED [ 21%] test/test_runtime.py::test_runtime_require_module PASSED [ 22%] test/test_runtime.py::test_runtime_version_fail_module PASSED [ 23%] test/test_runtime.py::test_runtime_version_fail_cli PASSED [ 24%] test/test_runtime.py::test_runtime_prepare_ansible_paths_validation PASSED [ 25%] test/test_runtime.py::test_runtime_install_role[1] PASSED [ 26%] test/test_runtime.py::test_runtime_install_role[2] PASSED [ 28%] test/test_runtime.py::test_runtime_install_role[3] PASSED [ 29%] test/test_runtime.py::test_runtime_install_role[4] PASSED [ 30%] test/test_runtime.py::test_runtime_install_requirements_missing_file PASSED [ 31%] test/test_runtime.py::test_runtime_install_requirements_invalid_file[empty] PASSED [ 32%] test/test_runtime.py::test_runtime_install_requirements_invalid_file[invalid-collection] PASSED [ 33%] test/test_runtime.py::test_runtime_install_requirements_invalid_file[invalid-role] PASSED [ 34%] test/test_runtime.py::test_prerun_reqs_broken PASSED [ 35%] test/test_runtime.py::test__update_env_no_old_value_no_default_no_value PASSED [ 37%] test/test_runtime.py::test__update_env_no_old_value_no_value PASSED [ 38%] test/test_runtime.py::test__update_env_no_default_no_value PASSED [ 39%] test/test_runtime.py::test__update_env_no_old_value_no_default[value0-a] PASSED [ 40%] test/test_runtime.py::test__update_env_no_old_value_no_default[value1-a:b] PASSED [ 41%] test/test_runtime.py::test__update_env_no_old_value_no_default[value2-a:b:c] PASSED [ 42%] test/test_runtime.py::test__update_env_no_old_value[a:b-value0-c:a:b] PASSED [ 43%] test/test_runtime.py::test__update_env_no_old_value[a:b-value1-c:d:a:b] PASSED [ 44%] test/test_runtime.py::test__update_env_no_default[a:b-value0-c:a:b] PASSED [ 46%] test/test_runtime.py::test__update_env_no_default[a:b-value1-c:d:a:b] PASSED [ 47%] test/test_runtime.py::test__update_env[--value0-e] PASSED [ 48%] test/test_runtime.py::test__update_env[a--value1-e:a] PASSED [ 49%] test/test_runtime.py::test__update_env[-c-value2-e] PASSED [ 50%] test/test_runtime.py::test__update_env[a-c-value3-e:f:a] PASSED [ 51%] test/test_runtime.py::test_install_collection FAILED [ 52%] test/test_runtime.py::test_install_collection_dest FAILED [ 53%] test/test_runtime.py::test_install_collection_fail PASSED [ 55%] test/test_runtime.py::test_install_galaxy_role PASSED [ 56%] test/test_runtime.py::test_install_galaxy_role_unlink PASSED [ 57%] test/test_runtime.py::test_install_galaxy_role_bad_namespace PASSED [ 58%] test/test_runtime.py::test_install_galaxy_role_no_meta PASSED [ 59%] test/test_runtime.py::test_install_galaxy_role_name_role_name_check_equals_to_1[bad-name] PASSED [ 60%] test/test_runtime.py::test_install_galaxy_role_name_role_name_check_equals_to_1[bad-name-without-namespace] PASSED [ 61%] test/test_runtime.py::test_install_galaxy_role_no_checks PASSED [ 62%] test/test_runtime.py::test_upgrade_collection FAILED [ 64%] test/test_runtime.py::test_runtime_env_ansible_library PASSED [ 65%] test/test_runtime.py::test_runtime_version_in_range[1] PASSED [ 66%] test/test_runtime.py::test_runtime_version_in_range[2] PASSED [ 67%] test/test_runtime.py::test_runtime_version_in_range[3] PASSED [ 68%] test/test_runtime.py::test_runtime_version_in_range[4] PASSED [ 69%] test/test_runtime.py::test_runtime_version_in_range[5] PASSED [ 70%] test/test_runtime.py::test_load_collections_failure PASSED [ 71%] test/test_runtime.py::test_load_collections_garbage[list] PASSED [ 73%] test/test_runtime.py::test_load_collections_garbage[malformed_collection] PASSED [ 74%] test/test_runtime.py::test_load_collections_garbage[bad_collection_data] PASSED [ 75%] test/test_runtime.py::test_load_collections_invalid_json[nothing] PASSED [ 76%] test/test_runtime.py::test_load_collections_invalid_json[bad_collection_name] PASSED [ 77%] test/test_runtime.py::test_prepare_environment_offline_role PASSED [ 78%] test/test_runtime.py::test_runtime_run PASSED [ 79%] test/test_runtime.py::test_runtime_exec_cwd PASSED [ 80%] test/test_runtime.py::test_runtime_exec_env PASSED [ 82%] test/test_runtime.py::test_runtime_plugins PASSED [ 83%] test/test_runtime.py::test_galaxy_path[1] PASSED [ 84%] test/test_runtime.py::test_galaxy_path[2] PASSED [ 85%] test/test_runtime.py::test_galaxy_path[3] PASSED [ 86%] test/test_runtime.py::test_is_url[0] PASSED [ 87%] test/test_runtime.py::test_is_url[1] PASSED [ 88%] test/test_runtime.py::test_is_url[2] PASSED [ 89%] test/test_runtime.py::test_prepare_environment_symlink[broken] FAILED [ 91%] test/test_runtime.py::test_prepare_environment_symlink[valid] PASSED [ 92%] test/test_runtime.py::test_get_galaxy_role_name_invalid PASSED [ 93%] test/test_runtime_example.py::test_runtime_example FAILED [ 94%] test/test_schema.py::test_schema[0] PASSED [ 95%] test/test_schema.py::test_json_path PASSED [ 96%] test/test_schema.py::test_validate_invalid_schema PASSED [ 97%] test/test_types.py::test_types PASSED [ 98%] test/test_version.py::test_version_module PASSED [100%] =================================== FAILURES =================================== _________________________________ test_config __________________________________ def test_config() -> None: """Checks that config vars are loaded with their expected type.""" config = AnsibleConfig() assert isinstance(config.ACTION_WARNINGS, bool) assert isinstance(config.CACHE_PLUGIN_PREFIX, str) assert isinstance(config.CONNECTION_FACTS_MODULES, dict) assert config.ANSIBLE_COW_PATH is None assert isinstance(config.NETWORK_GROUP_MODULES, list) > assert isinstance(config.DEFAULT_GATHER_TIMEOUT, (int, type(None))) test/test_config.py:27: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = {'ACTION_WARNINGS': True, 'AGNOSTIC_BECOME_PROMPT': True, 'ANSIBLE_CONNECTION_PATH': None, 'ANSIBLE_COW_ACCEPTLIST': [...KER_SHUTDOWN_POLL_COUNT': 0, 'WORKER_SHUTDOWN_POLL_DELAY': 0.1, 'YAML_FILENAME_EXTENSIONS': ['.yml', '.yaml', '.json']} attr_name = 'DEFAULT_GATHER_TIMEOUT' def __getattribute__(self, attr_name: str) -> object: """Allow access of config options as attributes.""" _dict = super().__dict__ # pylint: disable=no-member if attr_name in _dict: return _dict[attr_name] data = super().__getattribute__("data") if attr_name == "data": # pragma: no cover return data name = attr_name.upper() if name in data: return data[name] if name in AnsibleConfig._aliases: return data[AnsibleConfig._aliases[name]] > return super().__getattribute__(attr_name) E AttributeError: 'AnsibleConfig' object has no attribute 'DEFAULT_GATHER_TIMEOUT' .run_venv/lib/python3/site-packages/ansible_compat/config.py:463: AttributeError ___________________________ test_install_collection ____________________________ runtime = def test_install_collection(runtime: Runtime) -> None: """Check that valid collection installs do not fail.""" > runtime.install_collection("examples/reqs_v2/community-molecule-0.1.0.tar.gz") test/test_runtime.py:488: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = collection = 'examples/reqs_v2/community-molecule-0.1.0.tar.gz' def install_collection( self, collection: str | Path, *, destination: Path | None = None, force: bool = False, ) -> None: """Install an Ansible collection. Can accept arguments like: 'foo.bar:>=1.2.3' 'git+https://github.com/ansible-collections/ansible.posix.git,main' """ cmd = [ "ansible-galaxy", "collection", "install", "-vvv", # this is needed to make ansible display important info in case of failures ] if force: cmd.append("--force") if isinstance(collection, Path): collection = str(collection) # As ansible-galaxy install is not able to automatically determine # if the range requires a pre-release, we need to manually add the --pre # flag when needed. matches = version_re.search(collection) if ( not is_url(collection) and matches and CollectionVersion(matches[1]).is_prerelease ): cmd.append("--pre") cpaths: list[str] = self.config.collections_paths if destination and str(destination) not in cpaths: # we cannot use '-p' because it breaks galaxy ability to ignore already installed collections, so # we hack ansible_collections_path instead and inject our own path there. # pylint: disable=no-member cpaths.insert(0, str(destination)) cmd.append(f"{collection}") _logger.info("Running from %s : %s", Path.cwd(), " ".join(cmd)) process = self.run( cmd, retry=True, env={**self.environ, ansible_collections_path(): ":".join(cpaths)}, ) if process.returncode != 0: msg = f"Command {' '.join(cmd)}, returned {process.returncode} code:\n{process.stdout}\n{process.stderr}" _logger.error(msg) > raise InvalidPrerequisiteError(msg) E ansible_compat.errors.InvalidPrerequisiteError: Command ansible-galaxy collection install -vvv examples/reqs_v2/community-molecule-0.1.0.tar.gz, returned 1 code: E Starting galaxy collection install process E Process install dependency map E E ansible-galaxy [core 2.18.1] E config file = /usr/src/RPM/BUILD/ansible-compat-24.9.1/ansible.cfg E configured module search path = ['/usr/src/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] E ansible python module location = /usr/lib/python3/site-packages/ansible E ansible collection location = /usr/src/.cache/ansible-compat/7eaaa8/collections:/usr/src/RPM/BUILD/ansible-compat-24.9.1 E executable location = /usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/ansible-galaxy E python version = 3.12.8 (main, Dec 5 2024, 22:16:34) [GCC 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1)] (/usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/python3) E jinja version = 3.1.4 E libyaml = True E Using /usr/src/RPM/BUILD/ansible-compat-24.9.1/ansible.cfg as config file E ERROR! ansible-galaxy requires resolvelib<1.1.0,>=0.5.3 .run_venv/lib/python3/site-packages/ansible_compat/runtime.py:530: InvalidPrerequisiteError ------------------------------ Captured log call ------------------------------- WARNING ansible_compat.runtime:runtime.py:416 Retrying execution failure 1 of: ansible-galaxy collection install -vvv examples/reqs_v2/community-molecule-0.1.0.tar.gz ERROR ansible_compat.runtime:runtime.py:529 Command ansible-galaxy collection install -vvv examples/reqs_v2/community-molecule-0.1.0.tar.gz, returned 1 code: Starting galaxy collection install process Process install dependency map ansible-galaxy [core 2.18.1] config file = /usr/src/RPM/BUILD/ansible-compat-24.9.1/ansible.cfg configured module search path = ['/usr/src/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3/site-packages/ansible ansible collection location = /usr/src/.cache/ansible-compat/7eaaa8/collections:/usr/src/RPM/BUILD/ansible-compat-24.9.1 executable location = /usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/ansible-galaxy python version = 3.12.8 (main, Dec 5 2024, 22:16:34) [GCC 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1)] (/usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/python3) jinja version = 3.1.4 libyaml = True Using /usr/src/RPM/BUILD/ansible-compat-24.9.1/ansible.cfg as config file ERROR! ansible-galaxy requires resolvelib<1.1.0,>=0.5.3 _________________________ test_install_collection_dest _________________________ runtime = tmp_path = PosixPath('/usr/src/tmp/pytest-of-builder/pytest-0/test_install_collection_dest0') def test_install_collection_dest(runtime: Runtime, tmp_path: pathlib.Path) -> None: """Check that valid collection to custom destination passes.""" # Since Ansible 2.15.3 there is no guarantee that this will install the collection at requested path # as it might decide to not install anything if requirement is already present at another location. > runtime.install_collection( "examples/reqs_v2/community-molecule-0.1.0.tar.gz", destination=tmp_path, ) test/test_runtime.py:502: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = collection = 'examples/reqs_v2/community-molecule-0.1.0.tar.gz' def install_collection( self, collection: str | Path, *, destination: Path | None = None, force: bool = False, ) -> None: """Install an Ansible collection. Can accept arguments like: 'foo.bar:>=1.2.3' 'git+https://github.com/ansible-collections/ansible.posix.git,main' """ cmd = [ "ansible-galaxy", "collection", "install", "-vvv", # this is needed to make ansible display important info in case of failures ] if force: cmd.append("--force") if isinstance(collection, Path): collection = str(collection) # As ansible-galaxy install is not able to automatically determine # if the range requires a pre-release, we need to manually add the --pre # flag when needed. matches = version_re.search(collection) if ( not is_url(collection) and matches and CollectionVersion(matches[1]).is_prerelease ): cmd.append("--pre") cpaths: list[str] = self.config.collections_paths if destination and str(destination) not in cpaths: # we cannot use '-p' because it breaks galaxy ability to ignore already installed collections, so # we hack ansible_collections_path instead and inject our own path there. # pylint: disable=no-member cpaths.insert(0, str(destination)) cmd.append(f"{collection}") _logger.info("Running from %s : %s", Path.cwd(), " ".join(cmd)) process = self.run( cmd, retry=True, env={**self.environ, ansible_collections_path(): ":".join(cpaths)}, ) if process.returncode != 0: msg = f"Command {' '.join(cmd)}, returned {process.returncode} code:\n{process.stdout}\n{process.stderr}" _logger.error(msg) > raise InvalidPrerequisiteError(msg) E ansible_compat.errors.InvalidPrerequisiteError: Command ansible-galaxy collection install -vvv examples/reqs_v2/community-molecule-0.1.0.tar.gz, returned 1 code: E Starting galaxy collection install process E Process install dependency map E E ansible-galaxy [core 2.18.1] E config file = /usr/src/RPM/BUILD/ansible-compat-24.9.1/ansible.cfg E configured module search path = ['/usr/src/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] E ansible python module location = /usr/lib/python3/site-packages/ansible E ansible collection location = /usr/src/tmp/pytest-of-builder/pytest-0/test_install_collection_dest0:/usr/src/.cache/ansible-compat/7eaaa8/collections:/usr/src/RPM/BUILD/ansible-compat-24.9.1 E executable location = /usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/ansible-galaxy E python version = 3.12.8 (main, Dec 5 2024, 22:16:34) [GCC 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1)] (/usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/python3) E jinja version = 3.1.4 E libyaml = True E Using /usr/src/RPM/BUILD/ansible-compat-24.9.1/ansible.cfg as config file E ERROR! ansible-galaxy requires resolvelib<1.1.0,>=0.5.3 .run_venv/lib/python3/site-packages/ansible_compat/runtime.py:530: InvalidPrerequisiteError ------------------------------ Captured log call ------------------------------- WARNING ansible_compat.runtime:runtime.py:416 Retrying execution failure 1 of: ansible-galaxy collection install -vvv examples/reqs_v2/community-molecule-0.1.0.tar.gz ERROR ansible_compat.runtime:runtime.py:529 Command ansible-galaxy collection install -vvv examples/reqs_v2/community-molecule-0.1.0.tar.gz, returned 1 code: Starting galaxy collection install process Process install dependency map ansible-galaxy [core 2.18.1] config file = /usr/src/RPM/BUILD/ansible-compat-24.9.1/ansible.cfg configured module search path = ['/usr/src/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3/site-packages/ansible ansible collection location = /usr/src/tmp/pytest-of-builder/pytest-0/test_install_collection_dest0:/usr/src/.cache/ansible-compat/7eaaa8/collections:/usr/src/RPM/BUILD/ansible-compat-24.9.1 executable location = /usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/ansible-galaxy python version = 3.12.8 (main, Dec 5 2024, 22:16:34) [GCC 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1)] (/usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/python3) jinja version = 3.1.4 libyaml = True Using /usr/src/RPM/BUILD/ansible-compat-24.9.1/ansible.cfg as config file ERROR! ansible-galaxy requires resolvelib<1.1.0,>=0.5.3 ___________________________ test_upgrade_collection ____________________________ runtime_tmp = def test_upgrade_collection(runtime_tmp: Runtime) -> None: """Check that collection upgrade is possible.""" # ensure that we inject our tmp folders in ansible paths runtime_tmp.prepare_environment() # we install specific oudated version of a collection > runtime_tmp.install_collection("examples/reqs_v2/community-molecule-0.1.0.tar.gz") test/test_runtime.py:643: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = collection = 'examples/reqs_v2/community-molecule-0.1.0.tar.gz' def install_collection( self, collection: str | Path, *, destination: Path | None = None, force: bool = False, ) -> None: """Install an Ansible collection. Can accept arguments like: 'foo.bar:>=1.2.3' 'git+https://github.com/ansible-collections/ansible.posix.git,main' """ cmd = [ "ansible-galaxy", "collection", "install", "-vvv", # this is needed to make ansible display important info in case of failures ] if force: cmd.append("--force") if isinstance(collection, Path): collection = str(collection) # As ansible-galaxy install is not able to automatically determine # if the range requires a pre-release, we need to manually add the --pre # flag when needed. matches = version_re.search(collection) if ( not is_url(collection) and matches and CollectionVersion(matches[1]).is_prerelease ): cmd.append("--pre") cpaths: list[str] = self.config.collections_paths if destination and str(destination) not in cpaths: # we cannot use '-p' because it breaks galaxy ability to ignore already installed collections, so # we hack ansible_collections_path instead and inject our own path there. # pylint: disable=no-member cpaths.insert(0, str(destination)) cmd.append(f"{collection}") _logger.info("Running from %s : %s", Path.cwd(), " ".join(cmd)) process = self.run( cmd, retry=True, env={**self.environ, ansible_collections_path(): ":".join(cpaths)}, ) if process.returncode != 0: msg = f"Command {' '.join(cmd)}, returned {process.returncode} code:\n{process.stdout}\n{process.stderr}" _logger.error(msg) > raise InvalidPrerequisiteError(msg) E ansible_compat.errors.InvalidPrerequisiteError: Command ansible-galaxy collection install -vvv examples/reqs_v2/community-molecule-0.1.0.tar.gz, returned 1 code: E Starting galaxy collection install process E Process install dependency map E E ansible-galaxy [core 2.18.1] E config file = /usr/src/RPM/BUILD/ansible-compat-24.9.1/ansible.cfg E configured module search path = ['/usr/src/.cache/ansible-compat/a3c298/modules', '/usr/src/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] E ansible python module location = /usr/lib/python3/site-packages/ansible E ansible collection location = /usr/src/.cache/ansible-compat/a3c298/collections:/usr/src/RPM/BUILD/ansible-compat-24.9.1 E executable location = /usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/ansible-galaxy E python version = 3.12.8 (main, Dec 5 2024, 22:16:34) [GCC 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1)] (/usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/python3) E jinja version = 3.1.4 E libyaml = True E Using /usr/src/RPM/BUILD/ansible-compat-24.9.1/ansible.cfg as config file E ERROR! ansible-galaxy requires resolvelib<1.1.0,>=0.5.3 .run_venv/lib/python3/site-packages/ansible_compat/runtime.py:530: InvalidPrerequisiteError ------------------------------ Captured log call ------------------------------- WARNING ansible_compat.runtime:runtime.py:416 Retrying execution failure 1 of: ansible-galaxy collection install -vvv examples/reqs_v2/community-molecule-0.1.0.tar.gz ERROR ansible_compat.runtime:runtime.py:529 Command ansible-galaxy collection install -vvv examples/reqs_v2/community-molecule-0.1.0.tar.gz, returned 1 code: Starting galaxy collection install process Process install dependency map ansible-galaxy [core 2.18.1] config file = /usr/src/RPM/BUILD/ansible-compat-24.9.1/ansible.cfg configured module search path = ['/usr/src/.cache/ansible-compat/a3c298/modules', '/usr/src/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3/site-packages/ansible ansible collection location = /usr/src/.cache/ansible-compat/a3c298/collections:/usr/src/RPM/BUILD/ansible-compat-24.9.1 executable location = /usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/ansible-galaxy python version = 3.12.8 (main, Dec 5 2024, 22:16:34) [GCC 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1)] (/usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/python3) jinja version = 3.1.4 libyaml = True Using /usr/src/RPM/BUILD/ansible-compat-24.9.1/ansible.cfg as config file ERROR! ansible-galaxy requires resolvelib<1.1.0,>=0.5.3 ___________________ test_prepare_environment_symlink[broken] ___________________ dest = '/invalid/destination' message = 'Collection is symlinked, but not pointing to' caplog = <_pytest.logging.LogCaptureFixture object at 0xf62d6e28> @pytest.mark.parametrize( ("dest", "message"), ( ("/invalid/destination", "Collection is symlinked, but not pointing to"), (Path.cwd(), "Found symlinked collection, skipping its installation."), ), ids=["broken", "valid"], ) def test_prepare_environment_symlink( dest: str | Path, message: str, caplog: pytest.LogCaptureFixture, ) -> None: """Ensure avalid symlinks to collections are properly detected.""" project_dir = Path(__file__).parent / "collections" / "acme.minimal" runtime = Runtime(isolated=True, project_dir=project_dir) assert runtime.cache_dir acme = runtime.cache_dir / "collections" / "ansible_collections" / "acme" acme.mkdir(parents=True, exist_ok=True) goodies = acme / "minimal" rmtree(goodies, ignore_errors=True) goodies.unlink(missing_ok=True) goodies.symlink_to(dest) > runtime.prepare_environment(install_local=True) test/test_runtime.py:971: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .run_venv/lib/python3/site-packages/ansible_compat/runtime.py:699: in prepare_environment self.install_collection_from_disk( .run_venv/lib/python3/site-packages/ansible_compat/runtime.py:538: in install_collection_from_disk self.install_collection(path, destination=destination, force=True) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = collection = '/usr/src/RPM/BUILD/ansible-compat-24.9.1/test/collections/acme.minimal' def install_collection( self, collection: str | Path, *, destination: Path | None = None, force: bool = False, ) -> None: """Install an Ansible collection. Can accept arguments like: 'foo.bar:>=1.2.3' 'git+https://github.com/ansible-collections/ansible.posix.git,main' """ cmd = [ "ansible-galaxy", "collection", "install", "-vvv", # this is needed to make ansible display important info in case of failures ] if force: cmd.append("--force") if isinstance(collection, Path): collection = str(collection) # As ansible-galaxy install is not able to automatically determine # if the range requires a pre-release, we need to manually add the --pre # flag when needed. matches = version_re.search(collection) if ( not is_url(collection) and matches and CollectionVersion(matches[1]).is_prerelease ): cmd.append("--pre") cpaths: list[str] = self.config.collections_paths if destination and str(destination) not in cpaths: # we cannot use '-p' because it breaks galaxy ability to ignore already installed collections, so # we hack ansible_collections_path instead and inject our own path there. # pylint: disable=no-member cpaths.insert(0, str(destination)) cmd.append(f"{collection}") _logger.info("Running from %s : %s", Path.cwd(), " ".join(cmd)) process = self.run( cmd, retry=True, env={**self.environ, ansible_collections_path(): ":".join(cpaths)}, ) if process.returncode != 0: msg = f"Command {' '.join(cmd)}, returned {process.returncode} code:\n{process.stdout}\n{process.stderr}" _logger.error(msg) > raise InvalidPrerequisiteError(msg) E ansible_compat.errors.InvalidPrerequisiteError: Command ansible-galaxy collection install -vvv --force /usr/src/RPM/BUILD/ansible-compat-24.9.1/test/collections/acme.minimal, returned 1 code: E Starting galaxy collection install process E Process install dependency map E E ansible-galaxy [core 2.18.1] E config file = /usr/src/RPM/BUILD/ansible-compat-24.9.1/ansible.cfg E configured module search path = ['/usr/src/.cache/ansible-compat/406457/modules', '/usr/src/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] E ansible python module location = /usr/lib/python3/site-packages/ansible E ansible collection location = /usr/src/.cache/ansible-compat/406457/collections:/usr/src/RPM/BUILD/ansible-compat-24.9.1 E executable location = /usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/ansible-galaxy E python version = 3.12.8 (main, Dec 5 2024, 22:16:34) [GCC 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1)] (/usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/python3) E jinja version = 3.1.4 E libyaml = True E Using /usr/src/RPM/BUILD/ansible-compat-24.9.1/ansible.cfg as config file E ERROR! ansible-galaxy requires resolvelib<1.1.0,>=0.5.3 .run_venv/lib/python3/site-packages/ansible_compat/runtime.py:530: InvalidPrerequisiteError ------------------------------ Captured log call ------------------------------- WARNING ansible_compat.runtime:runtime.py:692 Collection is symlinked, but not pointing to /usr/src/RPM/BUILD/ansible-compat-24.9.1 directory, so we will remove it. WARNING ansible_compat.runtime:runtime.py:416 Retrying execution failure 1 of: ansible-galaxy collection install -vvv --force /usr/src/RPM/BUILD/ansible-compat-24.9.1/test/collections/acme.minimal ERROR ansible_compat.runtime:runtime.py:529 Command ansible-galaxy collection install -vvv --force /usr/src/RPM/BUILD/ansible-compat-24.9.1/test/collections/acme.minimal, returned 1 code: Starting galaxy collection install process Process install dependency map ansible-galaxy [core 2.18.1] config file = /usr/src/RPM/BUILD/ansible-compat-24.9.1/ansible.cfg configured module search path = ['/usr/src/.cache/ansible-compat/406457/modules', '/usr/src/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3/site-packages/ansible ansible collection location = /usr/src/.cache/ansible-compat/406457/collections:/usr/src/RPM/BUILD/ansible-compat-24.9.1 executable location = /usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/ansible-galaxy python version = 3.12.8 (main, Dec 5 2024, 22:16:34) [GCC 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1)] (/usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/python3) jinja version = 3.1.4 libyaml = True Using /usr/src/RPM/BUILD/ansible-compat-24.9.1/ansible.cfg as config file ERROR! ansible-galaxy requires resolvelib<1.1.0,>=0.5.3 _____________________________ test_runtime_example _____________________________ def test_runtime_example() -> None: """Test basic functionality of Runtime class.""" # instantiate the runtime using isolated mode, so installing new # roles/collections do not pollute the default setup. runtime = Runtime(isolated=True, max_retries=3) # Print Ansible core version _ = runtime.version # 2.9.10 (Version object) # Get configuration info from runtime _ = runtime.config.collections_path # Detect if current project is a collection and install its requirements runtime.prepare_environment(install_local=True) # will retry 3 times if needed # Install a new collection (will retry 3 times if needed) > runtime.install_collection("examples/reqs_v2/community-molecule-0.1.0.tar.gz") test/test_runtime_example.py:21: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = collection = 'examples/reqs_v2/community-molecule-0.1.0.tar.gz' def install_collection( self, collection: str | Path, *, destination: Path | None = None, force: bool = False, ) -> None: """Install an Ansible collection. Can accept arguments like: 'foo.bar:>=1.2.3' 'git+https://github.com/ansible-collections/ansible.posix.git,main' """ cmd = [ "ansible-galaxy", "collection", "install", "-vvv", # this is needed to make ansible display important info in case of failures ] if force: cmd.append("--force") if isinstance(collection, Path): collection = str(collection) # As ansible-galaxy install is not able to automatically determine # if the range requires a pre-release, we need to manually add the --pre # flag when needed. matches = version_re.search(collection) if ( not is_url(collection) and matches and CollectionVersion(matches[1]).is_prerelease ): cmd.append("--pre") cpaths: list[str] = self.config.collections_paths if destination and str(destination) not in cpaths: # we cannot use '-p' because it breaks galaxy ability to ignore already installed collections, so # we hack ansible_collections_path instead and inject our own path there. # pylint: disable=no-member cpaths.insert(0, str(destination)) cmd.append(f"{collection}") _logger.info("Running from %s : %s", Path.cwd(), " ".join(cmd)) process = self.run( cmd, retry=True, env={**self.environ, ansible_collections_path(): ":".join(cpaths)}, ) if process.returncode != 0: msg = f"Command {' '.join(cmd)}, returned {process.returncode} code:\n{process.stdout}\n{process.stderr}" _logger.error(msg) > raise InvalidPrerequisiteError(msg) E ansible_compat.errors.InvalidPrerequisiteError: Command ansible-galaxy collection install -vvv examples/reqs_v2/community-molecule-0.1.0.tar.gz, returned 1 code: E Starting galaxy collection install process E Process install dependency map E E ansible-galaxy [core 2.18.1] E config file = /usr/src/RPM/BUILD/ansible-compat-24.9.1/ansible.cfg E configured module search path = ['/usr/src/.cache/ansible-compat/7eaaa8/modules', '/usr/src/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] E ansible python module location = /usr/lib/python3/site-packages/ansible E ansible collection location = /usr/src/.cache/ansible-compat/7eaaa8/collections:/usr/src/RPM/BUILD/ansible-compat-24.9.1 E executable location = /usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/ansible-galaxy E python version = 3.12.8 (main, Dec 5 2024, 22:16:34) [GCC 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1)] (/usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/python3) E jinja version = 3.1.4 E libyaml = True E Using /usr/src/RPM/BUILD/ansible-compat-24.9.1/ansible.cfg as config file E ERROR! ansible-galaxy requires resolvelib<1.1.0,>=0.5.3 .run_venv/lib/python3/site-packages/ansible_compat/runtime.py:530: InvalidPrerequisiteError ------------------------------ Captured log call ------------------------------- WARNING ansible_compat.runtime:runtime.py:416 Retrying execution failure 1 of: ansible-galaxy collection install -vvv examples/reqs_v2/community-molecule-0.1.0.tar.gz WARNING ansible_compat.runtime:runtime.py:416 Retrying execution failure 1 of: ansible-galaxy collection install -vvv examples/reqs_v2/community-molecule-0.1.0.tar.gz WARNING ansible_compat.runtime:runtime.py:416 Retrying execution failure 1 of: ansible-galaxy collection install -vvv examples/reqs_v2/community-molecule-0.1.0.tar.gz WARNING ansible_compat.runtime:runtime.py:416 Retrying execution failure 1 of: ansible-galaxy collection install -vvv examples/reqs_v2/community-molecule-0.1.0.tar.gz ERROR ansible_compat.runtime:runtime.py:529 Command ansible-galaxy collection install -vvv examples/reqs_v2/community-molecule-0.1.0.tar.gz, returned 1 code: Starting galaxy collection install process Process install dependency map ansible-galaxy [core 2.18.1] config file = /usr/src/RPM/BUILD/ansible-compat-24.9.1/ansible.cfg configured module search path = ['/usr/src/.cache/ansible-compat/7eaaa8/modules', '/usr/src/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3/site-packages/ansible ansible collection location = /usr/src/.cache/ansible-compat/7eaaa8/collections:/usr/src/RPM/BUILD/ansible-compat-24.9.1 executable location = /usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/ansible-galaxy python version = 3.12.8 (main, Dec 5 2024, 22:16:34) [GCC 14.2.1 20241028 (ALT Sisyphus 14.2.1-alt1)] (/usr/src/RPM/BUILD/ansible-compat-24.9.1/.run_venv/bin/python3) jinja version = 3.1.4 libyaml = True Using /usr/src/RPM/BUILD/ansible-compat-24.9.1/ansible.cfg as config file ERROR! ansible-galaxy requires resolvelib<1.1.0,>=0.5.3 =========================== short test summary info ============================ FAILED test/test_config.py::test_config - AttributeError: 'AnsibleConfig' obj... FAILED test/test_runtime.py::test_install_collection - ansible_compat.errors.... FAILED test/test_runtime.py::test_install_collection_dest - ansible_compat.er... FAILED test/test_runtime.py::test_upgrade_collection - ansible_compat.errors.... FAILED test/test_runtime.py::test_prepare_environment_symlink[broken] - ansib... FAILED test/test_runtime_example.py::test_runtime_example - ansible_compat.er... ================= 6 failed, 83 passed, 19 deselected in 33.19s ================= INFO : Command's result: FAILURE INFO : Command's error: Command '['python3', '-m', 'pytest', '-vra', '-k', ' not test_prepare_environment_with_collections and not test_prerun_reqs_v1 and not test_prerun_reqs_v2 and not test_install_collection_from_disk and not test_require_collection and not test_install_collection_git and not test_runtime_scan_path and not test_runtime_has_playbook ']' returned non-zero exit status 1. error: Bad exit status from /usr/src/tmp/rpm-tmp.3906 (%check) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.3906 (%check) Command exited with non-zero status 1 30.35user 4.73system 0:35.04elapsed 100%CPU (0avgtext+0avgdata 38912maxresident)k 0inputs+0outputs (0major+682839minor)pagefaults 0swaps hsh-rebuild: rebuild of `ansible-compat-24.9.1-alt1.src.rpm' failed. Command exited with non-zero status 1 4.49user 3.11system 0:50.21elapsed 15%CPU (0avgtext+0avgdata 125900maxresident)k 6896inputs+0outputs (0major+229297minor)pagefaults 0swaps