Mock Version: 1.4.7 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/cns-deploy.spec'], chrootPath='/var/lib/mock/682208-epel-7-x86_64-1511971238.893476/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=[]unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8c028835a7e54ab7a48dc6b5f85ab07e', '-D', '/var/lib/mock/682208-epel-7-x86_64-1511971238.893476/root', '-a', '--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/cns-deploy.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: 8c028835a7e54ab7a48dc6b5f85ab07e Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/cns-deploy-5.0.0-54.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/cns-deploy.spec'], chrootPath='/var/lib/mock/682208-epel-7-x86_64-1511971238.893476/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=[]unshare_net=FalseprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '30b9f4ecb3f5474291feabc49f58b98f', '-D', '/var/lib/mock/682208-epel-7-x86_64-1511971238.893476/root', '-a', '--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/cns-deploy.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.J9HKxM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gluster-kubernetes-1.2.0 drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/ -rw-rw-r-- root/root 88 2017-08-24 14:31 gluster-kubernetes-1.2.0/.gitignore -rw-rw-r-- root/root 247 2017-08-24 14:31 gluster-kubernetes-1.2.0/.travis.yml + /usr/bin/gzip -dc /builddir/build/SOURCES/v1.2.0.tar.gz + /usr/bin/tar -xvvf - -rw-rw-r-- root/root 11323 2017-08-24 14:31 gluster-kubernetes-1.2.0/LICENSE -rw-rw-r-- root/root 29 2017-08-24 14:31 gluster-kubernetes-1.2.0/Makefile -rw-rw-r-- root/root 5169 2017-08-24 14:31 gluster-kubernetes-1.2.0/README.md drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/deploy/ -rwxrwxr-x root/root 26474 2017-08-24 14:31 gluster-kubernetes-1.2.0/deploy/gk-deploy -rw-rw-r-- root/root 847 2017-08-24 14:31 gluster-kubernetes-1.2.0/deploy/heketi.json.template drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/deploy/kube-templates/ -rw-rw-r-- root/root 1851 2017-08-24 14:31 gluster-kubernetes-1.2.0/deploy/kube-templates/deploy-heketi-deployment.yaml -rw-rw-r-- root/root 2713 2017-08-24 14:31 gluster-kubernetes-1.2.0/deploy/kube-templates/glusterfs-daemonset.yaml -rw-rw-r-- root/root 1895 2017-08-24 14:31 gluster-kubernetes-1.2.0/deploy/kube-templates/heketi-deployment.yaml -rw-rw-r-- root/root 127 2017-08-24 14:31 gluster-kubernetes-1.2.0/deploy/kube-templates/heketi-service-account.yaml drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/deploy/ocp-templates/ -rw-rw-r-- root/root 2903 2017-08-24 14:31 gluster-kubernetes-1.2.0/deploy/ocp-templates/deploy-heketi-template.yaml -rw-rw-r-- root/root 3601 2017-08-24 14:31 gluster-kubernetes-1.2.0/deploy/ocp-templates/glusterfs-template.yaml -rw-rw-r-- root/root 127 2017-08-24 14:31 gluster-kubernetes-1.2.0/deploy/ocp-templates/heketi-service-account.yaml -rw-rw-r-- root/root 2933 2017-08-24 14:31 gluster-kubernetes-1.2.0/deploy/ocp-templates/heketi-template.yaml -rw-rw-r-- root/root 1161 2017-08-24 14:31 gluster-kubernetes-1.2.0/deploy/topology.json.sample drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/ drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/design/ -rw-rw-r-- root/root 125 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/design/README.md drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/examples/ drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/examples/containerized_heketi_dedicated_gluster/ -rw-rw-r-- root/root 22033 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/examples/containerized_heketi_dedicated_gluster/README.md -rw-rw-r-- root/root 883 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/examples/containerized_heketi_dedicated_gluster/heketi-deployment.yaml -rw-rw-r-- root/root 1849 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/examples/containerized_heketi_dedicated_gluster/heketi.json drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/examples/dynamic_provisioning_external_gluster/ -rw-rw-r-- root/root 16241 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/examples/dynamic_provisioning_external_gluster/README.md drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/examples/gluster-s3-storage-template/ -rw-rw-r-- root/root 7939 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/examples/gluster-s3-storage-template/README.md -rw-rw-r-- root/root 246 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/examples/gluster-s3-storage-template/gluster-s3-storageclass.yaml -rw-rw-r-- root/root 4416 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/examples/gluster-s3-storage-template/gluster-s3-template.yaml drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/examples/hello_world/ -rw-rw-r-- root/root 8001 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/examples/hello_world/README.md -rw-rw-r-- root/root 223 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/examples/hello_world/gluster-pvc.yaml -rw-rw-r-- root/root 262 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/examples/hello_world/gluster-storage-class.yaml -rw-rw-r-- root/root 447 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/examples/hello_world/nginx-pod.yaml -rw-rw-r-- root/root 247 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/examples/sample-gluster-endpoints.yaml -rw-rw-r-- root/root 96 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/examples/sample-gluster-service.yaml drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/presentations/ drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/presentations/2017-03-vault/ -rw-rw-r-- root/root 122023 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/presentations/2017-03-vault/Gluster-in-Kubernetes.pdf -rw-rw-r-- root/root 30160 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/presentations/2017-03-vault/demo-deploy.json -rw-rw-r-- root/root 63935 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/presentations/2017-03-vault/demo-dynamic-provisioning.json -rw-rw-r-- root/root 15666 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/presentations/2017-03-vault/demo-test-heketi.json -rw-rw-r-- root/root 515322 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/presentations/2017.02.05_-_gluster-kubernetes_fosdem.pdf -rw-rw-r-- root/root 14574 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/presentations/2017.02.05_-_gluster-kubernetes_fosdem.png -rw-rw-r-- root/root 1785 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/presentations/README.md -rw-rw-r-- root/root 3155 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/release-maintenance.md -rw-rw-r-- root/root 5024 2017-08-24 14:31 gluster-kubernetes-1.2.0/docs/setup-guide.md drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/ -rw-rw-r-- root/root 58 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/Makefile -rw-rw-r-- root/root 283 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/README.md drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/complex/ -rw-rw-r-- root/root 856 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/complex/README.md -rw-rw-r-- root/root 5072 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/complex/lib.sh -rwxrwxr-x root/root 286 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/complex/run.sh -rwxrwxr-x root/root 271 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/complex/test-dynamic-provisioning.sh -rwxrwxr-x root/root 271 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/complex/test-gk-deploy.sh -rwxrwxr-x root/root 3433 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/complex/test-inside-dynamic-provisioning.sh -rwxrwxr-x root/root 756 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/complex/test-inside-gk-deploy.sh -rwxrwxr-x root/root 102 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/complex/test-setup.sh -rwxrwxr-x root/root 103 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/complex/test-teardown.sh drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/ -rw-rw-r-- root/root 16 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/Makefile -rw-rw-r-- root/root 694 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/README.md drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/common/ -rw-rw-r-- root/root 323 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/common/shell_tests.sh -rwxrwxr-x root/root 3052 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/common/subunit.sh drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/gk-deploy/ -rw-rw-r-- root/root 16 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/gk-deploy/Makefile -rwxrwxr-x root/root 236 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/gk-deploy/run.sh drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/gk-deploy/stubs/ -rwxrwxr-x root/root 442 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/gk-deploy/stubs/cli.sh lrwxrwxrwx root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/gk-deploy/stubs/kubectl -> ./cli.sh lrwxrwxrwx root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/gk-deploy/stubs/oc -> ./cli.sh -rwxrwxr-x root/root 3151 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/gk-deploy/test_gk_deploy_basic.sh -rwxrwxr-x root/root 324 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/run.sh drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/shell/ -rw-rw-r-- root/root 16 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/shell/Makefile -rwxrwxr-x root/root 237 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/shell/run.sh -rwxrwxr-x root/root 556 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/shell/test_realpath.sh -rwxrwxr-x root/root 557 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/shell/test_syntax.sh drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/yaml/ -rw-rw-r-- root/root 16 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/yaml/Makefile -rw-rw-r-- root/root 4721 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/yaml/glusterfs-daemonset-wrong.yaml -rwxrwxr-x root/root 237 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/yaml/run.sh -rwxrwxr-x root/root 948 2017-08-24 14:31 gluster-kubernetes-1.2.0/tests/simple/yaml/test_syntax.sh drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/ -rw-rw-r-- root/root 2500 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/README.md -rw-rw-r-- root/root 2822 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/Vagrantfile -rwxrwxr-x root/root 539 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/ansible-step drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/demo/ -rw-rw-r-- root/root 487 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/demo/README.md -rwxrwxr-x root/root 300 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/demo/demo-deploy.sh -rwxrwxr-x root/root 205 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/demo/demo-dynamic-provisioning.sh -rwxrwxr-x root/root 368 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/demo/demo-inside-deploy.sh -rwxrwxr-x root/root 3228 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/demo/demo-inside-dynamic-provisioning.sh -rwxrwxr-x root/root 141 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/demo/demo-inside-prepare.sh -rwxrwxr-x root/root 125 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/demo/demo-inside-status.sh -rwxrwxr-x root/root 988 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/demo/demo-inside-test-heketi.sh -rwxrwxr-x root/root 337 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/demo/demo-inside-wrapper.sh -rwxrwxr-x root/root 501 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/demo/demo-prepare.sh -rwxrwxr-x root/root 191 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/demo/demo-status.sh -rwxrwxr-x root/root 196 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/demo/demo-test-heketi.sh -rw-rw-r-- root/root 1667 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/demo/util.sh -rwxrwxr-x root/root 742 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/docker-cache.sh -rwxrwxr-x root/root 153 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/docker-registry-run.sh -rw-rw-r-- root/root 859 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/global_vars.yml drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/roles/ drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/roles/common/ drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/roles/common/files/ -rwxrwxr-x root/root 938 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/roles/common/files/10-kubeadm.conf -rw-rw-r-- root/root 12 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/roles/common/files/dm_snapshot.conf -rw-rw-r-- root/root 79 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/roles/common/files/k8s.conf -rw-rw-r-- root/root 483 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/roles/common/files/rc.local drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/roles/common/tasks/ -rw-rw-r-- root/root 3510 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/roles/common/tasks/main.yml drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/roles/common/templates/ -rw-rw-r-- root/root 362 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/roles/common/templates/docker.j2 drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/roles/master/ drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/roles/master/tasks/ -rw-rw-r-- root/root 1325 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/roles/master/tasks/main.yml -rw-rw-r-- root/root 317 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/roles/master/tasks/yum_cache.yml drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/roles/nodes/ drwxrwxr-x root/root 0 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/roles/nodes/tasks/ -rw-rw-r-- root/root 2479 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/roles/nodes/tasks/main.yml -rwxrwxr-x root/root 289 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/rollback.sh -rw-rw-r-- root/root 795 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/site.yml -rwxrwxr-x root/root 200 2017-08-24 14:31 gluster-kubernetes-1.2.0/vagrant/up.sh + STATUS=0 + '[' 0 -ne 0 ']' + cd gluster-kubernetes-1.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (0001-gk-deploy-Set-rebalance_on_expansion-true-for-heketi.patch): + echo 'Patch #1 (0001-gk-deploy-Set-rebalance_on_expansion-true-for-heketi.patch):' + /usr/bin/cat /builddir/build/SOURCES/0001-gk-deploy-Set-rebalance_on_expansion-true-for-heketi.patch + /usr/bin/patch -p1 -b --suffix .0001-gk-deploy-Set-rebalance_on_expansion-true-for-heketi.patch --fuzz=0 patching file deploy/heketi.json.template Patch #2 (0002-gk-deploy-Deploy-gluster-s3-container.patch): + echo 'Patch #2 (0002-gk-deploy-Deploy-gluster-s3-container.patch):' + /usr/bin/cat /builddir/build/SOURCES/0002-gk-deploy-Deploy-gluster-s3-container.patch + /usr/bin/patch -p1 -b --suffix .0002-gk-deploy-Deploy-gluster-s3-container.patch --fuzz=0 patching file deploy/gk-deploy patching file deploy/kube-templates/gluster-s3-pvcs.yaml patching file deploy/kube-templates/gluster-s3-storageclass.yaml patching file deploy/kube-templates/gluster-s3-template.yaml patching file deploy/ocp-templates/gluster-s3-pvcs.yaml patching file deploy/ocp-templates/gluster-s3-storageclass.yaml patching file deploy/ocp-templates/gluster-s3-template.yaml Patch #3 (0003-gk-deploy-Set-resource-requests-for-GlusterFS-pod.patch): + echo 'Patch #3 (0003-gk-deploy-Set-resource-requests-for-GlusterFS-pod.patch):' + /usr/bin/cat /builddir/build/SOURCES/0003-gk-deploy-Set-resource-requests-for-GlusterFS-pod.patch + /usr/bin/patch -p1 -b --suffix .0003-gk-deploy-Set-resource-requests-for-GlusterFS-pod.patch --fuzz=0 patching file deploy/kube-templates/glusterfs-daemonset.yaml patching file deploy/ocp-templates/glusterfs-template.yaml Patch #4 (0004-Added-new-env.-variable-GB_GLFS_LRU_COUNT.patch): + echo 'Patch #4 (0004-Added-new-env.-variable-GB_GLFS_LRU_COUNT.patch):' + /usr/bin/cat /builddir/build/SOURCES/0004-Added-new-env.-variable-GB_GLFS_LRU_COUNT.patch + /usr/bin/patch -p1 -b --suffix .0004-Added-new-env.-variable-GB_GLFS_LRU_COUNT.patch --fuzz=0 patching file deploy/kube-templates/glusterfs-daemonset.yaml patching file deploy/ocp-templates/glusterfs-template.yaml Patch #5 (0005-Update-tcmu-runner-s-log-directory-using-env.-variab.patch): + echo 'Patch #5 (0005-Update-tcmu-runner-s-log-directory-using-env.-variab.patch):' + /usr/bin/cat /builddir/build/SOURCES/0005-Update-tcmu-runner-s-log-directory-using-env.-variab.patch + /usr/bin/patch -p1 -b --suffix .0005-Update-tcmu-runner-s-log-directory-using-env.-variab.patch --fuzz=0 patching file deploy/kube-templates/glusterfs-daemonset.yaml patching file deploy/ocp-templates/glusterfs-template.yaml Patch #6 (0006-Fix-TCMU-log-directory-name-as-TCMU_LOGDIR.patch): + echo 'Patch #6 (0006-Fix-TCMU-log-directory-name-as-TCMU_LOGDIR.patch):' + /usr/bin/cat /builddir/build/SOURCES/0006-Fix-TCMU-log-directory-name-as-TCMU_LOGDIR.patch + /usr/bin/patch -p1 -b --suffix .0006-Update-tcmu-runner-s-log-directory-using-env.-variab.patch --fuzz=0 patching file deploy/kube-templates/glusterfs-daemonset.yaml patching file deploy/ocp-templates/glusterfs-template.yaml Patch #7 (0007-fix-typo-for-executor-type.patch): + echo 'Patch #7 (0007-fix-typo-for-executor-type.patch):' + /usr/bin/cat /builddir/build/SOURCES/0007-fix-typo-for-executor-type.patch + /usr/bin/patch -p1 -b --suffix .0007-fix-typo-for-executor-type.patch --fuzz=0 patching file deploy/ocp-templates/heketi-template.yaml Patch #8 (0008-when-using-ssh-executor-provide-etc-fstab-as-ENV.patch): + echo 'Patch #8 (0008-when-using-ssh-executor-provide-etc-fstab-as-ENV.patch):' patching file deploy/gk-deploy patching file deploy/kube-templates/deploy-heketi-deployment.yaml patching file deploy/kube-templates/heketi-deployment.yaml patching file deploy/ocp-templates/deploy-heketi-template.yaml + /usr/bin/cat /builddir/build/SOURCES/0008-when-using-ssh-executor-provide-etc-fstab-as-ENV.patch + /usr/bin/patch -p1 -b --suffix .0008-when-using-ssh-executor-provide-etc-fstab-as-ENV.patch --fuzz=0 patching file deploy/ocp-templates/heketi-template.yaml + echo 'Patch #9 (0009-provide-flags-before-env-var.patch):' Patch #9 (0009-provide-flags-before-env-var.patch): + /usr/bin/cat /builddir/build/SOURCES/0009-provide-flags-before-env-var.patch + /usr/bin/patch -p1 -b --suffix .0009-provide-flags-before-env-var.patch --fuzz=0 patching file deploy/gk-deploy + echo 'Patch #10 (0010-fstab-var-contains-slash.patch):' Patch #10 (0010-fstab-var-contains-slash.patch): + /usr/bin/cat /builddir/build/SOURCES/0010-fstab-var-contains-slash.patch + /usr/bin/patch -p1 -b --suffix .0010-fstab-var-contains-slash.patch --fuzz=0 patching file deploy/gk-deploy + echo 'Patch #11 (0011-Fix-default-value-for-GB_GLFS_LRU_COUNT.patch):' Patch #11 (0011-Fix-default-value-for-GB_GLFS_LRU_COUNT.patch): + /usr/bin/patch -p1 -b --suffix .0011-Fix-default-value-for-GB_GLFS_LRU_COUNT.patch --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/0011-Fix-default-value-for-GB_GLFS_LRU_COUNT.patch patching file deploy/kube-templates/glusterfs-daemonset.yaml + echo 'Patch #1000 (1000-gk-deploy-Deploy-glusterblock-provisioner-container.patch):' Patch #1000 (1000-gk-deploy-Deploy-glusterblock-provisioner-container.patch): + /usr/bin/cat /builddir/build/SOURCES/1000-gk-deploy-Deploy-glusterblock-provisioner-container.patch + /usr/bin/patch -p1 -b --suffix .1000-gk-deploy-Deploy-glusterblock-provisioner-container.patch --fuzz=0 patching file deploy/gk-deploy patching file deploy/heketi.json.template patching file deploy/kube-templates/glusterblock-provisioner.yaml patching file deploy/kube-templates/glusterfs-daemonset.yaml patching file deploy/ocp-templates/glusterblock-provisioner.yaml patching file deploy/ocp-templates/glusterfs-template.yaml + echo 'Patch #1001 (1001-use-downstream-gluster-image.patch):' Patch #1001 (1001-use-downstream-gluster-image.patch): + /usr/bin/cat /builddir/build/SOURCES/1001-use-downstream-gluster-image.patch + /usr/bin/patch -p1 -b --suffix .1001-use-downstream-gluster-image.patch --fuzz=0 patching file deploy/ocp-templates/glusterfs-template.yaml + echo 'Patch #1002 (1002-use-downstream-image-of-heketi.patch):' Patch #1002 (1002-use-downstream-image-of-heketi.patch): + /usr/bin/cat /builddir/build/SOURCES/1002-use-downstream-image-of-heketi.patch + /usr/bin/patch -p1 -b --suffix .1002-use-downstream-image-of-heketi.patch --fuzz=0 patching file deploy/ocp-templates/heketi-template.yaml + echo 'Patch #1003 (1003-Use-downstream-volmanager-image-for-deploy-heketi.patch):' Patch #1003 (1003-Use-downstream-volmanager-image-for-deploy-heketi.patch): + /usr/bin/patch -p1 -b --suffix .1003-Use-downstream-volmanager-image-for-deploy-heketi.patch --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/1003-Use-downstream-volmanager-image-for-deploy-heketi.patch patching file deploy/ocp-templates/deploy-heketi-template.yaml + echo 'Patch #1004 (1004-add-image-name-for-heketi-container.patch):' Patch #1004 (1004-add-image-name-for-heketi-container.patch): + /usr/bin/patch -p1 -b --suffix .1004-add-image-name-for-heketi-container.patch --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/1004-add-image-name-for-heketi-container.patch patching file deploy/gk-deploy + echo 'Patch #1005 (1005-Use-downstream-location-for-heketi.json.template.patch):' Patch #1005 (1005-Use-downstream-location-for-heketi.json.template.patch): + /usr/bin/cat /builddir/build/SOURCES/1005-Use-downstream-location-for-heketi.json.template.patch + /usr/bin/patch -p1 -b --suffix .1005-Use-downstream-location-for-heketi.json.template.patch --fuzz=0 patching file deploy/gk-deploy + echo 'Patch #1006 (1006-Set-downstream-BLOCK_HOST_SIZE-default-to-500.patch):' Patch #1006 (1006-Set-downstream-BLOCK_HOST_SIZE-default-to-500.patch): + /usr/bin/cat /builddir/build/SOURCES/1006-Set-downstream-BLOCK_HOST_SIZE-default-to-500.patch + /usr/bin/patch -p1 -b --suffix .1006-Set-downstream-BLOCK_HOST_SIZE-default-to-500.patch --fuzz=0 patching file deploy/gk-deploy Hunk #1 succeeded at 45 (offset 1 line). Patch #1007 (1007-use-downstream-glusterblock-provisioner-image.patch): + echo 'Patch #1007 (1007-use-downstream-glusterblock-provisioner-image.patch):' + /usr/bin/cat /builddir/build/SOURCES/1007-use-downstream-glusterblock-provisioner-image.patch + /usr/bin/patch -p1 -b --suffix .1007-use-downstream-glusterblock-provisioner-image.patch --fuzz=0 patching file deploy/ocp-templates/glusterblock-provisioner.yaml Patch #1008 (1008-use-downstream-gluster-S3-server-image.patch): + echo 'Patch #1008 (1008-use-downstream-gluster-S3-server-image.patch):' + /usr/bin/patch -p1 -b --suffix .1008-use-downstream-gluster-S3-server-image.patch --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/1008-use-downstream-gluster-S3-server-image.patch patching file deploy/ocp-templates/gluster-s3-template.yaml + sed -i 's#\${SCRIPT_DIR}/ocp-templates#/usr/share/heketi/templates#' deploy/gk-deploy + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FmiDfV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64 + cd gluster-kubernetes-1.2.0 + install -D -p -m 0755 deploy/gk-deploy /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64/usr/bin/cns-deploy + install -D -p -m 0644 deploy/ocp-templates/glusterfs-template.yaml /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64/usr/share/heketi/templates/glusterfs-template.yaml + install -D -p -m 0644 deploy/ocp-templates/heketi-template.yaml /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64/usr/share/heketi/templates/heketi-template.yaml + install -D -p -m 0644 deploy/ocp-templates/heketi-service-account.yaml /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64/usr/share/heketi/templates/heketi-service-account.yaml + install -D -p -m 0644 deploy/ocp-templates/deploy-heketi-template.yaml /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64/usr/share/heketi/templates/deploy-heketi-template.yaml + install -D -p -m 0644 deploy/ocp-templates/glusterblock-provisioner.yaml /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64/usr/share/heketi/templates/glusterblock-provisioner.yaml + install -D -p -m 0644 deploy/ocp-templates/gluster-s3-pvcs.yaml /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64/usr/share/heketi/templates/gluster-s3-pvcs.yaml + install -D -p -m 0644 deploy/ocp-templates/gluster-s3-storageclass.yaml /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64/usr/share/heketi/templates/gluster-s3-storageclass.yaml + install -D -p -m 0644 deploy/ocp-templates/gluster-s3-template.yaml /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64/usr/share/heketi/templates/gluster-s3-template.yaml + install -D -p -m 0644 deploy/heketi.json.template /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64/usr/share/heketi/templates/heketi.json.template + install -D -p -m 0644 docs/examples/sample-gluster-endpoints.yaml /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64/usr/share/heketi/templates/sample-gluster-endpoints.yaml + install -D -p -m 0644 docs/examples/sample-gluster-service.yaml /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64/usr/share/heketi/templates/sample-gluster-service.yaml + /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: cns-deploy-5.0.0-54.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZJ1qa4 + umask 022 + cd /builddir/build/BUILD + cd gluster-kubernetes-1.2.0 + DOCDIR=/builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64/usr/share/doc/cns-deploy-5.0.0 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64/usr/share/doc/cns-deploy-5.0.0 + cp -pr README.md /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64/usr/share/doc/cns-deploy-5.0.0 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.RitH6c + umask 022 + cd /builddir/build/BUILD + cd gluster-kubernetes-1.2.0 + LICENSEDIR=/builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64/usr/share/licenses/cns-deploy-5.0.0 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64/usr/share/licenses/cns-deploy-5.0.0 + cp -pr LICENSE /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64/usr/share/licenses/cns-deploy-5.0.0 + exit 0 Provides: cns-deploy = 5.0.0-54.el7.centos cns-deploy(x86-64) = 5.0.0-54.el7.centos heketi-templates = 5.0.0-54.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash Obsoletes: heketi-templates < 5.0.0-54.el7.centos Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64 warning: Could not canonicalize hostname: 30b9f4ecb3f5474291feabc49f58b98f Wrote: /builddir/build/RPMS/cns-deploy-5.0.0-54.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LFtuMx + umask 022 + cd /builddir/build/BUILD + cd gluster-kubernetes-1.2.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cns-deploy-5.0.0-54.el7.centos.x86_64 + exit 0 Child return code was: 0