Mock Version: 1.2.21 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-pkg-errors.spec'], user='mockbuild'env={'TERM': 'vt100', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash'}printOutput=Falsegid=135shell=Falsetimeout=0logger=uid=1001chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-4206/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-pkg-errors.spec'] with env {'TERM': 'vt100', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash'} and shell False warning: Could not canonicalize hostname: copr-builder-864431683.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang17-github-pkg-errors-0-0.1.git248dadf.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-pkg-errors.spec'], user='mockbuild'env={'TERM': 'vt100', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'SHELL': '/bin/bash'}printOutput=Falsegid=135shell=Falsetimeout=0logger=uid=1001chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-4206/root'private_network=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-pkg-errors.spec'] with env {'TERM': 'vt100', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', '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.RDt3EN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf errors-248dadf4e9068a0b3e79f02ed0a610d935de5302 + /usr/bin/gzip -dc /builddir/build/SOURCES/errors-248dadf.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd errors-248dadf4e9068a0b3e79f02ed0a610d935de5302 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xTxM9H + umask 022 + cd /builddir/build/BUILD + cd errors-248dadf4e9068a0b3e79f02ed0a610d935de5302 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.z2Q0EC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64 + cd errors-248dadf4e9068a0b3e79f02ed0a610d935de5302 + install -d -p /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/ + echo '%dir %{gopath}/src/%{import_path}/.' ++ find . -iname '*.go' '!' -iname '*_test.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./stack.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./stack.go + install -d -p /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/. + cp -pav ./stack.go /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/./stack.go './stack.go' -> '/builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/./stack.go' + echo '%{gopath}/src/%{import_path}/./stack.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./errors.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./errors.go + install -d -p /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/. + cp -pav ./errors.go /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/./errors.go './errors.go' -> '/builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/./errors.go' + echo '%{gopath}/src/%{import_path}/./errors.go' + install -d -p /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/ ++ find . -iname '*_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./stack_test.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./stack_test.go + install -d -p /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/. + cp -pav ./stack_test.go /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/./stack_test.go './stack_test.go' -> '/builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/./stack_test.go' + echo '%{gopath}/src/%{import_path}/./stack_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./format_test.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./format_test.go + install -d -p /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/. + cp -pav ./format_test.go /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/./format_test.go './format_test.go' -> '/builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/./format_test.go' + echo '%{gopath}/src/%{import_path}/./format_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/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/. + cp -pav ./example_test.go /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/./example_test.go './example_test.go' -> '/builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/./example_test.go' + echo '%{gopath}/src/%{import_path}/./example_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./errors_test.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./errors_test.go + install -d -p /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/. + cp -pav ./errors_test.go /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/./errors_test.go './errors_test.go' -> '/builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/./errors_test.go' + echo '%{gopath}/src/%{import_path}/./errors_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./bench_test.go + echo '%dir %{gopath}/src/%{import_path}/.' ++ dirname ./bench_test.go + install -d -p /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/. + cp -pav ./bench_test.go /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/./bench_test.go './bench_test.go' -> '/builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17/src/github.com/pkg/errors/./bench_test.go' + echo '%{gopath}/src/%{import_path}/./bench_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.jKX8nx + umask 022 + cd /builddir/build/BUILD + cd errors-248dadf4e9068a0b3e79f02ed0a610d935de5302 + export GOPATH=/builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17:/usr/lib/golang17 + GOPATH=/builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64//usr/lib/golang17:/usr/lib/golang17 + /usr/lib/golang17/bin/go test github.com/pkg/errors ok github.com/pkg/errors 0.319s + exit 0 Processing files: golang17-github-pkg-errors-devel-0-0.1.git248dadf.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FyJlYu + umask 022 + cd /builddir/build/BUILD + cd errors-248dadf4e9068a0b3e79f02ed0a610d935de5302 + DOCDIR=/builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64/usr/share/doc/golang17-github-pkg-errors-devel-0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64/usr/share/doc/golang17-github-pkg-errors-devel-0 + cp -pr README.md /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64/usr/share/doc/golang17-github-pkg-errors-devel-0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.LFdOzs + umask 022 + cd /builddir/build/BUILD + cd errors-248dadf4e9068a0b3e79f02ed0a610d935de5302 + LICENSEDIR=/builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64/usr/share/licenses/golang17-github-pkg-errors-devel-0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64/usr/share/licenses/golang17-github-pkg-errors-devel-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64/usr/share/licenses/golang17-github-pkg-errors-devel-0 + exit 0 Provides: golang17(github.com/pkg/errors) = 0-0.1.git248dadf.el7.centos golang17-github-pkg-errors-devel = 0-0.1.git248dadf.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-pkg-errors-unit-test-devel-0-0.1.git248dadf.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BGNviq + umask 022 + cd /builddir/build/BUILD + cd errors-248dadf4e9068a0b3e79f02ed0a610d935de5302 + DOCDIR=/builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64/usr/share/doc/golang17-github-pkg-errors-unit-test-devel-0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64/usr/share/doc/golang17-github-pkg-errors-unit-test-devel-0 + cp -pr README.md /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64/usr/share/doc/golang17-github-pkg-errors-unit-test-devel-0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1Dqf2n + umask 022 + cd /builddir/build/BUILD + cd errors-248dadf4e9068a0b3e79f02ed0a610d935de5302 + LICENSEDIR=/builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64/usr/share/licenses/golang17-github-pkg-errors-unit-test-devel-0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64/usr/share/licenses/golang17-github-pkg-errors-unit-test-devel-0 + cp -pr LICENSE /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64/usr/share/licenses/golang17-github-pkg-errors-unit-test-devel-0 + exit 0 Provides: golang17-github-pkg-errors-unit-test-devel = 0-0.1.git248dadf.el7.centos golang17-github-pkg-errors-unit-test-devel(x86-64) = 0-0.1.git248dadf.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-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-864431683.novalocal Wrote: /builddir/build/RPMS/golang17-github-pkg-errors-devel-0-0.1.git248dadf.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/golang17-github-pkg-errors-unit-test-devel-0-0.1.git248dadf.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ta3uYh + umask 022 + cd /builddir/build/BUILD + cd errors-248dadf4e9068a0b3e79f02ed0a610d935de5302 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang17-github-pkg-errors-0-0.1.git248dadf.el7.centos.x86_64 + exit 0 Child return code was: 0