Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-gorilla-handlers.spec'], gid=135uid=1001user='mockbuild'nspawn_args=[]shell=Falsetimeout=0env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}printOutput=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-9912/root'logger=) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-gorilla-handlers.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: Could not canonicalize hostname: copr-builder-180852183.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-gorilla-handlers.spec'], gid=135uid=1001user='mockbuild'nspawn_args=[]shell=Falsetimeout=0env={'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}printOutput=FalsechrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-9912/root'logger=) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-gorilla-handlers.spec'] with env {'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6vYHKA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf handlers-60c7bfde3e33c201519a200a4507a158cc03a17b + /usr/bin/gzip -dc /builddir/build/SOURCES/handlers-60c7bfd.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd handlers-60c7bfde3e33c201519a200a4507a158cc03a17b + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hPq1Pu + umask 022 + cd /builddir/build/BUILD + cd handlers-60c7bfde3e33c201519a200a4507a158cc03a17b + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.w3vRVo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64 + cd handlers-60c7bfde3e33c201519a200a4507a158cc03a17b + install -d -p /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/ + echo '%dir %{gopath}/src/%{import_path}/.' ++ find . -iname '*.go' '!' -iname '*_test.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./proxy_headers.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./proxy_headers.go + install -d -p /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/. + cp -pav ./proxy_headers.go /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/./proxy_headers.go './proxy_headers.go' -> '/builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/./proxy_headers.go' + echo '%{gopath}/src/%{import_path}/./proxy_headers.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./handlers.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./handlers.go + install -d -p /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/. + cp -pav ./handlers.go /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/./handlers.go './handlers.go' -> '/builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/./handlers.go' + echo '%{gopath}/src/%{import_path}/./handlers.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./doc.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./doc.go + install -d -p /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/. + cp -pav ./doc.go /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/./doc.go './doc.go' -> '/builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/./doc.go' + echo '%{gopath}/src/%{import_path}/./doc.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./compress.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./compress.go + install -d -p /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/. + cp -pav ./compress.go /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/./compress.go './compress.go' -> '/builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/./compress.go' + echo '%{gopath}/src/%{import_path}/./compress.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./canonical.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./canonical.go + install -d -p /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/. + cp -pav ./canonical.go /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/./canonical.go './canonical.go' -> '/builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/./canonical.go' + echo '%{gopath}/src/%{import_path}/./canonical.go' + install -d -p /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/ ++ find . -iname '*_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./proxy_headers_test.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./proxy_headers_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/. + cp -pav ./proxy_headers_test.go /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/./proxy_headers_test.go './proxy_headers_test.go' -> '/builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/./proxy_headers_test.go' + echo '%{gopath}/src/%{import_path}/./proxy_headers_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./handlers_test.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./handlers_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/. + cp -pav ./handlers_test.go /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/./handlers_test.go './handlers_test.go' -> '/builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/./handlers_test.go' + echo '%{gopath}/src/%{import_path}/./handlers_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./compress_test.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./compress_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/. + cp -pav ./compress_test.go /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/./compress_test.go './compress_test.go' -> '/builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/./compress_test.go' + echo '%{gopath}/src/%{import_path}/./compress_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./canonical_test.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./canonical_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/. + cp -pav ./canonical_test.go /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/./canonical_test.go './canonical_test.go' -> '/builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode/src/github.com/gorilla/handlers/./canonical_test.go' + echo '%{gopath}/src/%{import_path}/./canonical_test.go' + 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-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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.L7Thhj + umask 022 + cd /builddir/build/BUILD + cd handlers-60c7bfde3e33c201519a200a4507a158cc03a17b + export GOPATH=/builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64//usr/share/gocode:/usr/share/gocode + go test github.com/gorilla/handlers ok github.com/gorilla/handlers 0.007s + exit 0 Processing files: golang-github-gorilla-handlers-devel-0-0.4.git60c7bfd.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yugg0i + umask 022 + cd /builddir/build/BUILD + cd handlers-60c7bfde3e33c201519a200a4507a158cc03a17b + DOCDIR=/builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64/usr/share/doc/golang-github-gorilla-handlers-devel-0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64/usr/share/doc/golang-github-gorilla-handlers-devel-0 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64/usr/share/doc/golang-github-gorilla-handlers-devel-0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.fN7mKi + umask 022 + cd /builddir/build/BUILD + cd handlers-60c7bfde3e33c201519a200a4507a158cc03a17b + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64/usr/share/licenses/golang-github-gorilla-handlers-devel-0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64/usr/share/licenses/golang-github-gorilla-handlers-devel-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64/usr/share/licenses/golang-github-gorilla-handlers-devel-0 + exit 0 Provides: golang(github.com/gorilla/handlers) = 0-0.4.git60c7bfd.el7.centos golang-github-gorilla-handlers-devel = 0-0.4.git60c7bfd.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: golang-github-gorilla-handlers-unit-test-0-0.4.git60c7bfd.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uxNOEi + umask 022 + cd /builddir/build/BUILD + cd handlers-60c7bfde3e33c201519a200a4507a158cc03a17b + DOCDIR=/builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64/usr/share/doc/golang-github-gorilla-handlers-unit-test-0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64/usr/share/doc/golang-github-gorilla-handlers-unit-test-0 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64/usr/share/doc/golang-github-gorilla-handlers-unit-test-0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.t9alAi + umask 022 + cd /builddir/build/BUILD + cd handlers-60c7bfde3e33c201519a200a4507a158cc03a17b + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64/usr/share/licenses/golang-github-gorilla-handlers-unit-test-0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64/usr/share/licenses/golang-github-gorilla-handlers-unit-test-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64/usr/share/licenses/golang-github-gorilla-handlers-unit-test-0 + exit 0 Provides: golang-github-gorilla-handlers-unit-test = 0-0.4.git60c7bfd.el7.centos golang-github-gorilla-handlers-unit-test(x86-64) = 0-0.4.git60c7bfd.el7.centos 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-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-180852183.novalocal Wrote: /builddir/build/RPMS/golang-github-gorilla-handlers-devel-0-0.4.git60c7bfd.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-gorilla-handlers-unit-test-0-0.4.git60c7bfd.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.OvD4Vi + umask 022 + cd /builddir/build/BUILD + cd handlers-60c7bfde3e33c201519a200a4507a158cc03a17b + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-gorilla-handlers-0-0.4.git60c7bfd.el7.centos.x86_64 + exit 0 Child return code was: 0