Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/terraform.spec'], chrootPath='/var/lib/mock/centos+epel-7-x86_64-1643578581.258803/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.7c85a69g:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7c85a69g:/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', '1912353cd34b4b6da7200f7a6c93f2e4', '-D', '/var/lib/mock/centos+epel-7-x86_64-1643578581.258803/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7c85a69g:/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/terraform.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/terraform-0.12.31-1.el7.harbottle.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/terraform.spec'], chrootPath='/var/lib/mock/centos+epel-7-x86_64-1643578581.258803/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.7c85a69g:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7c85a69g:/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', 'b4d70e476a91476abad49bd50126def9', '-D', '/var/lib/mock/centos+epel-7-x86_64-1643578581.258803/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.7c85a69g:/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/terraform.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.3a3lmL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf terraform-0.12.31 + /usr/bin/gzip -dc /builddir/build/SOURCES/v0.12.31.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd terraform-0.12.31 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NEQc7r + umask 022 + cd /builddir/build/BUILD + cd terraform-0.12.31 + export GOPROXY=https://proxy.golang.org + GOPROXY=https://proxy.golang.org + export GOPATH=/builddir/build/BUILD/terraform-0.12.31 + GOPATH=/builddir/build/BUILD/terraform-0.12.31 + export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin:/builddir/build/BUILD/terraform-0.12.31/bin + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin:/builddir/build/BUILD/terraform-0.12.31/bin + export XC_ARCH=amd64 + XC_ARCH=amd64 + export XC_OS=linux + XC_OS=linux + mkdir -p src/github.com/hashicorp/terraform + shopt -s extglob dotglob + mv .circleci .github .gitignore .go-version .hashibot.hcl .tfdev .travis.yml BUILDING.md CHANGELOG.md CODEOWNERS Dockerfile LICENSE Makefile README.md addrs backend builtin checkpoint.go command commands.go communicator config configs contrib dag digraph docs e2e examples experiments flatmap go.mod go.sum help.go helper httpclient internal lang main.go main_test.go moduledeps panic.go plans plugin plugins.go providers provisioners registry repl scripts signal_unix.go signal_windows.go state states synchronized_writers.go terraform tfdiags tools vendor version version.go website src/github.com/hashicorp/terraform + shopt -u extglob dotglob + pushd src/github.com/hashicorp/terraform ~/build/BUILD/terraform-0.12.31/src/github.com/hashicorp/terraform ~/build/BUILD/terraform-0.12.31 + make tools make: Nothing to be done for `tools'. + make bin ==> Checking that code complies with gofmt requirements... GOFLAGS=-mod=vendor go generate ./... # go fmt doesn't support -mod=vendor but it still wants to populate the # module cache with everything in go.mod even though formatting requires # no dependencies, and so we're disabling modules mode for this right # now until the "go fmt" behavior is rationalized to either support the # -mod= argument or _not_ try to install things. GO111MODULE=off go fmt command/internal_plugin_list.go > /dev/null fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git ==> Removing old directory... which: no gox in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin:/builddir/build/BUILD/terraform-0.12.31/bin) ==> Installing gox... go: downloading github.com/mitchellh/gox v1.0.1 go: downloading github.com/hashicorp/go-version v1.2.0 go: downloading github.com/mitchellh/iochan v1.0.0 go: downloading github.com/hashicorp/go-version v1.4.0 go get: upgraded github.com/hashicorp/go-version v1.2.0 => v1.4.0 go get: added github.com/mitchellh/gox v1.0.1 ==> Building... Number of parallel builds: 1 --> linux/amd64: github.com/hashicorp/terraform ==> Packaging... --> linux_amd64 adding: terraform (deflated 68%) ==> Results: total 42M -rwxr-xr-x. 1 mockbuild mock 42M Jan 30 21:41 terraform + popd ~/build/BUILD/terraform-0.12.31 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VsVv9X + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/terraform-0.12.31-1.el7.harbottle.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/terraform-0.12.31-1.el7.harbottle.x86_64 ++ dirname /builddir/build/BUILDROOT/terraform-0.12.31-1.el7.harbottle.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/terraform-0.12.31-1.el7.harbottle.x86_64 + cd terraform-0.12.31 + install -d -m 755 /builddir/build/BUILDROOT/terraform-0.12.31-1.el7.harbottle.x86_64/usr/bin + install -m 0755 src/github.com/hashicorp/terraform/bin/terraform /builddir/build/BUILDROOT/terraform-0.12.31-1.el7.harbottle.x86_64/usr/bin + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: terraform-0.12.31-1.el7.harbottle.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fsWlBu + umask 022 + cd /builddir/build/BUILD + cd terraform-0.12.31 + DOCDIR=/builddir/build/BUILDROOT/terraform-0.12.31-1.el7.harbottle.x86_64/usr/share/doc/terraform-0.12.31 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/terraform-0.12.31-1.el7.harbottle.x86_64/usr/share/doc/terraform-0.12.31 + cp -pr src/github.com/hashicorp/terraform/BUILDING.md src/github.com/hashicorp/terraform/CHANGELOG.md src/github.com/hashicorp/terraform/README.md /builddir/build/BUILDROOT/terraform-0.12.31-1.el7.harbottle.x86_64/usr/share/doc/terraform-0.12.31 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.JsL630 + umask 022 + cd /builddir/build/BUILD + cd terraform-0.12.31 + LICENSEDIR=/builddir/build/BUILDROOT/terraform-0.12.31-1.el7.harbottle.x86_64/usr/share/licenses/terraform-0.12.31 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/terraform-0.12.31-1.el7.harbottle.x86_64/usr/share/licenses/terraform-0.12.31 + cp -pr src/github.com/hashicorp/terraform/LICENSE /builddir/build/BUILDROOT/terraform-0.12.31-1.el7.harbottle.x86_64/usr/share/licenses/terraform-0.12.31 + exit 0 Provides: terraform = 0.12.31-1.el7.harbottle terraform(x86-64) = 0.12.31-1.el7.harbottle 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/terraform-0.12.31-1.el7.harbottle.x86_64 Wrote: /builddir/build/RPMS/terraform-0.12.31-1.el7.harbottle.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.rtu3yj + umask 022 + cd /builddir/build/BUILD + cd terraform-0.12.31 + rm -rf /builddir/build/BUILDROOT/terraform-0.12.31-1.el7.harbottle.x86_64 + exit 0 Child return code was: 0