Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-Sirupsen-logrus.spec'], chrootPath='/var/lib/mock/811843-epel-7-x86_64-1539876049.604814/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p3mu8sdk:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'dde2610ae5cb4458b2c583addf512559', '-D', '/var/lib/mock/811843-epel-7-x86_64-1539876049.604814/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p3mu8sdk:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-Sirupsen-logrus.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-Sirupsen-logrus-0.8.4-9.el7.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-Sirupsen-logrus.spec'], chrootPath='/var/lib/mock/811843-epel-7-x86_64-1539876049.604814/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p3mu8sdk:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '44ffbfe4249c402d860841a7ebca8259', '-D', '/var/lib/mock/811843-epel-7-x86_64-1539876049.604814/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.p3mu8sdk:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-Sirupsen-logrus.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', '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.W1gxer + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf logrus-3cb248e9df77413d58a6330dde84236d04c197d5 + /usr/bin/gzip -dc /builddir/build/SOURCES/logrus-3cb248e.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd logrus-3cb248e9df77413d58a6330dde84236d04c197d5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YqcKHu + umask 022 + cd /builddir/build/BUILD + cd logrus-3cb248e9df77413d58a6330dde84236d04c197d5 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MihLby + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64 + cd logrus-3cb248e9df77413d58a6330dde84236d04c197d5 + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/ BUILDSTDERR: ++ find . -iname '*.go' '!' -iname '*_test.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./writer.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./writer.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./writer.go './writer.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./writer.go' + echo '%{gopath}/src/%{import_path}/./writer.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./text_formatter.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./text_formatter.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./text_formatter.go './text_formatter.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./text_formatter.go' + echo '%{gopath}/src/%{import_path}/./text_formatter.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./terminal_windows.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./terminal_windows.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./terminal_windows.go './terminal_windows.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./terminal_windows.go' + echo '%{gopath}/src/%{import_path}/./terminal_windows.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./terminal_notwindows.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./terminal_notwindows.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./terminal_notwindows.go './terminal_notwindows.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./terminal_notwindows.go' + echo '%{gopath}/src/%{import_path}/./terminal_notwindows.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./terminal_linux.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./terminal_linux.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./terminal_linux.go './terminal_linux.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./terminal_linux.go' + echo '%{gopath}/src/%{import_path}/./terminal_linux.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./terminal_bsd.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./terminal_bsd.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./terminal_bsd.go './terminal_bsd.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./terminal_bsd.go' + echo '%{gopath}/src/%{import_path}/./terminal_bsd.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./logrus.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./logrus.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./logrus.go './logrus.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./logrus.go' + echo '%{gopath}/src/%{import_path}/./logrus.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./logger.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./logger.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./logger.go './logger.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./logger.go' + echo '%{gopath}/src/%{import_path}/./logger.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./json_formatter.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./json_formatter.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./json_formatter.go './json_formatter.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./json_formatter.go' + echo '%{gopath}/src/%{import_path}/./json_formatter.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./hooks/syslog/syslog.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/syslog + cp -pav ./hooks/syslog/syslog.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/syslog/syslog.go './hooks/syslog/syslog.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/syslog/syslog.go' + echo '%{gopath}/src/%{import_path}/./hooks/syslog/syslog.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./hooks/sentry/sentry.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/sentry + cp -pav ./hooks/sentry/sentry.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/sentry/sentry.go './hooks/sentry/sentry.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/sentry/sentry.go' + echo '%{gopath}/src/%{import_path}/./hooks/sentry/sentry.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./hooks/papertrail/papertrail.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/papertrail + cp -pav ./hooks/papertrail/papertrail.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/papertrail/papertrail.go './hooks/papertrail/papertrail.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/papertrail/papertrail.go' + echo '%{gopath}/src/%{import_path}/./hooks/papertrail/papertrail.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./hooks/bugsnag/bugsnag.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/bugsnag + cp -pav ./hooks/bugsnag/bugsnag.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/bugsnag/bugsnag.go './hooks/bugsnag/bugsnag.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/bugsnag/bugsnag.go' + echo '%{gopath}/src/%{import_path}/./hooks/bugsnag/bugsnag.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./hooks/airbrake/airbrake.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/airbrake + cp -pav ./hooks/airbrake/airbrake.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/airbrake/airbrake.go './hooks/airbrake/airbrake.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/airbrake/airbrake.go' + echo '%{gopath}/src/%{import_path}/./hooks/airbrake/airbrake.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./hooks.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./hooks.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks.go './hooks.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks.go' + echo '%{gopath}/src/%{import_path}/./hooks.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./formatters/logstash/logstash.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./formatters/logstash + cp -pav ./formatters/logstash/logstash.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./formatters/logstash/logstash.go './formatters/logstash/logstash.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./formatters/logstash/logstash.go' + echo '%{gopath}/src/%{import_path}/./formatters/logstash/logstash.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./formatter.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./formatter.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./formatter.go './formatter.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./formatter.go' + echo '%{gopath}/src/%{import_path}/./formatter.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./exported.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./exported.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./exported.go './exported.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./exported.go' + echo '%{gopath}/src/%{import_path}/./exported.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./examples/hook/hook.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./examples/hook + cp -pav ./examples/hook/hook.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./examples/hook/hook.go './examples/hook/hook.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./examples/hook/hook.go' + echo '%{gopath}/src/%{import_path}/./examples/hook/hook.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./examples/basic/basic.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./examples/basic + cp -pav ./examples/basic/basic.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./examples/basic/basic.go './examples/basic/basic.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./examples/basic/basic.go' + echo '%{gopath}/src/%{import_path}/./examples/basic/basic.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' BUILDSTDERR: ++ dirname ./entry.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./entry.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./entry.go './entry.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./entry.go' + echo '%{gopath}/src/%{import_path}/./entry.go' + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/ BUILDSTDERR: ++ find . -iname '*_test.go' + for file in '$(find . -iname "*_test.go")' BUILDSTDERR: ++ dirname ./text_formatter_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./text_formatter_test.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./text_formatter_test.go './text_formatter_test.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./text_formatter_test.go' + echo '%{gopath}/src/%{import_path}/./text_formatter_test.go' + for file in '$(find . -iname "*_test.go")' BUILDSTDERR: ++ dirname ./logrus_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./logrus_test.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./logrus_test.go './logrus_test.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./logrus_test.go' + echo '%{gopath}/src/%{import_path}/./logrus_test.go' + for file in '$(find . -iname "*_test.go")' BUILDSTDERR: ++ dirname ./json_formatter_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./json_formatter_test.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./json_formatter_test.go './json_formatter_test.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./json_formatter_test.go' + echo '%{gopath}/src/%{import_path}/./json_formatter_test.go' + for file in '$(find . -iname "*_test.go")' BUILDSTDERR: ++ dirname ./hooks/syslog/syslog_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/syslog + cp -pav ./hooks/syslog/syslog_test.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/syslog/syslog_test.go './hooks/syslog/syslog_test.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/syslog/syslog_test.go' + echo '%{gopath}/src/%{import_path}/./hooks/syslog/syslog_test.go' + for file in '$(find . -iname "*_test.go")' BUILDSTDERR: ++ dirname ./hooks/sentry/sentry_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/sentry + cp -pav ./hooks/sentry/sentry_test.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/sentry/sentry_test.go './hooks/sentry/sentry_test.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/sentry/sentry_test.go' + echo '%{gopath}/src/%{import_path}/./hooks/sentry/sentry_test.go' + for file in '$(find . -iname "*_test.go")' BUILDSTDERR: ++ dirname ./hooks/papertrail/papertrail_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/papertrail + cp -pav ./hooks/papertrail/papertrail_test.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/papertrail/papertrail_test.go './hooks/papertrail/papertrail_test.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/papertrail/papertrail_test.go' + echo '%{gopath}/src/%{import_path}/./hooks/papertrail/papertrail_test.go' + for file in '$(find . -iname "*_test.go")' BUILDSTDERR: ++ dirname ./hooks/bugsnag/bugsnag_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/bugsnag + cp -pav ./hooks/bugsnag/bugsnag_test.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/bugsnag/bugsnag_test.go './hooks/bugsnag/bugsnag_test.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/bugsnag/bugsnag_test.go' + echo '%{gopath}/src/%{import_path}/./hooks/bugsnag/bugsnag_test.go' + for file in '$(find . -iname "*_test.go")' BUILDSTDERR: ++ dirname ./hooks/airbrake/airbrake_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/airbrake + cp -pav ./hooks/airbrake/airbrake_test.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/airbrake/airbrake_test.go './hooks/airbrake/airbrake_test.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks/airbrake/airbrake_test.go' + echo '%{gopath}/src/%{import_path}/./hooks/airbrake/airbrake_test.go' + for file in '$(find . -iname "*_test.go")' BUILDSTDERR: ++ dirname ./hook_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./hook_test.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hook_test.go './hook_test.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hook_test.go' + echo '%{gopath}/src/%{import_path}/./hook_test.go' + for file in '$(find . -iname "*_test.go")' BUILDSTDERR: ++ dirname ./formatters/logstash/logstash_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./formatters/logstash + cp -pav ./formatters/logstash/logstash_test.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./formatters/logstash/logstash_test.go './formatters/logstash/logstash_test.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./formatters/logstash/logstash_test.go' + echo '%{gopath}/src/%{import_path}/./formatters/logstash/logstash_test.go' + for file in '$(find . -iname "*_test.go")' BUILDSTDERR: ++ dirname ./formatter_bench_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./formatter_bench_test.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./formatter_bench_test.go './formatter_bench_test.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./formatter_bench_test.go' + echo '%{gopath}/src/%{import_path}/./formatter_bench_test.go' + for file in '$(find . -iname "*_test.go")' BUILDSTDERR: ++ dirname ./entry_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./entry_test.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./entry_test.go './entry_test.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./entry_test.go' + echo '%{gopath}/src/%{import_path}/./entry_test.go' + /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.sYNUvC + umask 022 + cd /builddir/build/BUILD + cd logrus-3cb248e9df77413d58a6330dde84236d04c197d5 Processing files: golang-github-Sirupsen-logrus-devel-0.8.4-9.el7.noarch + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.YwXNQG + umask 022 + cd /builddir/build/BUILD + cd logrus-3cb248e9df77413d58a6330dde84236d04c197d5 + DOCDIR=/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64/usr/share/doc/golang-github-Sirupsen-logrus-devel-0.8.4 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64/usr/share/doc/golang-github-Sirupsen-logrus-devel-0.8.4 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64/usr/share/doc/golang-github-Sirupsen-logrus-devel-0.8.4 + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64/usr/share/doc/golang-github-Sirupsen-logrus-devel-0.8.4 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.UVyqdL + umask 022 + cd /builddir/build/BUILD + cd logrus-3cb248e9df77413d58a6330dde84236d04c197d5 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64/usr/share/licenses/golang-github-Sirupsen-logrus-devel-0.8.4 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64/usr/share/licenses/golang-github-Sirupsen-logrus-devel-0.8.4 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64/usr/share/licenses/golang-github-Sirupsen-logrus-devel-0.8.4 + exit 0 Provides: golang(github.com/Sirupsen/logrus) = 0.8.4-9.el7 golang(github.com/Sirupsen/logrus/formatters/logstash) = 0.8.4-9.el7 golang(github.com/Sirupsen/logrus/hooks/bugsnag) = 0.8.4-9.el7 golang-github-Sirupsen-logrus-devel = 0.8.4-9.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: golang-github-Sirupsen-logrus-unit-test-0.8.4-9.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KLPM3P + umask 022 + cd /builddir/build/BUILD + cd logrus-3cb248e9df77413d58a6330dde84236d04c197d5 + DOCDIR=/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64/usr/share/doc/golang-github-Sirupsen-logrus-unit-test-0.8.4 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64/usr/share/doc/golang-github-Sirupsen-logrus-unit-test-0.8.4 + cp -pr README.md /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64/usr/share/doc/golang-github-Sirupsen-logrus-unit-test-0.8.4 + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64/usr/share/doc/golang-github-Sirupsen-logrus-unit-test-0.8.4 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.66udWU + umask 022 + cd /builddir/build/BUILD + cd logrus-3cb248e9df77413d58a6330dde84236d04c197d5 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64/usr/share/licenses/golang-github-Sirupsen-logrus-unit-test-0.8.4 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64/usr/share/licenses/golang-github-Sirupsen-logrus-unit-test-0.8.4 + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64/usr/share/licenses/golang-github-Sirupsen-logrus-unit-test-0.8.4 + exit 0 Provides: golang-github-Sirupsen-logrus-unit-test = 0.8.4-9.el7 golang-github-Sirupsen-logrus-unit-test(x86-64) = 0.8.4-9.el7 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-Sirupsen-logrus-0.8.4-9.el7.x86_64 Wrote: /builddir/build/RPMS/golang-github-Sirupsen-logrus-devel-0.8.4-9.el7.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-Sirupsen-logrus-unit-test-0.8.4-9.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ysqdYa + umask 022 + cd /builddir/build/BUILD + cd logrus-3cb248e9df77413d58a6330dde84236d04c197d5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-9.el7.x86_64 + exit 0 Child return code was: 0