Mock Version: 2.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/heimdall.spec'], chrootPath='/var/lib/mock/1246535-epel-7-x86_64-1582221353.383931/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', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gkdypmgd:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gkdypmgd:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ff54acf194c14e38b5e8412feb3d34c7', '-D', '/var/lib/mock/1246535-epel-7-x86_64-1582221353.383931/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gkdypmgd:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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/heimdall.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/heimdall-v0.3.0-1.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/heimdall.spec'], chrootPath='/var/lib/mock/1246535-epel-7-x86_64-1582221353.383931/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', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gkdypmgd:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gkdypmgd:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7843919f83da4bbaafbb13014396270f', '-D', '/var/lib/mock/1246535-epel-7-x86_64-1582221353.383931/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gkdypmgd:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--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/heimdall.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.zsdUOi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf heimdall-v0.3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/heimdall-v0.3.0.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd heimdall-v0.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zX2meo + umask 022 + cd /builddir/build/BUILD + cd heimdall-v0.3.0 ++ date -u '+%Y-%m-%d %H:%M:%SOURCE' + GO111MODULE=on + GOPROXY=https://proxy.golang.org + go build -ldflags '-linkmode=external -X '\''main.BuildTime=2020-02-20 17:56:37OURCE'\'' -X main.GitCommit=e946169 -X main.Version=v0.3.0' -o heimdall . go: downloading github.com/go-kit/kit v0.9.0 go: downloading github.com/goph/emperror v0.17.3-0.20190703203600-60a8d9faa17b go: downloading github.com/xmidt-org/webpa-common v1.5.1 go: downloading github.com/prometheus/common v0.4.1 go: downloading github.com/spf13/viper v1.4.0 go: downloading github.com/spf13/pflag v1.0.3 go: extracting github.com/spf13/pflag v1.0.3 go: extracting github.com/spf13/viper v1.4.0 go: downloading github.com/fsnotify/fsnotify v1.4.7 go: extracting github.com/prometheus/common v0.4.1 go: extracting github.com/fsnotify/fsnotify v1.4.7 go: downloading github.com/hashicorp/hcl v1.0.0 go: downloading github.com/pelletier/go-toml v1.2.0 go: extracting github.com/goph/emperror v0.17.3-0.20190703203600-60a8d9faa17b go: downloading github.com/spf13/afero v1.1.2 go: extracting github.com/go-kit/kit v0.9.0 go: extracting github.com/hashicorp/hcl v1.0.0 go: extracting github.com/pelletier/go-toml v1.2.0 go: downloading github.com/pkg/errors v0.8.1-0.20181008045315-2233dee583dc go: extracting github.com/spf13/afero v1.1.2 go: downloading github.com/julienschmidt/httprouter v1.2.0 go: downloading golang.org/x/sys v0.0.0-20190422165155-953cdadca894 go: downloading github.com/xmidt-org/codex-db v0.5.0 go: downloading github.com/xmidt-org/bascule v0.7.0 go: extracting github.com/julienschmidt/httprouter v1.2.0 go: downloading github.com/spf13/cast v1.3.0 go: extracting github.com/xmidt-org/codex-db v0.5.0 go: extracting github.com/pkg/errors v0.8.1-0.20181008045315-2233dee583dc go: downloading gopkg.in/yaml.v2 v2.2.2 go: downloading github.com/mitchellh/mapstructure v1.1.2 go: extracting github.com/mitchellh/mapstructure v1.1.2 go: downloading github.com/magiconair/properties v1.8.0 go: extracting github.com/spf13/cast v1.3.0 go: downloading github.com/yugabyte/gocql v0.0.0-20190522232832-e049977574e9 go: extracting gopkg.in/yaml.v2 v2.2.2 go: downloading github.com/go-logfmt/logfmt v0.4.0 go: extracting github.com/magiconair/properties v1.8.0 go: downloading github.com/InVisionApp/go-health/v2 v2.1.2 go: extracting github.com/yugabyte/gocql v0.0.0-20190522232832-e049977574e9 go: extracting github.com/xmidt-org/webpa-common v1.5.1 go: extracting github.com/InVisionApp/go-health/v2 v2.1.2 go: extracting github.com/go-logfmt/logfmt v0.4.0 go: downloading github.com/prometheus/client_golang v1.0.0 go: downloading github.com/spf13/jwalterweatherman v1.0.0 go: downloading github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed go: downloading github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db go: downloading golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2 go: downloading github.com/InVisionApp/go-logger v1.0.1 go: downloading github.com/VividCortex/gohistogram v1.0.0 go: downloading github.com/justinas/alice v0.0.0-20171023064455-03f45bd4b7da go: extracting golang.org/x/sys v0.0.0-20190422165155-953cdadca894 go: extracting github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed go: extracting github.com/prometheus/client_golang v1.0.0 go: extracting github.com/spf13/jwalterweatherman v1.0.0 go: downloading github.com/c9s/goprocinfo v0.0.0-20190309065803-0b2ad9ac246b go: downloading github.com/deckarep/golang-set v1.7.1 go: downloading github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90 go: extracting github.com/InVisionApp/go-logger v1.0.1 go: downloading gopkg.in/natefinch/lumberjack.v2 v2.0.0 go: extracting github.com/justinas/alice v0.0.0-20171023064455-03f45bd4b7da go: extracting github.com/VividCortex/gohistogram v1.0.0 go: downloading github.com/influxdata/influxdb1-client v0.0.0-20190809212627-fc22c7df067e go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 go: downloading github.com/beorn7/perks v1.0.0 go: extracting github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db go: downloading github.com/prometheus/procfs v0.0.2 go: extracting github.com/matttproud/golang_protobuf_extensions v1.0.1 go: extracting gopkg.in/natefinch/lumberjack.v2 v2.0.0 go: downloading gopkg.in/inf.v0 v0.9.1 go: extracting github.com/beorn7/perks v1.0.0 go: downloading github.com/golang/protobuf v1.3.1 go: extracting github.com/influxdata/influxdb1-client v0.0.0-20190809212627-fc22c7df067e go: extracting github.com/deckarep/golang-set v1.7.1 go: extracting github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90 go: extracting github.com/prometheus/procfs v0.0.2 go: extracting gopkg.in/inf.v0 v0.9.1 go: extracting github.com/c9s/goprocinfo v0.0.0-20190309065803-0b2ad9ac246b go: extracting github.com/golang/protobuf v1.3.1 go: extracting github.com/xmidt-org/bascule v0.7.0 go: extracting golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2 go: finding github.com/go-kit/kit v0.9.0 go: finding github.com/goph/emperror v0.17.3-0.20190703203600-60a8d9faa17b go: finding github.com/prometheus/common v0.4.1 go: finding github.com/spf13/pflag v1.0.3 go: finding github.com/spf13/viper v1.4.0 go: finding github.com/xmidt-org/bascule v0.7.0 go: finding github.com/julienschmidt/httprouter v1.2.0 go: finding github.com/pkg/errors v0.8.1-0.20181008045315-2233dee583dc go: finding github.com/go-logfmt/logfmt v0.4.0 go: finding github.com/xmidt-org/codex-db v0.5.0 go: finding github.com/xmidt-org/webpa-common v1.5.1 go: finding github.com/deckarep/golang-set v1.7.1 go: finding github.com/prometheus/client_golang v1.0.0 go: finding github.com/VividCortex/gohistogram v1.0.0 go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding github.com/InVisionApp/go-health/v2 v2.1.2 go: finding github.com/hashicorp/hcl v1.0.0 go: finding github.com/influxdata/influxdb1-client v0.0.0-20190809212627-fc22c7df067e go: finding github.com/magiconair/properties v1.8.0 go: finding github.com/InVisionApp/go-logger v1.0.1 go: finding github.com/mitchellh/mapstructure v1.1.2 go: finding gopkg.in/natefinch/lumberjack.v2 v2.0.0 go: finding golang.org/x/sys v0.0.0-20190422165155-953cdadca894 go: finding github.com/pelletier/go-toml v1.2.0 go: finding github.com/beorn7/perks v1.0.0 go: finding github.com/spf13/afero v1.1.2 go: finding github.com/golang/protobuf v1.3.1 go: finding github.com/spf13/cast v1.3.0 go: finding github.com/yugabyte/gocql v0.0.0-20190522232832-e049977574e9 go: finding github.com/spf13/jwalterweatherman v1.0.0 go: finding github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90 go: finding github.com/justinas/alice v0.0.0-20171023064455-03f45bd4b7da go: finding gopkg.in/yaml.v2 v2.2.2 go: finding golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2 go: finding github.com/prometheus/procfs v0.0.2 go: finding github.com/matttproud/golang_protobuf_extensions v1.0.1 go: finding github.com/c9s/goprocinfo v0.0.0-20190309065803-0b2ad9ac246b go: finding github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db go: finding github.com/hailocab/go-hostpool v0.0.0-20160125115350-e80d13ce29ed go: finding gopkg.in/inf.v0 v0.9.1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fReslG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64 + cd heimdall-v0.3.0 + echo rm -rf /builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64 rm -rf /builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64 + /usr/bin/install -d /builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64/usr/bin + /usr/bin/install -d /builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64/etc/rc.d/init.d + /usr/bin/install -d /builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64/etc/heimdall + /usr/bin/install -d /builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64/var/log/heimdall + /usr/bin/install -d /builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64/var/run/heimdall + /usr/bin/install -d /builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64/usr/lib/systemd/system + /usr/bin/install -p heimdall /builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64/usr/bin + /usr/bin/install -p conf/heimdall.service /builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64/usr/lib/systemd/system/heimdall.service + /usr/bin/install -p heimdall.yaml /builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64/etc/heimdall/heimdall.yaml + /usr/lib/rpm/check-buildroot Processing files: heimdall-v0.3.0-1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.h58cIY + umask 022 + cd /builddir/build/BUILD + cd heimdall-v0.3.0 + DOCDIR=/builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64/usr/share/doc/heimdall-v0.3.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64/usr/share/doc/heimdall-v0.3.0 + cp -pr LICENSE /builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64/usr/share/doc/heimdall-v0.3.0 + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64/usr/share/doc/heimdall-v0.3.0 + cp -pr NOTICE /builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64/usr/share/doc/heimdall-v0.3.0 + exit 0 Provides: config(heimdall) = v0.3.0-1.el7 heimdall = v0.3.0-1.el7 heimdall(x86-64) = v0.3.0-1.el7 Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64 Wrote: /builddir/build/RPMS/heimdall-v0.3.0-1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BgGhdU + umask 022 + cd /builddir/build/BUILD + cd heimdall-v0.3.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/heimdall-v0.3.0-1.el7.x86_64 + exit 0 Child return code was: 0