Mock Version: 1.2.14 Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/golang-github-hashicorp-scada-client.spec'], shell=Falseenv={'TERM': 'vt100', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'SHELL': '/bin/bash'}uid=1000gid=425printOutput=Falselogger=chrootPath='/var/lib/mock/dist-6E-epel-build-4722238-565970/root'timeout=172800user='mockbuild') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/golang-github-hashicorp-scada-client.spec'] with env {'TERM': 'vt100', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'SHELL': '/bin/bash'} and shell False warning: Could not canonicalize hostname: buildvm-06.phx2.fedoraproject.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/golang-github-hashicorp-scada-client.spec '], shell=Falseenv={'TERM': 'vt100', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'SHELL': '/bin/bash'}uid=1000gid=425printOutput=Falselogger=chrootPath='/var/lib/mock/dist-6E-epel-build-4722238-565970/root'private_network=Truetimeout=172800user='mockbuild') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/golang-github-hashicorp-scada-client.spec '] with env {'TERM': 'vt100', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'SHELL': '/bin/bash'} and shell False Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wduHrd + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf scada-client-84989fd23ad4cc0e7ad44d6a871fd793eb9beb0a + /usr/bin/gzip -dc /builddir/build/SOURCES/scada-client-84989fd.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd scada-client-84989fd23ad4cc0e7ad44d6a871fd793eb9beb0a + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.A4pM22 + umask 022 + cd /builddir/build/BUILD + cd scada-client-84989fd23ad4cc0e7ad44d6a871fd793eb9beb0a + LANG=C + export LANG + unset DISPLAY + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WXteES + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386 ++ dirname /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386 + cd scada-client-84989fd23ad4cc0e7ad44d6a871fd793eb9beb0a + LANG=C + export LANG + unset DISPLAY + install -d -p /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/ + echo '%dir %{gopath}/src/%{import_path}/.' ++ find . -iname '*.go' '!' -iname '*_test.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./structs.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./structs.go + install -d -p /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/. + cp -pav ./structs.go /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/./structs.go `./structs.go' -> `/builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/./structs.go' + echo '%{gopath}/src/%{import_path}/./structs.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./provider.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./provider.go + install -d -p /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/. + cp -pav ./provider.go /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/./provider.go `./provider.go' -> `/builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/./provider.go' + echo '%{gopath}/src/%{import_path}/./provider.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./client.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./client.go + install -d -p /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/. + cp -pav ./client.go /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/./client.go `./client.go' -> `/builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/./client.go' + echo '%{gopath}/src/%{import_path}/./client.go' + install -d -p /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/ ++ find . -iname '*_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./client_test.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./client_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/. + cp -pav ./client_test.go /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/./client_test.go `./client_test.go' -> `/builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/./client_test.go' + echo '%{gopath}/src/%{import_path}/./client_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./provider_test.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./provider_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/. + cp -pav ./provider_test.go /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/./provider_test.go `./provider_test.go' -> `/builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/./provider_test.go' + echo '%{gopath}/src/%{import_path}/./provider_test.go' ++ find ./test/ -iname '*.pem' + for file in '$(find ./test/ -iname "*.pem")' ++ dirname ./test/cert.pem + echo '%dir %{gopath}/src/%{import_path}/./test' ++ dirname ./test/cert.pem + install -d -p /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/./test + cp -pav ./test/cert.pem /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/./test/cert.pem `./test/cert.pem' -> `/builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/./test/cert.pem' + echo '%{gopath}/src/%{import_path}/./test/cert.pem' + for file in '$(find ./test/ -iname "*.pem")' ++ dirname ./test/key.pem + echo '%dir %{gopath}/src/%{import_path}/./test' ++ dirname ./test/key.pem + install -d -p /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/./test + cp -pav ./test/key.pem /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/./test/key.pem `./test/key.pem' -> `/builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode/src/github.com/hashicorp/scada-client/./test/key.pem' + echo '%{gopath}/src/%{import_path}/./test/key.pem' + sort -u -o devel.file-list devel.file-list + /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-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.CV3xsI + umask 022 + cd /builddir/build/BUILD + cd scada-client-84989fd23ad4cc0e7ad44d6a871fd793eb9beb0a + unset DISPLAY + export GOPATH=/builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386//usr/share/gocode:/usr/share/gocode + go test github.com/hashicorp/scada-client ok github.com/hashicorp/scada-client 0.053s Processing files: golang-github-hashicorp-scada-client-devel-0-0.4.git84989fd.el6.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7QeqME + exit 0 + umask 022 + cd /builddir/build/BUILD + cd scada-client-84989fd23ad4cc0e7ad44d6a871fd793eb9beb0a + DOCDIR=/builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386/usr/share/doc/golang-github-hashicorp-scada-client-devel-0 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386/usr/share/doc/golang-github-hashicorp-scada-client-devel-0 + /bin/mkdir -p /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386/usr/share/doc/golang-github-hashicorp-scada-client-devel-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386/usr/share/doc/golang-github-hashicorp-scada-client-devel-0 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386/usr/share/doc/golang-github-hashicorp-scada-client-devel-0 + exit 0 Provides: golang(github.com/hashicorp/scada-client) = 0-0.4.git84989fd.el6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(VersionedDependencies) <= 3.0.3-1 Processing files: golang-github-hashicorp-scada-client-unit-test-0-0.4.git84989fd.el6.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Zo7Z9A + umask 022 + cd /builddir/build/BUILD + cd scada-client-84989fd23ad4cc0e7ad44d6a871fd793eb9beb0a + DOCDIR=/builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386/usr/share/doc/golang-github-hashicorp-scada-client-unit-test-0 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386/usr/share/doc/golang-github-hashicorp-scada-client-unit-test-0 + /bin/mkdir -p /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386/usr/share/doc/golang-github-hashicorp-scada-client-unit-test-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386/usr/share/doc/golang-github-hashicorp-scada-client-unit-test-0 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386/usr/share/doc/golang-github-hashicorp-scada-client-unit-test-0 + exit 0 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/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386 warning: Could not canonicalize hostname: buildvm-06.phx2.fedoraproject.org Wrote: /builddir/build/RPMS/golang-github-hashicorp-scada-client-devel-0-0.4.git84989fd.el6.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-hashicorp-scada-client-unit-test-0-0.4.git84989fd.el6.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mWRn7q + umask 022 + cd /builddir/build/BUILD + cd scada-client-84989fd23ad4cc0e7ad44d6a871fd793eb9beb0a + /bin/rm -rf /builddir/build/BUILDROOT/golang-github-hashicorp-scada-client-0-0.4.git84989fd.el6.i386 + exit 0 Child return code was: 0 LEAVE do -->