Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/kata-containers.spec'], chrootPath='/var/lib/mock/dist-an8-plus-build-26767-14818/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --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;\\007"', 'PS1': ' \\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-2.0.4-1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/kata-containers.spec'], chrootPath='/var/lib/mock/dist-an8-plus-build-26767-14818/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --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;\\007"', 'PS1': ' \\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.oxwFJs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kata-containers-2.0.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/kata-containers-2.0.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd kata-containers-2.0.4 + /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 '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'kata-containers-2.0.4 base' + /usr/bin/cat /builddir/build/SOURCES/0001-Add-vendor-code.patch + /usr/bin/git apply --index -p1 - :16474: trailing whitespace. :40995: trailing whitespace. fix_array_impl_recursive!(u8, :41274: trailing whitespace. /// :41314: trailing whitespace. unsafe { :41334: trailing whitespace. /// warning: squelched 8326 whitespace errors warning: 8331 lines add whitespace errors. + /usr/bin/git commit -q -m 0001-Add-vendor-code.patch --author 'rpm-build ' Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + /usr/bin/cat /builddir/build/SOURCES/0999-osbuilder-Adjust-agent_version-for-our-builds.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 0999-osbuilder-Adjust-agent_version-for-our-builds.patch --author 'rpm-build ' Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + /usr/bin/cat /builddir/build/SOURCES/1000-Remove-shebang-in-non-executable-completion-script.patch + /usr/bin/git apply --index -p1 - + /usr/bin/git commit -q -m 1000-Remove-shebang-in-non-executable-completion-script.patch --author 'rpm-build ' Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MIwBct + umask 022 + cd /builddir/build/BUILD + cd kata-containers-2.0.4 ++ pwd + export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILD/kata-containers-2.0.4/go/bin + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILD/kata-containers-2.0.4/go/bin ++ pwd + export GOPATH=/builddir/build/BUILD/kata-containers-2.0.4/go + GOPATH=/builddir/build/BUILD/kata-containers-2.0.4/go + mkdir -p go/src/github.com/kata-containers ++ pwd + ln -s /builddir/build/BUILD/kata-containers-2.0.4/../kata-containers-2.0.4 go/src/github.com/kata-containers/kata-containers + cd go/src/github.com/kata-containers/kata-containers ~/build/BUILD/kata-containers-2.0.4/go/src/github.com/kata-containers/kata-containers/src/runtime ~/build/BUILD/kata-containers-2.0.4/go/src/github.com/kata-containers/kata-containers + pushd src/runtime + /usr/bin/make -O -j64 QEMUPATH=/usr/libexec/qemu-kvm 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-2.0.4-1.an8.x86_64 PREFIX=/usr DEFAULTSDIR=/usr/share/kata-containers/defaults CONFDIR=/usr/share/kata-containers/defaults FEATURE_SELINUX=yes GENERATE data/kata-collect-data.sh GENERATE /builddir/build/BUILD/kata-containers-2.0.4/src/runtime/cli/config-generated.go kata-runtime - version 2.0.4 (commit 55b4298411aa49d5b85a3476eaba7facfcdff734) GENERATE pkg/katautils/config-settings.go GENERATE cli/config/configuration-qemu.toml GENERATE cli/config/configuration-clh.toml GENERATE cli/config/configuration-fc.toml GENERATE cli/config/configuration-acrn.toml • architecture: Host: golang: amd64 Build: amd64 • golang: go version go1.13.4 linux/amd64 • hypervisors: Default: qemu Known: acrn cloud-hypervisor firecracker qemu Available for this architecture: acrn cloud-hypervisor firecracker qemu • Features: SELinux (FEATURE_SELINUX): yes • Summary: destination install path (DESTDIR) : /builddir/build/BUILDROOT/kata-containers-2.0.4-1.an8.x86_64 binary installation path (BINDIR) : /usr/bin binaries to install : - /builddir/build/BUILDROOT/kata-containers-2.0.4-1.an8.x86_64/usr/bin/kata-runtime - /builddir/build/BUILDROOT/kata-containers-2.0.4-1.an8.x86_64/usr/bin/containerd-shim-kata-v2 - /builddir/build/BUILDROOT/kata-containers-2.0.4-1.an8.x86_64/usr/bin/kata-monitor - /builddir/build/BUILDROOT/kata-containers-2.0.4-1.an8.x86_64/usr/libexec/kata-containers/kata-netmon - /builddir/build/BUILDROOT/kata-containers-2.0.4-1.an8.x86_64/usr/bin/data/kata-collect-data.sh configs to install (CONFIGS) : - cli/config/configuration-acrn.toml - cli/config/configuration-clh.toml - cli/config/configuration-fc.toml - cli/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/libexec/qemu-kvm 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 BUILD /builddir/build/BUILD/kata-containers-2.0.4/src/runtime/kata-monitor BUILD /builddir/build/BUILD/kata-containers-2.0.4/src/runtime/kata-netmon BUILD /builddir/build/BUILD/kata-containers-2.0.4/src/runtime/containerd-shim-kata-v2 BUILD /builddir/build/BUILD/kata-containers-2.0.4/src/runtime/containerd-shim-kata-v2 BUILD /builddir/build/BUILD/kata-containers-2.0.4/src/runtime/kata-runtime + popd ~/build/BUILD/kata-containers-2.0.4/go/src/github.com/kata-containers/kata-containers ~/build/BUILD/kata-containers-2.0.4/go/src/github.com/kata-containers/kata-containers/src/agent ~/build/BUILD/kata-containers-2.0.4/go/src/github.com/kata-containers/kata-containers + pushd src/agent + /usr/bin/make -O -j64 LIBC=gnu DESTDIR=/builddir/build/BUILDROOT/kata-containers-2.0.4-1.an8.x86_64/usr/libexec/kata-containers/agent kata-agent - version 2.0.4 (commit 55b4298411aa49d5b85a3476eaba7facfcdff734) project: name: Kata Containers url: https://github.com/kata-containers component: kata-agent target: kata-agent architecture: host: x86_64 rust: cargo: cargo 1.41.0 rustc: rustc 1.41.1 rustup: (not available) toolchain: (unknown) Updating crates.io index error: failed to fetch `https://github.com/rust-lang/crates.io-index` Caused by: SSL error: received early EOF; class=Ssl (16) make: *** [Makefile:127: target/x86_64-unknown-linux-gnu/release/kata-agent] Error 101 error: Bad exit status from /var/tmp/rpm-tmp.MIwBct (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.MIwBct (%build) Child return code was: 1 EXCEPTION: [Error()] 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 600, 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 x86_64 --nodeps /builddir/build/SPECS/kata-containers.spec