Mock Version: 1.2.21 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-dchest-safefile.spec'], gid=135timeout=0chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-4597/root'logger=printOutput=Falseenv={'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'HOME': '/builddir'}uid=1001user='mockbuild'shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-dchest-safefile.spec'] with env {'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'HOME': '/builddir'} and shell False warning: Could not canonicalize hostname: copr-builder-895171881.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang17-github-dchest-safefile-0-0.1.git855e8d9.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-dchest-safefile.spec'], gid=135timeout=0chrootPath='/var/lib/mock/epel-6-x86_64-mockbuilder-4597/root'logger=printOutput=Falseenv={'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'HOME': '/builddir'}uid=1001user='mockbuild'private_network=Trueshell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-dchest-safefile.spec'] with env {'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'HOME': '/builddir'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uhYUoS + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf safefile-855e8d98f1852d48dde521e0522408d1fe7e836a + /usr/bin/gzip -dc /builddir/build/SOURCES/safefile-855e8d9.tar.gz + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd safefile-855e8d98f1852d48dde521e0522408d1fe7e836a + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.opXti0 + umask 022 + cd /builddir/build/BUILD + cd safefile-855e8d98f1852d48dde521e0522408d1fe7e836a + LANG=C + export LANG + unset DISPLAY + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HRalc8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64 ++ dirname /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64 + cd safefile-855e8d98f1852d48dde521e0522408d1fe7e836a + LANG=C + export LANG + unset DISPLAY + install -d -p /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64//usr/lib/golang17/src/github.com/dchest/safefile/ + echo '%dir %{gopath}/src/%{import_path}/.' ++ find . -iname '*.go' '!' -iname '*_test.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./safefile.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./safefile.go + install -d -p /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64//usr/lib/golang17/src/github.com/dchest/safefile/. + cp -pav ./safefile.go /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64//usr/lib/golang17/src/github.com/dchest/safefile/./safefile.go `./safefile.go' -> `/builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64//usr/lib/golang17/src/github.com/dchest/safefile/./safefile.go' + echo '%{gopath}/src/%{import_path}/./safefile.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./rename_nonatomic.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./rename_nonatomic.go + install -d -p /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64//usr/lib/golang17/src/github.com/dchest/safefile/. + cp -pav ./rename_nonatomic.go /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64//usr/lib/golang17/src/github.com/dchest/safefile/./rename_nonatomic.go `./rename_nonatomic.go' -> `/builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64//usr/lib/golang17/src/github.com/dchest/safefile/./rename_nonatomic.go' + echo '%{gopath}/src/%{import_path}/./rename_nonatomic.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./rename.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./rename.go + install -d -p /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64//usr/lib/golang17/src/github.com/dchest/safefile/. + cp -pav ./rename.go /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64//usr/lib/golang17/src/github.com/dchest/safefile/./rename.go `./rename.go' -> `/builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64//usr/lib/golang17/src/github.com/dchest/safefile/./rename.go' + echo '%{gopath}/src/%{import_path}/./rename.go' + install -d -p /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64//usr/lib/golang17/src/github.com/dchest/safefile/ ++ find . -iname '*_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./safefile_test.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./safefile_test.go + install -d -p /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64//usr/lib/golang17/src/github.com/dchest/safefile/. + cp -pav ./safefile_test.go /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64//usr/lib/golang17/src/github.com/dchest/safefile/./safefile_test.go `./safefile_test.go' -> `/builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64//usr/lib/golang17/src/github.com/dchest/safefile/./safefile_test.go' + echo '%{gopath}/src/%{import_path}/./safefile_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.vICKgg + umask 022 + cd /builddir/build/BUILD + cd safefile-855e8d98f1852d48dde521e0522408d1fe7e836a + unset DISPLAY + export GOPATH=/builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64//usr/lib/golang17:/usr/lib/golang17 + GOPATH=/builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64//usr/lib/golang17:/usr/lib/golang17 + go test github.com/dchest/safefile ok github.com/dchest/safefile 0.002s + exit 0 Processing files: golang17-github-dchest-safefile-devel-0-0.1.git855e8d9.el6.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4z261o + umask 022 + cd /builddir/build/BUILD + cd safefile-855e8d98f1852d48dde521e0522408d1fe7e836a + DOCDIR=/builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64/usr/share/doc/golang17-github-dchest-safefile-devel-0 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64/usr/share/doc/golang17-github-dchest-safefile-devel-0 + /bin/mkdir -p /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64/usr/share/doc/golang17-github-dchest-safefile-devel-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64/usr/share/doc/golang17-github-dchest-safefile-devel-0 + cp -pr README.md /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64/usr/share/doc/golang17-github-dchest-safefile-devel-0 + exit 0 Provides: golang17(github.com/dchest/safefile) = 0-0.1.git855e8d9.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: golang17-github-dchest-safefile-unit-test-devel-0-0.1.git855e8d9.el6.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RaltPx + umask 022 + cd /builddir/build/BUILD + cd safefile-855e8d98f1852d48dde521e0522408d1fe7e836a + DOCDIR=/builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64/usr/share/doc/golang17-github-dchest-safefile-unit-test-devel-0 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64/usr/share/doc/golang17-github-dchest-safefile-unit-test-devel-0 + /bin/mkdir -p /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64/usr/share/doc/golang17-github-dchest-safefile-unit-test-devel-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64/usr/share/doc/golang17-github-dchest-safefile-unit-test-devel-0 + cp -pr README.md /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64/usr/share/doc/golang17-github-dchest-safefile-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/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64 warning: Could not canonicalize hostname: copr-builder-895171881.novalocal Wrote: /builddir/build/RPMS/golang17-github-dchest-safefile-devel-0-0.1.git855e8d9.el6.noarch.rpm Wrote: /builddir/build/RPMS/golang17-github-dchest-safefile-unit-test-devel-0-0.1.git855e8d9.el6.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.p1EtoY + umask 022 + cd /builddir/build/BUILD + cd safefile-855e8d98f1852d48dde521e0522408d1fe7e836a + /bin/rm -rf /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el6.x86_64 + exit 0 Child return code was: 0