Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc --nodeps /builddir/build/SPECS/sos.spec'], chrootPath='/var/lib/mock/sos-3.9-5.el7.centos.10-20220223171145-1141/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1006) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc --nodeps /builddir/build/SPECS/sos.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False sh: /usr/bin/python2: No such file or directory Building target platforms: ppc Building for target ppc Wrote: /builddir/build/SRPMS/sos-3.9-5.el7.centos.10.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc --nodeps /builddir/build/SPECS/sos.spec'], chrootPath='/var/lib/mock/sos-3.9-5.el7.centos.10-20220223171145-1141/root'shell=Falseuid=1006env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc --nodeps /builddir/build/SPECS/sos.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: ppc Building for target ppc Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Pp4ynF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sos-3.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/3.9.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd sos-3.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (skip-generating-doc.patch):' Patch #0 (skip-generating-doc.patch): + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/skip-generating-doc.patch patching file Makefile Patch #1 (sos-bz1538226-insights_collect_insights_archive_if_available.patch): + echo 'Patch #1 (sos-bz1538226-insights_collect_insights_archive_if_available.patch):' + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/sos-bz1538226-insights_collect_insights_archive_if_available.patch patching file sos/plugins/insights.py Patch #2 (sos-bz1821144-rabbitmq_plugin_tries_docker_exec_for_stopped_containers.patch): + echo 'Patch #2 (sos-bz1821144-rabbitmq_plugin_tries_docker_exec_for_stopped_containers.patch):' + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/sos-bz1821144-rabbitmq_plugin_tries_docker_exec_for_stopped_containers.patch patching file sos/plugins/rabbitmq.py Patch #3 (sos-redis_collection_of_redis_from_scl.patch): + echo 'Patch #3 (sos-redis_collection_of_redis_from_scl.patch):' + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/sos-redis_collection_of_redis_from_scl.patch patching file sos/plugins/redis.py Patch #4 (sos-bz1827555-nfs_merge_nfsserver_to_nfs.patch): + echo 'Patch #4 (sos-bz1827555-nfs_merge_nfsserver_to_nfs.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1827555-nfs_merge_nfsserver_to_nfs.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/nfs.py patching file sos/plugins/nfsserver.py Patch #5 (sos-bz1840571-rabbitmq_emulate_tty_timeout_foreground.patch): + echo 'Patch #5 (sos-bz1840571-rabbitmq_emulate_tty_timeout_foreground.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1840571-rabbitmq_emulate_tty_timeout_foreground.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/rabbitmq.py Patch #6 (sos-bz1843520-gluster_volume_splitlines.patch): + echo 'Patch #6 (sos-bz1843520-gluster_volume_splitlines.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1843520-gluster_volume_splitlines.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/gluster.py Patch #7 (sos-bz1850544-block_luks_partition_not_detected.patch): + echo 'Patch #7 (sos-bz1850544-block_luks_partition_not_detected.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1850544-block_luks_partition_not_detected.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/block.py Patch #8 (sos-bz1853701-pci_gating_for_lspci.patch): + echo 'Patch #8 (sos-bz1853701-pci_gating_for_lspci.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1853701-pci_gating_for_lspci.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/pci.py Patch #9 (sos-bz1853235-foreman_collect_stats_of_some_tables.patch): + echo 'Patch #9 (sos-bz1853235-foreman_collect_stats_of_some_tables.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1853235-foreman_collect_stats_of_some_tables.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/foreman.py Patch #10 (sos-bz1850925-logs_collect_also_not_persistent_logs.patch): + echo 'Patch #10 (sos-bz1850925-logs_collect_also_not_persistent_logs.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1850925-logs_collect_also_not_persistent_logs.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/logs.py Patch #11 (sos-bz1856417-gluster-remove_only_dump_files.patch): + echo 'Patch #11 (sos-bz1856417-gluster-remove_only_dump_files.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1856417-gluster-remove_only_dump_files.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/gluster.py Patch #12 (sos-bz1857697-gluster-state_files_deletion.patch): + echo 'Patch #12 (sos-bz1857697-gluster-state_files_deletion.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1857697-gluster-state_files_deletion.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/gluster.py Patch #13 (sos-bz1859885-kubernetes_ignore_empty_lines.patch): + echo 'Patch #13 (sos-bz1859885-kubernetes_ignore_empty_lines.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1859885-kubernetes_ignore_empty_lines.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/kubernetes.py Patch #14 (sos-bz1870379-networking_skip_eeprom_colection_for_bnx2x.patch): + echo 'Patch #14 (sos-bz1870379-networking_skip_eeprom_colection_for_bnx2x.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1870379-networking_skip_eeprom_colection_for_bnx2x.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/networking.py Patch #15 (sos-bz1871207-audit_collect_etc_audisp.patch): + echo 'Patch #15 (sos-bz1871207-audit_collect_etc_audisp.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1871207-audit_collect_etc_audisp.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/auditd.py Patch #16 (sos-bz1886432-policy_fix_failure_conditions_with_upload.patch): + echo 'Patch #16 (sos-bz1886432-policy_fix_failure_conditions_with_upload.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1886432-policy_fix_failure_conditions_with_upload.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/policies/__init__.py patching file sos/policies/redhat.py Patch #17 (sos-bz1897903-postgresql_collect_rh-postgresql12.patch): + echo 'Patch #17 (sos-bz1897903-postgresql_collect_rh-postgresql12.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1897903-postgresql_collect_rh-postgresql12.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/postgresql.py Patch #18 (sos-bz1917074-networking_ethtool-e_conditionally_only.patch): + echo 'Patch #18 (sos-bz1917074-networking_ethtool-e_conditionally_only.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1917074-networking_ethtool-e_conditionally_only.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/networking.py Patch #19 (sos-bz1785813-foreman-proxy_password_scrub.patch): + echo 'Patch #19 (sos-bz1785813-foreman-proxy_password_scrub.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1785813-foreman-proxy_password_scrub.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/foreman.py Patch #20 (sos-bz1932772-candlepin-foreman_psql_with_--no-password_1.patch): + echo 'Patch #20 (sos-bz1932772-candlepin-foreman_psql_with_--no-password_1.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1932772-candlepin-foreman_psql_with_--no-password_1.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/foreman.py Patch #21 (sos-bz1932772-candlepin-foreman_psql_with_--no-password_2.patch): + echo 'Patch #21 (sos-bz1932772-candlepin-foreman_psql_with_--no-password_2.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1932772-candlepin-foreman_psql_with_--no-password_2.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/candlepin.py Patch #22 (sos-bz1903144-pacemaker_fix_scrubbing_password.patch): + echo 'Patch #22 (sos-bz1903144-pacemaker_fix_scrubbing_password.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1903144-pacemaker_fix_scrubbing_password.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/pacemaker.py Patch #23 (sos-bz1886784-filesys_never_collect_panfs.patch): + echo 'Patch #23 (sos-bz1886784-filesys_never_collect_panfs.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1886784-filesys_never_collect_panfs.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/filesys.py Patch #24 (sos-bz1892692-openstack_ceilometer_backend_url.patch): + echo 'Patch #24 (sos-bz1892692-openstack_ceilometer_backend_url.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1892692-openstack_ceilometer_backend_url.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/openstack_ceilometer.py Patch #25 (sos-bz1938932-sssd-add-individual-sssd-log-files.patch): + echo 'Patch #25 (sos-bz1938932-sssd-add-individual-sssd-log-files.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1938932-sssd-add-individual-sssd-log-files.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/sssd.py Patch #26 (sos-bz1938932-sssd-enable-collecting-memory-cache.patch): + echo 'Patch #26 (sos-bz1938932-sssd-enable-collecting-memory-cache.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1938932-sssd-enable-collecting-memory-cache.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/sssd.py Patch #27 (sos-bz1938932-sssd-collect-memory-cache-individual-files.patch): + echo 'Patch #27 (sos-bz1938932-sssd-collect-memory-cache-individual-files.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1938932-sssd-collect-memory-cache-individual-files.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/sssd.py Patch #28 (sos-bz1956672-add-plugin-for-pulp-3.patch): + echo 'Patch #28 (sos-bz1956672-add-plugin-for-pulp-3.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1956672-add-plugin-for-pulp-3.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/pulpcore.py Patch #29 (sos-bz1956672-add-plugin-for-pulp-3_2.patch): + echo 'Patch #29 (sos-bz1956672-add-plugin-for-pulp-3_2.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1956672-add-plugin-for-pulp-3_2.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/pulpcore.py Patch #30 (sos-bz1956817-fix-unmatched-group-error-in-scrubbing-installer-logs.patch): + echo 'Patch #30 (sos-bz1956817-fix-unmatched-group-error-in-scrubbing-installer-logs.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1956817-fix-unmatched-group-error-in-scrubbing-installer-logs.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/foreman.py Patch #31 (sos-bz1964000-foreman-collect-all-apache-foreman.patch): + echo 'Patch #31 (sos-bz1964000-foreman-collect-all-apache-foreman.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1964000-foreman-collect-all-apache-foreman.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/foreman.py Patch #32 (sos-bz1964000-foreman-follow-sizelimit-to-foreman-maintain-and-installer-logs.patch): + echo 'Patch #32 (sos-bz1964000-foreman-follow-sizelimit-to-foreman-maintain-and-installer-logs.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1964000-foreman-follow-sizelimit-to-foreman-maintain-and-installer-logs.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/foreman.py Patch #33 (sos-bz1946641-sssd-plugin-when-sssd-common.patch): + echo 'Patch #33 (sos-bz1946641-sssd-plugin-when-sssd-common.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1946641-sssd-plugin-when-sssd-common.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/sssd.py Patch #34 (sos-bz1959781-migrationresults-new-plugin.patch): + echo 'Patch #34 (sos-bz1959781-migrationresults-new-plugin.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz1959781-migrationresults-new-plugin.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/plugins/migration_results.py Patch #35 (sos-bz2011337-dropbox-to-sftp.patch): + echo 'Patch #35 (sos-bz2011337-dropbox-to-sftp.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-bz2011337-dropbox-to-sftp.patch + /usr/bin/patch -p1 --fuzz=0 patching file man/en/sosreport.1 patching file sos/__init__.py patching file sos/policies/__init__.py Hunk #8 succeeded at 1309 (offset -4 lines). patching file sos/policies/redhat.py patching file sos/sosreport.py patching file sos/policies/__init__.py patching file sos/policies/redhat.py patching file sos/policies/__init__.py Patch #36 (sos-centos-branding.patch): + echo 'Patch #36 (sos-centos-branding.patch):' + /usr/bin/cat /builddir/build/SOURCES/sos-centos-branding.patch + /usr/bin/patch -p1 --fuzz=0 patching file sos/policies/redhat.py Hunk #1 succeeded at 95 (offset 6 lines). Hunk #2 succeeded at 193 (offset 6 lines). Hunk #3 succeeded at 263 (offset 6 lines). Hunk #4 succeeded at 284 (offset 4 lines). Hunk #5 FAILED at 334. Hunk #6 succeeded at 455 (offset 66 lines). Hunk #7 succeeded at 464 (offset 66 lines). Hunk #8 succeeded at 501 (offset 66 lines). Hunk #9 succeeded at 522 (offset 66 lines). 1 out of 9 hunks FAILED -- saving rejects to file sos/policies/redhat.py.rej patching file sos/policies/redhat.py Hunk #1 succeeded at 38 (offset 7 lines). Hunk #2 succeeded at 93 (offset 6 lines). Hunk #3 FAILED at 309. 1 out of 3 hunks FAILED -- saving rejects to file sos/policies/redhat.py.rej error: Bad exit status from /var/tmp/rpm-tmp.Pp4ynF (%prep) Bad exit status from /var/tmp/rpm-tmp.Pp4ynF (%prep) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target ppc --nodeps /builddir/build/SPECS/sos.spec