Mock Version: 1.4.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/zookeeper-lite.spec'], chrootPath='/var/lib/mock/655298-epel-7-x86_64-1509149142/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=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/zookeeper-lite.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 warning: Could not canonicalize hostname: copr-builder-629744945.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/zookeeper-lite-3.4.10-2.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/zookeeper-lite.spec'], chrootPath='/var/lib/mock/655298-epel-7-x86_64-1509149142/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=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/zookeeper-lite.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.wtGk9L + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf zookeeper-3.4.10 + /usr/bin/gzip -dc /builddir/build/SOURCES/zookeeper-3.4.10.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd zookeeper-3.4.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -name '*.jar' -o -name '*.class' -delete + rm ./src/java/main/org/apache/zookeeper/server/NettyServerCnxn.java ./src/java/main/org/apache/zookeeper/server/NettyServerCnxnFactory.java + cat + sed -i 's|depends="ivy-retrieve,|depends="|' build.xml + sed -i 's|||' build.xml + sed -i 's|||' build.xml + sed -i 's|||' build.xml + sed -i 's|||' build.xml + sed -i 's|dataDir=/tmp/zookeeper|dataDir=/var/lib/zookeeper|' conf/zoo_sample.cfg + cp /builddir/build/SOURCES/pom.template src/ + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OAEy2Z + umask 022 + cd /builddir/build/BUILD + cd zookeeper-3.4.10 + JAVA_HOME=/usr/lib/jvm/java + ant jar Buildfile: /builddir/build/BUILD/zookeeper-3.4.10/build.xml clover.setup: clover.info: clover: init: [mkdir] Created dir: /builddir/build/BUILD/zookeeper-3.4.10/build/classes [mkdir] Created dir: /builddir/build/BUILD/zookeeper-3.4.10/build/lib [mkdir] Created dir: /builddir/build/BUILD/zookeeper-3.4.10/build/package/lib [mkdir] Created dir: /builddir/build/BUILD/zookeeper-3.4.10/build/test/lib jute: [javac] Compiling 39 source files to /builddir/build/BUILD/zookeeper-3.4.10/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 1 warning compile_jute_uptodate: compile_jute: [java] ../../zookeeper.jute Parsed Successfully [java] ../../zookeeper.jute Parsed Successfully ver-gen: [javac] Compiling 1 source file to /builddir/build/BUILD/zookeeper-3.4.10/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] 1 warning git-revision: [mkdir] Created dir: /builddir/build/BUILD/zookeeper-3.4.10/.revision [exec] /builddir/build/BUILD/zookeeper-3.4.10/src/lastRevision.sh: line 19: git: command not found version-info: [java] Unknown REVISION number, using -1 build-generated: [javac] Compiling 57 source files to /builddir/build/BUILD/zookeeper-3.4.10/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] 1 warning compile: [javac] Compiling 167 source files to /builddir/build/BUILD/zookeeper-3.4.10/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6 [javac] /builddir/build/BUILD/zookeeper-3.4.10/src/java/main/org/apache/zookeeper/JLineZNodeCompletor.java:33: warning: [rawtypes] found raw type: List [javac] public int complete(String buffer, int cursor, List candidates) { [javac] ^ [javac] missing type arguments for generic class List [javac] where E is a type-variable: [javac] E extends Object declared in interface List [javac] /builddir/build/BUILD/zookeeper-3.4.10/src/java/main/org/apache/zookeeper/Shell.java:276: warning: [serial] serializable class ExitCodeException has no definition of serialVersionUID [javac] public static class ExitCodeException extends IOException { [javac] ^ [javac] /builddir/build/BUILD/zookeeper-3.4.10/src/java/main/org/apache/zookeeper/ZooKeeperMain.java:313: warning: [rawtypes] found raw type: Class [javac] Class consoleC = Class.forName("jline.ConsoleReader"); [javac] ^ [javac] missing type arguments for generic class Class [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] /builddir/build/BUILD/zookeeper-3.4.10/src/java/main/org/apache/zookeeper/ZooKeeperMain.java:314: warning: [rawtypes] found raw type: Class [javac] Class completorC = [javac] ^ [javac] missing type arguments for generic class Class [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] /builddir/build/BUILD/zookeeper-3.4.10/src/java/main/org/apache/zookeeper/server/ServerCnxn.java:318: warning: [unchecked] unchecked generic array creation for varargs parameter of type Map[] [javac] LOG.info("The list of known four letter word commands is : {}", Arrays.asList(cmd2String)); [javac] ^ [javac] /builddir/build/BUILD/zookeeper-3.4.10/src/java/main/org/apache/zookeeper/server/ServerCnxn.java:319: warning: [unchecked] unchecked generic array creation for varargs parameter of type Set[] [javac] LOG.info("The list of enabled four letter word commands is : {}", Arrays.asList(whiteListedCommands)); [javac] ^ [javac] /builddir/build/BUILD/zookeeper-3.4.10/src/java/main/org/apache/zookeeper/server/ZooKeeperServer.java:594: warning: [rawtypes] found raw type: ArrayList [javac] acl == null ? new ArrayList() : new ArrayList(acl)); [javac] ^ [javac] missing type arguments for generic class ArrayList [javac] where E is a type-variable: [javac] E extends Object declared in class ArrayList [javac] /builddir/build/BUILD/zookeeper-3.4.10/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java:771: warning: [deprecation] LeaderElection in org.apache.zookeeper.server.quorum has been deprecated [javac] le = new LeaderElection(this); [javac] ^ [javac] /builddir/build/BUILD/zookeeper-3.4.10/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java:774: warning: [deprecation] AuthFastLeaderElection in org.apache.zookeeper.server.quorum has been deprecated [javac] le = new AuthFastLeaderElection(this); [javac] ^ [javac] /builddir/build/BUILD/zookeeper-3.4.10/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java:777: warning: [deprecation] AuthFastLeaderElection in org.apache.zookeeper.server.quorum has been deprecated [javac] le = new AuthFastLeaderElection(this, true); [javac] ^ [javac] /builddir/build/BUILD/zookeeper-3.4.10/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java:798: warning: [deprecation] LeaderElection in org.apache.zookeeper.server.quorum has been deprecated [javac] electionAlg = new LeaderElection(this); [javac] ^ [javac] /builddir/build/BUILD/zookeeper-3.4.10/src/java/main/org/apache/zookeeper/server/util/KerberosUtil.java:39: warning: [rawtypes] found raw type: Class [javac] getInstanceMethod = classRef.getMethod("getInstance", new Class[0]); [javac] ^ [javac] missing type arguments for generic class Class [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] /builddir/build/BUILD/zookeeper-3.4.10/src/java/main/org/apache/zookeeper/server/util/KerberosUtil.java:42: warning: [rawtypes] found raw type: Class [javac] new Class[0]); [javac] ^ [javac] missing type arguments for generic class Class [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] /builddir/build/BUILD/zookeeper-3.4.10/src/java/main/org/apache/zookeeper/server/util/OSMXBean.java:89: warning: [rawtypes] found raw type: Class [javac] new Class[0]); [javac] ^ [javac] missing type arguments for generic class Class [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] 15 warnings jar: [jar] Building jar: /builddir/build/BUILD/zookeeper-3.4.10/build/zookeeper-3.4.10.jar BUILD SUCCESSFUL Total time: 7 seconds + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UL7IEz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/zookeeper-lite-3.4.10-2.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/zookeeper-lite-3.4.10-2.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/zookeeper-lite-3.4.10-2.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/zookeeper-lite-3.4.10-2.el7.centos.x86_64 + cd zookeeper-3.4.10 + install -p -D -m 644 build/zookeeper-3.4.10.jar /builddir/build/BUILDROOT/zookeeper-lite-3.4.10-2.el7.centos.x86_64/usr/share/java/zookeeper.jar + install -d -m 755 /builddir/build/BUILDROOT/zookeeper-lite-3.4.10-2.el7.centos.x86_64/etc/zookeeper + install -p -D -m 644 conf/configuration.xsl conf/log4j.properties /builddir/build/BUILDROOT/zookeeper-lite-3.4.10-2.el7.centos.x86_64/etc/zookeeper + install -p -D -m 644 conf/zoo_sample.cfg /builddir/build/BUILDROOT/zookeeper-lite-3.4.10-2.el7.centos.x86_64/etc/zookeeper/zoo.cfg + install -p -D -m 644 /builddir/build/SOURCES/zookeeper.service /builddir/build/BUILDROOT/zookeeper-lite-3.4.10-2.el7.centos.x86_64/usr/lib/systemd/system/zookeeper.service + install -d -m 755 /builddir/build/BUILDROOT/zookeeper-lite-3.4.10-2.el7.centos.x86_64/etc/sysconfig/ ++ build-classpath jline log4j + echo CLASSPATH=/usr/share/java/jline.jar:/usr/share/java/log4j.jar:/usr/share/java/slf4j/slf4j-api.jar:/usr/share/java/slf4j/slf4j-log4j12.jar:/usr/share/java/zookeeper.jar + echo ZK_HEAP_LIMIT=2g + install -d -m 750 /builddir/build/BUILDROOT/zookeeper-lite-3.4.10-2.el7.centos.x86_64/var/log/zookeeper + install -d -m 750 /builddir/build/BUILDROOT/zookeeper-lite-3.4.10-2.el7.centos.x86_64/var/lib/zookeeper + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/zookeeper-3.4.10 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /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: zookeeper-lite-3.4.10-2.el7.centos.x86_64 Provides: osgi(org.apache.hadoop.zookeeper) = 3.4.10 zookeeper zookeeper-lite = 3.4.10-2.el7.centos zookeeper-lite(x86-64) = 3.4.10-2.el7.centos 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 Processing files: zookeeper-lite-debuginfo-3.4.10-2.el7.centos.x86_64 Provides: zookeeper-lite-debuginfo = 3.4.10-2.el7.centos zookeeper-lite-debuginfo(x86-64) = 3.4.10-2.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/zookeeper-lite-3.4.10-2.el7.centos.x86_64 Wrote: /builddir/build/RPMS/zookeeper-lite-3.4.10-2.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/zookeeper-lite-debuginfo-3.4.10-2.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.sKMaTB + umask 022 + cd /builddir/build/BUILD + cd zookeeper-3.4.10 + /usr/bin/rm -rf /builddir/build/BUILDROOT/zookeeper-lite-3.4.10-2.el7.centos.x86_64 + exit 0 Child return code was: 0