Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/istio-cni.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1590000537.895896/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.oo4nzj2g:/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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oo4nzj2g:/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', 'e282853036084356a057ec5da90724f9', '-D', '/var/lib/mock/epel-8-x86_64-1590000537.895896/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oo4nzj2g:/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', '--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', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/istio-cni.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/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-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/istio-cni.spec'], chrootPath='/var/lib/mock/epel-8-x86_64-1590000537.895896/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.oo4nzj2g:/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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oo4nzj2g:/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', '61b99db6a38847fcb70a8a53f9086968', '-D', '/var/lib/mock/epel-8-x86_64-1590000537.895896/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.oo4nzj2g:/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', '--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', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/istio-cni.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.wwmlp2 + umask 022 + cd /builddir/build/BUILD + rm -rf istio-cni + mkdir -p istio-cni/src/github.com/maistra/istio-cni + tar zxf /builddir/build/SOURCES/istio-cni-1e3db221bacf9b9c4e0fbb9fb0665204fa6c4093.tar.gz -C istio-cni/src/github.com/maistra/istio-cni --strip=1 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vVKV3F + umask 022 + cd /builddir/build/BUILD + cd istio-cni ++ pwd + export GOPATH=/builddir/build/BUILD/istio-cni:/usr/share/gocode + GOPATH=/builddir/build/BUILD/istio-cni:/usr/share/gocode + pushd src/github.com/maistra/istio-cni ~/build/BUILD/istio-cni/src/github.com/maistra/istio-cni ~/build/BUILD/istio-cni + make build ISTIO_OUT=bin ISTIO_CNI_RELPATH=github.com/maistra/istio-cni TAG=dummy tools/istio-cni-docker.mk:84: warning: overriding recipe for target 'push.docker.install-cni' tools/istio-cni-docker.mk:59: warning: ignoring old recipe for target 'push.docker.install-cni' mkdir -p /builddir/build/BUILD/istio-cni/out/logs bin/gobuild.sh bin/istio-cni ./cmd/istio-cni fatal: not a git repository (or any of the parent directories): .git /builddir/build/BUILD/istio-cni/src/github.com/maistra/istio-cni/bin/get_workspace_status.sh: line 52: hostname: command not found real 0m54.705s user 1m32.095s sys 0m12.200s + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gZ6cdx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64 + rm -rf /builddir/build/BUILDROOT/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64/opt/cni/bin + cd istio-cni/src/github.com/maistra/istio-cni + install -p -m 755 tools/deb/istio-iptables.sh /builddir/build/BUILDROOT/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64/opt/cni/bin + install -p -m 755 deployments/kubernetes/install/scripts/install-cni.sh /builddir/build/BUILDROOT/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64 + install -p -m 644 deployments/kubernetes/install/scripts/filter.jq /builddir/build/BUILDROOT/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64 + install -p -m 755 deployments/kubernetes/install/scripts/istio-cni.conf.default /builddir/build/BUILDROOT/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64/istio-cni.conf.tmp + echo 'Dumping dynamic symbols' Dumping dynamic symbols + sort + awk '{ print $1 }' + nm -D bin/istio-cni --format=posix --defined-only nm: bin/istio-cni: no symbols Dumping function symbols + echo 'Dumping function symbols' + sort + awk '{ if ($2 == "T" || $2 == "t" || $2 == "D") print $1 }' + nm bin/istio-cni --format=posix --defined-only Grabbing other function symbols + echo 'Grabbing other function symbols' + comm -13 dynsyms funcsyms Removing unnecessary debug info + echo 'Removing unnecessary debug info' + COMPRESSED_NAME=istio_cni_debuginfo + objcopy -S --remove-section .gdb_index --remove-section .comment --keep-symbols=keep_symbols bin/istio-cni istio_cni_debuginfo Stripping binary + echo 'Stripping binary' + mkdir stripped + strip -o stripped/istio-cni -s bin/istio-cni Compressing debugdata + echo 'Compressing debugdata' + xz istio_cni_debuginfo Injecting compressed data into .gnu_debugdata + echo 'Injecting compressed data into .gnu_debugdata' + objcopy --add-section .gnu_debugdata=istio_cni_debuginfo.xz stripped/istio-cni + cp -pav stripped/istio-cni /builddir/build/BUILDROOT/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64/opt/cni/bin 'stripped/istio-cni' -> '/builddir/build/BUILDROOT/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64/opt/cni/bin/istio-cni' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /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 *** WARNING: ./istio-cni.conf.tmp is executable but has empty or no shebang, removing executable bit Processing files: istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.eked6P + umask 022 + cd /builddir/build/BUILD + DOCDIR=/builddir/build/BUILDROOT/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64/usr/share/doc/istio-cni + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64/usr/share/doc/istio-cni + cp -pr istio-cni/src/github.com/maistra/istio-cni/README.md /builddir/build/BUILDROOT/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64/usr/share/doc/istio-cni + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.r1i3Z8 + umask 022 + cd /builddir/build/BUILD + LICENSEDIR=/builddir/build/BUILDROOT/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64/usr/share/licenses/istio-cni + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64/usr/share/licenses/istio-cni + cp -pr istio-cni/src/github.com/maistra/istio-cni/LICENSE /builddir/build/BUILDROOT/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64/usr/share/licenses/istio-cni + exit 0 warning: Missing build-id in /builddir/build/BUILDROOT/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64/opt/cni/bin/istio-cni Provides: istio-cni = 1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8 istio-cni(x86-64) = 1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64 Wrote: /builddir/build/RPMS/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.F3tWHB + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/istio-cni-1.2.556a691cee27f7e453172ddf22c5a96397d730c7-1.el8.x86_64 + exit 0 Child return code was: 0