Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/crc-gvisor-tap-vsock.spec'], chrootPath='/var/lib/mock/centos-stream-8-aarch64-1662461602.396827/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.krm2u6fs:/etc/resolv.conf', '--bind=/dev/btrfs-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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.krm2u6fs:/etc/resolv.conf', '--bind=/dev/btrfs-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', '63dbe4132a0f4a129fcda17a238303db', '-D', '/var/lib/mock/centos-stream-8-aarch64-1662461602.396827/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.krm2u6fs:/etc/resolv.conf', '--bind=/dev/btrfs-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 --target aarch64 --nodeps /builddir/build/SPECS/crc-gvisor-tap-vsock.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/gvisor-tap-vsock-0.4.0-1.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/crc-gvisor-tap-vsock.spec'], chrootPath='/var/lib/mock/centos-stream-8-aarch64-1662461602.396827/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.krm2u6fs:/etc/resolv.conf', '--bind=/dev/btrfs-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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.krm2u6fs:/etc/resolv.conf', '--bind=/dev/btrfs-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', '467d58b6528a4c7a92466e5d6209a750', '-D', '/var/lib/mock/centos-stream-8-aarch64-1662461602.396827/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.krm2u6fs:/etc/resolv.conf', '--bind=/dev/btrfs-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 --target aarch64 --nodeps /builddir/build/SPECS/crc-gvisor-tap-vsock.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fulJ02 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gvisor-tap-vsock-0.4.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/gvisor-tap-vsock-0.4.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gvisor-tap-vsock-0.4.0 + /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 'gvisor-tap-vsock-0.4.0 base' + /usr/bin/cat /builddir/build/SOURCES/0001-vm-Make-network-configuration-optional.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m 0001-vm-Make-network-configuration-optional.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0002-Add-debug-logs.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m 0002-Add-debug-logs.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0003-configure-vm-network-interface-with-nmcli-systemd.patch + /usr/bin/git apply --index - :21: trailing whitespace. # /etc/NetworkManager/system-connections/crc-tap0.nmconnection warning: 1 line adds whitespace errors. + /usr/bin/git commit -q -m 0003-configure-vm-network-interface-with-nmcli-systemd.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0004-build-Vendor-makefat-code.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m 0004-build-Vendor-makefat-code.patch --author 'rpm-build ' ++ dirname /builddir/build/BUILD/gvisor-tap-vsock-0.4.0/_build/src/github.com/containers/gvisor-tap-vsock + install -m 0755 -vd /builddir/build/BUILD/gvisor-tap-vsock-0.4.0/_build/src/github.com/containers install: creating directory '/builddir/build/BUILD/gvisor-tap-vsock-0.4.0/_build' install: creating directory '/builddir/build/BUILD/gvisor-tap-vsock-0.4.0/_build/src' install: creating directory '/builddir/build/BUILD/gvisor-tap-vsock-0.4.0/_build/src/github.com' install: creating directory '/builddir/build/BUILD/gvisor-tap-vsock-0.4.0/_build/src/github.com/containers' ++ pwd + ln -fs /builddir/build/BUILD/gvisor-tap-vsock-0.4.0 /builddir/build/BUILD/gvisor-tap-vsock-0.4.0/_build/src/github.com/containers/gvisor-tap-vsock + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LBjPsK + umask 022 + cd /builddir/build/BUILD + cd gvisor-tap-vsock-0.4.0 + export 'GOFLAGS=-a -mod=vendor' + GOFLAGS='-a -mod=vendor' ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + make 'LDFLAGS=-ldflags "-B 0xb3d70d40397dddde0045a801eaf524f8bc6ba2b3"' cross cd tools && GOBIN="/builddir/build/BUILD/gvisor-tap-vsock-0.4.0/tools/bin" go install github.com/randall77/makefat GOARCH=amd64 GOOS=windows go build -ldflags "-B 0xb3d70d40397dddde0045a801eaf524f8bc6ba2b3" -o bin/gvproxy-windows.exe ./cmd/gvproxy GOARCH=amd64 GOOS=darwin go build -ldflags "-B 0xb3d70d40397dddde0045a801eaf524f8bc6ba2b3" -o bin/gvproxy-darwin-amd64 ./cmd/gvproxy GOARCH=arm64 GOOS=darwin go build -ldflags "-B 0xb3d70d40397dddde0045a801eaf524f8bc6ba2b3" -o bin/gvproxy-darwin-arm64 ./cmd/gvproxy GOARCH=amd64 GOOS=linux go build -ldflags "-B 0xb3d70d40397dddde0045a801eaf524f8bc6ba2b3" -o bin/gvproxy-linux ./cmd/gvproxy cd bin && /builddir/build/BUILD/gvisor-tap-vsock-0.4.0/tools/bin/makefat gvproxy-darwin gvproxy-darwin-amd64 gvproxy-darwin-arm64 ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + make 'LDFLAGS=-ldflags "-B 0xfb347fdc9d27bc7e09eedf0a40316345589b3c87"' go build -ldflags "-B 0xfb347fdc9d27bc7e09eedf0a40316345589b3c87" -o bin/gvproxy ./cmd/gvproxy go build -ldflags "-B 0xfb347fdc9d27bc7e09eedf0a40316345589b3c87" -o bin/qemu-wrapper ./cmd/qemu-wrapper GOOS=linux CGO_ENABLED=0 go build -ldflags "-B 0xfb347fdc9d27bc7e09eedf0a40316345589b3c87" -o bin/vm ./cmd/vm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.A5aI8b + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64 ++ dirname /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64 + cd gvisor-tap-vsock-0.4.0 + install -m 0755 -vd /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/usr/bin install: creating directory '/builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/usr' install: creating directory '/builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/usr/bin' + install -m 0755 -vp /builddir/build/BUILD/gvisor-tap-vsock-0.4.0/_build/src/github.com/containers/gvisor-tap-vsock/bin/vm /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/usr/bin/gvisor-tap-vsock-proxy '/builddir/build/BUILD/gvisor-tap-vsock-0.4.0/_build/src/github.com/containers/gvisor-tap-vsock/bin/vm' -> '/builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/usr/bin/gvisor-tap-vsock-proxy' + install -d /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/usr/lib/systemd/system + install -m 0644 -vp /builddir/build/SOURCES/gvisor-tap-vsock-forwarder.service /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/usr/lib/systemd/system '/builddir/build/SOURCES/gvisor-tap-vsock-forwarder.service' -> '/builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/usr/lib/systemd/system/gvisor-tap-vsock-forwarder.service' + install -d /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/etc/NetworkManager/system-connections + install -m 0644 -vp /builddir/build/SOURCES/crc-tap0.nmconnection /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/etc/NetworkManager/system-connections/crc-tap0.nmconnection '/builddir/build/SOURCES/crc-tap0.nmconnection' -> '/builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/etc/NetworkManager/system-connections/crc-tap0.nmconnection' + install -d /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/usr/share/gvisor-tap-vsock-redistributable/linux /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/usr/share/gvisor-tap-vsock-redistributable/macos /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/usr/share/gvisor-tap-vsock-redistributable/windows + install -m 0755 -vp /builddir/build/BUILD/gvisor-tap-vsock-0.4.0/_build/src/github.com/containers/gvisor-tap-vsock/bin/gvproxy-linux /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/usr/share/gvisor-tap-vsock-redistributable/linux/gvproxy '/builddir/build/BUILD/gvisor-tap-vsock-0.4.0/_build/src/github.com/containers/gvisor-tap-vsock/bin/gvproxy-linux' -> '/builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/usr/share/gvisor-tap-vsock-redistributable/linux/gvproxy' + install -m 0755 -vp /builddir/build/BUILD/gvisor-tap-vsock-0.4.0/_build/src/github.com/containers/gvisor-tap-vsock/bin/gvproxy-windows.exe /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/usr/share/gvisor-tap-vsock-redistributable/windows/gvproxy.exe '/builddir/build/BUILD/gvisor-tap-vsock-0.4.0/_build/src/github.com/containers/gvisor-tap-vsock/bin/gvproxy-windows.exe' -> '/builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/usr/share/gvisor-tap-vsock-redistributable/windows/gvproxy.exe' + install -m 0755 -vp /builddir/build/BUILD/gvisor-tap-vsock-0.4.0/_build/src/github.com/containers/gvisor-tap-vsock/bin/gvproxy-darwin /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/usr/share/gvisor-tap-vsock-redistributable/macos/gvproxy '/builddir/build/BUILD/gvisor-tap-vsock-0.4.0/_build/src/github.com/containers/gvisor-tap-vsock/bin/gvproxy-darwin' -> '/builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/usr/share/gvisor-tap-vsock-redistributable/macos/gvproxy' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.3YLNYv + umask 022 + cd /builddir/build/BUILD + cd gvisor-tap-vsock-0.4.0 + export GOFLAGS=-mod=vendor + GOFLAGS=-mod=vendor + exit 0 Processing files: gvisor-tap-vsock-0.4.0-1.el8.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1BOHAp + umask 022 + cd /builddir/build/BUILD + cd gvisor-tap-vsock-0.4.0 + LICENSEDIR=/builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/usr/share/licenses/gvisor-tap-vsock + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/usr/share/licenses/gvisor-tap-vsock + cp -pr LICENSE /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64/usr/share/licenses/gvisor-tap-vsock + exit 0 Provides: gvisor-tap-vsock = 0.4.0-1.el8 gvisor-tap-vsock(aarch-64) = 0.4.0-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64 Wrote: /builddir/build/RPMS/gvisor-tap-vsock-0.4.0-1.el8.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.VcycWs + umask 022 + cd /builddir/build/BUILD + cd gvisor-tap-vsock-0.4.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.aarch64 + exit 0 Child return code was: 0