Mock Version: 1.4.6 Mock Version: 1.4.6 Mock Version: 1.4.6 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-azure-sdk.spec'], chrootPath='/var/lib/mock/631342-epel-6-x86_64/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) ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-azure-sdk.spec'], chrootPath='/var/lib/mock/631342-epel-6-x86_64/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/python-azure-sdk.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 Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-azure-sdk.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-171573453.novalocal warning: Could not canonicalize hostname: copr-builder-171573453.novalocal Building target platforms: x86_64 Building target platforms: x86_64 Building for target x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-azure-sdk-2.0.0-0.8.rc6.el6.src.rpm Wrote: /builddir/build/SRPMS/python-azure-sdk-2.0.0-0.8.rc6.el6.src.rpm Child return code was: 0 Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-azure-sdk.spec'], chrootPath='/var/lib/mock/631342-epel-6-x86_64/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) ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-azure-sdk.spec'], chrootPath='/var/lib/mock/631342-epel-6-x86_64/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/python-azure-sdk.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 Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-azure-sdk.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 target platforms: x86_64 Building for target x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.noOMXt Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.noOMXt + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + LANG=C + LANG=C + export LANG + export LANG + unset DISPLAY + unset DISPLAY + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf azure-sdk-for-python-2.0.0rc6 + rm -rf azure-sdk-for-python-2.0.0rc6 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-azure-sdk-2.0.0rc6.tar.gz + /usr/bin/gzip -dc /builddir/build/SOURCES/python-azure-sdk-2.0.0rc6.tar.gz + /bin/tar -xf - + /bin/tar -xf - + STATUS=0 + STATUS=0 + '[' 0 -ne 0 ']' + '[' 0 -ne 0 ']' + cd azure-sdk-for-python-2.0.0rc6 + cd azure-sdk-for-python-2.0.0rc6 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + /bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (python-azure-sdk-2.0.0-tests.patch): Patch #0 (python-azure-sdk-2.0.0-tests.patch): + echo 'Patch #0 (python-azure-sdk-2.0.0-tests.patch):' + echo 'Patch #0 (python-azure-sdk-2.0.0-tests.patch):' + /usr/bin/patch -p0 -b --suffix .tests --fuzz=0 + /usr/bin/patch -p0 -b --suffix .tests --fuzz=0 + /bin/cat /builddir/build/SOURCES/python-azure-sdk-2.0.0-tests.patch + /bin/cat /builddir/build/SOURCES/python-azure-sdk-2.0.0-tests.patch patching file ./azure/setup.py patching file ./azure/setup.py + rm azure-mgmt/tests/test_mgmt_network.py azure-mgmt/tests/test_mgmt_resource.py + rm azure-mgmt/tests/test_mgmt_network.py azure-mgmt/tests/test_mgmt_resource.py + rm azure-servicemanagement-legacy/tests/test_legacy_mgmt_misc.py + rm azure-servicemanagement-legacy/tests/test_legacy_mgmt_misc.py + exit 0 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KAIlLW Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KAIlLW + umask 022 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + cd azure-sdk-for-python-2.0.0rc6 + cd azure-sdk-for-python-2.0.0rc6 + LANG=C + LANG=C + export LANG + export LANG + unset DISPLAY + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + /usr/bin/python2.6 setup.py build '--executable=/usr/bin/python2.6 -s' + /usr/bin/python2.6 setup.py build '--executable=/usr/bin/python2.6 -s' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' 'module' object has no attribute 'run_path' + sleep 1 + sleep 1 + make -C doc/ html + make -C doc/ html make: Entering directory `/builddir/build/BUILD/azure-sdk-for-python-2.0.0rc6/doc' make: Entering directory `/builddir/build/BUILD/azure-sdk-for-python-2.0.0rc6/doc' sphinx-build -b html -d _build/doctrees . _build/html sphinx-build -b html -d _build/doctrees . _build/html Running Sphinx v0.6.6 Running Sphinx v0.6.6 Making output directory... Making output directory... Extension error: Extension error: Could not import extension sphinx.ext.viewcode (exception: No module named viewcode) Could not import extension sphinx.ext.viewcode (exception: No module named viewcode) make: Leaving directory `/builddir/build/BUILD/azure-sdk-for-python-2.0.0rc6/doc' make: Leaving directory `/builddir/build/BUILD/azure-sdk-for-python-2.0.0rc6/doc' make: *** [html] Error 1 make: *** [html] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.KAIlLW (%build) error: Bad exit status from /var/tmp/rpm-tmp.KAIlLW (%build) Bad exit status from /var/tmp/rpm-tmp.KAIlLW (%build) Bad exit status from /var/tmp/rpm-tmp.KAIlLW (%build) RPM build errors: RPM build errors: Child return code was: 1 Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do 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/python-azure-sdk.spec EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do 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/python-azure-sdk.spec