Mock Version: 1.4.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/kafka.spec'], chrootPath='/var/lib/mock/1031985-epel-7-x86_64-1568224979.418497/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.rqkplrny:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rqkplrny:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '911de32cf4184fa19dbd47cfb95abb06', '-D', '/var/lib/mock/1031985-epel-7-x86_64-1568224979.418497/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rqkplrny:/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/kafka.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/kafka-2.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/kafka.spec'], chrootPath='/var/lib/mock/1031985-epel-7-x86_64-1568224979.418497/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.rqkplrny:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rqkplrny:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '20da73c7a35c491a93e1fc5e9c63d140', '-D', '/var/lib/mock/1031985-epel-7-x86_64-1568224979.418497/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rqkplrny:/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/kafka.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.UTd7dQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kafka_2.12-2.3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/kafka_2.12-2.3.0.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd kafka_2.12-2.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.eohLnh + umask 022 + cd /builddir/build/BUILD + cd kafka_2.12-2.3.0 + rm -f libs/kafka_2.12-2.3.0-javadoc.jar libs/kafka_2.12-2.3.0-scaladoc.jar libs/kafka_2.12-2.3.0-sources.jar libs/kafka_2.12-2.3.0-test-sources.jar libs/kafka_2.12-2.3.0-test.jar + sed -i '/^base_dir=.*/a \\n## Load system classpath for RPM install\nCLASSPATH=$(build-classpath kafka)' bin/kafka-run-class.sh + sed -i 's:^log.dirs=.*:log.dirs=/var/log/kafka:' config/server.properties + rm -f config/zookeeper.properties + rm -f bin/zookeeper-security-migration.sh bin/zookeeper-server-start.sh bin/zookeeper-server-stop.sh bin/zookeeper-shell.sh + rm -rf bin/windows + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.42NTzI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64 + cd kafka_2.12-2.3.0 + mkdir -p /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64/usr/share/kafka/bin /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64/usr/share/kafka/config + mkdir -p /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64/var/log/kafka + mkdir -p /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64/usr/lib/systemd/system + mkdir -p /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64/etc/kafka + mkdir -p /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64/usr/share/java/kafka + install -p -D -m 755 bin/connect-distributed.sh bin/connect-standalone.sh bin/kafka-acls.sh bin/kafka-broker-api-versions.sh bin/kafka-configs.sh bin/kafka-console-consumer.sh bin/kafka-console-producer.sh bin/kafka-consumer-groups.sh bin/kafka-consumer-perf-test.sh bin/kafka-delegation-tokens.sh bin/kafka-delete-records.sh bin/kafka-dump-log.sh bin/kafka-log-dirs.sh bin/kafka-mirror-maker.sh bin/kafka-preferred-replica-election.sh bin/kafka-producer-perf-test.sh bin/kafka-reassign-partitions.sh bin/kafka-replica-verification.sh bin/kafka-run-class.sh bin/kafka-server-start.sh bin/kafka-server-stop.sh bin/kafka-streams-application-reset.sh bin/kafka-topics.sh bin/kafka-verifiable-consumer.sh bin/kafka-verifiable-producer.sh bin/trogdor.sh /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64/usr/share/kafka/bin + install -p -D -m 644 config/connect-console-sink.properties config/connect-console-source.properties config/connect-distributed.properties config/connect-file-sink.properties config/connect-file-source.properties config/connect-log4j.properties config/connect-standalone.properties config/consumer.properties config/log4j.properties config/producer.properties config/server.properties config/tools-log4j.properties config/trogdor.conf /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64/usr/share/kafka/config + install -p -D -m 644 config/server.properties /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64/etc/kafka/ + install -p -D -m 644 libs/activation-1.1.1.jar libs/aopalliance-repackaged-2.5.0.jar libs/argparse4j-0.7.0.jar libs/audience-annotations-0.5.0.jar libs/commons-lang3-3.8.1.jar libs/connect-api-2.3.0.jar libs/connect-basic-auth-extension-2.3.0.jar libs/connect-file-2.3.0.jar libs/connect-json-2.3.0.jar libs/connect-runtime-2.3.0.jar libs/connect-transforms-2.3.0.jar libs/guava-20.0.jar libs/hk2-api-2.5.0.jar libs/hk2-locator-2.5.0.jar libs/hk2-utils-2.5.0.jar libs/jackson-annotations-2.9.9.jar libs/jackson-core-2.9.9.jar libs/jackson-databind-2.9.9.jar libs/jackson-dataformat-csv-2.9.9.jar libs/jackson-datatype-jdk8-2.9.9.jar libs/jackson-jaxrs-base-2.9.9.jar libs/jackson-jaxrs-json-provider-2.9.9.jar libs/jackson-module-jaxb-annotations-2.9.9.jar libs/jackson-module-paranamer-2.9.9.jar libs/jackson-module-scala_2.12-2.9.9.jar libs/jakarta.annotation-api-1.3.4.jar libs/jakarta.inject-2.5.0.jar libs/jakarta.ws.rs-api-2.1.5.jar libs/javassist-3.22.0-CR2.jar libs/javax.servlet-api-3.1.0.jar libs/javax.ws.rs-api-2.1.1.jar libs/jaxb-api-2.3.0.jar libs/jersey-client-2.28.jar libs/jersey-common-2.28.jar libs/jersey-container-servlet-2.28.jar libs/jersey-container-servlet-core-2.28.jar libs/jersey-hk2-2.28.jar libs/jersey-media-jaxb-2.28.jar libs/jersey-server-2.28.jar libs/jetty-client-9.4.18.v20190429.jar libs/jetty-continuation-9.4.18.v20190429.jar libs/jetty-http-9.4.18.v20190429.jar libs/jetty-io-9.4.18.v20190429.jar libs/jetty-security-9.4.18.v20190429.jar libs/jetty-server-9.4.18.v20190429.jar libs/jetty-servlet-9.4.18.v20190429.jar libs/jetty-servlets-9.4.18.v20190429.jar libs/jetty-util-9.4.18.v20190429.jar libs/jopt-simple-5.0.4.jar libs/jsr305-3.0.2.jar libs/kafka-clients-2.3.0.jar libs/kafka-log4j-appender-2.3.0.jar libs/kafka-streams-2.3.0.jar libs/kafka-streams-examples-2.3.0.jar libs/kafka-streams-scala_2.12-2.3.0.jar libs/kafka-streams-test-utils-2.3.0.jar libs/kafka-tools-2.3.0.jar libs/kafka_2.12-2.3.0-javadoc.jar.asc libs/kafka_2.12-2.3.0-scaladoc.jar.asc libs/kafka_2.12-2.3.0-sources.jar.asc libs/kafka_2.12-2.3.0-test-sources.jar.asc libs/kafka_2.12-2.3.0-test.jar.asc libs/kafka_2.12-2.3.0.jar libs/kafka_2.12-2.3.0.jar.asc libs/log4j-1.2.17.jar libs/lz4-java-1.6.0.jar libs/maven-artifact-3.6.1.jar libs/metrics-core-2.2.0.jar libs/osgi-resource-locator-1.0.1.jar libs/paranamer-2.8.jar libs/plexus-utils-3.2.0.jar libs/reflections-0.9.11.jar libs/rocksdbjni-5.18.3.jar libs/scala-library-2.12.8.jar libs/scala-logging_2.12-3.9.0.jar libs/scala-reflect-2.12.8.jar libs/slf4j-api-1.7.26.jar libs/slf4j-log4j12-1.7.26.jar libs/snappy-java-1.1.7.3.jar libs/spotbugs-annotations-3.1.9.jar libs/validation-api-2.0.1.Final.jar libs/zkclient-0.11.jar libs/zookeeper-3.4.14.jar libs/zstd-jni-1.4.0-1.jar /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64/usr/share/java/kafka + install -p -D -m 755 /builddir/build/SOURCES/kafka.service /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64/usr/lib/systemd/system/kafka.service + install -p -D -m 644 /builddir/build/SOURCES/kafka.logrotate /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64/etc/logrotate.d/kafka + install -p -D -m 644 /builddir/build/SOURCES/kafka.sysconfig /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64/etc/sysconfig/kafka + install -p -D -m 644 /builddir/build/SOURCES/log4j.properties /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64/etc/kafka/log4j.properties + /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 Processing files: kafka-2.3.0-1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wN5gva + umask 022 + cd /builddir/build/BUILD + cd kafka_2.12-2.3.0 + DOCDIR=/builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64/usr/share/doc/kafka-2.3.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64/usr/share/doc/kafka-2.3.0 + cp -pr NOTICE /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64/usr/share/doc/kafka-2.3.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.QekZrC + umask 022 + cd /builddir/build/BUILD + cd kafka_2.12-2.3.0 + LICENSEDIR=/builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64/usr/share/licenses/kafka-2.3.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64/usr/share/licenses/kafka-2.3.0 + cp -pr LICENSE /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64/usr/share/licenses/kafka-2.3.0 + exit 0 Provides: config(kafka) = 2.3.0-1.el7 kafka = 2.3.0 kafka = 2.3.0-1.el7 kafka(x86-64) = 2.3.0-1.el7 kafka-server = 2.3.0 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 systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /bin/bash /bin/sh /usr/bin/env Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64 Wrote: /builddir/build/RPMS/kafka-2.3.0-1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2VtcFM + umask 022 + cd /builddir/build/BUILD + cd kafka_2.12-2.3.0 + rm -rf /builddir/build/BUILDROOT/kafka-2.3.0-1.el7.x86_64 + exit 0 Child return code was: 0