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-9-aarch64-1662456819.586417/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.l334gvai:/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.l334gvai:/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', 'df031a81fc7d430b8d228ccb5bafd68e', '-D', '/var/lib/mock/centos-stream-9-aarch64-1662456819.586417/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l334gvai:/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 setting SOURCE_DATE_EPOCH=1653955200 Wrote: /builddir/build/SRPMS/gvisor-tap-vsock-0.4.0-1.el9.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-9-aarch64-1662456819.586417/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.l334gvai:/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.l334gvai:/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', '7d0e32cf511f41a99bdb1c623d278b9c', '-D', '/var/lib/mock/centos-stream-9-aarch64-1662456819.586417/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l334gvai:/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 setting SOURCE_DATE_EPOCH=1653955200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.U7p2Ie + 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 config gc.auto 0 + /usr/bin/git add --force . + /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 --reject - Checking patch cmd/vm/main_linux.go... Checking patch images/Dockerfile... Applied patch cmd/vm/main_linux.go cleanly. Applied patch images/Dockerfile cleanly. + /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 --reject - Checking patch cmd/vm/main_linux.go... Applied patch cmd/vm/main_linux.go cleanly. + /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 --reject - :21: trailing whitespace. # /etc/NetworkManager/system-connections/crc-tap0.nmconnection Checking patch crc-tap0.nmconnection... Checking patch gvisor-tap-vsock-forwarder.service... Checking patch nmcli.sh... Applied patch crc-tap0.nmconnection cleanly. Applied patch gvisor-tap-vsock-forwarder.service cleanly. Applied patch nmcli.sh cleanly. 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 --reject - Checking patch Makefile... Checking patch tools/dummy.go... Checking patch tools/go.mod... Checking patch tools/go.sum... Checking patch tools/tools.mk... Checking patch tools/vendor/github.com/randall77/makefat/.gitignore... Checking patch tools/vendor/github.com/randall77/makefat/LICENSE... Checking patch tools/vendor/github.com/randall77/makefat/README.md... Checking patch tools/vendor/github.com/randall77/makefat/makefat.go... Checking patch tools/vendor/modules.txt... Applied patch Makefile cleanly. Applied patch tools/dummy.go cleanly. Applied patch tools/go.mod cleanly. Applied patch tools/go.sum cleanly. Applied patch tools/tools.mk cleanly. Applied patch tools/vendor/github.com/randall77/makefat/.gitignore cleanly. Applied patch tools/vendor/github.com/randall77/makefat/LICENSE cleanly. Applied patch tools/vendor/github.com/randall77/makefat/README.md cleanly. Applied patch tools/vendor/github.com/randall77/makefat/makefat.go cleanly. Applied patch tools/vendor/modules.txt cleanly. + /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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KBELii + 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 0x7e08ef34f02fb0e1c24ec35765957c37f9b4e868"' 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 0x7e08ef34f02fb0e1c24ec35765957c37f9b4e868" -o bin/gvproxy-windows.exe ./cmd/gvproxy GOARCH=amd64 GOOS=darwin go build -ldflags "-B 0x7e08ef34f02fb0e1c24ec35765957c37f9b4e868" -o bin/gvproxy-darwin-amd64 ./cmd/gvproxy GOARCH=arm64 GOOS=darwin go build -ldflags "-B 0x7e08ef34f02fb0e1c24ec35765957c37f9b4e868" -o bin/gvproxy-darwin-arm64 ./cmd/gvproxy GOARCH=amd64 GOOS=linux go build -ldflags "-B 0x7e08ef34f02fb0e1c24ec35765957c37f9b4e868" -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 0x8d900e47547e8d52ef33b5fb7c842be858ac517e"' go build -ldflags "-B 0x8d900e47547e8d52ef33b5fb7c842be858ac517e" -o bin/gvproxy ./cmd/gvproxy go build -ldflags "-B 0x8d900e47547e8d52ef33b5fb7c842be858ac517e" -o bin/qemu-wrapper ./cmd/qemu-wrapper GOOS=linux CGO_ENABLED=0 go build -ldflags "-B 0x8d900e47547e8d52ef33b5fb7c842be858ac517e" -o bin/vm ./cmd/vm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5LWDa1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el9.aarch64 ++ dirname /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el9.aarch64 + cd gvisor-tap-vsock-0.4.0 + install -m 0755 -vd /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el9.aarch64/usr/bin install: creating directory '/builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el9.aarch64/usr' install: creating directory '/builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el9.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.el9.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.el9.aarch64/usr/bin/gvisor-tap-vsock-proxy' + install -d /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el9.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.el9.aarch64/usr/lib/systemd/system '/builddir/build/SOURCES/gvisor-tap-vsock-forwarder.service' -> '/builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el9.aarch64/usr/lib/systemd/system/gvisor-tap-vsock-forwarder.service' + install -d /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el9.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.el9.aarch64/etc/NetworkManager/system-connections/crc-tap0.nmconnection '/builddir/build/SOURCES/crc-tap0.nmconnection' -> '/builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el9.aarch64/etc/NetworkManager/system-connections/crc-tap0.nmconnection' + install -d /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el9.aarch64/usr/share/gvisor-tap-vsock-redistributable/linux /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el9.aarch64/usr/share/gvisor-tap-vsock-redistributable/macos /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el9.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.el9.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.el9.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.el9.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.el9.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.el9.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.el9.aarch64/usr/share/gvisor-tap-vsock-redistributable/macos/gvproxy' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.2Oku85 + umask 022 + cd /builddir/build/BUILD + cd gvisor-tap-vsock-0.4.0 + export GOFLAGS=-mod=vendor + GOFLAGS=-mod=vendor + RPM_EC=0 ++ jobs -p + exit 0 Processing files: gvisor-tap-vsock-0.4.0-1.el9.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.GHyXt8 + umask 022 + cd /builddir/build/BUILD + cd gvisor-tap-vsock-0.4.0 + LICENSEDIR=/builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el9.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.el9.aarch64/usr/share/licenses/gvisor-tap-vsock + cp -pr LICENSE /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el9.aarch64/usr/share/licenses/gvisor-tap-vsock + RPM_EC=0 ++ jobs -p + exit 0 Provides: gvisor-tap-vsock = 0.4.0-1.el9 gvisor-tap-vsock(aarch-64) = 0.4.0-1.el9 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.el9.aarch64 Wrote: /builddir/build/RPMS/gvisor-tap-vsock-0.4.0-1.el9.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2O1iWn + 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.el9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0