Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-quart-trio.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP1-aarch64-1740539191.578430/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-quart-trio.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-quart-trio-0.12.0-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-quart-trio.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP1-aarch64-1740539191.578430/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-quart-trio.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-quart-trio-0.12.0-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-quart-trio.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP1-aarch64-1740539191.578430/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-quart-trio.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.z8aUAI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf quart-trio-0.12.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/quart-trio-0.12.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd quart-trio-0.12.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.22Jsif + umask 022 + cd /builddir/build/BUILD + cd quart-trio-0.12.0 + CFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 -mpip wheel --verbose --progress-bar off --disable-pip-version-check --use-pep517 --no-build-isolation --no-deps --wheel-dir ./build . Processing /builddir/build/BUILD/quart-trio-0.12.0 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: quart-trio Building wheel for quart-trio (pyproject.toml): started Running command Building wheel for quart-trio (pyproject.toml) - Adding /tmp/pip-modern-metadata-0lqyxrpl/quart_trio-0.12.0.dist-info/METADATA -> quart_trio-0.12.0.dist-info/METADATA - Adding /tmp/pip-modern-metadata-0lqyxrpl/quart_trio-0.12.0.dist-info/WHEEL -> quart_trio-0.12.0.dist-info/WHEEL - Adding /tmp/pip-modern-metadata-0lqyxrpl/quart_trio-0.12.0.dist-info/licenses/LICENSE -> quart_trio-0.12.0.dist-info/licenses/LICENSE - Adding src/quart_trio/__init__.py -> quart_trio/__init__.py - Adding src/quart_trio/app.py -> quart_trio/app.py - Adding src/quart_trio/asgi.py -> quart_trio/asgi.py - Adding src/quart_trio/datastructures.py -> quart_trio/datastructures.py - Adding src/quart_trio/formparser.py -> quart_trio/formparser.py - Adding src/quart_trio/py.typed -> quart_trio/py.typed - Adding src/quart_trio/testing/__init__.py -> quart_trio/testing/__init__.py - Adding src/quart_trio/testing/app.py -> quart_trio/testing/app.py - Adding src/quart_trio/testing/client.py -> quart_trio/testing/client.py - Adding src/quart_trio/testing/connections.py -> quart_trio/testing/connections.py - Adding src/quart_trio/utils.py -> quart_trio/utils.py - Adding src/quart_trio/wrappers/__init__.py -> quart_trio/wrappers/__init__.py - Adding src/quart_trio/wrappers/request.py -> quart_trio/wrappers/request.py - Adding src/quart_trio/wrappers/response.py -> quart_trio/wrappers/response.py - Adding src/quart_trio/wrappers/websocket.py -> quart_trio/wrappers/websocket.py - Adding quart_trio-0.12.0.dist-info/RECORD -> quart_trio-0.12.0.dist-info/RECORD Building wheel for quart-trio (pyproject.toml): finished with status 'done' Created wheel for quart-trio: filename=quart_trio-0.12.0-py3-none-any.whl size=16262 sha256=cc7cbcbadca6537949b58fe3672b2bbd01b25d096b2ee476098573aefffabf52 Stored in directory: /builddir/.cache/pip/wheels/8c/60/70/9e1cba47599005191c58f052bdfd8285f65f0d8db860eab7e6 Successfully built quart-trio + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dAqv5H + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-quart-trio-0.12.0-1.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-quart-trio-0.12.0-1.aarch64 ++ dirname /builddir/build/BUILDROOT/python-quart-trio-0.12.0-1.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-quart-trio-0.12.0-1.aarch64 + cd quart-trio-0.12.0 ++ ls ./build/quart_trio-0.12.0-py3-none-any.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=quart_trio==0.12.0 + CFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 -mpip install --verbose --progress-bar off --disable-pip-version-check --root /builddir/build/BUILDROOT/python-quart-trio-0.12.0-1.aarch64 --no-compile --ignore-installed --no-deps --no-index --find-links ./build quart_trio==0.12.0 Using pip 23.3.1 from /usr/lib/python3.11/site-packages/pip (python 3.11) Looking in links: ./build Processing ./build/quart_trio-0.12.0-py3-none-any.whl Installing collected packages: quart_trio Successfully installed quart_trio-0.12.0 + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 0.12.0-1 --unique-debug-suffix -0.12.0-1.aarch64 --unique-debug-src-base python-quart-trio-0.12.0-1.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/quart-trio-0.12.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-quart-trio-0.12.0-1.aarch64/usr/lib/python3.11 using /usr/bin/python3.11 + /usr/lib/rpm/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.suNvxQ + umask 022 + cd /builddir/build/BUILD + cd quart-trio-0.12.0 + CFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + PATH=/builddir/build/BUILDROOT/python-quart-trio-0.12.0-1.aarch64/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-quart-trio-0.12.0-1.aarch64/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-quart-trio-0.12.0-1.aarch64/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_XDIST_AUTO_NUM_WORKERS=4 + /usr/bin/pytest -v /usr/lib/python3.11/site-packages/_pytest/config/__init__.py:331: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown. Plugin: helpconfig, Hook: pytest_cmdline_parse UsageError: usage: pytest [options] [file_or_dir] [file_or_dir] [...] pytest: error: unrecognized arguments: --no-cov-on-fail inifile: /builddir/build/BUILD/quart-trio-0.12.0/pyproject.toml rootdir: /builddir/build/BUILD/quart-trio-0.12.0 For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning config = pluginmanager.hook.pytest_cmdline_parse( ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...] pytest: error: unrecognized arguments: --no-cov-on-fail inifile: /builddir/build/BUILD/quart-trio-0.12.0/pyproject.toml rootdir: /builddir/build/BUILD/quart-trio-0.12.0 error: Bad exit status from /var/tmp/rpm-tmp.suNvxQ (%check) Bad exit status from /var/tmp/rpm-tmp.suNvxQ (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-quart-trio.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-quart-trio.spec