Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/sos.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-205131-60984/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 noarch --nodeps /builddir/build/SPECS/sos.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/sos-4.3-5.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/sos.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-205131-60984/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 noarch --nodeps /builddir/build/SPECS/sos.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wx6LHc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sos-4.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/sos-4.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sos-4.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd sos-4.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/sos-audit-0.3.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (sos-bz2055002-rebase-sos-add-sos-help.patch):' Patch #1 (sos-bz2055002-rebase-sos-add-sos-help.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file man/en/sos.1 patching file setup.py patching file sos/report/plugins/ovn_central.py patching file sos/report/plugins/host.py Patch #2 (sos-bz2095263-ovirt-answer-files-passwords.patch): + echo 'Patch #2 (sos-bz2095263-ovirt-answer-files-passwords.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sos/report/plugins/ovirt.py Patch #3 (sos-bz2079485-plugopts-valtype-str.patch): + echo 'Patch #3 (sos-bz2079485-plugopts-valtype-str.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sos/report/plugins/__init__.py Hunk #1 succeeded at 462 (offset 10 lines). + echo 'Patch #4 (sos-bz2062908-tigervnc-update-collections.patch):' Patch #4 (sos-bz2062908-tigervnc-update-collections.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sos/report/plugins/tigervnc.py Patch #5 (sos-bz2065805-collect-pacemaker-cluster.patch): + echo 'Patch #5 (sos-bz2065805-collect-pacemaker-cluster.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sos/collector/clusters/pacemaker.py patching file sos/collector/__init__.py patching file sos/collector/clusters/__init__.py patching file sos/collector/clusters/pacemaker.py Patch #6 (sos-bz2079187-honor-default-plugin-timeout.patch): + echo 'Patch #6 (sos-bz2079187-honor-default-plugin-timeout.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sos/report/plugins/__init__.py Hunk #1 succeeded at 640 (offset 4 lines). Patch #7 (sos-bz2079484-list-plugins-ignore-options.patch): + echo 'Patch #7 (sos-bz2079484-list-plugins-ignore-options.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sos/report/__init__.py Patch #8 (sos-bz2079486-timeouted-exec-cmd-exception.patch): + echo 'Patch #8 (sos-bz2079486-timeouted-exec-cmd-exception.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sos/utilities.py Hunk #1 succeeded at 186 (offset -26 lines). Patch #9 (sos-bz2058279-ocp-backports.patch): + echo 'Patch #9 (sos-bz2058279-ocp-backports.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sos/policies/runtimes/__init__.py patching file sos/report/plugins/__init__.py Hunk #1 succeeded at 2600 (offset 7 lines). Hunk #2 succeeded at 2608 (offset 7 lines). patching file sos/collector/sosnode.py patching file sos/report/plugins/openshift_ovn.py patching file sos/report/plugins/openvswitch.py patching file sos/collector/clusters/ocp.py patching file sos/collector/transports/oc.py patching file sos/report/plugins/__init__.py Hunk #1 succeeded at 575 (offset 4 lines). Hunk #2 succeeded at 629 (offset 4 lines). Hunk #3 succeeded at 2309 (offset 4 lines). Hunk #4 succeeded at 2335 (offset 4 lines). Hunk #5 succeeded at 2563 (offset 4 lines). Hunk #6 succeeded at 2577 (offset 4 lines). patching file tests/report_tests/plugin_tests/plugin_environment.py patching file tests/test_data/fake_plugins/default_env_test.py patching file tests/unittests/plugin_tests.py patching file sos/report/plugins/openshift.py patching file sos/report/plugins/openshift_ovn.py patching file sos/presets/redhat/__init__.py patching file sos/policies/distros/redhat.py Hunk #2 succeeded at 467 (offset -3 lines). Hunk #3 succeeded at 554 (offset -3 lines). patching file man/en/sos-collect.1 patching file sos/collector/__init__.py patching file sos/collector/transports/oc.py patching file sos/options.py patching file sos/collector/clusters/ocp.py patching file sos/report/plugins/openshift.py + echo 'Patch #10 (sos-bz2092969-openshift-ovn-disabled.patch):' Patch #10 (sos-bz2092969-openshift-ovn-disabled.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sos/policies/runtimes/crio.py Patch #11 (sos-bz2093993-vdsm-set-use-devicesfile-zero.patch): + echo 'Patch #11 (sos-bz2093993-vdsm-set-use-devicesfile-zero.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sos/report/plugins/vdsm.py Patch #12 (sos-bz2099598-forbidden-path-efficient.patch): + echo 'Patch #12 (sos-bz2099598-forbidden-path-efficient.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sos/report/plugins/__init__.py Hunk #2 succeeded at 1394 (offset -8 lines). Hunk #3 succeeded at 1484 (offset -8 lines). Hunk #4 succeeded at 1499 (offset -8 lines). patching file sos/report/plugins/pulpcore.py patching file sos/report/plugins/rhui.py Patch #13 (sos-bz2120617-ocp-add-labels-to-namespace.patch): + echo 'Patch #13 (sos-bz2120617-ocp-add-labels-to-namespace.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sos/collector/clusters/ocp.py Hunk #2 succeeded at 219 (offset -32 lines). Patch #100 (0001-sos-anolis-modify-strings.patch): + echo 'Patch #100 (0001-sos-anolis-modify-strings.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sos/policies/distros/redhat.py Hunk #1 succeeded at 29 (offset 1 line). Hunk #2 FAILED at 181. Hunk #3 succeeded at 290 (offset 52 lines). Hunk #4 succeeded at 312 (offset 52 lines). Hunk #5 succeeded at 350 (offset 52 lines). Hunk #6 succeeded at 384 (offset 52 lines). Hunk #7 succeeded at 392 (offset 52 lines). Hunk #8 succeeded at 435 (offset 52 lines). Hunk #9 FAILED at 450. Hunk #10 succeeded at 557 (offset 72 lines). 2 out of 10 hunks FAILED -- saving rejects to file sos/policies/distros/redhat.py.rej patching file sos/report/plugins/cs.py error: Bad exit status from /var/tmp/rpm-tmp.wx6LHc (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.wx6LHc (%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 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 noarch --nodeps /builddir/build/SPECS/sos.spec