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/runc.spec'], chrootPath='/var/lib/mock/module-container-tools-1.0-8070020221105014314-ab56b42f-build-156750-58414/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xyvbw98t:/etc/resolv.conf', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xyvbw98t:/etc/resolv.conf', '--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', '9f43187426ee41f98ed93fc29ed80bc8', '-D', '/var/lib/mock/module-container-tools-1.0-8070020221105014314-ab56b42f-build-156750-58414/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xyvbw98t:/etc/resolv.conf', '--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', '--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/runc.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/runc-1.0.0-56.rc5.dev.git2abd837.module+an8.7.0+10978+09d92fd4.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/runc.spec'], chrootPath='/var/lib/mock/module-container-tools-1.0-8070020221105014314-ab56b42f-build-156750-58414/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xyvbw98t:/etc/resolv.conf', '--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=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xyvbw98t:/etc/resolv.conf', '--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', 'f4900489d32943aba495447031121b9f', '-D', '/var/lib/mock/module-container-tools-1.0-8070020221105014314-ab56b42f-build-156750-58414/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.xyvbw98t:/etc/resolv.conf', '--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', '--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/runc.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'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.e6JVMH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7 + /usr/bin/gzip -dc /builddir/build/SOURCES/runc-2abd837.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7 + /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 'runc-1.0.0 base' + /usr/bin/cat /builddir/build/SOURCES/change-default-root.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m change-default-root.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0001-Revert-Apply-cgroups-earlier.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m 0001-Revert-Apply-cgroups-earlier.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/1807.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m 1807.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0001-nsenter-clone-proc-self-exe-to-avoid-exposing-host-b-runc.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m 0001-nsenter-clone-proc-self-exe-to-avoid-exposing-host-b-runc.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/pivot-root.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m pivot-root.patch --author 'rpm-build ' + sed -i '/\#\!\/bin\/bash/d' contrib/completions/bash/runc + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7Y64xO + umask 022 + cd /builddir/build/BUILD + cd runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7 + mkdir -p GOPATH + pushd GOPATH ~/build/BUILD/runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7/GOPATH ~/build/BUILD/runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7 + mkdir -p src/github.com/opencontainers ++ dirs +1 -l + ln -s /builddir/build/BUILD/runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7 src/github.com/opencontainers/runc + popd ~/build/BUILD/runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7 ~/build/BUILD/runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7/GOPATH/src/github.com/opencontainers/runc ~/build/BUILD/runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7 + pushd GOPATH/src/github.com/opencontainers/runc ++ pwd + export GOPATH=/usr/share/gocode:/builddir/build/BUILD/runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7/GOPATH/src/github.com/opencontainers/runc/GOPATH + GOPATH=/usr/share/gocode:/builddir/build/BUILD/runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7/GOPATH/src/github.com/opencontainers/runc/GOPATH + export 'BUILDTAGS=selinux seccomp' + BUILDTAGS='selinux seccomp' ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback no_openssl selinux seccomp' -ldflags ' -compressdwarf=false -B 0x747becfc1c4bfcf399d0f96074a02c811e111671 -extldflags '\''-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'\''' -a -v -x -o runc github.com/opencontainers/runc WORK=/tmp/go-build716931826 no required module provides package github.com/opencontainers/runc: go.mod file not found in current directory or any parent directory; see 'go help modules' error: Bad exit status from /var/tmp/rpm-tmp.7Y64xO (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.7Y64xO (%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: # /usr/bin/systemd-nspawn -q -M f4900489d32943aba495447031121b9f -D /var/lib/mock/module-container-tools-1.0-8070020221105014314-ab56b42f-build-156750-58414/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.xyvbw98t:/etc/resolv.conf --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 --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/runc.spec