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/1156203-epel-7-x86_64-1579363928.275949/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.r7pfgxfe:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r7pfgxfe:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5e54c0e2f1a64e9faa20e0c403e6d343', '-D', '/var/lib/mock/1156203-epel-7-x86_64-1579363928.275949/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r7pfgxfe:/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/1156203-epel-7-x86_64-1579363928.275949/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.r7pfgxfe:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r7pfgxfe:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9902b191b38849619402c2545d25a920', '-D', '/var/lib/mock/1156203-epel-7-x86_64-1579363928.275949/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.r7pfgxfe:/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.eGHhzp + 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'... remote: Enumerating objects: 43, done. remote: Counting objects: 2% (1/43) remote: Counting objects: 4% (2/43) remote: Counting objects: 6% (3/43) remote: Counting objects: 9% (4/43) remote: Counting objects: 11% (5/43) remote: Counting objects: 13% (6/43) remote: Counting objects: 16% (7/43) remote: Counting objects: 18% (8/43) remote: Counting objects: 20% (9/43) remote: Counting objects: 23% (10/43) remote: Counting objects: 25% (11/43) remote: Counting objects: 27% (12/43) remote: Counting objects: 30% (13/43) remote: Counting objects: 32% (14/43) remote: Counting objects: 34% (15/43) remote: Counting objects: 37% (16/43) remote: Counting objects: 39% (17/43) remote: Counting objects: 41% (18/43) remote: Counting objects: 44% (19/43) remote: Counting objects: 46% (20/43) remote: Counting objects: 48% (21/43) remote: Counting objects: 51% (22/43) remote: Counting objects: 53% (23/43) remote: Counting objects: 55% (24/43) remote: Counting objects: 58% (25/43) remote: Counting objects: 60% (26/43) remote: Counting objects: 62% (27/43) remote: Counting objects: 65% (28/43) remote: Counting objects: 67% (29/43) remote: Counting objects: 69% (30/43) remote: Counting objects: 72% (31/43) remote: Counting objects: 74% (32/43) remote: Counting objects: 76% (33/43) remote: Counting objects: 79% (34/43) remote: Counting objects: 81% (35/43) remote: Counting objects: 83% (36/43) remote: Counting objects: 86% (37/43) remote: Counting objects: 88% (38/43) remote: Counting objects: 90% (39/43) remote: Counting objects: 93% (40/43) remote: Counting objects: 95% (41/43) remote: Counting objects: 97% (42/43) remote: Counting objects: 100% (43/43) remote: Counting objects: 100% (43/43), done. remote: Compressing objects: 2% (1/37) remote: Compressing objects: 5% (2/37) remote: Compressing objects: 8% (3/37) remote: Compressing objects: 10% (4/37) remote: Compressing objects: 13% (5/37) remote: Compressing objects: 16% (6/37) remote: Compressing objects: 18% (7/37) remote: Compressing objects: 21% (8/37) remote: Compressing objects: 24% (9/37) remote: Compressing objects: 27% (10/37) remote: Compressing objects: 29% (11/37) remote: Compressing objects: 32% (12/37) remote: Compressing objects: 35% (13/37) remote: Compressing objects: 37% (14/37) remote: Compressing objects: 40% (15/37) remote: Compressing objects: 43% (16/37) remote: Compressing objects: 45% (17/37) remote: Compressing objects: 48% (18/37) remote: Compressing objects: 51% (19/37) remote: Compressing objects: 54% (20/37) remote: Compressing objects: 56% (21/37) remote: Compressing objects: 59% (22/37) remote: Compressing objects: 62% (23/37) remote: Compressing objects: 64% (24/37) remote: Compressing objects: 67% (25/37) remote: Compressing objects: 70% (26/37) remote: Compressing objects: 72% (27/37) remote: Compressing objects: 75% (28/37) remote: Compressing objects: 78% (29/37) remote: Compressing objects: 81% (30/37) remote: Compressing objects: 83% (31/37) remote: Compressing objects: 86% (32/37) remote: Compressing objects: 89% (33/37) remote: Compressing objects: 91% (34/37) remote: Compressing objects: 94% (35/37) remote: Compressing objects: 97% (36/37) remote: Compressing objects: 100% (37/37) remote: Compressing objects: 100% (37/37), done. Receiving objects: 0% (1/104) Receiving objects: 1% (2/104) Receiving objects: 2% (3/104) Receiving objects: 3% (4/104) Receiving objects: 4% (5/104) Receiving objects: 5% (6/104) Receiving objects: 6% (7/104) Receiving objects: 7% (8/104) Receiving objects: 8% (9/104) Receiving objects: 9% (10/104) Receiving objects: 10% (11/104) Receiving objects: 11% (12/104) Receiving objects: 12% (13/104) Receiving objects: 13% (14/104) Receiving objects: 14% (15/104) Receiving objects: 15% (16/104) Receiving objects: 16% (17/104) Receiving objects: 17% (18/104) Receiving objects: 18% (19/104) Receiving objects: 19% (20/104) Receiving objects: 20% (21/104) Receiving objects: 21% (22/104) Receiving objects: 22% (23/104) Receiving objects: 23% (24/104) Receiving objects: 24% (25/104) Receiving objects: 25% (26/104) Receiving objects: 26% (28/104) Receiving objects: 27% (29/104) Receiving objects: 28% (30/104) Receiving objects: 29% (31/104) Receiving objects: 30% (32/104) Receiving objects: 31% (33/104) Receiving objects: 32% (34/104) remote: Total 104 (delta 11), reused 23 (delta 4), pack-reused 61 Receiving objects: 33% (35/104) Receiving objects: 34% (36/104) Receiving objects: 35% (37/104) Receiving objects: 36% (38/104) Receiving objects: 37% (39/104) Receiving objects: 38% (40/104) Receiving objects: 39% (41/104) Receiving objects: 40% (42/104) Receiving objects: 41% (43/104) Receiving objects: 42% (44/104) Receiving objects: 43% (45/104) Receiving objects: 44% (46/104) Receiving objects: 45% (47/104) Receiving objects: 46% (48/104) Receiving objects: 47% (49/104) Receiving objects: 48% (50/104) Receiving objects: 49% (51/104) Receiving objects: 50% (52/104) Receiving objects: 51% (54/104) Receiving objects: 52% (55/104) Receiving objects: 53% (56/104) Receiving objects: 54% (57/104) Receiving objects: 55% (58/104) Receiving objects: 56% (59/104) Receiving objects: 57% (60/104) Receiving objects: 58% (61/104) Receiving objects: 59% (62/104) Receiving objects: 60% (63/104) Receiving objects: 61% (64/104) Receiving objects: 62% (65/104) Receiving objects: 63% (66/104) Receiving objects: 64% (67/104) Receiving objects: 65% (68/104) Receiving objects: 66% (69/104) Receiving objects: 67% (70/104) Receiving objects: 68% (71/104) Receiving objects: 69% (72/104) Receiving objects: 70% (73/104) Receiving objects: 71% (74/104) Receiving objects: 72% (75/104) Receiving objects: 73% (76/104) Receiving objects: 74% (77/104) Receiving objects: 75% (78/104) Receiving objects: 76% (80/104) Receiving objects: 77% (81/104) Receiving objects: 78% (82/104) Receiving objects: 79% (83/104) Receiving objects: 80% (84/104) Receiving objects: 81% (85/104) Receiving objects: 82% (86/104) Receiving objects: 83% (87/104) Receiving objects: 84% (88/104) Receiving objects: 85% (89/104) Receiving objects: 86% (90/104) Receiving objects: 87% (91/104) Receiving objects: 88% (92/104) Receiving objects: 89% (93/104) Receiving objects: 90% (94/104) Receiving objects: 91% (95/104) Receiving objects: 92% (96/104) Receiving objects: 93% (97/104) Receiving objects: 94% (98/104) Receiving objects: 95% (99/104) Receiving objects: 96% (100/104) Receiving objects: 97% (101/104) Receiving objects: 98% (102/104) Receiving objects: 99% (103/104) Receiving objects: 100% (104/104) Receiving objects: 100% (104/104), 63.41 KiB | 0 bytes/s, done. Resolving deltas: 0% (0/14) Resolving deltas: 7% (1/14) Resolving deltas: 14% (2/14) Resolving deltas: 21% (3/14) Resolving deltas: 50% (7/14) Resolving deltas: 71% (10/14) Resolving deltas: 78% (11/14) Resolving deltas: 92% (13/14) Resolving deltas: 100% (14/14) Resolving deltas: 100% (14/14), done. + 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 clickhouse etc nginx-log-collector.go receiver utils README.md config go.mod parser service backlog doc go.sum processor uploader + make build go clean go: downloading github.com/rs/zerolog v1.9.1 go: downloading github.com/pkg/errors v0.8.0 go: downloading gopkg.in/yaml.v2 v2.2.1 go: downloading github.com/buger/jsonparser v0.0.0-20180910192245-6acdf747ae99 go: downloading github.com/valyala/fastjson v0.0.0-20180829103600-37952265e1c0 go: downloading gopkg.in/alexcesaro/statsd.v2 v2.0.0 go: extracting github.com/pkg/errors v0.8.0 go: extracting gopkg.in/alexcesaro/statsd.v2 v2.0.0 go: extracting github.com/buger/jsonparser v0.0.0-20180910192245-6acdf747ae99 go: extracting github.com/rs/zerolog v1.9.1 go: extracting gopkg.in/yaml.v2 v2.2.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=1579363997-3891d0e9-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.0vOEwz + 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.m9Rqn1 + 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