Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-service-identity.spec'], chrootPath='/var/lib/mock/dist-an23-loongarch-build-311742-66339/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=86400uid=988gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gf_l1izw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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.gf_l1izw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', 'd7c12a965cc34f62938c926941781aa2', '-D', '/var/lib/mock/dist-an23-loongarch-build-311742-66339/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gf_l1izw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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/python-service-identity.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=1681948800 Wrote: /builddir/build/SRPMS/python-service-identity-21.1.0-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-service-identity.spec'], chrootPath='/var/lib/mock/dist-an23-loongarch-build-311742-66339/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=86400uid=988gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gf_l1izw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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.gf_l1izw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--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', '366716c5f7344558991f5effcd3dc9e1', '-D', '/var/lib/mock/dist-an23-loongarch-build-311742-66339/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gf_l1izw:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-service-identity.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=1681948800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WCAKJW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf service-identity-21.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/service-identity-21.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd service-identity-21.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Revert-theme-change.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.30CHdk + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-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 service-identity-21.1.0 + mkdir -p /builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + TMPDIR=/builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir + /usr/bin/python3 -m pip wheel --wheel-dir /builddir/build/BUILD/service-identity-21.1.0/pyproject-wheeldir --no-deps --use-pep517 --no-build-isolation --disable-pip-version-check --no-clean --progress-bar off --verbose . Looking in indexes: https://mirrors.aliyun.com/pypi/simple/ Processing /builddir/build/BUILD/service-identity-21.1.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-modern-metadata-eprx1dkw/service_identity.egg-info writing /builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-modern-metadata-eprx1dkw/service_identity.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-modern-metadata-eprx1dkw/service_identity.egg-info/dependency_links.txt writing requirements to /builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-modern-metadata-eprx1dkw/service_identity.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-modern-metadata-eprx1dkw/service_identity.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-modern-metadata-eprx1dkw/service_identity.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-modern-metadata-eprx1dkw/service_identity.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.txt' warning: no previously-included files matching '*.pyc' found under directory 'tests' adding license file 'LICENSE' adding license file 'AUTHORS.rst' writing manifest file '/builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-modern-metadata-eprx1dkw/service_identity.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-modern-metadata-eprx1dkw/service_identity-21.1.0.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: service-identity Building wheel for service-identity (pyproject.toml): started Running command Building wheel for service-identity (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib creating build/lib/service_identity copying src/service_identity/__init__.py -> build/lib/service_identity copying src/service_identity/_common.py -> build/lib/service_identity copying src/service_identity/_compat.py -> build/lib/service_identity copying src/service_identity/cryptography.py -> build/lib/service_identity copying src/service_identity/exceptions.py -> build/lib/service_identity copying src/service_identity/pyopenssl.py -> build/lib/service_identity installing to build/bdist.linux-loongarch64/wheel running install running install_lib creating build/bdist.linux-loongarch64 creating build/bdist.linux-loongarch64/wheel creating build/bdist.linux-loongarch64/wheel/service_identity copying build/lib/service_identity/__init__.py -> build/bdist.linux-loongarch64/wheel/service_identity copying build/lib/service_identity/_common.py -> build/bdist.linux-loongarch64/wheel/service_identity copying build/lib/service_identity/_compat.py -> build/bdist.linux-loongarch64/wheel/service_identity copying build/lib/service_identity/cryptography.py -> build/bdist.linux-loongarch64/wheel/service_identity copying build/lib/service_identity/exceptions.py -> build/bdist.linux-loongarch64/wheel/service_identity copying build/lib/service_identity/pyopenssl.py -> build/bdist.linux-loongarch64/wheel/service_identity running install_egg_info running egg_info creating src/service_identity.egg-info writing src/service_identity.egg-info/PKG-INFO writing dependency_links to src/service_identity.egg-info/dependency_links.txt writing requirements to src/service_identity.egg-info/requires.txt writing top-level names to src/service_identity.egg-info/top_level.txt writing manifest file 'src/service_identity.egg-info/SOURCES.txt' reading manifest file 'src/service_identity.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.txt' warning: no previously-included files matching '*.pyc' found under directory 'tests' adding license file 'LICENSE' adding license file 'AUTHORS.rst' writing manifest file 'src/service_identity.egg-info/SOURCES.txt' Copying src/service_identity.egg-info to build/bdist.linux-loongarch64/wheel/service_identity-21.1.0-py3.10.egg-info running install_scripts creating build/bdist.linux-loongarch64/wheel/service_identity-21.1.0.dist-info/WHEEL creating '/builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-wheel-42zq51p5/tmp1xuwkpsg/service_identity-21.1.0-py2.py3-none-any.whl' and adding 'build/bdist.linux-loongarch64/wheel' to it adding 'service_identity/__init__.py' adding 'service_identity/_common.py' adding 'service_identity/_compat.py' adding 'service_identity/cryptography.py' adding 'service_identity/exceptions.py' adding 'service_identity/pyopenssl.py' adding 'service_identity-21.1.0.dist-info/AUTHORS.rst' adding 'service_identity-21.1.0.dist-info/LICENSE' adding 'service_identity-21.1.0.dist-info/METADATA' adding 'service_identity-21.1.0.dist-info/WHEEL' adding 'service_identity-21.1.0.dist-info/top_level.txt' adding 'service_identity-21.1.0.dist-info/RECORD' removing build/bdist.linux-loongarch64/wheel Building wheel for service-identity (pyproject.toml): finished with status 'done' Created wheel for service-identity: filename=service_identity-21.1.0-py2.py3-none-any.whl size=12580 sha256=6fbef26e2204866a7cad516ec25fc627206e7acb03db2edab71b0c8a3585cad3 Stored in directory: /builddir/.cache/pip/wheels/61/d1/d6/66b23edf92a3ad53966111df0b1be39942e5f133a48135d55f Successfully built service-identity ++ pyproject_build_lib=() ++ '[' -d build/lib.linux-loongarch64-3.10 ']' ++ '[' -d build/lib ']' ++ pyproject_build_lib+=("${PWD}/build/lib") +++ find /builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir -type d -wholename '/builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-req-build-*/build/lib.linux-loongarch64-3.10' +++ find /builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir -type d -wholename '/builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir/pip-req-build-*/build/lib' +++ IFS=: +++ echo /builddir/build/BUILD/service-identity-21.1.0/build/lib ++ echo /builddir/build/BUILD/service-identity-21.1.0/build/lib + PYTHONPATH=/builddir/build/BUILD/service-identity-21.1.0/build/lib + sphinx-build docs html Running Sphinx v6.1.3 making output directory... done loading intersphinx inventory from https://docs.python.org/3/objects.inv... loading intersphinx inventory from https://pyopenssl.readthedocs.io/en/stable/objects.inv... loading intersphinx inventory from https://cryptography.io/en/stable/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3/objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://cryptography.io/en/stable/objects.inv' not fetchable due to : HTTPSConnectionPool(host='cryptography.io', port=443): Max retries exceeded with url: /en/stable/objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://pyopenssl.readthedocs.io/en/stable/objects.inv' not fetchable due to : HTTPSConnectionPool(host='pyopenssl.readthedocs.io', port=443): Max retries exceeded with url: /en/stable/objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 8 source files that are out of date updating environment: [new config] 8 added, 0 changed, 0 removed reading sources... [ 12%] api reading sources... [ 25%] backward-compatibility reading sources... [ 37%] changelog reading sources... [ 50%] contributing reading sources... [ 62%] implemented-standards reading sources... [ 75%] index reading sources... [ 87%] installation reading sources... [100%] license WARNING: autodoc: failed to import function 'pyopenssl.verify_hostname' from module 'service_identity'; the following exception was raised: No module named 'attr' WARNING: autodoc: failed to import function 'pyopenssl.verify_ip_address' from module 'service_identity'; the following exception was raised: No module named 'attr' WARNING: autodoc: failed to import function 'cryptography.verify_certificate_hostname' from module 'service_identity'; the following exception was raised: No module named 'attr' WARNING: autodoc: failed to import function 'cryptography.verify_certificate_ip_address' from module 'service_identity'; the following exception was raised: No module named 'attr' WARNING: autodoc: failed to import exception 'VerificationError' from module 'service_identity'; the following exception was raised: No module named 'attr' WARNING: autodoc: failed to import exception 'CertificateError' from module 'service_identity'; the following exception was raised: No module named 'attr' WARNING: autodoc: failed to import exception 'SubjectAltNameWarning' from module 'service_identity'; the following exception was raised: No module named 'attr' looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 12%] api writing output... [ 25%] backward-compatibility writing output... [ 37%] changelog writing output... [ 50%] contributing writing output... [ 62%] implemented-standards writing output... [ 75%] index writing output... [ 87%] installation writing output... [100%] license generating indices... genindex done writing additional pages... search done copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 10 warnings. The HTML pages are in html. + rm -rf html/.doctrees html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.JCM4YX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch ++ dirname /builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-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 service-identity-21.1.0 ++ ls /builddir/build/BUILD/service-identity-21.1.0/pyproject-wheeldir/service_identity-21.1.0-py2.py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=service_identity==21.1.0 + TMPDIR=/builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/service-identity-21.1.0/pyproject-wheeldir service_identity==21.1.0 Using pip 23.1 from /usr/lib/python3.10/site-packages/pip (python 3.10) Looking in links: /builddir/build/BUILD/service-identity-21.1.0/pyproject-wheeldir Processing ./pyproject-wheeldir/service_identity-21.1.0-py2.py3-none-any.whl Installing collected packages: service_identity Successfully installed service_identity-21.1.0 + '[' -d /builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch/usr/bin ']' + rm -f /builddir/build/BUILD/pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch/usr/lib/python3.10/site-packages ']' + site_dirs+=("/usr/lib/python3.10/site-packages") + '[' /builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch/usr/lib64/python3.10/site-packages '!=' /builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch/usr/lib/python3.10/site-packages ']' + '[' -d /builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch/usr/lib64/python3.10/site-packages ']' + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch$site_dir/*.dist-info + echo '%ghost /usr/lib/python3.10/site-packages/service_identity-21.1.0.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch/usr/lib/python3.10/site-packages/service_identity-21.1.0.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/anolis + /usr/bin/python3 -B /usr/lib/rpm/anolis/pyproject_preprocess_record.py --buildroot /builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch --record /builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch/usr/lib/python3.10/site-packages/service_identity-21.1.0.dist-info/RECORD --output /builddir/build/BUILD/pyproject-record + rm -fv /builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch/usr/lib/python3.10/site-packages/service_identity-21.1.0.dist-info/RECORD removed '/builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch/usr/lib/python3.10/site-packages/service_identity-21.1.0.dist-info/RECORD' + rm -fv /builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch/usr/lib/python3.10/site-packages/service_identity-21.1.0.dist-info/REQUESTED removed '/builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch/usr/lib/python3.10/site-packages/service_identity-21.1.0.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + /usr/bin/python3 /usr/lib/rpm/anolis/pyproject_save_files.py --output-files /builddir/build/BUILD/pyproject-files --output-modules /builddir/build/BUILD/pyproject-modules --buildroot /builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch --sitelib /usr/lib/python3.10/site-packages --sitearch /usr/lib64/python3.10/site-packages --python-version 3.10 --pyproject-record /builddir/build/BUILD/pyproject-record --prefix /usr service_identity + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 21.1.0-1.an23 --unique-debug-suffix -21.1.0-1.an23.noarch --unique-debug-src-base python-service-identity-21.1.0-1.an23.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/service-identity-21.1.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files + /usr/lib/rpm/anolis/brp-mangle-shebangs + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch/usr/lib/python3.10 using python3.10 + /usr/lib/rpm/anolis/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.XvgtEf + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-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 service-identity-21.1.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + PATH=/builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch/usr/lib64/python3.10/site-packages:/builddir/build/BUILDROOT/python-service-identity-21.1.0-1.an23.noarch/usr/lib/python3.10/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/service-identity-21.1.0/.pyproject-builddir' + /usr/bin/pytest -v ============================= test session starts ============================== platform linux -- Python 3.10.12, pytest-7.3.1, pluggy-1.0.0 -- /usr/bin/python3 cachedir: .pytest_cache OpenSSL: n/a pyOpenSSL: missing cryptography: 39.0.0 rootdir: /builddir/build/BUILD/service-identity-21.1.0 configfile: tox.ini testpaths: tests collecting ... collected 0 items / 2 errors ==================================== ERRORS ==================================== ____________________ ERROR collecting tests/test_common.py _____________________ ImportError while importing test module '/builddir/build/BUILD/service-identity-21.1.0/tests/test_common.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_common.py:9: in import service_identity._common ../../BUILDROOT/python-service-identity-21.1.0-1.an23.noarch/usr/lib/python3.10/site-packages/service_identity/__init__.py:7: in from . import cryptography, pyopenssl ../../BUILDROOT/python-service-identity-21.1.0-1.an23.noarch/usr/lib/python3.10/site-packages/service_identity/cryptography.py:22: in from ._common import ( ../../BUILDROOT/python-service-identity-21.1.0-1.an23.noarch/usr/lib/python3.10/site-packages/service_identity/_common.py:10: in import attr E ModuleNotFoundError: No module named 'attr' _________________ ERROR collecting tests/test_cryptography.py __________________ ImportError while importing test module '/builddir/build/BUILD/service-identity-21.1.0/tests/test_cryptography.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib64/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) tests/test_cryptography.py:10: in from service_identity import SubjectAltNameWarning ../../BUILDROOT/python-service-identity-21.1.0-1.an23.noarch/usr/lib/python3.10/site-packages/service_identity/__init__.py:7: in from . import cryptography, pyopenssl ../../BUILDROOT/python-service-identity-21.1.0-1.an23.noarch/usr/lib/python3.10/site-packages/service_identity/cryptography.py:22: in from ._common import ( ../../BUILDROOT/python-service-identity-21.1.0-1.an23.noarch/usr/lib/python3.10/site-packages/service_identity/_common.py:10: in import attr E ModuleNotFoundError: No module named 'attr' =========================== short test summary info ============================ ERROR tests/test_common.py ERROR tests/test_cryptography.py !!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!! ============================== 2 errors in 0.31s =============================== error: Bad exit status from /var/tmp/rpm-tmp.XvgtEf (%check) Bad exit status from /var/tmp/rpm-tmp.XvgtEf (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 366716c5f7344558991f5effcd3dc9e1 -D /var/lib/mock/dist-an23-loongarch-build-311742-66339/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.gf_l1izw:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-service-identity.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 366716c5f7344558991f5effcd3dc9e1 -D /var/lib/mock/dist-an23-loongarch-build-311742-66339/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.gf_l1izw:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-service-identity.spec