Mock Version: 1.2.21 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/heketi.spec'], logger=uid=1001printOutput=Falsegid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'TERM': 'vt100'}chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-4628/root'shell=Falsetimeout=0) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/heketi.spec'] with env {'LANG': 'en_US.UTF-8', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'TERM': 'vt100'} and shell False sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory warning: Could not canonicalize hostname: copr-builder-12219455.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/heketi-3.0.0-1.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/heketi.spec'], logger=uid=1001printOutput=Falsegid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'TERM': 'vt100'}chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-4628/root'shell=Falsetimeout=0private_network=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/heketi.spec'] with env {'LANG': 'en_US.UTF-8', 'PS1': ' \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'TERM': 'vt100'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Z3liuT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf heketi-c6ad9de + /usr/bin/tar -xf - + /usr/bin/gzip -dc /builddir/build/SOURCES/heketi-c6ad9de.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd heketi-c6ad9de + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UIqv16 + umask 022 + cd /builddir/build/BUILD + cd heketi-c6ad9de + mkdir -p src/github.com/heketi ++ pwd + ln -s /builddir/build/BUILD/heketi-c6ad9de src/github.com/heketi/heketi ++ pwd + cp -a /builddir/build/BUILD/heketi-c6ad9de/vendor/github.com /builddir/build/BUILD/heketi-c6ad9de/vendor/golang.org /builddir/build/BUILD/heketi-c6ad9de/vendor/google.golang.org /builddir/build/BUILD/heketi-c6ad9de/vendor/gopkg.in /builddir/build/BUILD/heketi-c6ad9de/vendor/k8s.io src + mv vendor _vendor ++ pwd + export GOPATH=/builddir/build/BUILD/heketi-c6ad9de:/usr/share/gocode + GOPATH=/builddir/build/BUILD/heketi-c6ad9de:/usr/share/gocode + go build -ldflags '-X main.HEKETI_VERSION 3.0.0 -B 0xb91d41c9e4fb7942ed624728b702955da4eef280 -s' -o heketi # _/builddir/build/BUILD/heketi-c6ad9de link: warning: option -X main.HEKETI_VERSION 3.0.0 may not work in future releases; use -X main.HEKETI_VERSION=3.0.0 + cd client/cli/go + go build -ldflags '-X main.HEKETI_CLI_VERSION 3.0.0 -B 0x44ff4a36a78d17832119fd70fb50fac03d2e83a5 -s' -o heketi-cli # _/builddir/build/BUILD/heketi-c6ad9de/client/cli/go link: warning: option -X main.HEKETI_CLI_VERSION 3.0.0 may not work in future releases; use -X main.HEKETI_CLI_VERSION=3.0.0 + cd ../../.. + cd client/api/python + /usr/bin/python2 setup.py build running build running build_py creating build creating build/lib creating build/lib/heketi copying heketi/heketi.py -> build/lib/heketi copying heketi/__init__.py -> build/lib/heketi + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3BzFPd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64 + cd heketi-c6ad9de + cd client/api/python + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr creating /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/lib creating /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/heketi copying build/lib/heketi/__init__.py -> /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/heketi copying build/lib/heketi/heketi.py -> /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/heketi byte-compiling /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/heketi/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/heketi/heketi.py to heketi.pyc writing byte-compilation script '/tmp/tmpai0oet.py' /usr/bin/python2 -O /tmp/tmpai0oet.py removing /tmp/tmpai0oet.py running install_egg_info running egg_info creating heketi.egg-info writing requirements to heketi.egg-info/requires.txt writing heketi.egg-info/PKG-INFO writing top-level names to heketi.egg-info/top_level.txt writing dependency_links to heketi.egg-info/dependency_links.txt writing manifest file 'heketi.egg-info/SOURCES.txt' reading manifest file 'heketi.egg-info/SOURCES.txt' writing manifest file 'heketi.egg-info/SOURCES.txt' Copying heketi.egg-info to /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/lib/python2.7/site-packages/heketi-1.2.0-py2.7.egg-info running install_scripts + cd ../../.. + install -D -p -m 0755 client/cli/go/heketi-cli.sh /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/bash-completion/completions/heketi-cli.sh + install -D -p -m 0755 heketi /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/bin/heketi + install -D -p -m 0755 client/cli/go/heketi-cli /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/bin/heketi-cli + install -d -m 0755 /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/etc/heketi + install -m 644 -t /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/etc/heketi /builddir/build/SOURCES/heketi.json + install -D -p -m 0644 doc/man/heketi-cli.8 /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/man/man8/heketi-cli.8 + install -D -p -m 0644 client/cli/go/topology-sample.json /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/heketi/topology-sample.json + install -D -p -m 0644 extras/openshift/templates/glusterfs-template.json /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/heketi/templates/glusterfs-template.json + install -D -p -m 0644 extras/openshift/templates/heketi-template.json /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/heketi/templates/heketi-template.json + install -D -p -m 0644 extras/openshift/templates/deploy-heketi-template.json /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/heketi/templates/deploy-heketi-template.json + install -D -p -m 0644 extras/openshift/endpoint/sample-gluster-endpoint.json /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/heketi/openshift/sample-gluster-endpoint.json + install -D -p -m 0644 extras/openshift/service/sample-gluster-service.json /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/heketi/openshift/sample-gluster-service.json + install -D -p -m 0644 /builddir/build/SOURCES/heketi.service /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/lib/systemd/system/heketi.service + install -d -m 0755 /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/var/lib/heketi + /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 Bytecompiling .py files below /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qdBSRl + umask 022 + cd /builddir/build/BUILD Processing files: heketi-3.0.0-1.el7.centos.x86_64 + cd heketi-c6ad9de + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1RHyUt + umask 022 + cd /builddir/build/BUILD + cd heketi-c6ad9de + DOCDIR=/builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/doc/heketi-3.0.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/doc/heketi-3.0.0 + cp -pr README.md /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/doc/heketi-3.0.0 + cp -pr AUTHORS /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/doc/heketi-3.0.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.W5MzYB + umask 022 + cd /builddir/build/BUILD + cd heketi-c6ad9de + LICENSEDIR=/builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/licenses/heketi-3.0.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/licenses/heketi-3.0.0 + cp -pr LICENSE /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/licenses/heketi-3.0.0 + exit 0 Provides: config(heketi) = 3.0.0-1.el7.centos heketi = 3.0.0-1.el7.centos heketi(x86-64) = 3.0.0-1.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 shadow-utils Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd 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) Processing files: heketi-client-3.0.0-1.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JWRWPK + umask 022 + cd /builddir/build/BUILD + cd heketi-c6ad9de + DOCDIR=/builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/doc/heketi-client-3.0.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/doc/heketi-client-3.0.0 + cp -pr README.md /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/doc/heketi-client-3.0.0 + cp -pr AUTHORS /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/doc/heketi-client-3.0.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.OyegIT + umask 022 + cd /builddir/build/BUILD + cd heketi-c6ad9de + LICENSEDIR=/builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/licenses/heketi-client-3.0.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/licenses/heketi-client-3.0.0 + cp -pr LICENSE /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/licenses/heketi-client-3.0.0 + exit 0 Provides: heketi-client = 3.0.0-1.el7.centos heketi-client(x86-64) = 3.0.0-1.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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) Processing files: heketi-templates-3.0.0-1.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.j9zuf3 + umask 022 + cd /builddir/build/BUILD + cd heketi-c6ad9de + DOCDIR=/builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/doc/heketi-templates-3.0.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/doc/heketi-templates-3.0.0 + cp -pr README.md /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/doc/heketi-templates-3.0.0 + cp -pr AUTHORS /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/doc/heketi-templates-3.0.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.SVj2Nc + umask 022 + cd /builddir/build/BUILD + cd heketi-c6ad9de + LICENSEDIR=/builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/licenses/heketi-templates-3.0.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/licenses/heketi-templates-3.0.0 + cp -pr LICENSE /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/licenses/heketi-templates-3.0.0 + exit 0 Provides: heketi-templates = 3.0.0-1.el7.centos heketi-templates(x86-64) = 3.0.0-1.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python-heketi-3.0.0-1.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RP3WDm + umask 022 + cd /builddir/build/BUILD + cd heketi-c6ad9de + DOCDIR=/builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/doc/python-heketi-3.0.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/doc/python-heketi-3.0.0 + cp -pr README.md /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/doc/python-heketi-3.0.0 + cp -pr AUTHORS /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/doc/python-heketi-3.0.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.YBGSuw + umask 022 + cd /builddir/build/BUILD + cd heketi-c6ad9de + LICENSEDIR=/builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/licenses/python-heketi-3.0.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/licenses/python-heketi-3.0.0 + cp -pr LICENSE /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64/usr/share/licenses/python-heketi-3.0.0 + exit 0 Provides: python-heketi = 3.0.0-1.el7.centos python-heketi(x86-64) = 3.0.0-1.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64 Wrote: /builddir/build/RPMS/heketi-3.0.0-1.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/heketi-client-3.0.0-1.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/heketi-templates-3.0.0-1.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/python-heketi-3.0.0-1.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hKRTCp + umask 022 + cd /builddir/build/BUILD + cd heketi-c6ad9de + /usr/bin/rm -rf /builddir/build/BUILDROOT/heketi-3.0.0-1.el7.centos.x86_64 + exit 0 Child return code was: 0