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 x86_64 --nodeps /builddir/build/SPECS/kata-containers.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-22624-1098/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f7cf2ef0a90>timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/kata-containers.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/kata-containers-3.1.3-1.ocs23.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kata-containers.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-22624-1098/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f7cf2ef0a90>timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kata-containers.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AwGQqW
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf kata-containers-3.1.3
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/3.1.3.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd kata-containers-3.1.3
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/git init -q
+ /usr/bin/git config user.name rpm-build
+ /usr/bin/git config user.email '<rpm-build>'
+ /usr/bin/git config gc.auto 0
+ /usr/bin/git add --force .
+ /usr/bin/git commit -q --allow-empty -a --author 'rpm-build <rpm-build>' -m 'kata-containers-3.1.3 base'
+ /usr/bin/git checkout --track -b rpm-build
Switched to a new branch 'rpm-build'
branch 'rpm-build' set up to track 'master'.
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0999-osbuilder-Adjust-agent_version-for-our-builds.patch
+ /usr/bin/git apply --index --reject -p1 -
<stdin>:22: trailing whitespace.
    
Checking patch tools/osbuilder/scripts/lib.sh...
Applied patch tools/osbuilder/scripts/lib.sh cleanly.
warning: 1 line adds whitespace errors.
+ /usr/bin/git commit -q -m 0999-osbuilder-Adjust-agent_version-for-our-builds.patch --author 'rpm-build <rpm-build>'
+ /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/1000-Remove-shebang-in-non-executable-completion-script.patch
+ /usr/bin/git apply --index --reject -p1 -
Checking patch src/runtime/data/completions/bash/kata-runtime...
Applied patch src/runtime/data/completions/bash/kata-runtime cleanly.
+ /usr/bin/git commit -q -m 1000-Remove-shebang-in-non-executable-completion-script.patch --author 'rpm-build <rpm-build>'
+ cd /builddir/build/BUILD/kata-containers-3.1.3
+ tar -xf /builddir/build/SOURCES/kata-containers-3.1.3-vendor.tar.gz
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.FxGe9N
+ 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/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/lib64/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/lib64/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/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd kata-containers-3.1.3
++ pwd
+ export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILD/kata-containers-3.1.3/go/bin
+ PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILD/kata-containers-3.1.3/go/bin
++ pwd
+ export GOPATH=/builddir/build/BUILD/kata-containers-3.1.3/go
+ GOPATH=/builddir/build/BUILD/kata-containers-3.1.3/go
+ mkdir -p go/src/github.com/kata-containers
++ pwd
+ ln -s /builddir/build/BUILD/kata-containers-3.1.3/../kata-containers-3.1.3 go/src/github.com/kata-containers/kata-containers
+ cd go/src/github.com/kata-containers/kata-containers
~/build/BUILD/kata-containers-3.1.3/go/src/github.com/kata-containers/kata-containers/src/runtime ~/build/BUILD/kata-containers-3.1.3/go/src/github.com/kata-containers/kata-containers
+ pushd src/runtime
+ /usr/bin/make -O -j32 V=1 VERBOSE=1 QEMUPATH=/usr/bin/qemu-system-x86_64 KERNELTYPE=compressed DEFSHAREDFS=virtio-fs DEFVIRTIOFSDAEMON=/usr/libexec/virtiofsd DEFVIRTIOFSCACHESIZE=0 DEFSANDBOXCGROUPONLY=true SKIP_GO_VERSION_CHECK=y MACHINETYPE=q35 SCRIPTS_DIR=/usr/bin DESTDIR=/builddir/build/BUILDROOT/kata-containers-3.1.3-1.ocs23.x86_64 PREFIX=/usr DEFAULTSDIR=/usr/share/kata-containers/defaults CONFDIR=/usr/share/kata-containers/defaults FEATURE_SELINUX=yes 'DEFENABLEANNOTATIONS=[\".*\"]'
kata-runtime - version 3.1.3 (commit 2129e60b70854be4fcc18630ae97817bd5ef3c0a)
sed \
	-e "s|@COMMIT@|2129e60b70854be4fcc18630ae97817bd5ef3c0a|g" \
	-e "s|@VERSION@|3.1.3|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.1.3-1.ocs23.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@KERNELPARAMS@||g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \
	data/kata-collect-data.sh.in > data/kata-collect-data.sh
