Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/WALinuxAgent.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-49940-2149/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ipnj_ms1:/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.ipnj_ms1:/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', '29c82fd932834cfb964f15cbbfc59ac2', '-D', '/var/lib/mock/dist-ocs23-python311-build-49940-2149/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ipnj_ms1:/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/WALinuxAgent.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 Wrote: /builddir/build/SRPMS/WALinuxAgent-2.8.0.11-3.ocs23.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/WALinuxAgent.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-49940-2149/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ipnj_ms1:/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.ipnj_ms1:/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', 'b3ebeef29d5c44789f9be03942bf89dc', '-D', '/var/lib/mock/dist-ocs23-python311-build-49940-2149/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ipnj_ms1:/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/WALinuxAgent.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.I1KUtO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf WALinuxAgent-2.8.0.11 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/WALinuxAgent-2.8.0.11.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd WALinuxAgent-2.8.0.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/support-OpenCloudOS.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.X4JAJD + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -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 WALinuxAgent-2.8.0.11 + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/azurelinuxagent copying azurelinuxagent/agent.py -> build/lib/azurelinuxagent copying azurelinuxagent/__init__.py -> build/lib/azurelinuxagent creating build/lib/azurelinuxagent/pa copying azurelinuxagent/pa/__init__.py -> build/lib/azurelinuxagent/pa creating build/lib/azurelinuxagent/common copying azurelinuxagent/common/future.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/AgentGlobals.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/datacontract.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/version.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/logger.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/__init__.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/rdma.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/singletonperthread.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/cgroup.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/persist_firewall_rules.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/dhcp.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/logcollector.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/errorstate.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/agent_supported_feature.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/event.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/telemetryevent.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/logcollector_manifests.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/cgroupconfigurator.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/conf.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/interfaces.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/cgroupapi.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/exception.py -> build/lib/azurelinuxagent/common copying azurelinuxagent/common/cgroupstelemetry.py -> build/lib/azurelinuxagent/common creating build/lib/azurelinuxagent/distro copying azurelinuxagent/distro/__init__.py -> build/lib/azurelinuxagent/distro creating build/lib/azurelinuxagent/ga copying azurelinuxagent/ga/remoteaccess.py -> build/lib/azurelinuxagent/ga copying azurelinuxagent/ga/exthandlers.py -> build/lib/azurelinuxagent/ga copying azurelinuxagent/ga/periodic_operation.py -> build/lib/azurelinuxagent/ga copying azurelinuxagent/ga/collect_logs.py -> build/lib/azurelinuxagent/ga copying azurelinuxagent/ga/monitor.py -> build/lib/azurelinuxagent/ga copying azurelinuxagent/ga/send_telemetry_events.py -> build/lib/azurelinuxagent/ga copying azurelinuxagent/ga/__init__.py -> build/lib/azurelinuxagent/ga copying azurelinuxagent/ga/update.py -> build/lib/azurelinuxagent/ga copying azurelinuxagent/ga/env.py -> build/lib/azurelinuxagent/ga copying azurelinuxagent/ga/collect_telemetry_events.py -> build/lib/azurelinuxagent/ga creating build/lib/azurelinuxagent/daemon copying azurelinuxagent/daemon/__init__.py -> build/lib/azurelinuxagent/daemon copying azurelinuxagent/daemon/scvmm.py -> build/lib/azurelinuxagent/daemon copying azurelinuxagent/daemon/main.py -> build/lib/azurelinuxagent/daemon creating build/lib/azurelinuxagent/pa/provision copying azurelinuxagent/pa/provision/__init__.py -> build/lib/azurelinuxagent/pa/provision copying azurelinuxagent/pa/provision/cloudinitdetect.py -> build/lib/azurelinuxagent/pa/provision copying azurelinuxagent/pa/provision/factory.py -> build/lib/azurelinuxagent/pa/provision copying azurelinuxagent/pa/provision/default.py -> build/lib/azurelinuxagent/pa/provision copying azurelinuxagent/pa/provision/cloudinit.py -> build/lib/azurelinuxagent/pa/provision creating build/lib/azurelinuxagent/pa/rdma copying azurelinuxagent/pa/rdma/ubuntu.py -> build/lib/azurelinuxagent/pa/rdma copying azurelinuxagent/pa/rdma/__init__.py -> build/lib/azurelinuxagent/pa/rdma copying azurelinuxagent/pa/rdma/suse.py -> build/lib/azurelinuxagent/pa/rdma copying azurelinuxagent/pa/rdma/centos.py -> build/lib/azurelinuxagent/pa/rdma copying azurelinuxagent/pa/rdma/factory.py -> build/lib/azurelinuxagent/pa/rdma creating build/lib/azurelinuxagent/pa/deprovision copying azurelinuxagent/pa/deprovision/ubuntu.py -> build/lib/azurelinuxagent/pa/deprovision copying azurelinuxagent/pa/deprovision/__init__.py -> build/lib/azurelinuxagent/pa/deprovision copying azurelinuxagent/pa/deprovision/clearlinux.py -> build/lib/azurelinuxagent/pa/deprovision copying azurelinuxagent/pa/deprovision/arch.py -> build/lib/azurelinuxagent/pa/deprovision copying azurelinuxagent/pa/deprovision/factory.py -> build/lib/azurelinuxagent/pa/deprovision copying azurelinuxagent/pa/deprovision/default.py -> build/lib/azurelinuxagent/pa/deprovision copying azurelinuxagent/pa/deprovision/coreos.py -> build/lib/azurelinuxagent/pa/deprovision creating build/lib/azurelinuxagent/common/osutil copying azurelinuxagent/common/osutil/gaia.py -> build/lib/azurelinuxagent/common/osutil copying azurelinuxagent/common/osutil/bigip.py -> build/lib/azurelinuxagent/common/osutil copying azurelinuxagent/common/osutil/nsbsd.py -> build/lib/azurelinuxagent/common/osutil copying azurelinuxagent/common/osutil/photonos.py -> build/lib/azurelinuxagent/common/osutil copying azurelinuxagent/common/osutil/ubuntu.py -> build/lib/azurelinuxagent/common/osutil copying azurelinuxagent/common/osutil/debian.py -> build/lib/azurelinuxagent/common/osutil copying azurelinuxagent/common/osutil/__init__.py -> build/lib/azurelinuxagent/common/osutil copying azurelinuxagent/common/osutil/suse.py -> build/lib/azurelinuxagent/common/osutil copying azurelinuxagent/common/osutil/openwrt.py -> build/lib/azurelinuxagent/common/osutil copying azurelinuxagent/common/osutil/clearlinux.py -> build/lib/azurelinuxagent/common/osutil copying azurelinuxagent/common/osutil/redhat.py -> build/lib/azurelinuxagent/common/osutil copying azurelinuxagent/common/osutil/arch.py -> build/lib/azurelinuxagent/common/osutil copying azurelinuxagent/common/osutil/alpine.py -> build/lib/azurelinuxagent/common/osutil copying azurelinuxagent/common/osutil/mariner.py -> build/lib/azurelinuxagent/common/osutil copying azurelinuxagent/common/osutil/factory.py -> build/lib/azurelinuxagent/common/osutil copying azurelinuxagent/common/osutil/default.py -> build/lib/azurelinuxagent/common/osutil copying azurelinuxagent/common/osutil/iosxe.py -> build/lib/azurelinuxagent/common/osutil copying azurelinuxagent/common/osutil/coreos.py -> build/lib/azurelinuxagent/common/osutil copying azurelinuxagent/common/osutil/systemd.py -> build/lib/azurelinuxagent/common/osutil copying azurelinuxagent/common/osutil/openbsd.py -> build/lib/azurelinuxagent/common/osutil copying azurelinuxagent/common/osutil/freebsd.py -> build/lib/azurelinuxagent/common/osutil creating build/lib/azurelinuxagent/common/utils copying azurelinuxagent/common/utils/timeutil.py -> build/lib/azurelinuxagent/common/utils copying azurelinuxagent/common/utils/textutil.py -> build/lib/azurelinuxagent/common/utils copying azurelinuxagent/common/utils/restutil.py -> build/lib/azurelinuxagent/common/utils copying azurelinuxagent/common/utils/__init__.py -> build/lib/azurelinuxagent/common/utils copying azurelinuxagent/common/utils/extensionprocessutil.py -> build/lib/azurelinuxagent/common/utils copying azurelinuxagent/common/utils/networkutil.py -> build/lib/azurelinuxagent/common/utils copying azurelinuxagent/common/utils/shellutil.py -> build/lib/azurelinuxagent/common/utils copying azurelinuxagent/common/utils/cryptutil.py -> build/lib/azurelinuxagent/common/utils copying azurelinuxagent/common/utils/flexible_version.py -> build/lib/azurelinuxagent/common/utils copying azurelinuxagent/common/utils/fileutil.py -> build/lib/azurelinuxagent/common/utils copying azurelinuxagent/common/utils/archive.py -> build/lib/azurelinuxagent/common/utils creating build/lib/azurelinuxagent/common/protocol copying azurelinuxagent/common/protocol/ovfenv.py -> build/lib/azurelinuxagent/common/protocol copying azurelinuxagent/common/protocol/util.py -> build/lib/azurelinuxagent/common/protocol copying azurelinuxagent/common/protocol/extensions_goal_state_from_vm_settings.py -> build/lib/azurelinuxagent/common/protocol copying azurelinuxagent/common/protocol/metadata_server_migration_util.py -> build/lib/azurelinuxagent/common/protocol copying azurelinuxagent/common/protocol/__init__.py -> build/lib/azurelinuxagent/common/protocol copying azurelinuxagent/common/protocol/restapi.py -> build/lib/azurelinuxagent/common/protocol copying azurelinuxagent/common/protocol/goal_state.py -> build/lib/azurelinuxagent/common/protocol copying azurelinuxagent/common/protocol/hostplugin.py -> build/lib/azurelinuxagent/common/protocol copying azurelinuxagent/common/protocol/extensions_goal_state_from_extensions_config.py -> build/lib/azurelinuxagent/common/protocol copying azurelinuxagent/common/protocol/imds.py -> build/lib/azurelinuxagent/common/protocol copying azurelinuxagent/common/protocol/extensions_goal_state_factory.py -> build/lib/azurelinuxagent/common/protocol copying azurelinuxagent/common/protocol/healthservice.py -> build/lib/azurelinuxagent/common/protocol copying azurelinuxagent/common/protocol/wire.py -> build/lib/azurelinuxagent/common/protocol copying azurelinuxagent/common/protocol/extensions_goal_state.py -> build/lib/azurelinuxagent/common/protocol creating build/lib/azurelinuxagent/distro/suse copying azurelinuxagent/distro/suse/__init__.py -> build/lib/azurelinuxagent/distro/suse creating build/lib/azurelinuxagent/daemon/resourcedisk copying azurelinuxagent/daemon/resourcedisk/__init__.py -> build/lib/azurelinuxagent/daemon/resourcedisk copying azurelinuxagent/daemon/resourcedisk/openwrt.py -> build/lib/azurelinuxagent/daemon/resourcedisk copying azurelinuxagent/daemon/resourcedisk/factory.py -> build/lib/azurelinuxagent/daemon/resourcedisk copying azurelinuxagent/daemon/resourcedisk/default.py -> build/lib/azurelinuxagent/daemon/resourcedisk copying azurelinuxagent/daemon/resourcedisk/openbsd.py -> build/lib/azurelinuxagent/daemon/resourcedisk copying azurelinuxagent/daemon/resourcedisk/freebsd.py -> build/lib/azurelinuxagent/daemon/resourcedisk + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Dq0dg8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/WALinuxAgent-2.8.0.11-3.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/WALinuxAgent-2.8.0.11-3.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/WALinuxAgent-2.8.0.11-3.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/WALinuxAgent-2.8.0.11-3.ocs23.noarch + cd WALinuxAgent-2.8.0.11 + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/WALinuxAgent-2.8.0.11-3.ocs23.noarch --lnx-distro OpenCloudOS Traceback (most recent call last): File "/builddir/build/BUILD/WALinuxAgent-2.8.0.11/azurelinuxagent/common/future.py", line 77, in get_linux_distribution supported = platform._supported_dists + (supported_dists,) ^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'platform' has no attribute '_supported_dists' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/WALinuxAgent-2.8.0.11/setup.py", line 28, in from azurelinuxagent.common.osutil import get_osutil File "/builddir/build/BUILD/WALinuxAgent-2.8.0.11/azurelinuxagent/common/osutil/__init__.py", line 18, in from azurelinuxagent.common.osutil.factory import get_osutil File "/builddir/build/BUILD/WALinuxAgent-2.8.0.11/azurelinuxagent/common/osutil/factory.py", line 22, in from azurelinuxagent.common.version import DISTRO_NAME, DISTRO_CODE_NAME, DISTRO_VERSION, DISTRO_FULL_NAME File "/builddir/build/BUILD/WALinuxAgent-2.8.0.11/azurelinuxagent/common/version.py", line 234, in __distro__ = get_distro() ^^^^^^^^^^^^ File "/builddir/build/BUILD/WALinuxAgent-2.8.0.11/azurelinuxagent/common/version.py", line 114, in get_distro osinfo = get_linux_distribution(0, 'alpine') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/WALinuxAgent-2.8.0.11/azurelinuxagent/common/future.py", line 95, in get_linux_distribution return get_linux_distribution_from_distro(get_full_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/WALinuxAgent-2.8.0.11/azurelinuxagent/common/future.py", line 106, in get_linux_distribution_from_distro distro.linux_distribution( ^^^^^^ NameError: name 'distro' is not defined error: Bad exit status from /var/tmp/rpm-tmp.Dq0dg8 (%install) Bad exit status from /var/tmp/rpm-tmp.Dq0dg8 (%install) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M b3ebeef29d5c44789f9be03942bf89dc -D /var/lib/mock/dist-ocs23-python311-build-49940-2149/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ipnj_ms1:/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/WALinuxAgent.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 597, 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 b3ebeef29d5c44789f9be03942bf89dc -D /var/lib/mock/dist-ocs23-python311-build-49940-2149/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.ipnj_ms1:/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/WALinuxAgent.spec