Mock Version: 2.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/fluent-bit-clickhouse.spec'], chrootPath='/var/lib/mock/1285303-epel-7-x86_64-1583407755.470667/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.lm5z9fil:/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.lm5z9fil:/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', '5817349130f34b7a8b4324bace57a952', '-D', '/var/lib/mock/1285303-epel-7-x86_64-1583407755.470667/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lm5z9fil:/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/fluent-bit-clickhouse.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/fluent-bit-clickhouse-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/fluent-bit-clickhouse.spec'], chrootPath='/var/lib/mock/1285303-epel-7-x86_64-1583407755.470667/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.lm5z9fil:/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.lm5z9fil:/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', 'eb83d3d6634c4825b16c91c984c6f317', '-D', '/var/lib/mock/1285303-epel-7-x86_64-1583407755.470667/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.lm5z9fil:/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/fluent-bit-clickhouse.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.VXvbNN + umask 022 + cd /builddir/build/BUILD /builddir/build/BUILD/_build + export GOPATH=/builddir/build/BUILD/_build + GOPATH=/builddir/build/BUILD/_build + echo /builddir/build/BUILD/_build + mkdir -p /builddir/build/BUILD/_build/src/github.com/iyacontrol/ + git clone https://github.com/iyacontrol/fluent-bit-clickhouse.git /builddir/build/BUILD/_build/src/github.com/iyacontrol/fluent-bit-clickhouse Cloning into '/builddir/build/BUILD/_build/src/github.com/iyacontrol/fluent-bit-clickhouse'... + cd /builddir/build/BUILD/_build/src/github.com/iyacontrol/fluent-bit-clickhouse + ls /builddir/build/BUILD/_build/src/github.com/iyacontrol/fluent-bit-clickhouse Dockerfile LICENSE README.md clickhouse flatten.go go.mod go.sum out_clickhouse.go shema.sql vendor + go build -buildmode=c-shared -o clickhouse.so go: downloading github.com/fluent/fluent-bit-go v0.0.0-20190925192703-ea13c021720c go: downloading k8s.io/klog v1.0.0 go: downloading github.com/kshvakov/clickhouse v1.3.11 go: extracting k8s.io/klog v1.0.0 go: extracting github.com/fluent/fluent-bit-go v0.0.0-20190925192703-ea13c021720c go: downloading github.com/ugorji/go v1.1.7 go: extracting github.com/ugorji/go v1.1.7 go: downloading github.com/ugorji/go/codec v1.1.7 go: extracting github.com/kshvakov/clickhouse v1.3.11 go: extracting github.com/ugorji/go/codec v1.1.7 go: finding github.com/fluent/fluent-bit-go v0.0.0-20190925192703-ea13c021720c go: finding github.com/kshvakov/clickhouse v1.3.11 go: finding k8s.io/klog v1.0.0 go: finding github.com/ugorji/go/codec v1.1.7 + cp clickhouse.so ../../../../../clickhouse.so + cd - /builddir/build/BUILD + ls _build clickhouse.so /builddir/build/BUILD + pwd + find . -name clickhouse.so ./clickhouse.so ./_build/src/github.com/iyacontrol/fluent-bit-clickhouse/clickhouse.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.47jrFW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/fluent-bit-clickhouse-0.2-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/fluent-bit-clickhouse-0.2-1.x86_64 ++ dirname /builddir/build/BUILDROOT/fluent-bit-clickhouse-0.2-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/fluent-bit-clickhouse-0.2-1.x86_64 + ls _build clickhouse.so + pwd /builddir/build/BUILD + install -d /builddir/build/BUILDROOT/fluent-bit-clickhouse-0.2-1.x86_64/var/lib/fluent-bit/ + install -p -m 0755 clickhouse.so /builddir/build/BUILDROOT/fluent-bit-clickhouse-0.2-1.x86_64/var/lib/fluent-bit/clickhouse.so + /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: fluent-bit-clickhouse-0.2-1.x86_64 Provides: fluent-bit-clickhouse = 0.2-1 fluent-bit-clickhouse(x86-64) = 0.2-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /usr/bin/getent /usr/sbin/useradd Requires(postun): /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) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/fluent-bit-clickhouse-0.2-1.x86_64 Wrote: /builddir/build/RPMS/fluent-bit-clickhouse-0.2-1.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JfwWSl + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/fluent-bit-clickhouse-0.2-1.x86_64 + exit 0 Child return code was: 0