Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/nginx-log-collector.spec'], chrootPath='/var/lib/mock/1238043-epel-7-x86_64-1581581109.175739/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', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rc18ea6a:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rc18ea6a:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5a1a71fd32f943f795063a6a4c7062df', '-D', '/var/lib/mock/1238043-epel-7-x86_64-1581581109.175739/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rc18ea6a:/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/nginx-log-collector.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/nginx-log-collector-0.2-1.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/nginx-log-collector.spec'], chrootPath='/var/lib/mock/1238043-epel-7-x86_64-1581581109.175739/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', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rc18ea6a:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rc18ea6a:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9eceb9d8492c444682164cd1a05dd657', '-D', '/var/lib/mock/1238043-epel-7-x86_64-1581581109.175739/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rc18ea6a:/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/nginx-log-collector.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(%build): /bin/sh -e /var/tmp/rpm-tmp.2skwtl + umask 022 + cd /builddir/build/BUILD + export GOPATH=/builddir/build/BUILD/_build + GOPATH=/builddir/build/BUILD/_build + echo /builddir/build/BUILD/_build /builddir/build/BUILD/_build + mkdir -p /builddir/build/BUILD/_build/src/github.com/avito-tech/ + git clone https://github.com/avito-tech/nginx-log-collector.git /builddir/build/BUILD/_build/src/github.com/avito-tech/nginx-log-collector Cloning into '/builddir/build/BUILD/_build/src/github.com/avito-tech/nginx-log-collector'... + cd /builddir/build/BUILD/_build/src/github.com/avito-tech/nginx-log-collector + ls /builddir/build/BUILD/_build/src/github.com/avito-tech/nginx-log-collector Makefile README.md backlog clickhouse config doc etc go.mod go.sum nginx-log-collector.go parser processor receiver service uploader utils + make build go clean go: downloading github.com/rs/zerolog v1.9.1 go: downloading gopkg.in/alexcesaro/statsd.v2 v2.0.0 go: downloading github.com/buger/jsonparser v0.0.0-20180910192245-6acdf747ae99 go: downloading gopkg.in/yaml.v2 v2.2.1 go: downloading github.com/pkg/errors v0.8.0 go: downloading github.com/valyala/fastjson v0.0.0-20180829103600-37952265e1c0 go: extracting gopkg.in/alexcesaro/statsd.v2 v2.0.0 go: extracting github.com/pkg/errors v0.8.0 go: extracting github.com/buger/jsonparser v0.0.0-20180910192245-6acdf747ae99 go: extracting gopkg.in/yaml.v2 v2.2.1 go: extracting github.com/rs/zerolog v1.9.1 go: extracting github.com/valyala/fastjson v0.0.0-20180829103600-37952265e1c0 go: finding github.com/rs/zerolog v1.9.1 go: finding gopkg.in/alexcesaro/statsd.v2 v2.0.0 go: finding gopkg.in/yaml.v2 v2.2.1 go: finding github.com/pkg/errors v0.8.0 go: finding github.com/buger/jsonparser v0.0.0-20180910192245-6acdf747ae99 go: finding github.com/valyala/fastjson v0.0.0-20180829103600-37952265e1c0 rm -rf ./build/ go build -ldflags '-X main.Version=1581581243-aabc9949-dirty' -o build/nginx-log-collector nginx-log-collector.go + cd build + cp nginx-log-collector ../../../../../../nginx-log-collector + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Eu3qD6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nginx-log-collector-0.2-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nginx-log-collector-0.2-1.x86_64 ++ dirname /builddir/build/BUILDROOT/nginx-log-collector-0.2-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nginx-log-collector-0.2-1.x86_64 + install -d /builddir/build/BUILDROOT/nginx-log-collector-0.2-1.x86_64/usr/bin + install -p -m 0755 nginx-log-collector /builddir/build/BUILDROOT/nginx-log-collector-0.2-1.x86_64/usr/bin/nginx-log-collector + install -d /builddir/build/BUILDROOT/nginx-log-collector-0.2-1.x86_64/etc/nginx-log-collector + cp /builddir/build/SOURCES/config.yaml /builddir/build/BUILDROOT/nginx-log-collector-0.2-1.x86_64/etc/nginx-log-collector/config.yaml + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nginx-log-collector-0.2-1.x86_64/usr/lib/systemd/system + /usr/bin/install -m644 /builddir/build/SOURCES/nginx-log-collector.service /builddir/build/BUILDROOT/nginx-log-collector-0.2-1.x86_64/usr/lib/systemd/system/nginx-log-collector.service + /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 Processing files: nginx-log-collector-0.2-1.x86_64 Provides: nginx-log-collector = 0.2-1 nginx-log-collector(x86-64) = 0.2-1 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 /usr/bin/getent /usr/sbin/useradd Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh /usr/sbin/userdel 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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nginx-log-collector-0.2-1.x86_64 Wrote: /builddir/build/RPMS/nginx-log-collector-0.2-1.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Ijp2OY + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/nginx-log-collector-0.2-1.x86_64 + exit 0 Child return code was: 0