Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/awscli.spec'], chrootPath='/var/lib/mock/1113271-epel-7-x86_64-1574195820.059834/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uiy7vvzh:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uiy7vvzh:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0eb6f77b10804fe98389a057a376ad7c', '-D', '/var/lib/mock/1113271-epel-7-x86_64-1574195820.059834/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uiy7vvzh:/etc/resolv.conf', '--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/awscli.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 Wrote: /builddir/build/SRPMS/awscli-1.16.284-1.el7.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/awscli.spec'], chrootPath='/var/lib/mock/1113271-epel-7-x86_64-1574195820.059834/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uiy7vvzh:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uiy7vvzh:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f7939707242f4a6f914ec7010e2eb6f0', '-D', '/var/lib/mock/1113271-epel-7-x86_64-1574195820.059834/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uiy7vvzh:/etc/resolv.conf', '--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/awscli.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.Il08yC + umask 022 + cd /builddir/build/BUILD + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qJrOAe + umask 022 + cd /builddir/build/BUILD + /usr/bin/python3 -m virtualenv --no-site-packages -p /usr/bin/python3 empty_env Already using interpreter /usr/bin/python3 Using base prefix '/usr' New python executable in /builddir/build/BUILD/empty_env/bin/python3 Also creating executable in /builddir/build/BUILD/empty_env/bin/python Installing setuptools, pip, wheel...done. + mkdir -p awscli + /usr/bin/python3 -m venv --copies awscli + cp empty_env/bin/activate_this.py awscli/bin/ + source awscli/bin/activate ++ deactivate nondestructive ++ '[' -n '' ']' ++ '[' -n '' ']' ++ '[' -n /bin/sh -o -n '' ']' ++ hash -r ++ '[' -n '' ']' ++ unset VIRTUAL_ENV ++ '[' '!' nondestructive = nondestructive ']' ++ VIRTUAL_ENV=/builddir/build/BUILD/awscli ++ export VIRTUAL_ENV ++ _OLD_VIRTUAL_PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin ++ PATH=/builddir/build/BUILD/awscli/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin ++ export PATH ++ '[' -n '' ']' ++ '[' -z '' ']' ++ _OLD_VIRTUAL_PS1= ++ '[' 'x(awscli) ' '!=' x ']' ++ PS1='(awscli) ' ++ export PS1 ++ '[' -n /bin/sh -o -n '' ']' ++ hash -r + pip install awscli==1.16.284 Collecting awscli==1.16.284 Downloading https://files.pythonhosted.org/packages/86/8a/54bec24a25029b7540bb1d14457051b0cd9d54620ca0773d830875318c2f/awscli-1.16.284-py2.py3-none-any.whl (2.5MB) Collecting botocore==1.13.20 (from awscli==1.16.284) Downloading https://files.pythonhosted.org/packages/e6/bf/1be397fc65d6b8cfaa400fdc855bf381a73183d8bada8e3775b0e036a7cd/botocore-1.13.20-py2.py3-none-any.whl (5.5MB) Collecting PyYAML<5.2,>=3.10; python_version != "2.6" and python_version != "3.3" (from awscli==1.16.284) Downloading https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/PyYAML-5.1.2.tar.gz (265kB) Collecting rsa<=3.5.0,>=3.1.2 (from awscli==1.16.284) Downloading https://files.pythonhosted.org/packages/e1/ae/baedc9cb175552e95f3395c43055a6a5e125ae4d48a1d7a924baca83e92e/rsa-3.4.2-py2.py3-none-any.whl (46kB) Collecting docutils<0.16,>=0.10 (from awscli==1.16.284) Downloading https://files.pythonhosted.org/packages/22/cd/a6aa959dca619918ccb55023b4cb151949c64d4d5d55b3f4ffd7eee0c6e8/docutils-0.15.2-py3-none-any.whl (547kB) Collecting colorama<0.4.2,>=0.2.5; python_version != "2.6" and python_version != "3.3" (from awscli==1.16.284) Downloading https://files.pythonhosted.org/packages/4f/a6/728666f39bfff1719fc94c481890b2106837da9318031f71a8424b662e12/colorama-0.4.1-py2.py3-none-any.whl Collecting s3transfer<0.3.0,>=0.2.0 (from awscli==1.16.284) Downloading https://files.pythonhosted.org/packages/16/8a/1fc3dba0c4923c2a76e1ff0d52b305c44606da63f718d14d3231e21c51b0/s3transfer-0.2.1-py2.py3-none-any.whl (70kB) Collecting jmespath<1.0.0,>=0.7.1 (from botocore==1.13.20->awscli==1.16.284) Downloading https://files.pythonhosted.org/packages/83/94/7179c3832a6d45b266ddb2aac329e101367fbdb11f425f13771d27f225bb/jmespath-0.9.4-py2.py3-none-any.whl Collecting urllib3<1.26,>=1.20; python_version >= "3.4" (from botocore==1.13.20->awscli==1.16.284) Downloading https://files.pythonhosted.org/packages/b4/40/a9837291310ee1ccc242ceb6ebfd9eb21539649f193a7c8c86ba15b98539/urllib3-1.25.7-py2.py3-none-any.whl (125kB) Collecting python-dateutil<2.8.1,>=2.1; python_version >= "2.7" (from botocore==1.13.20->awscli==1.16.284) Downloading https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl (226kB) Collecting pyasn1>=0.1.3 (from rsa<=3.5.0,>=3.1.2->awscli==1.16.284) Downloading https://files.pythonhosted.org/packages/62/1e/a94a8d635fa3ce4cfc7f506003548d0a2447ae76fd5ca53932970fe3053f/pyasn1-0.4.8-py2.py3-none-any.whl (77kB) Collecting six>=1.5 (from python-dateutil<2.8.1,>=2.1; python_version >= "2.7"->botocore==1.13.20->awscli==1.16.284) Downloading https://files.pythonhosted.org/packages/65/26/32b8464df2a97e6dd1b656ed26b2c194606c16fe163c695a992b36c11cdf/six-1.13.0-py2.py3-none-any.whl Installing collected packages: docutils, jmespath, urllib3, six, python-dateutil, botocore, PyYAML, pyasn1, rsa, colorama, s3transfer, awscli Running setup.py install for PyYAML: started Running setup.py install for PyYAML: finished with status 'done' Successfully installed PyYAML-5.1.2 awscli-1.16.284 botocore-1.13.20 colorama-0.4.1 docutils-0.15.2 jmespath-0.9.4 pyasn1-0.4.8 python-dateutil-2.8.0 rsa-3.4.2 s3transfer-0.2.1 six-1.13.0 urllib3-1.25.7 You are using pip version 9.0.3, however version 19.3.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. + pip uninstall -y pip setuptools Uninstalling pip-9.0.3: Successfully uninstalled pip-9.0.3 Uninstalling setuptools-39.2.0: Successfully uninstalled setuptools-39.2.0 + /usr/bin/python3 -m virtualenv --relocatable awscli Script /builddir/build/BUILD/awscli/bin/aws.cmd cannot be made relative (it's not a normal script that starts with #!/builddir/build/BUILD/awscli/bin/python) Making script /builddir/build/BUILD/awscli/bin/aws_completer relative Making script /builddir/build/BUILD/awscli/bin/aws relative Script /builddir/build/BUILD/awscli/bin/aws_bash_completer cannot be made relative (it's not a normal script that starts with #!/builddir/build/BUILD/awscli/bin/python) Script /builddir/build/BUILD/awscli/bin/aws_zsh_completer.sh cannot be made relative (it's not a normal script that starts with #!/builddir/build/BUILD/awscli/bin/python) Making script /builddir/build/BUILD/awscli/bin/pyrsa-verify relative Making script /builddir/build/BUILD/awscli/bin/pyrsa-sign relative Making script /builddir/build/BUILD/awscli/bin/pyrsa-priv2pub relative Making script /builddir/build/BUILD/awscli/bin/pyrsa-keygen relative Making script /builddir/build/BUILD/awscli/bin/pyrsa-encrypt-bigfile relative Making script /builddir/build/BUILD/awscli/bin/pyrsa-encrypt relative Making script /builddir/build/BUILD/awscli/bin/pyrsa-decrypt-bigfile relative Making script /builddir/build/BUILD/awscli/bin/pyrsa-decrypt relative Making script /builddir/build/BUILD/awscli/bin/jp.py relative Making script /builddir/build/BUILD/awscli/bin/rst2html.py relative Making script /builddir/build/BUILD/awscli/bin/rst2html4.py relative Making script /builddir/build/BUILD/awscli/bin/rst2html5.py relative Making script /builddir/build/BUILD/awscli/bin/rst2latex.py relative Making script /builddir/build/BUILD/awscli/bin/rst2man.py relative Making script /builddir/build/BUILD/awscli/bin/rst2odt.py relative Making script /builddir/build/BUILD/awscli/bin/rst2odt_prepstyles.py relative Making script /builddir/build/BUILD/awscli/bin/rst2pseudoxml.py relative Making script /builddir/build/BUILD/awscli/bin/rst2s5.py relative Making script /builddir/build/BUILD/awscli/bin/rst2xetex.py relative Making script /builddir/build/BUILD/awscli/bin/rst2xml.py relative Making script /builddir/build/BUILD/awscli/bin/rstpep2html.py relative + deactivate + '[' -n /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin ']' + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin + export PATH + unset _OLD_VIRTUAL_PATH + '[' -n '' ']' + '[' -n /bin/sh -o -n '' ']' + hash -r + '[' -n '' ']' + unset VIRTUAL_ENV + '[' '!' '' = nondestructive ']' + unset -f deactivate + rm -f awscli/bin/activate awscli/bin/activate.csh awscli/bin/activate.fish awscli/bin/Activate.ps1 awscli/bin/activate.bat + rm awscli/bin/python awscli/bin/python3 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BDAKJP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/awscli-1.16.284-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/awscli-1.16.284-1.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/awscli-1.16.284-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/awscli-1.16.284-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT/awscli-1.16.284-1.el7.x86_64/usr/lib64 + cp -r awscli /builddir/build/BUILDROOT/awscli-1.16.284-1.el7.x86_64/usr/lib64/awscli + python_binary=/usr/bin/python3 + buildroot_path=/builddir/build/BUILDROOT/awscli-1.16.284-1.el7.x86_64/usr/share/awscli ~/build/BUILDROOT/awscli-1.16.284-1.el7.x86_64 ~/build/BUILD + bytecode_compilation_path=./usr/share/awscli + failure=0 + pushd /builddir/build/BUILDROOT/awscli-1.16.284-1.el7.x86_64 + find ./usr/share/awscli -type f -a -name '*.py' -print0 + xargs -0 /usr/bin/python3 -O -m py_compile find: './usr/share/awscli': No such file or directory + find ./usr/share/awscli -type f -a -name '*.py' -print0 + xargs -0 /usr/bin/python3 -m py_compile find: './usr/share/awscli': No such file or directory + popd + test 0 -eq 0 + /usr/lib/rpm/check-buildroot ~/build/BUILD + /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 0 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: awscli-1.16.284-1.el7.noarch Provides: awscli = 1.16.284-1.el7 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(posttrans): /bin/sh Requires: /usr/bin/env Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/awscli-1.16.284-1.el7.x86_64 Wrote: /builddir/build/RPMS/awscli-1.16.284-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.l6MNSC + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/awscli-1.16.284-1.el7.x86_64 + exit 0 Child return code was: 0