Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-locustio.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1682191329.256628/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=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-locustio.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-locustio-0.999-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-locustio.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1682191329.256628/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=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-locustio.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-locustio-0.999-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-locustio.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1682191329.256628/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=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-locustio.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AFRayP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf locustio-0.999 + /usr/bin/gzip -dc /builddir/build/SOURCES/locustio-0.999.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd locustio-0.999 + /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.MTyosh + umask 022 + cd /builddir/build/BUILD + cd locustio-0.999 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /usr/lib/python3.9/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'obsoletes-dist' will not be supported in future versions. Please use the underscore name 'obsoletes_dist' instead warnings.warn( running build running build_py creating build creating build/lib creating build/lib/locust copying locust/stats.py -> build/lib/locust copying locust/event.py -> build/lib/locust copying locust/clients.py -> build/lib/locust copying locust/web.py -> build/lib/locust copying locust/__init__.py -> build/lib/locust copying locust/main.py -> build/lib/locust copying locust/runners.py -> build/lib/locust copying locust/__main__.py -> build/lib/locust copying locust/argument_parser.py -> build/lib/locust copying locust/exception.py -> build/lib/locust copying locust/log.py -> build/lib/locust copying locust/env.py -> build/lib/locust creating build/lib/locust/user copying locust/user/wait_time.py -> build/lib/locust/user copying locust/user/sequential_taskset.py -> build/lib/locust/user copying locust/user/__init__.py -> build/lib/locust/user copying locust/user/users.py -> build/lib/locust/user copying locust/user/task.py -> build/lib/locust/user copying locust/user/inspectuser.py -> build/lib/locust/user creating build/lib/locust/rpc copying locust/rpc/__init__.py -> build/lib/locust/rpc copying locust/rpc/zmqrpc.py -> build/lib/locust/rpc copying locust/rpc/protocol.py -> build/lib/locust/rpc creating build/lib/locust/contrib copying locust/contrib/fasthttp.py -> build/lib/locust/contrib copying locust/contrib/__init__.py -> build/lib/locust/contrib creating build/lib/locust/test copying locust/test/test_sequential_taskset.py -> build/lib/locust/test copying locust/test/test_locust_class.py -> build/lib/locust/test copying locust/test/test_log.py -> build/lib/locust/test copying locust/test/test_client.py -> build/lib/locust/test copying locust/test/test_web.py -> build/lib/locust/test copying locust/test/test_main.py -> build/lib/locust/test copying locust/test/test_runners.py -> build/lib/locust/test copying locust/test/test_fasthttp.py -> build/lib/locust/test copying locust/test/util.py -> build/lib/locust/test copying locust/test/test_parser.py -> build/lib/locust/test copying locust/test/__init__.py -> build/lib/locust/test copying locust/test/test_old_wait_api.py -> build/lib/locust/test copying locust/test/test_stats.py -> build/lib/locust/test copying locust/test/test_taskratio.py -> build/lib/locust/test copying locust/test/mock_locustfile.py -> build/lib/locust/test copying locust/test/testcases.py -> build/lib/locust/test copying locust/test/test_util.py -> build/lib/locust/test copying locust/test/test_tags.py -> build/lib/locust/test copying locust/test/test_zmqrpc.py -> build/lib/locust/test copying locust/test/test_wait_time.py -> build/lib/locust/test copying locust/test/mock_logging.py -> build/lib/locust/test creating build/lib/locust/util copying locust/util/rounding.py -> build/lib/locust/util copying locust/util/deprecation.py -> build/lib/locust/util copying locust/util/__init__.py -> build/lib/locust/util copying locust/util/cache.py -> build/lib/locust/util copying locust/util/exception_handler.py -> build/lib/locust/util copying locust/util/timespan.py -> build/lib/locust/util running egg_info writing locustio.egg-info/PKG-INFO writing dependency_links to locustio.egg-info/dependency_links.txt writing entry points to locustio.egg-info/entry_points.txt writing top-level names to locustio.egg-info/top_level.txt reading manifest file 'locustio.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'locustio.egg-info/SOURCES.txt' creating build/lib/locust/static copying locust/static/chart.js -> build/lib/locust/static copying locust/static/echarts.common.min.js -> build/lib/locust/static copying locust/static/jquery-1.11.3.min.js -> build/lib/locust/static copying locust/static/jquery.jqote2.min.js -> build/lib/locust/static copying locust/static/jquery.tools.min.js -> build/lib/locust/static copying locust/static/locust.js -> build/lib/locust/static copying locust/static/style.css -> build/lib/locust/static copying locust/static/vintage.js -> build/lib/locust/static creating build/lib/locust/static/img copying locust/static/img/favicon.ico -> build/lib/locust/static/img copying locust/static/img/logo.png -> build/lib/locust/static/img copying locust/static/img/top_bg.png -> build/lib/locust/static/img creating build/lib/locust/templates copying locust/templates/index.html -> build/lib/locust/templates + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3vGylH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-locustio-0.999-1.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-locustio-0.999-1.aarch64 ++ dirname /builddir/build/BUILDROOT/python-locustio-0.999-1.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-locustio-0.999-1.aarch64 + cd locustio-0.999 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-locustio-0.999-1.aarch64 /usr/lib/python3.9/site-packages/setuptools/dist.py:717: UserWarning: Usage of dash-separated 'obsoletes-dist' will not be supported in future versions. Please use the underscore name 'obsoletes_dist' instead warnings.warn( running install /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( **** Locust package has moved from 'locustio' to 'locust'. Please update your reference (or pin your version to 0.14.6 if you dont want to update to 1.0) **** error: Bad exit status from /var/tmp/rpm-tmp.3vGylH (%install) Bad exit status from /var/tmp/rpm-tmp.3vGylH (%install) 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-locustio.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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-locustio.spec