Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/crc-gvisor-tap-vsock.spec'], chrootPath='/var/lib/mock/centos-stream-8-x86_64-1662462404.248469/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bjbboxzo:/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.bjbboxzo:/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', 'd3ad07a42ee04974b685cb0ed226a766', '-D', '/var/lib/mock/centos-stream-8-x86_64-1662462404.248469/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bjbboxzo:/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 x86_64 --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: x86_64 Building for target x86_64 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 x86_64 --nodeps /builddir/build/SPECS/crc-gvisor-tap-vsock.spec'], chrootPath='/var/lib/mock/centos-stream-8-x86_64-1662462404.248469/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bjbboxzo:/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.bjbboxzo:/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', 'b3bc92c78829496fa02059fc940d2d2b', '-D', '/var/lib/mock/centos-stream-8-x86_64-1662462404.248469/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bjbboxzo:/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 x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eIaGu1 + 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-Update-gvisor-dependencies-to-latest.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m 0001-Update-gvisor-dependencies-to-latest.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0002-vm-Make-network-configuration-optional.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m 0002-vm-Make-network-configuration-optional.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0003-Add-debug-logs.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m 0003-Add-debug-logs.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0004-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 0004-configure-vm-network-interface-with-nmcli-systemd.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0005-build-Vendor-makefat-code.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m 0005-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.8co9ZI + 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 0x9839777236481105a42d5dcf419ff79fa9dcc723"' 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 0x9839777236481105a42d5dcf419ff79fa9dcc723" -o bin/gvproxy-windows.exe ./cmd/gvproxy GOARCH=amd64 GOOS=darwin go build -ldflags "-B 0x9839777236481105a42d5dcf419ff79fa9dcc723" -o bin/gvproxy-darwin-amd64 ./cmd/gvproxy GOARCH=arm64 GOOS=darwin go build -ldflags "-B 0x9839777236481105a42d5dcf419ff79fa9dcc723" -o bin/gvproxy-darwin-arm64 ./cmd/gvproxy GOARCH=amd64 GOOS=linux go build -ldflags "-B 0x9839777236481105a42d5dcf419ff79fa9dcc723" -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 ++ tr -d ' \n' ++ od -An -tx1 + make 'LDFLAGS=-ldflags "-B 0xb048df86e3a4a90a856b18a1d6e26d3e4fee722e"' go build -ldflags "-B 0xb048df86e3a4a90a856b18a1d6e26d3e4fee722e" -o bin/gvproxy ./cmd/gvproxy go build -ldflags "-B 0xb048df86e3a4a90a856b18a1d6e26d3e4fee722e" -o bin/qemu-wrapper ./cmd/qemu-wrapper GOOS=linux CGO_ENABLED=0 go build -ldflags "-B 0xb048df86e3a4a90a856b18a1d6e26d3e4fee722e" -o bin/vm ./cmd/vm + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xlotEr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.x86_64 + cd gvisor-tap-vsock-0.4.0 + install -m 0755 -vd /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.x86_64/usr/bin install: creating directory '/builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.x86_64/usr' install: creating directory '/builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.x86_64/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.x86_64/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.x86_64/usr/bin/gvisor-tap-vsock-proxy' + install -d /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.x86_64/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.x86_64/usr/lib/systemd/system '/builddir/build/SOURCES/gvisor-tap-vsock-forwarder.service' -> '/builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.x86_64/usr/lib/systemd/system/gvisor-tap-vsock-forwarder.service' + install -d /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.x86_64/etc/NetworkManager/system-connections + install -m 0600 -vp /builddir/build/SOURCES/crc-tap0.nmconnection /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.x86_64/etc/NetworkManager/system-connections/crc-tap0.nmconnection '/builddir/build/SOURCES/crc-tap0.nmconnection' -> '/builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.x86_64/etc/NetworkManager/system-connections/crc-tap0.nmconnection' + install -d /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.x86_64/usr/share/gvisor-tap-vsock-redistributable/linux /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.x86_64/usr/share/gvisor-tap-vsock-redistributable/macos /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.x86_64/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.x86_64/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.x86_64/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.x86_64/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.x86_64/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.x86_64/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.x86_64/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.x86_64/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.au4ZlV + 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.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.es5R8L + 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.x86_64/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.x86_64/usr/share/licenses/gvisor-tap-vsock + cp -pr LICENSE /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.x86_64/usr/share/licenses/gvisor-tap-vsock + exit 0 Provides: gvisor-tap-vsock = 0.4.0-1.el8 gvisor-tap-vsock(x86-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 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gvisor-tap-vsock-0.4.0-1.el8.x86_64 Wrote: /builddir/build/RPMS/gvisor-tap-vsock-0.4.0-1.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ihtsm6 + 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.x86_64 + exit 0 Child return code was: 0