Mock Version: 1.3.3 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-natefinch-lumberjack.spec'], chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-4429/root'user='mockbuild'logger=uid=1001shell=FalseprintOutput=Falsegid=135timeout=0env={'SHELL': '/bin/bash', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-natefinch-lumberjack.spec'] with env {'SHELL': '/bin/bash', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False warning: Could not canonicalize hostname: copr-builder-85158541.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.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-natefinch-lumberjack.spec'], chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-4429/root'printOutput=Falseuser='mockbuild'logger=uid=1001shell=Falseprivate_network=Truegid=135timeout=0env={'SHELL': '/bin/bash', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-natefinch-lumberjack.spec'] with env {'SHELL': '/bin/bash', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZoIQ34 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf lumberjack-dd45e6a67c53f673bb49ca8a001fd3a63ceb640e + /usr/bin/gzip -dc /builddir/build/SOURCES/lumberjack-dd45e6a.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd lumberjack-dd45e6a67c53f673bb49ca8a001fd3a63ceb640e + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oRWWuI + umask 022 + cd /builddir/build/BUILD + cd lumberjack-dd45e6a67c53f673bb49ca8a001fd3a63ceb640e + LANG=C + export LANG + unset DISPLAY + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jQ4nWl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64 + cd lumberjack-dd45e6a67c53f673bb49ca8a001fd3a63ceb640e + LANG=C + export LANG + unset DISPLAY + install -d -p /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/ + mkdir -p /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/gopkg.in/natefinch + ln -s ../../github.com/natefinch/lumberjack /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64/usr/share/gocode/src/gopkg.in/natefinch/lumberjack.v2 + echo '%{gopath}/src/gopkg.in/natefinch/lumberjack.v2' + echo '%dir %{gopath}/src/%{import_path}/.' ++ find . -iname '*.go' '!' -iname '*_test.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./lumberjack.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./lumberjack.go + install -d -p /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/. + cp -pav ./lumberjack.go /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/./lumberjack.go `./lumberjack.go' -> `/builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/./lumberjack.go' + echo '%{gopath}/src/%{import_path}/./lumberjack.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./chown_linux.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./chown_linux.go + install -d -p /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/. + cp -pav ./chown_linux.go /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/./chown_linux.go `./chown_linux.go' -> `/builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/./chown_linux.go' + echo '%{gopath}/src/%{import_path}/./chown_linux.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./chown.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./chown.go + install -d -p /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/. + cp -pav ./chown.go /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/./chown.go `./chown.go' -> `/builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/./chown.go' + echo '%{gopath}/src/%{import_path}/./chown.go' + install -d -p /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/ ++ find . -iname '*_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./testing_test.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./testing_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/. + cp -pav ./testing_test.go /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/./testing_test.go `./testing_test.go' -> `/builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/./testing_test.go' + echo '%{gopath}/src/%{import_path}/./testing_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./rotate_test.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./rotate_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/. + cp -pav ./rotate_test.go /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/./rotate_test.go `./rotate_test.go' -> `/builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/./rotate_test.go' + echo '%{gopath}/src/%{import_path}/./rotate_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./lumberjack_test.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./lumberjack_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/. + cp -pav ./lumberjack_test.go /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/./lumberjack_test.go `./lumberjack_test.go' -> `/builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/./lumberjack_test.go' + echo '%{gopath}/src/%{import_path}/./lumberjack_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./linux_test.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./linux_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/. + cp -pav ./linux_test.go /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/./linux_test.go `./linux_test.go' -> `/builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/./linux_test.go' + echo '%{gopath}/src/%{import_path}/./linux_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./example_test.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./example_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/. + cp -pav ./example_test.go /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/./example_test.go `./example_test.go' -> `/builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode/src/github.com/natefinch/lumberjack/./example_test.go' + echo '%{gopath}/src/%{import_path}/./example_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-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/bin/python + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.42OSGZ + umask 022 + cd /builddir/build/BUILD + cd lumberjack-dd45e6a67c53f673bb49ca8a001fd3a63ceb640e + unset DISPLAY + export GOPATH=/builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64//usr/share/gocode:/usr/share/gocode + go test github.com/natefinch/lumberjack ok github.com/natefinch/lumberjack 0.077s + exit 0 Processing files: golang-github-natefinch-lumberjack-devel-0-0.1.gitdd45e6a.el6.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.HB6M8H + umask 022 + cd /builddir/build/BUILD + cd lumberjack-dd45e6a67c53f673bb49ca8a001fd3a63ceb640e + DOCDIR=/builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64/usr/share/doc/golang-github-natefinch-lumberjack-devel-0 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64/usr/share/doc/golang-github-natefinch-lumberjack-devel-0 + /bin/mkdir -p /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64/usr/share/doc/golang-github-natefinch-lumberjack-devel-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64/usr/share/doc/golang-github-natefinch-lumberjack-devel-0 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64/usr/share/doc/golang-github-natefinch-lumberjack-devel-0 + exit 0 Provides: golang(github.com/natefinch/lumberjack) = 0-0.1.gitdd45e6a.el6 golang(gopkg.in/natefinch/lumberjack.v2) 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-natefinch-lumberjack-unit-test-devel-0-0.1.gitdd45e6a.el6.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WbqyEq + umask 022 + cd /builddir/build/BUILD + cd lumberjack-dd45e6a67c53f673bb49ca8a001fd3a63ceb640e + DOCDIR=/builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64/usr/share/doc/golang-github-natefinch-lumberjack-unit-test-devel-0 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64/usr/share/doc/golang-github-natefinch-lumberjack-unit-test-devel-0 + /bin/mkdir -p /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64/usr/share/doc/golang-github-natefinch-lumberjack-unit-test-devel-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64/usr/share/doc/golang-github-natefinch-lumberjack-unit-test-devel-0 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64/usr/share/doc/golang-github-natefinch-lumberjack-unit-test-devel-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-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64 warning: Could not canonicalize hostname: copr-builder-85158541.novalocal Wrote: /builddir/build/RPMS/golang-github-natefinch-lumberjack-devel-0-0.1.gitdd45e6a.el6.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-natefinch-lumberjack-unit-test-devel-0-0.1.gitdd45e6a.el6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.DJk6yA + umask 022 + cd /builddir/build/BUILD + cd lumberjack-dd45e6a67c53f673bb49ca8a001fd3a63ceb640e + /bin/rm -rf /builddir/build/BUILDROOT/golang-github-natefinch-lumberjack-0-0.1.gitdd45e6a.el6.x86_64 + exit 0 Child return code was: 0