Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/ansible-collection-community-crypto.spec'], chrootPath='/var/lib/mock/f41-build-51813194-6205829/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hm5unnmy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hm5unnmy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e14484342ff4424ca39133bfc277f949', '-D', '/var/lib/mock/f41-build-51813194-6205829/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hm5unnmy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/ansible-collection-community-crypto.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706400000 Wrote: /builddir/build/SRPMS/ansible-collection-community-crypto-2.17.1-1.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/ansible-collection-community-crypto.spec'], chrootPath='/var/lib/mock/f41-build-51813194-6205829/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hm5unnmy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hm5unnmy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '86da31c9a87246a2a991d3f8503563ef', '-D', '/var/lib/mock/f41-build-51813194-6205829/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hm5unnmy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target noarch --nodeps /builddir/build/SPECS/ansible-collection-community-crypto.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706400000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.5l5HbI + umask 022 + cd /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build + test -d /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build + /usr/bin/rm -rf /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZDaHca + umask 022 + cd /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build + cd /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build + rm -rf community.crypto-2.17.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/community.crypto-2.17.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd community.crypto-2.17.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/build_ignore.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find -type f '!' -executable -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{}' + ./plugins/action/openssl_privatekey_pipe.py ./plugins/doc_fragments/acme.py ./plugins/doc_fragments/attributes.py ./plugins/doc_fragments/ecs_credential.py ./plugins/doc_fragments/module_certificate.py ./plugins/doc_fragments/module_csr.py ./plugins/doc_fragments/module_privatekey.py ./plugins/doc_fragments/module_privatekey_convert.py ./plugins/doc_fragments/name_encoding.py ./plugins/filter/gpg_fingerprint.py ./plugins/filter/openssl_csr_info.py ./plugins/filter/openssl_privatekey_info.py ./plugins/filter/openssl_publickey_info.py ./plugins/filter/split_pem.py ./plugins/filter/x509_certificate_info.py ./plugins/filter/x509_crl_info.py ./plugins/lookup/gpg_fingerprint.py ./plugins/module_utils/_version.py ./plugins/module_utils/acme/account.py ./plugins/module_utils/acme/acme.py ./plugins/module_utils/acme/backend_cryptography.py ./plugins/module_utils/acme/backend_openssl_cli.py ./plugins/module_utils/acme/backends.py ./plugins/module_utils/acme/certificates.py ./plugins/module_utils/acme/challenges.py ./plugins/module_utils/acme/errors.py ./plugins/module_utils/acme/io.py ./plugins/module_utils/acme/orders.py ./plugins/module_utils/acme/utils.py ./plugins/module_utils/crypto/_asn1.py ./plugins/module_utils/crypto/_obj2txt.py ./plugins/module_utils/crypto/_objects.py ./plugins/module_utils/crypto/_objects_data.py ./plugins/module_utils/crypto/basic.py ./plugins/module_utils/crypto/cryptography_crl.py ./plugins/module_utils/crypto/cryptography_support.py ./plugins/module_utils/crypto/math.py ./plugins/module_utils/crypto/module_backends/certificate.py ./plugins/module_utils/crypto/module_backends/certificate_acme.py ./plugins/module_utils/crypto/module_backends/certificate_entrust.py ./plugins/module_utils/crypto/module_backends/certificate_info.py ./plugins/module_utils/crypto/module_backends/certificate_ownca.py ./plugins/module_utils/crypto/module_backends/certificate_selfsigned.py ./plugins/module_utils/crypto/module_backends/common.py ./plugins/module_utils/crypto/module_backends/crl_info.py ./plugins/module_utils/crypto/module_backends/csr.py ./plugins/module_utils/crypto/module_backends/csr_info.py ./plugins/module_utils/crypto/module_backends/privatekey.py ./plugins/module_utils/crypto/module_backends/privatekey_convert.py ./plugins/module_utils/crypto/module_backends/privatekey_info.py ./plugins/module_utils/crypto/module_backends/publickey_info.py ./plugins/module_utils/crypto/openssh.py ./plugins/module_utils/crypto/pem.py ./plugins/module_utils/crypto/support.py ./plugins/module_utils/ecs/api.py ./plugins/module_utils/gnupg/cli.py ./plugins/module_utils/io.py ./plugins/module_utils/openssh/backends/common.py ./plugins/module_utils/openssh/backends/keypair_backend.py ./plugins/module_utils/openssh/certificate.py ./plugins/module_utils/openssh/cryptography.py ./plugins/module_utils/openssh/utils.py ./plugins/module_utils/version.py ./plugins/modules/acme_account.py ./plugins/modules/acme_account_info.py ./plugins/modules/acme_certificate.py ./plugins/modules/acme_certificate_revoke.py ./plugins/modules/acme_challenge_cert_helper.py ./plugins/modules/acme_inspect.py ./plugins/modules/certificate_complete_chain.py ./plugins/modules/crypto_info.py ./plugins/modules/ecs_certificate.py ./plugins/modules/ecs_domain.py ./plugins/modules/get_certificate.py ./plugins/modules/luks_device.py ./plugins/modules/openssh_cert.py ./plugins/modules/openssh_keypair.py ./plugins/modules/openssl_csr.py ./plugins/modules/openssl_csr_info.py ./plugins/modules/openssl_csr_pipe.py ./plugins/modules/openssl_dhparam.py ./plugins/modules/openssl_pkcs12.py ./plugins/modules/openssl_privatekey.py ./plugins/modules/openssl_privatekey_convert.py ./plugins/modules/openssl_privatekey_info.py ./plugins/modules/openssl_privatekey_pipe.py ./plugins/modules/openssl_publickey.py ./plugins/modules/openssl_publickey_info.py ./plugins/modules/openssl_signature.py ./plugins/modules/openssl_signature_info.py ./plugins/modules/x509_certificate.py ./plugins/modules/x509_certificate_info.py ./plugins/modules/x509_certificate_pipe.py ./plugins/modules/x509_crl.py ./plugins/modules/x509_crl_info.py ./plugins/plugin_utils/action_module.py ./plugins/plugin_utils/filter_module.py ./plugins/plugin_utils/gnupg.py ./tests/ee/roles/smoke/library/smoke_ipaddress.py ./tests/ee/roles/smoke/library/smoke_pyyaml.py ./tests/integration/targets/get_certificate/files/process_certs.py ./tests/integration/targets/prepare_jinja2_compat/filter_plugins/ansible_compatibility.py ./tests/integration/targets/prepare_jinja2_compat/filter_plugins/jinja_compatibility.py ./tests/integration/targets/prepare_jinja2_compat/test_plugins/jinja_compatibility.py ./tests/integration/targets/setup_python_info/filter_plugins/version_filter.py ./tests/unit/compat/__init__.py ./tests/unit/compat/builtins.py ./tests/unit/compat/mock.py ./tests/unit/compat/unittest.py ./tests/unit/plugins/module_utils/acme/backend_data.py ./tests/unit/plugins/module_utils/acme/test_backend_cryptography.py ./tests/unit/plugins/module_utils/acme/test_backend_openssl_cli.py ./tests/unit/plugins/module_utils/acme/test_challenges.py ./tests/unit/plugins/module_utils/acme/test_errors.py ./tests/unit/plugins/module_utils/acme/test_io.py ./tests/unit/plugins/module_utils/acme/test_orders.py ./tests/unit/plugins/module_utils/acme/test_utils.py ./tests/unit/plugins/module_utils/crypto/test_asn1.py ./tests/unit/plugins/module_utils/crypto/test_cryptography_support.py ./tests/unit/plugins/module_utils/crypto/test_pem.py ./tests/unit/plugins/module_utils/openssh/test_certificate.py ./tests/unit/plugins/module_utils/openssh/test_cryptography.py ./tests/unit/plugins/module_utils/openssh/test_utils.py ./tests/unit/plugins/modules/test_luks_device.py ./tests/unit/plugins/modules/utils.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.eYXCIm + umask 022 + cd /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build + cd community.crypto-2.17.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/community.crypto-2.17.1/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/community.crypto-2.17.1/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/community.crypto-2.17.1/pyproject-wheeldir --output /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/ansible-collection-community-crypto-2.17.1-1.fc41.noarch-pyproject-buildrequires -N tests/unit/requirements.txt Handling bcrypt from requirements file tests/unit/requirements.txt Requirement not satisfied: bcrypt Handling cryptography from requirements file tests/unit/requirements.txt Requirement satisfied: cryptography (installed: cryptography 41.0.7) Handling idna from requirements file tests/unit/requirements.txt Requirement not satisfied: idna Handling ipaddress ; python_version < '3.0' from requirements file tests/unit/requirements.txt Ignoring alien requirement: ipaddress ; python_version < '3.0' Handling unittest2 ; python_version < '2.7' from requirements file tests/unit/requirements.txt Ignoring alien requirement: unittest2 ; python_version < '2.7' Handling importlib ; python_version < '2.7' from requirements file tests/unit/requirements.txt Ignoring alien requirement: importlib ; python_version < '2.7' Exiting dependency generation pass: all requirements files + cat /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/ansible-collection-community-crypto-2.17.1-1.fc41.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/ansible-collection-community-crypto-2.17.1-1.fc41.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/ansible-collection-community-crypto.spec'], chrootPath='/var/lib/mock/f41-build-51813194-6205829/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hm5unnmy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hm5unnmy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '21f3ed6462b54d74a243522ed64d6971', '-D', '/var/lib/mock/f41-build-51813194-6205829/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hm5unnmy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target noarch --nodeps /builddir/build/SPECS/ansible-collection-community-crypto.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706400000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.KSW6jA + umask 022 + cd /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build + cd community.crypto-2.17.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/community.crypto-2.17.1/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/community.crypto-2.17.1/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/community.crypto-2.17.1/pyproject-wheeldir --output /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/ansible-collection-community-crypto-2.17.1-1.fc41.noarch-pyproject-buildrequires -N tests/unit/requirements.txt Handling bcrypt from requirements file tests/unit/requirements.txt Requirement satisfied: bcrypt (installed: bcrypt 4.1.2) Handling cryptography from requirements file tests/unit/requirements.txt Requirement satisfied: cryptography (installed: cryptography 41.0.7) Handling idna from requirements file tests/unit/requirements.txt Requirement satisfied: idna (installed: idna 3.7) Handling ipaddress ; python_version < '3.0' from requirements file tests/unit/requirements.txt Ignoring alien requirement: ipaddress ; python_version < '3.0' Handling unittest2 ; python_version < '2.7' from requirements file tests/unit/requirements.txt Ignoring alien requirement: unittest2 ; python_version < '2.7' Handling importlib ; python_version < '2.7' from requirements file tests/unit/requirements.txt Ignoring alien requirement: importlib ; python_version < '2.7' + cat /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/ansible-collection-community-crypto-2.17.1-1.fc41.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/ansible-collection-community-crypto-2.17.1-1.fc41.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch /builddir/build/SPECS/ansible-collection-community-crypto.spec'], chrootPath='/var/lib/mock/f41-build-51813194-6205829/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=201600uid=1000gid=425user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hm5unnmy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hm5unnmy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1536166394ae4d78b1b7599162d3bc82', '-D', '/var/lib/mock/f41-build-51813194-6205829/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hm5unnmy:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch /builddir/build/SPECS/ansible-collection-community-crypto.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1706400000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.pNWKjK + umask 022 + cd /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build + cd community.crypto-2.17.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(pip) >= 19' + echo 'python3dist(packaging)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/community.crypto-2.17.1/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/community.crypto-2.17.1/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/community.crypto-2.17.1/pyproject-wheeldir --output /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/ansible-collection-community-crypto-2.17.1-1.fc41.noarch-pyproject-buildrequires -N tests/unit/requirements.txt Handling bcrypt from requirements file tests/unit/requirements.txt Requirement satisfied: bcrypt (installed: bcrypt 4.1.2) Handling cryptography from requirements file tests/unit/requirements.txt Requirement satisfied: cryptography (installed: cryptography 41.0.7) Handling idna from requirements file tests/unit/requirements.txt Requirement satisfied: idna (installed: idna 3.7) Handling ipaddress ; python_version < '3.0' from requirements file tests/unit/requirements.txt Ignoring alien requirement: ipaddress ; python_version < '3.0' Handling unittest2 ; python_version < '2.7' from requirements file tests/unit/requirements.txt Ignoring alien requirement: unittest2 ; python_version < '2.7' Handling importlib ; python_version < '2.7' from requirements file tests/unit/requirements.txt Ignoring alien requirement: importlib ; python_version < '2.7' + cat /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/ansible-collection-community-crypto-2.17.1-1.fc41.noarch-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3J5dFx + umask 022 + cd /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd community.crypto-2.17.1 + ansible-galaxy collection build Created collection for community.crypto at /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/community.crypto-2.17.1/community-crypto-2.17.1.tar.gz + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wtH0xF + umask 022 + cd /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build + '[' /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build + mkdir /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd community.crypto-2.17.1 + /usr/lib/rpm/ansible_collection.py install --collections-dir /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/BUILDROOT/usr/share/ansible/collections/ansible_collections --filelist /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/community.crypto-2.17.1/.ansible-packaging/ansible_collection_files Loading collection metadata from /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/community.crypto-2.17.1/galaxy.yml Running: ('ansible-galaxy', 'collection', 'install', '--force', '-n', '-p', '/builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/BUILDROOT/usr/share/ansible/collections/ansible_collections', '/builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/community.crypto-2.17.1/community-crypto-2.17.1.tar.gz') [WARNING]: The specified collections path '/builddir/build/BUILD/ansible- collection-community-crypto-2.17.1- build/BUILDROOT/usr/share/ansible/collections/ansible_collections' is not part of the configured Ansible collections paths '/builddir/.ansible/collections:/usr/share/ansible/collections'. The installed collection will not be picked up in an Ansible run, unless within a playbook- adjacent collections directory. Starting galaxy collection install process Process install dependency map Starting collection install process Installing 'community.crypto:2.17.1' to '/builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/BUILDROOT/usr/share/ansible/collections/ansible_collections/community/crypto' community.crypto:2.17.1 was installed successfully Writing filelist to /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/community.crypto-2.17.1/.ansible-packaging/ansible_collection_files + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j48 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j48 /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/BUILDROOT Processed 0 paths Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.arXDgw + umask 022 + cd /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd community.crypto-2.17.1 + /usr/lib/rpm/ansible_collection.py test --python-interpreter /usr/bin/python3 --local Loading collection metadata from /builddir/build/BUILD/ansible-collection-community-crypto-2.17.1-build/community.crypto-2.17.1/galaxy.yml Running: ('ansible-test', 'units', '--python-interpreter', '/usr/bin/python3', '--local') WARNING: Using locale "C.UTF-8" instead of "en_US.UTF-8". Tests which depend on the locale may behave unexpectedly. Unit test modules with Python 3.13 ============================= test session starts ============================== platform linux -- Python 3.13.0b2, pytest-7.4.3, pluggy-1.3.0 rootdir: /tmp/tmpw8qzf515/ansible_collections/community/crypto configfile: ../../../../../usr/lib/python3.13/site-packages/ansible_test/_data/pytest/config/default.ini plugins: mock-3.14.0, xdist-3.6.1 created: 48/48 workers 48 workers [76 items] ........................................................................ [ 93%] .... [100%] - generated xml file: /tmp/tmpw8qzf515/ansible_collections/community/crypto/tests/output/junit/python3.13-modules-units.xml - ============================== 76 passed in 3.51s ============================== Unit test module_utils with Python 3.13 ============================= test session starts ============================== platform linux -- Python 3.13.0b2, pytest-7.4.3, pluggy-1.3.0 rootdir: /tmp/tmpw8qzf515/ansible_collections/community/crypto configfile: ../../../../../usr/lib/python3.13/site-packages/ansible_test/_data/pytest/config/default.ini plugins: mock-3.14.0, xdist-3.6.1 created: 48/48 workers 48 workers [218 items] ...s.......s......s.........s.s.ss.......................s..ss.ss..s.... [ 33%] ....s.s.............................................................F... [ 66%] ........................................................................ [ 99%] .. [100%] =================================== FAILURES =================================== _ test_adjust_idn_fail_user_error[xn--a-unicode-^Error while transforming part u?"xn\\-\\-a" of IDNA DNS name u?"xn\\-\\-a" to Unicode\\. IDNA2008 transformation resulted in "Codepoint U\\+0080 at position 1 of u?'\\\\x80' not allowed", IDNA2003 transformation resulted in "(decoding with 'idna' codec failed \\(UnicodeError: )?Invalid character u?'\\\\x80'\\)?"\\.$] _ [gw47] linux -- Python 3.13.0 /usr/bin/python3 value = 'xn--a', idn_rewrite = 'unicode' def _adjust_idn(value, idn_rewrite): if idn_rewrite == 'ignore' or not value: return value if idn_rewrite == 'idna' and _is_ascii(value): return value if idn_rewrite not in ('idna', 'unicode'): raise ValueError('Invalid value for idn_rewrite: "{0}"'.format(idn_rewrite)) if not HAS_IDNA: raise OpenSSLObjectError( missing_required_lib('idna', reason='to transform {what} DNS name "{name}" to {dest}'.format( name=value, what='IDNA' if idn_rewrite == 'unicode' else 'Unicode', dest='Unicode' if idn_rewrite == 'unicode' else 'IDNA', ))) # Since IDNA does not like '*' or empty labels (except one empty label at the end), # we split and let IDNA only handle labels that are neither empty or '*'. parts = value.split(u'.') for index, part in enumerate(parts): if part in (u'', u'*'): continue try: if idn_rewrite == 'idna': parts[index] = idna.encode(part).decode('ascii') elif idn_rewrite == 'unicode' and part.startswith(u'xn--'): > parts[index] = idna.decode(part) plugins/module_utils/crypto/cryptography_support.py:397: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/idna/core.py:388: in decode s = ulabel(label) /usr/lib/python3.13/site-packages/idna/core.py:299: in ulabel check_label(label) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ label = '\x80' def check_label(label: Union[str, bytes, bytearray]) -> None: if isinstance(label, (bytes, bytearray)): label = label.decode('utf-8') if len(label) == 0: raise IDNAError('Empty Label') check_nfc(label) check_hyphen_ok(label) check_initial_combiner(label) for (pos, cp) in enumerate(label): cp_value = ord(cp) if intranges_contain(cp_value, idnadata.codepoint_classes['PVALID']): continue elif intranges_contain(cp_value, idnadata.codepoint_classes['CONTEXTJ']): if not valid_contextj(label, pos): raise InvalidCodepointContext('Joiner {} not allowed at position {} in {}'.format( _unot(cp_value), pos+1, repr(label))) elif intranges_contain(cp_value, idnadata.codepoint_classes['CONTEXTO']): if not valid_contexto(label, pos): raise InvalidCodepointContext('Codepoint {} not allowed at position {} in {}'.format(_unot(cp_value), pos+1, repr(label))) else: > raise InvalidCodepoint('Codepoint {} at position {} of {} not allowed'.format(_unot(cp_value), pos+1, repr(label))) E idna.core.InvalidCodepoint: Codepoint U+0080 at position 1 of '\x80' not allowed /usr/lib/python3.13/site-packages/idna/core.py:250: InvalidCodepoint During handling of the above exception, another exception occurred: self = , input = b'xn--a' errors = 'strict' def decode(self, input, errors='strict'): if errors != 'strict': raise UnicodeError(f"Unsupported error handling: {errors}") if not input: return "", 0 # IDNA allows decoding to operate on Unicode strings, too. if not isinstance(input, bytes): # XXX obviously wrong, see #3232 input = bytes(input) if ace_prefix not in input.lower(): # Fast path try: return input.decode('ascii'), len(input) except UnicodeDecodeError: pass labels = input.split(b".") if labels and len(labels[-1]) == 0: trailing_dot = '.' del labels[-1] else: trailing_dot = '' result = [] for i, label in enumerate(labels): try: > u_label = ToUnicode(label) /usr/lib64/python3.13/encodings/idna.py:262: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib64/python3.13/encodings/idna.py:165: in ToUnicode label2 = ToASCII(result) /usr/lib64/python3.13/encodings/idna.py:83: in ToASCII label = nameprep(label) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ label = '\x80' def nameprep(label): # type: (str) -> str # Map newlabel = [] for c in label: if stringprep.in_table_b1(c): # Map to nothing continue newlabel.append(stringprep.map_table_b2(c)) label = "".join(newlabel) # Normalize label = unicodedata.normalize("NFKC", label) # Prohibit for i, c in enumerate(label): if stringprep.in_table_c12(c) or \ stringprep.in_table_c22(c) or \ stringprep.in_table_c3(c) or \ stringprep.in_table_c4(c) or \ stringprep.in_table_c5(c) or \ stringprep.in_table_c6(c) or \ stringprep.in_table_c7(c) or \ stringprep.in_table_c8(c) or \ stringprep.in_table_c9(c): > raise UnicodeEncodeError("idna", label, i, i+1, f"Invalid character {c!r}") E UnicodeEncodeError: 'idna' codec can't encode character '\x80' in position 0: Invalid character '\x80' /usr/lib64/python3.13/encodings/idna.py:38: UnicodeEncodeError During handling of the above exception, another exception occurred: value = 'xn--a', idn_rewrite = 'unicode' def _adjust_idn(value, idn_rewrite): if idn_rewrite == 'ignore' or not value: return value if idn_rewrite == 'idna' and _is_ascii(value): return value if idn_rewrite not in ('idna', 'unicode'): raise ValueError('Invalid value for idn_rewrite: "{0}"'.format(idn_rewrite)) if not HAS_IDNA: raise OpenSSLObjectError( missing_required_lib('idna', reason='to transform {what} DNS name "{name}" to {dest}'.format( name=value, what='IDNA' if idn_rewrite == 'unicode' else 'Unicode', dest='Unicode' if idn_rewrite == 'unicode' else 'IDNA', ))) # Since IDNA does not like '*' or empty labels (except one empty label at the end), # we split and let IDNA only handle labels that are neither empty or '*'. parts = value.split(u'.') for index, part in enumerate(parts): if part in (u'', u'*'): continue try: if idn_rewrite == 'idna': parts[index] = idna.encode(part).decode('ascii') elif idn_rewrite == 'unicode' and part.startswith(u'xn--'): parts[index] = idna.decode(part) except idna.IDNAError as exc2008: try: if idn_rewrite == 'idna': parts[index] = part.encode('idna').decode('ascii') elif idn_rewrite == 'unicode' and part.startswith(u'xn--'): > parts[index] = part.encode('ascii').decode('idna') plugins/module_utils/crypto/cryptography_support.py:403: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , input = b'xn--a' errors = 'strict' def decode(self, input, errors='strict'): if errors != 'strict': raise UnicodeError(f"Unsupported error handling: {errors}") if not input: return "", 0 # IDNA allows decoding to operate on Unicode strings, too. if not isinstance(input, bytes): # XXX obviously wrong, see #3232 input = bytes(input) if ace_prefix not in input.lower(): # Fast path try: return input.decode('ascii'), len(input) except UnicodeDecodeError: pass labels = input.split(b".") if labels and len(labels[-1]) == 0: trailing_dot = '.' del labels[-1] else: trailing_dot = '' result = [] for i, label in enumerate(labels): try: u_label = ToUnicode(label) except (UnicodeEncodeError, UnicodeDecodeError) as exc: offset = sum(len(x) for x in labels[:i]) + len(labels[:i]) > raise UnicodeDecodeError( "idna", input, offset+exc.start, offset+exc.end, exc.reason) E UnicodeDecodeError: 'idna' codec can't decode byte 0x78 in position 0: Invalid character '\x80' E decoding with 'idna' codec failed /usr/lib64/python3.13/encodings/idna.py:265: UnicodeDecodeError During handling of the above exception, another exception occurred: value = 'xn--a', idn_rewrite = 'unicode' message = '^Error while transforming part u?"xn\\-\\-a" of IDNA DNS name u?"xn\\-\\-a" to Unicode\\. IDNA2008 transformation res...ormation resulted in "(decoding with \'idna\' codec failed \\(UnicodeError: )?Invalid character u?\'\\\\x80\'\\)?"\\.$' @pytest.mark.parametrize('value, idn_rewrite, message', [ ( u'xn--a', 'unicode', u'''^Error while transforming part u?"xn\\-\\-a" of IDNA DNS name u?"xn\\-\\-a" to Unicode\\.''' u''' IDNA2008 transformation resulted in "Codepoint U\\+0080 at position 1 of u?'\\\\x80' not allowed",''' u''' IDNA2003 transformation resulted in "(decoding with 'idna' codec failed''' u''' \\(UnicodeError: )?Invalid character u?'\\\\x80'\\)?"\\.$''' ), ]) def test_adjust_idn_fail_user_error(value, idn_rewrite, message): with pytest.raises(OpenSSLObjectError, match=message): > result = _adjust_idn(value, idn_rewrite) tests/unit/plugins/module_utils/crypto/test_cryptography_support.py:89: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ value = 'xn--a', idn_rewrite = 'unicode' def _adjust_idn(value, idn_rewrite): if idn_rewrite == 'ignore' or not value: return value if idn_rewrite == 'idna' and _is_ascii(value): return value if idn_rewrite not in ('idna', 'unicode'): raise ValueError('Invalid value for idn_rewrite: "{0}"'.format(idn_rewrite)) if not HAS_IDNA: raise OpenSSLObjectError( missing_required_lib('idna', reason='to transform {what} DNS name "{name}" to {dest}'.format( name=value, what='IDNA' if idn_rewrite == 'unicode' else 'Unicode', dest='Unicode' if idn_rewrite == 'unicode' else 'IDNA', ))) # Since IDNA does not like '*' or empty labels (except one empty label at the end), # we split and let IDNA only handle labels that are neither empty or '*'. parts = value.split(u'.') for index, part in enumerate(parts): if part in (u'', u'*'): continue try: if idn_rewrite == 'idna': parts[index] = idna.encode(part).decode('ascii') elif idn_rewrite == 'unicode' and part.startswith(u'xn--'): parts[index] = idna.decode(part) except idna.IDNAError as exc2008: try: if idn_rewrite == 'idna': parts[index] = part.encode('idna').decode('ascii') elif idn_rewrite == 'unicode' and part.startswith(u'xn--'): parts[index] = part.encode('ascii').decode('idna') except Exception as exc2003: > raise OpenSSLObjectError( u'Error while transforming part "{part}" of {what} DNS name "{name}" to {dest}.' u' IDNA2008 transformation resulted in "{exc2008}", IDNA2003 transformation resulted in "{exc2003}".'.format( part=part, name=value, what='IDNA' if idn_rewrite == 'unicode' else 'Unicode', dest='Unicode' if idn_rewrite == 'unicode' else 'IDNA', exc2003=exc2003, exc2008=exc2008, )) E ansible_collections.community.crypto.plugins.module_utils.crypto.basic.OpenSSLObjectError: Error while transforming part "xn--a" of IDNA DNS name "xn--a" to Unicode. IDNA2008 transformation resulted in "Codepoint U+0080 at position 1 of '\x80' not allowed", IDNA2003 transformation resulted in "'idna' codec can't decode byte 0x78 in position 0: Invalid character '\x80'". plugins/module_utils/crypto/cryptography_support.py:405: OpenSSLObjectError During handling of the above exception, another exception occurred: value = 'xn--a', idn_rewrite = 'unicode' message = '^Error while transforming part u?"xn\\-\\-a" of IDNA DNS name u?"xn\\-\\-a" to Unicode\\. IDNA2008 transformation res...ormation resulted in "(decoding with \'idna\' codec failed \\(UnicodeError: )?Invalid character u?\'\\\\x80\'\\)?"\\.$' @pytest.mark.parametrize('value, idn_rewrite, message', [ ( u'xn--a', 'unicode', u'''^Error while transforming part u?"xn\\-\\-a" of IDNA DNS name u?"xn\\-\\-a" to Unicode\\.''' u''' IDNA2008 transformation resulted in "Codepoint U\\+0080 at position 1 of u?'\\\\x80' not allowed",''' u''' IDNA2003 transformation resulted in "(decoding with 'idna' codec failed''' u''' \\(UnicodeError: )?Invalid character u?'\\\\x80'\\)?"\\.$''' ), ]) def test_adjust_idn_fail_user_error(value, idn_rewrite, message): > with pytest.raises(OpenSSLObjectError, match=message): E AssertionError: Regex pattern did not match. E Regex: '^Error while transforming part u?"xn\\-\\-a" of IDNA DNS name u?"xn\\-\\-a" to Unicode\\. IDNA2008 transformation resulted in "Codepoint U\\+0080 at position 1 of u?\'\\\\x80\' not allowed", IDNA2003 transformation resulted in "(decoding with \'idna\' codec failed \\(UnicodeError: )?Invalid character u?\'\\\\x80\'\\)?"\\.$' E Input: 'Error while transforming part "xn--a" of IDNA DNS name "xn--a" to Unicode. IDNA2008 transformation resulted in "Codepoint U+0080 at position 1 of \'\\x80\' not allowed", IDNA2003 transformation resulted in "\'idna\' codec can\'t decode byte 0x78 in position 0: Invalid character \'\\x80\'".' tests/unit/plugins/module_utils/crypto/test_cryptography_support.py:88: AssertionError =============================== warnings summary =============================== tests/unit/plugins/module_utils/openssh/test_certificate.py::test_invalid_time_parameters[-1-4722366482869645213695] tests/unit/plugins/module_utils/openssh/test_certificate.py::test_invalid_time_parameters[-1-4722366482869645213695] tests/unit/plugins/module_utils/openssh/test_certificate.py::test_valid_time_parameters[315532800-1980-01-01T00:00:00-19800101000000-315532800-631152000-1990-01-01T00:00:00-19900101000000-631152000-19800101000000:19900101000000] tests/unit/plugins/module_utils/openssh/test_certificate.py::test_valid_time_parameters[315532800-1980-01-01T00:00:00-19800101000000-315532800-631152000-1990-01-01T00:00:00-19900101000000-631152000-19800101000000:19900101000000] tests/unit/plugins/module_utils/openssh/test_certificate.py::test_invalid_time_parameters[1-0] /tmp/tmpw8qzf515/ansible_collections/community/crypto/plugins/module_utils/openssh/certificate.py:170: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). result = datetime.utcfromtimestamp(timestamp) tests/unit/plugins/module_utils/openssh/test_cryptography.py::test_default_key_params[dsa-None-None-None] /tmp/tmpw8qzf515/ansible_collections/community/crypto/tests/unit/plugins/module_utils/openssh/test_cryptography.py:151: CryptographyDeprecationWarning: SSH DSA key support is deprecated and will be removed in a future release pair = OpensshKeypair.generate(keytype=keytype, size=size, passphrase=passphrase, comment=comment) tests/unit/plugins/module_utils/openssh/test_cryptography.py::test_default_key_params[dsa-None-None-None] /tmp/tmpw8qzf515/ansible_collections/community/crypto/tests/unit/plugins/module_utils/openssh/test_cryptography.py:153: CryptographyDeprecationWarning: SSH DSA key support is deprecated and will be removed in a future release pair = OpensshKeypair.generate(keytype=keytype, size=size, passphrase=passphrase, comment=comment) tests/unit/plugins/module_utils/openssh/test_cryptography.py::test_valid_user_key_params[dsa-1024-change_me-comment] /tmp/tmpw8qzf515/ansible_collections/community/crypto/tests/unit/plugins/module_utils/openssh/test_cryptography.py:169: CryptographyDeprecationWarning: SSH DSA key support is deprecated and will be removed in a future release pair = OpensshKeypair.generate(keytype=keytype, size=size, passphrase=passphrase, comment=comment) tests/unit/plugins/module_utils/openssh/test_cryptography.py::test_keypair_comparison /tmp/tmpw8qzf515/ansible_collections/community/crypto/tests/unit/plugins/module_utils/openssh/test_cryptography.py:351: CryptographyDeprecationWarning: SSH DSA key support is deprecated and will be removed in a future release assert OpensshKeypair.generate() != OpensshKeypair.generate(keytype='dsa') tests/unit/plugins/module_utils/openssh/test_cryptography.py::test_keypair_comparison /tmp/tmpw8qzf515/ansible_collections/community/crypto/tests/unit/plugins/module_utils/openssh/test_cryptography.py:363: CryptographyDeprecationWarning: SSH DSA key support is deprecated and will be removed in a future release 'pair': OpensshKeypair.generate(keytype='dsa', passphrase='change_me'.encode('UTF-8')), tests/unit/plugins/module_utils/openssh/test_cryptography.py::test_keypair_comparison /tmp/tmpw8qzf515/ansible_collections/community/crypto/plugins/module_utils/openssh/cryptography.py:560: CryptographyDeprecationWarning: SSH DSA keys are deprecated and will be removed in a future release. privatekey = privatekey_loader( tests/unit/plugins/module_utils/openssh/test_cryptography.py::test_keypair_comparison /tmp/tmpw8qzf515/ansible_collections/community/crypto/plugins/module_utils/openssh/cryptography.py:615: CryptographyDeprecationWarning: SSH DSA keys are deprecated and will be removed in a future release. publickey = publickey_loader( tests/unit/plugins/module_utils/openssh/test_cryptography.py::test_keypair_comparison /tmp/tmpw8qzf515/ansible_collections/community/crypto/tests/unit/plugins/module_utils/openssh/test_cryptography.py:380: CryptographyDeprecationWarning: SSH DSA key support is deprecated and will be removed in a future release loaded_dsa_key = OpensshKeypair.load(path=keys['dsa']['filename'], passphrase='change_me'.encode('UTF-8')) tests/unit/plugins/module_utils/openssh/test_cryptography.py::test_keypair_comparison /tmp/tmpw8qzf515/ansible_collections/community/crypto/tests/unit/plugins/module_utils/openssh/test_cryptography.py:383: CryptographyDeprecationWarning: SSH DSA key support is deprecated and will be removed in a future release loaded_dsa_key.update_passphrase('change_me_again'.encode('UTF-8')) tests/unit/plugins/module_utils/openssh/test_cryptography.py::test_keypair_comparison /tmp/tmpw8qzf515/ansible_collections/community/crypto/tests/unit/plugins/module_utils/openssh/test_cryptography.py:386: CryptographyDeprecationWarning: SSH DSA key support is deprecated and will be removed in a future release loaded_dsa_key.update_passphrase('change_me'.encode('UTF-8')) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html - generated xml file: /tmp/tmpw8qzf515/ansible_collections/community/crypto/tests/output/junit/python3.13-module_utils-units.xml - =========================== short test summary info ============================ SKIPPED [15] tests/unit/plugins/module_utils/crypto/test_asn1.py:78: unconditional skip FAILED tests/unit/plugins/module_utils/crypto/test_cryptography_support.py::test_adjust_idn_fail_user_error[xn--a-unicode-^Error while transforming part u?"xn\\-\\-a" of IDNA DNS name u?"xn\\-\\-a" to Unicode\\. IDNA2008 transformation resulted in "Codepoint U\\+0080 at position 1 of u?'\\\\x80' not allowed", IDNA2003 transformation resulted in "(decoding with 'idna' codec failed \\(UnicodeError: )?Invalid character u?'\\\\x80'\\)?"\\.$] ============ 1 failed, 202 passed, 15 skipped, 15 warnings in 5.55s ============ FATAL: Command "pytest -r a -n auto --color no -p no:cacheprovider -c /usr/lib/python3.13/site-packages/ansible_test/_data/pytest/config/default.ini --junit-xml /tmp/tmpw8qzf515/ansible_collections/community/crypto/tests/output/junit/python3.13-module_utils-units.xml --strict-markers --rootdir /tmp/tmpw8qzf515/ansible_collections/community/crypto --confcutdir /tmp/tmpw8qzf515/ansible_collections/community/crypto tests/unit/plugins/module_utils/acme/test_backend_cryptography.py tests/unit/plugins/module_utils/acme/test_backend_openssl_cli.py tests/unit/plugins/module_utils/acme/test_challenges.py tests/unit/plugins/module_utils/acme/test_errors.py tests/unit/plugins/module_utils/acme/test_io.py tests/unit/plugins/module_utils/acme/test_orders.py tests/unit/plugins/module_utils/acme/test_utils.py tests/unit/plugins/module_utils/crypto/test_asn1.py tests/unit/plugins/module_utils/crypto/test_cryptography_support.py tests/unit/plugins/module_utils/crypto/test_pem.py tests/unit/plugins/module_utils/openssh/test_certificate.py tests/unit/plugins/module_utils/openssh/test_cryptography.py tests/unit/plugins/module_utils/openssh/test_utils.py" returned exit status 1. Command '('ansible-test', 'units', '--python-interpreter', '/usr/bin/python3', '--local')' returned non-zero exit status 1. error: Bad exit status from /var/tmp/rpm-tmp.arXDgw (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.arXDgw (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 1536166394ae4d78b1b7599162d3bc82 -D /var/lib/mock/f41-build-51813194-6205829/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.hm5unnmy:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -ba --noprep --noclean --target noarch /builddir/build/SPECS/ansible-collection-community-crypto.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 1536166394ae4d78b1b7599162d3bc82 -D /var/lib/mock/f41-build-51813194-6205829/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.hm5unnmy:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -ba --noprep --noclean --target noarch /builddir/build/SPECS/ansible-collection-community-crypto.spec'