Mock Version: 1.4.21 Mock Version: 1.4.21 Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-barbican-tests-tempest.spec'], chrootPath='/var/lib/mock/dlrn-centos-train-x86_64-5/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=1005gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qxmo9zv3:/etc/resolv.conf']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qxmo9zv3:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0869bba8ccd54bc185b2fcee5126c458', '-D', '/var/lib/mock/dlrn-centos-train-x86_64-5/root', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.qxmo9zv3:/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/python-barbican-tests-tempest.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 DEBUG: Unsharing. Flags: 1073741824 DEBUG: Unsharing. Flags: 134217728 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-barbican-tests-tempest-0.3.0-0.20210414144933.a226433.el7.src.rpm Child return code was: 0 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-barbican-tests-tempest.spec'], chrootPath='/var/lib/mock/dlrn-centos-train-x86_64-5/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=1005gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0i9b81ce:/etc/resolv.conf']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0i9b81ce:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'cd9e5cffbedd4b93bc9ef735fdc59890', '-D', '/var/lib/mock/dlrn-centos-train-x86_64-5/root', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0i9b81ce:/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/python-barbican-tests-tempest.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 DEBUG: Unsharing. Flags: 1073741824 DEBUG: Unsharing. Flags: 134217728 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-barbican-tests-tempest-0.3.0-0.20210414144933.a226433.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/python-barbican-tests-tempest.spec'], chrootPath='/var/lib/mock/dlrn-centos-train-x86_64-5/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=1005gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0i9b81ce:/etc/resolv.conf']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0i9b81ce:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c7bb733d60d14937b9a9d25cc6ad889c', '-D', '/var/lib/mock/dlrn-centos-train-x86_64-5/root', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0i9b81ce:/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/python-barbican-tests-tempest.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 DEBUG: Unsharing. Flags: 1073741824 DEBUG: Unsharing. Flags: 134217728 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.x7SNGw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf barbican_tempest_plugin-0.3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/barbican_tempest_plugin-0.3.0-0.20210414144933.a226433.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd barbican_tempest_plugin-0.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q -a --author 'rpm-build ' -m 'python-barbican-tests-tempest-0.3.0 base' + /usr/bin/cat /builddir/build/SOURCES/0001-Revert-Remove-six.patch + /usr/bin/git apply --index - error: patch failed: barbican_tempest_plugin/services/key_manager/json/consumer_client.py:15 error: barbican_tempest_plugin/services/key_manager/json/consumer_client.py: patch does not apply error: patch failed: barbican_tempest_plugin/services/key_manager/json/container_client.py:15 error: barbican_tempest_plugin/services/key_manager/json/container_client.py: patch does not apply error: patch failed: barbican_tempest_plugin/services/key_manager/json/order_client.py:15 error: barbican_tempest_plugin/services/key_manager/json/order_client.py: patch does not apply error: patch failed: barbican_tempest_plugin/services/key_manager/json/quota_client.py:15 error: barbican_tempest_plugin/services/key_manager/json/quota_client.py: patch does not apply error: patch failed: barbican_tempest_plugin/services/key_manager/json/secret_client.py:15 error: barbican_tempest_plugin/services/key_manager/json/secret_client.py: patch does not apply error: patch failed: requirements.txt:4 error: requirements.txt: patch does not apply RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.x7SNGw (%prep) Bad exit status from /var/tmp/rpm-tmp.x7SNGw (%prep) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M c7bb733d60d14937b9a9d25cc6ad889c -D /var/lib/mock/dlrn-centos-train-x86_64-5/root --capability=cap_ipc_lock --bind=/tmp/mock-resolv.0i9b81ce:/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/python-barbican-tests-tempest.spec