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'], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-4197/root'uid=1001timeout=0printOutput=Falseenv={'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash'}logger=gid=135user='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 {'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash'} and shell False warning: Could not canonicalize hostname: copr-builder-711951339.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang17-github-dchest-safefile-0-0.1.git855e8d9.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-dchest-safefile.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-4197/root'uid=1001timeout=0private_network=TrueprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash'}logger=gid=135user='mockbuild'shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-dchest-safefile.spec'] with env {'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'TERM': 'vt100', 'HOME': '/builddir', 'PS1': ' \\s-\\v\\$ ', 'SHELL': '/bin/bash'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NHNvgv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf safefile-855e8d98f1852d48dde521e0522408d1fe7e836a + /usr/bin/gzip -dc /builddir/build/SOURCES/safefile-855e8d9.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd safefile-855e8d98f1852d48dde521e0522408d1fe7e836a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CN17FT + umask 022 + cd /builddir/build/BUILD + cd safefile-855e8d98f1852d48dde521e0522408d1fe7e836a + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FEae6h + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el7.centos.x86_64 + cd safefile-855e8d98f1852d48dde521e0522408d1fe7e836a + install -d -p /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el7.centos.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.el7.centos.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.el7.centos.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.el7.centos.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.el7.centos.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.el7.centos.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.el7.centos.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.el7.centos.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.el7.centos.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.el7.centos.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.el7.centos.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.el7.centos.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.el7.centos.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.el7.centos.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-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.K3tOHG + umask 022 + cd /builddir/build/BUILD + cd safefile-855e8d98f1852d48dde521e0522408d1fe7e836a + export GOPATH=/builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el7.centos.x86_64//usr/lib/golang17:/usr/lib/golang17 + GOPATH=/builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el7.centos.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.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.VVEfF7 + umask 022 + cd /builddir/build/BUILD + cd safefile-855e8d98f1852d48dde521e0522408d1fe7e836a + DOCDIR=/builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el7.centos.x86_64/usr/share/doc/golang17-github-dchest-safefile-devel-0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el7.centos.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.el7.centos.x86_64/usr/share/doc/golang17-github-dchest-safefile-devel-0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.an2NDy + umask 022 + cd /builddir/build/BUILD + cd safefile-855e8d98f1852d48dde521e0522408d1fe7e836a + LICENSEDIR=/builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el7.centos.x86_64/usr/share/licenses/golang17-github-dchest-safefile-devel-0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el7.centos.x86_64/usr/share/licenses/golang17-github-dchest-safefile-devel-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el7.centos.x86_64/usr/share/licenses/golang17-github-dchest-safefile-devel-0 + exit 0 Provides: golang17(github.com/dchest/safefile) = 0-0.1.git855e8d9.el7.centos golang17-github-dchest-safefile-devel = 0-0.1.git855e8d9.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: golang17-github-dchest-safefile-unit-test-devel-0-0.1.git855e8d9.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.psSUIZ + umask 022 + cd /builddir/build/BUILD + cd safefile-855e8d98f1852d48dde521e0522408d1fe7e836a + DOCDIR=/builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el7.centos.x86_64/usr/share/doc/golang17-github-dchest-safefile-unit-test-devel-0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el7.centos.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.el7.centos.x86_64/usr/share/doc/golang17-github-dchest-safefile-unit-test-devel-0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Ckv3Oq + umask 022 + cd /builddir/build/BUILD + cd safefile-855e8d98f1852d48dde521e0522408d1fe7e836a + LICENSEDIR=/builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el7.centos.x86_64/usr/share/licenses/golang17-github-dchest-safefile-unit-test-devel-0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el7.centos.x86_64/usr/share/licenses/golang17-github-dchest-safefile-unit-test-devel-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el7.centos.x86_64/usr/share/licenses/golang17-github-dchest-safefile-unit-test-devel-0 + exit 0 Provides: golang17-github-dchest-safefile-unit-test-devel = 0-0.1.git855e8d9.el7.centos golang17-github-dchest-safefile-unit-test-devel(x86-64) = 0-0.1.git855e8d9.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/golang17-github-dchest-safefile-0-0.1.git855e8d9.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-711951339.novalocal Wrote: /builddir/build/RPMS/golang17-github-dchest-safefile-devel-0-0.1.git855e8d9.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/golang17-github-dchest-safefile-unit-test-devel-0-0.1.git855e8d9.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dHMIsK + umask 022 + cd /builddir/build/BUILD + cd safefile-855e8d98f1852d48dde521e0522408d1fe7e836a + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang17-github-dchest-safefile-0-0.1.git855e8d9.el7.centos.x86_64 + exit 0 Child return code was: 0