Mock Version: 1.4.20 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/awscli.spec'], chrootPath='/var/lib/mock/1052951-epel-7-x86_64-1570816556.679364/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.hhg8voka:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hhg8voka:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a0d5c4d101c54091810780bf0401001b', '-D', '/var/lib/mock/1052951-epel-7-x86_64-1570816556.679364/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hhg8voka:/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.257-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/1052951-epel-7-x86_64-1570816556.679364/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.hhg8voka:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hhg8voka:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1a398f241f35488689af4157e9862bae', '-D', '/var/lib/mock/1052951-epel-7-x86_64-1570816556.679364/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.hhg8voka:/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.l5KP1q + umask 022 + cd /builddir/build/BUILD + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.f0mTYP + umask 022 + cd /builddir/build/BUILD + /usr/bin/python3 -m virtualenv -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.257 Collecting awscli==1.16.257 Downloading https://files.pythonhosted.org/packages/a7/60/ba06ebce4d55be61c1a961bdaff1e6e4ceae6b1babe6c6ee321d9b501e5d/awscli-1.16.257-py2.py3-none-any.whl (2.2MB) Collecting colorama<0.4.2,>=0.2.5; python_version != "2.6" and python_version != "3.3" (from awscli==1.16.257) 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.257) Downloading https://files.pythonhosted.org/packages/16/8a/1fc3dba0c4923c2a76e1ff0d52b305c44606da63f718d14d3231e21c51b0/s3transfer-0.2.1-py2.py3-none-any.whl (70kB) Collecting botocore==1.12.247 (from awscli==1.16.257) Downloading https://files.pythonhosted.org/packages/86/b2/ce485bd915a1570911765e28d3cca075ff8a920eec11f7a7d0c9725fb730/botocore-1.12.247-py2.py3-none-any.whl (5.7MB) Collecting rsa<=3.5.0,>=3.1.2 (from awscli==1.16.257) Downloading https://files.pythonhosted.org/packages/e1/ae/baedc9cb175552e95f3395c43055a6a5e125ae4d48a1d7a924baca83e92e/rsa-3.4.2-py2.py3-none-any.whl (46kB) Collecting PyYAML<=5.2,>=3.10; python_version != "2.6" (from awscli==1.16.257) Downloading https://files.pythonhosted.org/packages/e3/e8/b3212641ee2718d556df0f23f78de8303f068fe29cdaa7a91018849582fe/PyYAML-5.1.2.tar.gz (265kB) Collecting docutils<0.16,>=0.10 (from awscli==1.16.257) Downloading https://files.pythonhosted.org/packages/22/cd/a6aa959dca619918ccb55023b4cb151949c64d4d5d55b3f4ffd7eee0c6e8/docutils-0.15.2-py3-none-any.whl (547kB) Collecting urllib3<1.26,>=1.20; python_version >= "3.4" (from botocore==1.12.247->awscli==1.16.257) Downloading https://files.pythonhosted.org/packages/e0/da/55f51ea951e1b7c63a579c09dd7db825bb730ec1fe9c0180fc77bfb31448/urllib3-1.25.6-py2.py3-none-any.whl (125kB) Collecting jmespath<1.0.0,>=0.7.1 (from botocore==1.12.247->awscli==1.16.257) Downloading https://files.pythonhosted.org/packages/83/94/7179c3832a6d45b266ddb2aac329e101367fbdb11f425f13771d27f225bb/jmespath-0.9.4-py2.py3-none-any.whl Collecting python-dateutil<3.0.0,>=2.1; python_version >= "2.7" (from botocore==1.12.247->awscli==1.16.257) 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.257) Downloading https://files.pythonhosted.org/packages/a1/71/8f0d444e3a74e5640a3d5d967c1c6b015da9c655f35b2d308a55d907a517/pyasn1-0.4.7-py2.py3-none-any.whl (76kB) Collecting six>=1.5 (from python-dateutil<3.0.0,>=2.1; python_version >= "2.7"->botocore==1.12.247->awscli==1.16.257) Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl Installing collected packages: colorama, urllib3, docutils, jmespath, six, python-dateutil, botocore, s3transfer, pyasn1, rsa, PyYAML, 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.257 botocore-1.12.247 colorama-0.4.1 docutils-0.15.2 jmespath-0.9.4 pyasn1-0.4.7 python-dateutil-2.8.0 rsa-3.4.2 s3transfer-0.2.1 six-1.12.0 urllib3-1.25.6 You are using pip version 9.0.3, however version 19.2.3 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.baOY0d + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/awscli-1.16.257-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/awscli-1.16.257-1.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/awscli-1.16.257-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/awscli-1.16.257-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT/awscli-1.16.257-1.el7.x86_64/usr/share + cp -r awscli /builddir/build/BUILDROOT/awscli-1.16.257-1.el7.x86_64/usr/share/awscli + /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: awscli-1.16.257-1.el7.noarch Provides: awscli = 1.16.257-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.257-1.el7.x86_64 Wrote: /builddir/build/RPMS/awscli-1.16.257-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Fn7BCv + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/awscli-1.16.257-1.el7.x86_64 + exit 0 Child return code was: 0