Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/fence-agents.spec'], chrootPath='/var/lib/mock/dist-an8_6-build-156009-58378/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/fence-agents.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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/fence-agents-4.10.0-20.an8_6.2.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/fence-agents.spec'], chrootPath='/var/lib/mock/dist-an8_6-build-156009-58378/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/fence-agents.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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2m1NrK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fence-agents-4.10.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/fence-agents-4.10.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd fence-agents-4.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ha-cloud-support-aliyun.patch):' Patch #0 (ha-cloud-support-aliyun.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/aliyun/fence_aliyun.py Patch #1 (ha-cloud-support-aws.patch): + echo 'Patch #1 (ha-cloud-support-aws.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/aws/fence_aws.py Patch #2 (ha-cloud-support-azure.patch): + echo 'Patch #2 (ha-cloud-support-azure.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/azure_fence.py.py Patch #3 (ha-cloud-support-google.patch): + echo 'Patch #3 (ha-cloud-support-google.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/gce/fence_gce.py Patch #4 (ha-openstack-support.patch): + echo 'Patch #4 (ha-openstack-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/compute/fence_compute.py patching file agents/evacuate/fence_evacuate.py patching file agents/openstack/fence_openstack.py Patch #5 (bundled-pexpect.patch): + echo 'Patch #5 (bundled-pexpect.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/azure_arm/fence_azure_arm.py patching file agents/hpblade/fence_hpblade.py patching file agents/ilo/fence_ilo.py patching file agents/ldom/fence_ldom.py patching file agents/Makefile.am patching file agents/netio/fence_netio.py patching file agents/raritan/fence_raritan.py patching file agents/sanbox2/fence_sanbox2.py patching file agents/vmware/fence_vmware.py patching file agents/wti/fence_wti.py patching file lib/fencing.py.py Hunk #2 succeeded at 505 (offset 9 lines). patching file lib/fencing_snmp.py.py patching file make/agentpycheck.mk Hunk #1 succeeded at 10 (offset 1 line). patching file make/fencebuild.mk patching file make/fenceman.mk + echo 'Patch #6 (bundled-suds.patch):' Patch #6 (bundled-suds.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/vmware_soap/fence_vmware_soap.py Patch #7 (bz2010709-1-fence_amt_ws-fix-or-causing-dead-code.patch): + echo 'Patch #7 (bz2010709-1-fence_amt_ws-fix-or-causing-dead-code.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/amt_ws/fence_amt_ws.py Patch #8 (bz2010709-2-fence_amt_ws-boot-option.patch): + echo 'Patch #8 (bz2010709-2-fence_amt_ws-boot-option.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/amt_ws/fence_amt_ws.py Patch #9 (bz2000954-1-configure-fix-virt.patch): + echo 'Patch #9 (bz2000954-1-configure-fix-virt.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac Patch #10 (bz2000954-2-fence_kubevirt.patch): + echo 'Patch #10 (bz2000954-2-fence_kubevirt.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/kubevirt/fence_kubevirt.py + echo 'Patch #11 (bz2022334-fence_zvmip-add-ssl-tls-support.patch):' Patch #11 (bz2022334-fence_zvmip-add-ssl-tls-support.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/zvm/fence_zvmip.py patching file tests/data/metadata/fence_zvmip.xml patching file agents/zvm/fence_zvmip.py patching file tests/data/metadata/fence_zvmip.xml Patch #12 (bz2029791-1-fence_openstack-add-ssl-insecure.patch): + echo 'Patch #12 (bz2029791-1-fence_openstack-add-ssl-insecure.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/openstack/fence_openstack.py Hunk #1 succeeded at 90 (offset 1 line). Hunk #2 succeeded at 128 (offset 1 line). Hunk #3 succeeded at 221 (offset 1 line). Hunk #4 succeeded at 270 (offset 1 line). Hunk #5 succeeded at 281 (offset 1 line). patching file tests/data/metadata/fence_openstack.xml Patch #13 (bz2029791-2-fence_openstack-cacert-default.patch): + echo 'Patch #13 (bz2029791-2-fence_openstack-cacert-default.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/openstack/fence_openstack.py Hunk #1 succeeded at 128 (offset 1 line). Hunk #2 succeeded at 196 (offset 1 line). patching file tests/data/metadata/fence_openstack.xml Patch #14 (bz2000954-3-fence_kubevirt-get-namespace-from-context.patch): + echo 'Patch #14 (bz2000954-3-fence_kubevirt-get-namespace-from-context.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=2 patching file agents/kubevirt/fence_kubevirt.py Hunk #1 succeeded at 13 (offset 1 line). Hunk #2 succeeded at 41 (offset 1 line). Hunk #3 succeeded at 71 (offset 1 line). Hunk #4 succeeded at 85 (offset 1 line). Hunk #5 succeeded at 111 (offset 1 line). Hunk #6 succeeded at 132 (offset 1 line). patching file tests/data/metadata/fence_kubevirt.xml Hunk #1 succeeded at 18 with fuzz 2 (offset -5 lines). Patch #15 (bz2041933-bz2041935-1-fence_openstack-clouds-openrc.patch): + echo 'Patch #15 (bz2041933-bz2041935-1-fence_openstack-clouds-openrc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=1 patching file lib/fencing.py.py Hunk #1 succeeded at 1145 (offset 2 lines). patching file agents/openstack/fence_openstack.py Hunk #1 succeeded at 8 with fuzz 1. Hunk #2 succeeded at 27 (offset 1 line). Hunk #3 succeeded at 171 (offset 1 line). Hunk #4 succeeded at 179 (offset 1 line). Hunk #5 succeeded at 202 (offset 1 line). Hunk #6 succeeded at 242 (offset 1 line). Hunk #7 succeeded at 252 (offset 1 line). Hunk #8 succeeded at 261 (offset 1 line). Hunk #9 succeeded at 313 (offset 1 line). patching file tests/data/metadata/fence_openstack.xml Patch #16 (bz2041933-bz2041935-2-fence_openstack-clouds-openrc.patch): + echo 'Patch #16 (bz2041933-bz2041935-2-fence_openstack-clouds-openrc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/openstack/fence_openstack.py Hunk #2 succeeded at 29 (offset 1 line). Hunk #3 succeeded at 209 (offset 1 line). Hunk #4 succeeded at 223 (offset 1 line). Hunk #5 succeeded at 231 (offset 1 line). Hunk #6 succeeded at 240 (offset 1 line). Hunk #7 succeeded at 250 (offset 1 line). Hunk #8 succeeded at 266 (offset 1 line). Hunk #9 succeeded at 310 (offset 1 line). patching file tests/data/metadata/fence_openstack.xml Patch #17 (bz2042496-fence_ibm_vpc-fence_ibm_powervs.patch): + echo 'Patch #17 (bz2042496-fence_ibm_vpc-fence_ibm_powervs.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/ibm_powervs/fence_ibm_powervs.py patching file agents/ibm_vpc/fence_ibm_vpc.py patching file tests/data/metadata/fence_ibm_powervs.xml patching file tests/data/metadata/fence_ibm_vpc.xml Patch #18 (bz2022334-fence_zvmip-add-disable-ssl.patch): + echo 'Patch #18 (bz2022334-fence_zvmip-add-disable-ssl.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/fencing.py.py Hunk #1 succeeded at 1504 (offset 2 lines). patching file agents/zvm/fence_zvmip.py patching file tests/data/metadata/fence_zvmip.xml Patch #19 (bz2086839-1-fence_apc-fence_ilo_moonshot-import-logging.patch): + echo 'Patch #19 (bz2086839-1-fence_apc-fence_ilo_moonshot-import-logging.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/apc/fence_apc.py patching file agents/ilo_moonshot/fence_ilo_moonshot.py Patch #20 (bz2086839-2-fence_lpar-fix-import-fail_usage.patch): + echo 'Patch #20 (bz2086839-2-fence_lpar-fix-import-fail_usage.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file agents/lpar/fence_lpar.py + sed -i.orig 's|FENCE_ZVM=1|FENCE_ZVM=0|' configure.ac + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PkQhdd + umask 022 + cd /builddir/build/BUILD + cd fence-agents-4.10.0 + export PYTHON=/usr/libexec/platform-python + PYTHON=/usr/libexec/platform-python + LIBS='/builddir/build/SOURCES/requirements-*.txt' + echo awscli + for x in $LIBS ++ echo /builddir/build/SOURCES/requirements-aliyun.txt ++ sed -E 's/.*requirements-(.*).txt/\1/' + /usr/libexec/platform-python -m pip install --target support/aliyun --no-index --find-links /builddir/build/SOURCES -r /builddir/build/SOURCES/requirements-aliyun.txt Collecting aliyun-python-sdk-ecs (from -r /builddir/build/SOURCES/requirements-aliyun.txt (line 1)) Collecting aliyuncli>=2.1.5 (from -r /builddir/build/SOURCES/requirements-aliyun.txt (line 3)) Collecting aliyun-python-sdk-core>=2.11.5 (from aliyun-python-sdk-ecs->-r /builddir/build/SOURCES/requirements-aliyun.txt (line 1)) Collecting colorama<=0.3.3,>=0.2.5 (from aliyuncli>=2.1.5->-r /builddir/build/SOURCES/requirements-aliyun.txt (line 3)) Collecting jmespath<=0.7.1,>=0.7.0 (from aliyuncli>=2.1.5->-r /builddir/build/SOURCES/requirements-aliyun.txt (line 3)) Collecting pycryptodome>=3.4.7 (from aliyun-python-sdk-core>=2.11.5->aliyun-python-sdk-ecs->-r /builddir/build/SOURCES/requirements-aliyun.txt (line 1)) Could not find a version that satisfies the requirement pycryptodome>=3.4.7 (from aliyun-python-sdk-core>=2.11.5->aliyun-python-sdk-ecs->-r /builddir/build/SOURCES/requirements-aliyun.txt (line 1)) (from versions: ) No matching distribution found for pycryptodome>=3.4.7 (from aliyun-python-sdk-core>=2.11.5->aliyun-python-sdk-ecs->-r /builddir/build/SOURCES/requirements-aliyun.txt (line 1)) error: Bad exit status from /var/tmp/rpm-tmp.PkQhdd (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.PkQhdd (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/fence-agents.spec