sed \
	-e "s|@COMMIT@|2129e60b70854be4fcc18630ae97817bd5ef3c0a|g" \
	-e "s|@VERSION@|3.1.3|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.1.3-1.ocs23.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@KERNELPARAMS@||g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \
	pkg/katautils/config-settings.go.in > pkg/katautils/config-settings.go
sed \
	-e "s|@COMMIT@|2129e60b70854be4fcc18630ae97817bd5ef3c0a|g" \
	-e "s|@VERSION@|3.1.3|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.1.3-1.ocs23.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@KERNELPARAMS@||g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \
	config/configuration-qemu.toml.in > config/configuration-qemu.toml
sed \
	-e "s|@COMMIT@|2129e60b70854be4fcc18630ae97817bd5ef3c0a|g" \
	-e "s|@VERSION@|3.1.3|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.1.3-1.ocs23.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@KERNELPARAMS@||g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \
	config/configuration-clh.toml.in > config/configuration-clh.toml
sed \
	-e "s|@COMMIT@|2129e60b70854be4fcc18630ae97817bd5ef3c0a|g" \
	-e "s|@VERSION@|3.1.3|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.1.3-1.ocs23.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@KERNELPARAMS@||g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \
	config/configuration-fc.toml.in > config/configuration-fc.toml
sed \
	-e "s|@COMMIT@|2129e60b70854be4fcc18630ae97817bd5ef3c0a|g" \
	-e "s|@VERSION@|3.1.3|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.1.3-1.ocs23.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@KERNELPARAMS@||g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \
	config/configuration-acrn.toml.in > config/configuration-acrn.toml
• architecture:
	Host: 
	golang: 
	Build: amd64
• golang:
	go version go1.20.6 linux/amd64
• hypervisors:
	Default: qemu
	Known: acrn cloud-hypervisor firecracker qemu
	Available for this architecture: acrn cloud-hypervisor firecracker qemu
• Summary:
	destination install path (DESTDIR) : /builddir/build/BUILDROOT/kata-containers-3.1.3-1.ocs23.x86_64
	binary installation path (BINDIR) : /usr/bin
	binaries to install :
	 - /builddir/build/BUILDROOT/kata-containers-3.1.3-1.ocs23.x86_64/usr/bin/kata-runtime
	 - /builddir/build/BUILDROOT/kata-containers-3.1.3-1.ocs23.x86_64/usr/bin/containerd-shim-kata-v2
	 - /builddir/build/BUILDROOT/kata-containers-3.1.3-1.ocs23.x86_64/usr/bin/kata-monitor
	 - /builddir/build/BUILDROOT/kata-containers-3.1.3-1.ocs23.x86_64/usr/bin/data/kata-collect-data.sh
	configs to install (CONFIGS) :
	 - config/configuration-acrn.toml
 	 - config/configuration-clh.toml
 	 - config/configuration-fc.toml
 	 - config/configuration-qemu.toml
	install paths (CONFIG_PATHS) :
	 - /usr/share/kata-containers/defaults/configuration-acrn.toml
 	 - /usr/share/kata-containers/defaults/configuration-clh.toml
 	 - /usr/share/kata-containers/defaults/configuration-fc.toml
 	 - /usr/share/kata-containers/defaults/configuration-qemu.toml
	alternate config paths (SYSCONFIG_PATHS) : 
	 - /etc/kata-containers/configuration-acrn.toml
 	 - /etc/kata-containers/configuration-clh.toml
 	 - /etc/kata-containers/configuration-fc.toml
 	 - /etc/kata-containers/configuration-qemu.toml
	default install path for qemu (CONFIG_PATH) : /usr/share/kata-containers/defaults/configuration.toml
	default alternate config path (SYSCONFIG) : /etc/kata-containers/configuration.toml
	qemu hypervisor path (QEMUPATH) : /usr/bin/qemu-system-x86_64
	cloud-hypervisor hypervisor path (CLHPATH) : /usr/bin/cloud-hypervisor
	firecracker hypervisor path (FCPATH) : /usr/bin/firecracker
	acrn hypervisor path (ACRNPATH) : /usr/bin/acrn-dm
	assets path (PKGDATADIR) : /usr/share/kata-containers
	shim path (PKGLIBEXECDIR) : /usr/libexec/kata-containers
