Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-Sirupsen-logrus.spec'], uid=1001nspawn_args=[]gid=135user='mockbuild'chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-7449/root'logger=env={'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8'}shell=FalseprintOutput=Falsetimeout=0) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-Sirupsen-logrus.spec'] with env {'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8'} and shell False warning: Could not canonicalize hostname: copr-builder-682594414.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-github-Sirupsen-logrus-0.8.4-6.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-Sirupsen-logrus.spec'], uid=1001nspawn_args=[]gid=135user='mockbuild'chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-7449/root'logger=env={'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'LANG': 'en_US.UTF-8'}shell=FalseprintOutput=Falsetimeout=0) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-github-Sirupsen-logrus.spec'] with env {'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'HOME': '/builddir', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', '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.w987Me + 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.5cEXhj + umask 022 + cd /builddir/build/BUILD + cd logrus-3cb248e9df77413d58a6330dde84236d04c197d5 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0GyjNn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64 + cd logrus-3cb248e9df77413d58a6330dde84236d04c197d5 + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/ ++ find . -iname '*.go' '!' -iname '*_test.go' + for file in '$(find . -iname "*.go" \! -iname "*_test.go")' ++ dirname ./writer.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./writer.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./writer.go './writer.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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")' ++ dirname ./text_formatter.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./terminal_windows.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./terminal_notwindows.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./terminal_linux.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./terminal_bsd.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./logrus.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./logrus.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./logrus.go './logrus.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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")' ++ dirname ./logger.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./logger.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./logger.go './logger.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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")' ++ dirname ./json_formatter.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./hooks/syslog/syslog.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./hooks/sentry/sentry.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./hooks/papertrail/papertrail.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./hooks/bugsnag/bugsnag.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./hooks/airbrake/airbrake.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./hooks.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./hooks.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./hooks.go './hooks.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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")' ++ dirname ./formatters/logstash/logstash.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./formatter.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./formatter.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./formatter.go './formatter.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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")' ++ dirname ./exported.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./exported.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./exported.go './exported.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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")' ++ dirname ./examples/hook/hook.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./examples/basic/basic.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./entry.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/. + cp -pav ./entry.go /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/./entry.go './entry.go' -> '/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.x86_64//usr/share/gocode/src/github.com/Sirupsen/logrus/ ++ find . -iname '*_test.go' + for file in '$(find . -iname "*_test.go")' ++ dirname ./text_formatter_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./logrus_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./json_formatter_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./hooks/syslog/syslog_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./hooks/sentry/sentry_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./hooks/papertrail/papertrail_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./hooks/bugsnag/bugsnag_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./hooks/airbrake/airbrake_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./hook_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./formatters/logstash/logstash_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./formatter_bench_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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")' ++ dirname ./entry_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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.T4gcMs + umask 022 + cd /builddir/build/BUILD + cd logrus-3cb248e9df77413d58a6330dde84236d04c197d5 + export GOPATH=/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64//usr/share/gocode:/usr/share/gocode + gotest github.com/Sirupsen/logrus + go test github.com/Sirupsen/logrus ok github.com/Sirupsen/logrus 0.005s + gotest github.com/Sirupsen/logrus/formatters/logstash + go test github.com/Sirupsen/logrus/formatters/logstash ok github.com/Sirupsen/logrus/formatters/logstash 0.004s + gotest github.com/Sirupsen/logrus/hooks/bugsnag + go test github.com/Sirupsen/logrus/hooks/bugsnag ok github.com/Sirupsen/logrus/hooks/bugsnag 0.006s + exit 0 Processing files: golang-github-Sirupsen-logrus-devel-0.8.4-6.el7.centos.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.G8GW7Q + umask 022 + cd /builddir/build/BUILD + cd logrus-3cb248e9df77413d58a6330dde84236d04c197d5 + DOCDIR=/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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-6.el7.centos.x86_64/usr/share/doc/golang-github-Sirupsen-logrus-devel-0.8.4 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vng3uf + umask 022 + cd /builddir/build/BUILD + cd logrus-3cb248e9df77413d58a6330dde84236d04c197d5 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.x86_64/usr/share/licenses/golang-github-Sirupsen-logrus-devel-0.8.4 + exit 0 Provides: golang(github.com/Sirupsen/logrus) = 0.8.4-6.el7.centos golang(github.com/Sirupsen/logrus/formatters/logstash) = 0.8.4-6.el7.centos golang(github.com/Sirupsen/logrus/hooks/bugsnag) = 0.8.4-6.el7.centos golang-github-Sirupsen-logrus-devel = 0.8.4-6.el7.centos 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-6.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wkvDiE + umask 022 + cd /builddir/build/BUILD + cd logrus-3cb248e9df77413d58a6330dde84236d04c197d5 + DOCDIR=/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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.3YfE72 + umask 022 + cd /builddir/build/BUILD + cd logrus-3cb248e9df77413d58a6330dde84236d04c197d5 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.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-6.el7.centos.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-6.el7.centos.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-6.el7.centos golang-github-Sirupsen-logrus-unit-test(x86-64) = 0.8.4-6.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/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-682594414.novalocal Wrote: /builddir/build/RPMS/golang-github-Sirupsen-logrus-devel-0.8.4-6.el7.centos.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-Sirupsen-logrus-unit-test-0.8.4-6.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Qv1PEg + umask 022 + cd /builddir/build/BUILD + cd logrus-3cb248e9df77413d58a6330dde84236d04c197d5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-Sirupsen-logrus-0.8.4-6.el7.centos.x86_64 + exit 0 Child return code was: 0