Mock Version: 2.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/terraform-provider-ddcloud.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1605006199.882726/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.mkx6kely:/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.mkx6kely:/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', '1213163a9b0a417898a228032fe020c4', '-D', '/var/lib/mock/epel-7-x86_64-1605006199.882726/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mkx6kely:/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-provider-ddcloud.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-provider-ddcloud-3.0.6-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-provider-ddcloud.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1605006199.882726/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.mkx6kely:/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.mkx6kely:/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', '525d34f8a3e64950abfe499d077e7059', '-D', '/var/lib/mock/epel-7-x86_64-1605006199.882726/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mkx6kely:/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-provider-ddcloud.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.uoU5Sp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf terraform-provider-ddcloud-3.0.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/v3.0.6.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd terraform-provider-ddcloud-3.0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kTMxmY + umask 022 + cd /builddir/build/BUILD + cd terraform-provider-ddcloud-3.0.6 + export GOPATH=/builddir/build/BUILD/terraform-provider-ddcloud-3.0.6 + GOPATH=/builddir/build/BUILD/terraform-provider-ddcloud-3.0.6 + export GOOS=linux + GOOS=linux + export GOARCH=amd64 + GOARCH=amd64 + export GOPROXY=https://proxy.golang.org + GOPROXY=https://proxy.golang.org + mkdir -p src/github.com/DimensionDataResearch/terraform-provider-ddcloud/ + shopt -s extglob dotglob + mv .gitattributes .github .gitignore .gitmodules .goreleaser.yml .vscode CHANGES.md CONTRIBUTING.md CONTRIBUTORS.md Dockerfile LICENSE Makefile README.md Vagrantfile assert ddcloud docs go.mod go.sum main.go maps migration models retry validators src/github.com/DimensionDataResearch/terraform-provider-ddcloud/ + shopt -u extglob dotglob ~/build/BUILD/terraform-provider-ddcloud-3.0.6/src/github.com/DimensionDataResearch/terraform-provider-ddcloud ~/build/BUILD/terraform-provider-ddcloud-3.0.6 + pushd src/github.com/DimensionDataResearch/terraform-provider-ddcloud/ + go get github.com/DimensionDataResearch/go-dd-cloud-compute/compute go: downloading github.com/DimensionDataResearch/go-dd-cloud-compute v1.13.0 go: found github.com/DimensionDataResearch/go-dd-cloud-compute/compute in github.com/DimensionDataResearch/go-dd-cloud-compute v1.13.0 go: downloading github.com/pkg/errors v0.9.1 + go get github.com/hashicorp/terraform/helper/schema go: downloading github.com/hashicorp/terraform v0.13.5 go: found github.com/hashicorp/terraform/helper/schema in github.com/hashicorp/terraform v0.13.5 go: downloading github.com/hashicorp/go-multierror v1.0.0 go: downloading github.com/zclconf/go-cty v1.5.1 go: downloading github.com/mitchellh/mapstructure v1.1.2 go: downloading github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f go: downloading github.com/mitchellh/copystructure v1.0.0 go: downloading github.com/hashicorp/errwrap v1.0.0 go: downloading github.com/hashicorp/hil v0.0.0-20190212112733-ab17b08d6590 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 go: downloading github.com/hashicorp/go-uuid v1.0.1 go: downloading github.com/hashicorp/hcl/v2 v2.6.0 go: downloading github.com/zclconf/go-cty-yaml v1.0.2 go: downloading golang.org/x/net v0.0.0-20200602114024-627f9648deb9 go: downloading github.com/hashicorp/go-version v1.2.0 go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 go: downloading golang.org/x/mod v0.2.0 go: downloading github.com/apparentlymart/go-versions v1.0.0 go: downloading github.com/hashicorp/terraform-svchost v0.0.0-20191119180714-d2e4933b9136 go: downloading github.com/hashicorp/go-retryablehttp v0.5.2 go: downloading golang.org/x/text v0.3.2 go: downloading github.com/mitchellh/go-wordwrap v1.0.0 go: downloading github.com/vmihailenco/msgpack v4.0.4+incompatible go: downloading github.com/bmatcuk/doublestar v1.1.5 go: downloading github.com/mitchellh/go-homedir v1.1.0 go: downloading github.com/google/uuid v1.1.1 go: downloading github.com/apparentlymart/go-textseg v1.0.0 go: downloading github.com/apparentlymart/go-cidr v1.1.0 go: downloading github.com/spf13/afero v1.2.2 go: downloading github.com/agext/levenshtein v1.2.2 go: downloading github.com/mitchellh/reflectwalk v1.0.1 go: downloading github.com/apparentlymart/go-textseg/v12 v12.0.0 go: downloading google.golang.org/appengine v1.6.5 go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d go: downloading github.com/google/go-cmp v0.4.0 go: downloading golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd go: downloading github.com/golang/protobuf v1.3.4 + go get github.com/hashicorp/terraform/plugin go: found github.com/hashicorp/terraform/plugin in github.com/hashicorp/terraform v0.13.5 go: downloading github.com/hashicorp/go-plugin v1.3.0 go: downloading github.com/hashicorp/go-hclog v0.10.1 go: downloading google.golang.org/grpc v1.27.1 go: downloading github.com/hashicorp/yamux v0.0.0-20190923154419-df201c70410d go: downloading github.com/oklog/run v1.1.0 go: downloading github.com/fatih/color v1.9.0 go: downloading github.com/mattn/go-isatty v0.0.11 go: downloading github.com/mattn/go-colorable v0.1.4 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 go: downloading google.golang.org/genproto v0.0.0-20200108215221-bd8f9a0ef82f + go get github.com/hashicorp/terraform/terraform go: found github.com/hashicorp/terraform/terraform in github.com/hashicorp/terraform v0.13.5 + go get golang.org/x/crypto/pkcs12 go: downloading golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897 go: found golang.org/x/crypto/pkcs12 in golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897 go: golang.org/x/crypto upgrade => v0.0.0-20201016220609-9e8e0b390897 + go get github.com/pkg/errors + echo 'package ddcloud' + echo '' + echo 'const ProviderVersion = "v3.0.6"' + go build -o bin/terraform-provider-ddcloud go: downloading github.com/hashicorp/terraform-plugin-sdk v1.4.1 go: downloading github.com/hashicorp/go-getter v1.4.2-0.20200106182914-9813cbd4eb02 go: downloading github.com/mitchellh/cli v1.0.0 go: downloading github.com/posener/complete v1.2.3 go: downloading github.com/bgentry/speakeasy v0.1.0 go: downloading github.com/armon/go-radix v1.0.0 go: downloading google.golang.org/api v0.15.0 go: downloading github.com/aws/aws-sdk-go v1.31.9 go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d go: downloading github.com/hashicorp/go-safetemp v1.0.0 go: downloading github.com/ulikunitz/xz v0.5.6 go: downloading cloud.google.com/go v0.51.0 go: downloading cloud.google.com/go/storage v1.5.0 go: downloading github.com/googleapis/gax-go/v2 v2.0.5 go: downloading go.opencensus.io v0.22.2 go: downloading github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7 go: downloading github.com/jmespath/go-jmespath v0.3.0 + popd ~/build/BUILD/terraform-provider-ddcloud-3.0.6 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9vKi7n + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/terraform-provider-ddcloud-3.0.6-1.el7.harbottle.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/terraform-provider-ddcloud-3.0.6-1.el7.harbottle.x86_64 ++ dirname /builddir/build/BUILDROOT/terraform-provider-ddcloud-3.0.6-1.el7.harbottle.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/terraform-provider-ddcloud-3.0.6-1.el7.harbottle.x86_64 + cd terraform-provider-ddcloud-3.0.6 + install -d -m 755 /builddir/build/BUILDROOT/terraform-provider-ddcloud-3.0.6-1.el7.harbottle.x86_64/usr/bin + install -m 0755 src/github.com/DimensionDataResearch/terraform-provider-ddcloud/bin/terraform-provider-ddcloud /builddir/build/BUILDROOT/terraform-provider-ddcloud-3.0.6-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-provider-ddcloud-3.0.6-1.el7.harbottle.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LYsamO + umask 022 + cd /builddir/build/BUILD + cd terraform-provider-ddcloud-3.0.6 + DOCDIR=/builddir/build/BUILDROOT/terraform-provider-ddcloud-3.0.6-1.el7.harbottle.x86_64/usr/share/doc/terraform-provider-ddcloud-3.0.6 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/terraform-provider-ddcloud-3.0.6-1.el7.harbottle.x86_64/usr/share/doc/terraform-provider-ddcloud-3.0.6 + cp -pr src/github.com/DimensionDataResearch/terraform-provider-ddcloud/CHANGES.md src/github.com/DimensionDataResearch/terraform-provider-ddcloud/CONTRIBUTING.md src/github.com/DimensionDataResearch/terraform-provider-ddcloud/CONTRIBUTORS.md src/github.com/DimensionDataResearch/terraform-provider-ddcloud/README.md /builddir/build/BUILDROOT/terraform-provider-ddcloud-3.0.6-1.el7.harbottle.x86_64/usr/share/doc/terraform-provider-ddcloud-3.0.6 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HtS2Be + umask 022 + cd /builddir/build/BUILD + cd terraform-provider-ddcloud-3.0.6 + LICENSEDIR=/builddir/build/BUILDROOT/terraform-provider-ddcloud-3.0.6-1.el7.harbottle.x86_64/usr/share/licenses/terraform-provider-ddcloud-3.0.6 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/terraform-provider-ddcloud-3.0.6-1.el7.harbottle.x86_64/usr/share/licenses/terraform-provider-ddcloud-3.0.6 + cp -pr src/github.com/DimensionDataResearch/terraform-provider-ddcloud/LICENSE /builddir/build/BUILDROOT/terraform-provider-ddcloud-3.0.6-1.el7.harbottle.x86_64/usr/share/licenses/terraform-provider-ddcloud-3.0.6 + exit 0 Provides: terraform-provider-ddcloud = 3.0.6-1.el7.harbottle terraform-provider-ddcloud(x86-64) = 3.0.6-1.el7.harbottle 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) 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/terraform-provider-ddcloud-3.0.6-1.el7.harbottle.x86_64 Wrote: /builddir/build/RPMS/terraform-provider-ddcloud-3.0.6-1.el7.harbottle.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.aUwaHn + umask 022 + cd /builddir/build/BUILD + cd terraform-provider-ddcloud-3.0.6 + rm -rf /builddir/build/BUILDROOT/terraform-provider-ddcloud-3.0.6-1.el7.harbottle.x86_64 + exit 0 Child return code was: 0