(cd cmd/kata-monitor/ && go build \
	--ldflags "-X main.GitCommit=2129e60b70854be4fcc18630ae97817bd5ef3c0a" -buildmode=pie -mod=vendor  -o /builddir/build/BUILD/kata-containers-3.1.3/src/runtime/kata-monitor .)
(cd cmd/containerd-shim-kata-v2/ && go build -ldflags "" -buildmode=pie -mod=vendor  -o /builddir/build/BUILD/kata-containers-3.1.3/src/runtime/containerd-shim-kata-v2 .)
(cd cmd/kata-runtime && go build -ldflags "" -buildmode=pie -mod=vendor  -o /builddir/build/BUILD/kata-containers-3.1.3/src/runtime/kata-runtime .)
+ popd
~/build/BUILD/kata-containers-3.1.3/go/src/github.com/kata-containers/kata-containers
~/build/BUILD/kata-containers-3.1.3/go/src/github.com/kata-containers/kata-containers/src/agent ~/build/BUILD/kata-containers-3.1.3/go/src/github.com/kata-containers/kata-containers
+ pushd src/agent
+ /usr/bin/make -O -j32 V=1 VERBOSE=1 LIBC=gnu DESTDIR=/builddir/build/BUILDROOT/kata-containers-3.1.3-1.ocs23.x86_64/usr/libexec/kata-containers/agent
kata-agent - version 3.1.3 (commit 2129e60b70854be4fcc18630ae97817bd5ef3c0a-dirty)
project:
  name: Kata Containers
  url: https://github.com/kata-containers
  component: kata-agent
target: kata-agent
architecture:
  host: x86_64
rust:
  cargo: cargo 1.71.0
  rustc: rustc 1.71.0 (8ede3aae2 2023-07-12) (OpenCloudOS 1.71.0-1.ocs23)
  rustup: (not available)
  toolchain: (unknown)
   Compiling proc-macro2 v1.0.58
   Compiling quote v1.0.27
   Compiling unicode-ident v1.0.1
   Compiling libc v0.2.139
   Compiling syn v1.0.98
   Compiling autocfg v1.1.0
   Compiling cfg-if v1.0.0
   Compiling serde_derive v1.0.137
   Compiling serde v1.0.137
   Compiling log v0.4.17
   Compiling memchr v2.5.0
   Compiling futures-core v0.3.21
   Compiling pin-project-lite v0.2.9
   Compiling smallvec v1.8.0
   Compiling scopeguard v1.1.0
   Compiling anyhow v1.0.58
   Compiling bitflags v1.3.2
   Compiling parking_lot_core v0.9.3
   Compiling once_cell v1.15.0
   Compiling lazy_static v1.4.0
   Compiling byteorder v1.4.3
   Compiling futures-io v0.3.21
   Compiling futures-channel v0.3.21
   Compiling slab v0.4.6
   Compiling futures-sink v0.3.21
   Compiling protobuf v2.27.1
   Compiling futures-task v0.3.21
   Compiling futures-util v0.3.21
   Compiling pin-utils v0.1.0
   Compiling either v1.6.1
   Compiling bytes v1.1.0
   Compiling ppv-lite86 v0.2.16
   Compiling slog v2.7.0
   Compiling itoa v1.0.2
   Compiling serde_json v1.0.81
   Compiling regex-syntax v0.6.26
   Compiling ryu v1.0.10
   Compiling hashbrown v0.12.1
   Compiling async-trait v0.1.56
   Compiling itertools v0.10.3
   Compiling fastrand v1.7.0
   Compiling fixedbitset v0.2.0
   Compiling version_check v0.9.4
   Compiling crossbeam-utils v0.8.10
   Compiling remove_dir_all v0.5.3
   Compiling unicode-segmentation v1.9.0
   Compiling tracing-core v0.1.28
   Compiling getrandom v0.1.16
   Compiling iana-time-zone v0.1.46
   Compiling multimap v0.8.3
   Compiling cache-padded v1.2.0
   Compiling arc-swap v1.5.0
   Compiling concurrent-queue v1.2.4
   Compiling waker-fn v1.1.0
   Compiling parking v2.0.0
   Compiling crc32fast v1.3.2
   Compiling lock_api v0.4.7
   Compiling tokio v1.28.1
   Compiling memoffset v0.6.5
   Compiling indexmap v1.9.1
   Compiling num-traits v0.2.15
   Compiling num-integer v0.1.45
   Compiling polling v2.4.0
   Compiling event-listener v2.5.3
   Compiling paste v1.0.7
   Compiling async-io v1.9.0
   Compiling thread_local v1.1.4
   Compiling parking_lot_core v0.8.5
   Compiling proc-macro-error-attr v1.0.4
   Compiling slog-scope v4.4.0
   Compiling heck v0.3.3
   Compiling proc-macro-error v1.0.4
   Compiling static_assertions v1.1.0
   Compiling pkg-config v0.3.25
   Compiling libseccomp-sys v0.2.1
   Compiling hex v0.4.3
   Compiling adler v1.0.2
   Compiling instant v0.1.12
   Compiling glob v0.3.0
   Compiling aho-corasick v0.7.18
   Compiling crossbeam-channel v0.5.5
   Compiling futures-lite v1.12.0
   Compiling miniz_oxide v0.5.3
   Compiling slog-async v2.7.0
   Compiling num_threads v0.1.6
   Compiling byte-unit v3.1.4
   Compiling sha1_smol v1.0.0
   Compiling base64 v0.13.0
   Compiling percent-encoding v2.1.0
   Compiling async-task v4.3.0
   Compiling tracing-log v0.1.3
   Compiling syn v2.0.16
   Compiling sha1 v0.6.1
   Compiling async-channel v1.7.1
   Compiling async-lock v2.5.0
   Compiling petgraph v0.5.1
   Compiling ordered-stream v0.0.1
   Compiling sharded-slab v0.1.4
   Compiling path-dedot v1.2.4
   Compiling common-path v1.0.0
   Compiling ansi_term v0.12.1
   Compiling heck v0.4.0
   Compiling take_mut v0.2.2
   Compiling prometheus v0.13.1
   Compiling slash-formatter v2.2.6
   Compiling os_str_bytes v6.1.0
   Compiling bit-vec v0.6.3
   Compiling fnv v1.0.7
   Compiling flate2 v1.0.24
   Compiling path-absolutize v1.2.1
   Compiling termcolor v1.1.3
   Compiling strsim v0.10.0
   Compiling libseccomp v0.3.0
   Compiling textwrap v0.15.0
   Compiling cfg-if v0.1.10
   Compiling slog-stdlog v4.1.1
   Compiling clap_lex v0.2.3
   Compiling socket2 v0.4.9
   Compiling num_cpus v1.13.1
   Compiling signal-hook-registry v1.4.0
   Compiling mio v0.8.4
   Compiling getrandom v0.2.7
   Compiling which v4.3.0
   Compiling tempfile v3.3.0
   Compiling nix v0.23.1
   Compiling time v0.1.44
   Compiling rand_core v0.6.3
   Compiling iovec v0.1.4
   Compiling parking_lot v0.12.1
   Compiling nix v0.24.2
   Compiling bytes v0.4.12
   Compiling nix v0.25.1
   Compiling dirs-sys v0.3.7
   Compiling time v0.3.11
   Compiling errno v0.2.8
   Compiling rand_chacha v0.3.1
   Compiling rand_core v0.5.1
   Compiling dirs v4.0.0
   Compiling prost-build v0.8.0
   Compiling subprocess v0.2.9
   Compiling async-broadcast v0.4.1
   Compiling chrono v0.4.22
   Compiling inotify-sys v0.1.5
   Compiling regex v1.5.6
   Compiling rand_chacha v0.2.2
   Compiling regex-automata v0.1.10
   Compiling async-executor v1.4.1
   Compiling rand v0.8.5
   Compiling parking_lot v0.11.2
   Compiling capctl v0.2.1
   Compiling rlimit v0.5.4
   Compiling nix v0.22.3
   Compiling atty v0.2.14
   Compiling rand v0.7.3
   Compiling xattr v0.2.3
   Compiling fail v0.5.0
   Compiling matchers v0.0.1
   Compiling procfs v0.12.0
   Compiling scan_fmt v0.2.6
   Compiling tokio-macros v2.1.0
   Compiling vsock v0.2.6
   Compiling thiserror-impl v1.0.31
   Compiling futures-macro v0.3.21
   Compiling prost-derive v0.8.0
   Compiling derive-new v0.5.9
   Compiling tracing-attributes v0.1.21
   Compiling enumflags2_derive v0.7.4
   Compiling pin-project-internal v1.0.10
   Compiling bitmask-enum v2.1.0
   Compiling derivative v2.2.0
   Compiling async-recursion v0.3.2
   Compiling serde_repr v0.1.9
   Compiling serial_test_derive v0.5.1
   Compiling clap_derive v3.2.6
   Compiling serial_test v0.5.1
   Compiling thiserror v1.0.31
   Compiling netlink-packet-utils v0.4.1
   Compiling cgroups-rs v0.3.2
   Compiling caps v0.5.3
   Compiling pin-project v1.0.10
   Compiling tracing v0.1.35
   Compiling netlink-packet-core v0.2.4
   Compiling prost v0.8.0
   Compiling netlink-packet-route v0.8.0
   Compiling prost-types v0.8.0
   Compiling clap v3.2.6
   Compiling tokio-stream v0.1.9
   Compiling tokio-util v0.6.10
   Compiling inotify v0.9.6
   Compiling futures-executor v0.3.21
   Compiling futures v0.3.21
   Compiling tokio-vsock v0.3.1
   Compiling netlink-sys v0.7.0
   Compiling netlink-proto v0.7.0
   Compiling rtnetlink v0.8.1
   Compiling toml v0.5.9
   Compiling enumflags2 v0.7.5
   Compiling tracing-serde v0.1.3
   Compiling opentelemetry v0.14.0
   Compiling bincode v1.3.3
   Compiling ipnetwork v0.17.0
   Compiling proc-macro-crate v1.2.1
   Compiling zvariant_derive v3.7.1
   Compiling zbus_macros v2.3.2
   Compiling oci v0.1.0 (/builddir/build/BUILD/kata-containers-3.1.3/src/libs/oci)
   Compiling slog-json v2.6.1
   Compiling tracing-subscriber v0.2.25
   Compiling logging v0.1.0 (/builddir/build/BUILD/kata-containers-3.1.3/src/libs/logging)
   Compiling vsock-exporter v0.1.0 (/builddir/build/BUILD/kata-containers-3.1.3/src/agent/vsock-exporter)
   Compiling zvariant v3.7.1
   Compiling kata-types v0.1.0 (/builddir/build/BUILD/kata-containers-3.1.3/src/libs/kata-types)
   Compiling tracing-opentelemetry v0.13.0
error: variable does not need to be mutable
   --> /builddir/build/BUILD/kata-containers-3.1.3/src/libs/kata-types/src/annotations/mod.rs:465:13
    |
465 |         let mut hv = config.hypervisor.get_mut(hypervisor_name).unwrap();
    |             ----^^
    |             |
    |             help: remove this `mut`
    |
    = note: `-D unused-mut` implied by `-D warnings`
error: variable does not need to be mutable
   --> /builddir/build/BUILD/kata-containers-3.1.3/src/libs/kata-types/src/annotations/mod.rs:466:13
    |
466 |         let mut ag = config.agent.get_mut(agent_name).unwrap();
    |             ----^^
    |             |
    |             help: remove this `mut`
   Compiling zbus_names v2.2.0
error: could not compile `kata-types` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
make: *** [Makefile:115: target/x86_64-unknown-linux-gnu/release/kata-agent] Error 101
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.FxGe9N (%build)
    Bad exit status from /var/tmp/rpm-tmp.FxGe9N (%build)
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kata-containers.spec\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3.6/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: 
 # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kata-containers.spec