Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/crypto-policies.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-10862-488/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/crypto-policies.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/crypto-policies-20230614-3.git027799d.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/crypto-policies.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-10862-488/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/crypto-policies.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.SyQtQt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf fedora-crypto-policies-027799d-027799d4336eb324f4543f64db8f17ad45cbcb46 + /usr/bin/gzip -dc /builddir/build/SOURCES/crypto-policies-git027799d.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd fedora-crypto-policies-027799d-027799d4336eb324f4543f64db8f17ad45cbcb46 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/5000-Revert-openssl-disable-SHA-1-signatures-in-FUTURE-NO.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f 1 out of 1 hunk FAILED -- saving rejects to file policies/FUTURE.pol.rej The text leading up to this was: -------------------------- |diff -Naur fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f.orig/policies/TEST-FEDORA39.pol fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f/policies/TEST-FEDORA39.pol |--- fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f.orig/policies/TEST-FEDORA39.pol 2023-06-14 21:28:09.000000000 +0800 |+++ fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f/policies/TEST-FEDORA39.pol 2023-07-19 16:13:11.816925775 +0800 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored 1 out of 1 hunk FAILED -- saving rejects to file policies/modules/NO-SHA1.pmod.rej 1 out of 1 hunk FAILED -- saving rejects to file python/cryptopolicies/cryptopolicies.py.rej 2 out of 2 hunks FAILED -- saving rejects to file python/policygenerators/openssl.py.rej 1 out of 1 hunk FAILED -- saving rejects to file tests/alternative-policies/FUTURE.pol.rej 1 out of 1 hunk FAILED -- saving rejects to file tests/outputs/DEFAULT-opensslcnf.txt.rej The text leading up to this was: -------------------------- |diff -Naur fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f.orig/tests/outputs/DEFAULT:FEDORA32-opensslcnf.txt fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f/tests/outputs/DEFAULT:FEDORA32-opensslcnf.txt |--- fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f.orig/tests/outputs/DEFAULT:FEDORA32-opensslcnf.txt 2023-06-14 21:28:09.000000000 +0800 |+++ fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f/tests/outputs/DEFAULT:FEDORA32-opensslcnf.txt 2023-07-19 15:18:16.675162466 +0800 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored The text leading up to this was: -------------------------- |diff -Naur fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f.orig/tests/outputs/DEFAULT:GOST-opensslcnf.txt fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f/tests/outputs/DEFAULT:GOST-opensslcnf.txt |--- fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f.orig/tests/outputs/DEFAULT:GOST-opensslcnf.txt 2023-06-14 21:28:09.000000000 +0800 |+++ fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f/tests/outputs/DEFAULT:GOST-opensslcnf.txt 2023-07-19 15:18:24.446161908 +0800 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored 1 out of 1 hunk FAILED -- saving rejects to file tests/outputs/EMPTY-opensslcnf.txt.rej The text leading up to this was: -------------------------- |diff -Naur fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f.orig/tests/outputs/FEDORA38-opensslcnf.txt fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f/tests/outputs/FEDORA38-opensslcnf.txt |--- fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f.orig/tests/outputs/FEDORA38-opensslcnf.txt 2023-06-14 21:28:09.000000000 +0800 |+++ fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f/tests/outputs/FEDORA38-opensslcnf.txt 2023-07-19 16:36:54.165823631 +0800 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored 1 out of 1 hunk FAILED -- saving rejects to file tests/outputs/FIPS-opensslcnf.txt.rej 1 out of 1 hunk FAILED -- saving rejects to file tests/outputs/FIPS:ECDHE-ONLY-opensslcnf.txt.rej 1 out of 1 hunk FAILED -- saving rejects to file tests/outputs/FIPS:OSPP-opensslcnf.txt.rej 1 out of 1 hunk FAILED -- saving rejects to file tests/outputs/FUTURE-opensslcnf.txt.rej The text leading up to this was: -------------------------- |diff -Naur fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f.orig/tests/outputs/GOST-ONLY-opensslcnf.txt fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f/tests/outputs/GOST-ONLY-opensslcnf.txt |--- fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f.orig/tests/outputs/GOST-ONLY-opensslcnf.txt 2023-06-14 21:28:09.000000000 +0800 |+++ fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f/tests/outputs/GOST-ONLY-opensslcnf.txt 2023-07-19 15:19:28.274157338 +0800 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored 1 out of 1 hunk FAILED -- saving rejects to file tests/outputs/LEGACY-opensslcnf.txt.rej The text leading up to this was: -------------------------- |diff -Naur fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f.orig/tests/outputs/LEGACY:AD-SUPPORT-opensslcnf.txt fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f/tests/outputs/LEGACY:AD-SUPPORT-opensslcnf.txt |--- fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f.orig/tests/outputs/LEGACY:AD-SUPPORT-opensslcnf.txt 2023-06-14 21:28:09.000000000 +0800 |+++ fedora-crypto-policies-5f3458e-5f3458e619628288883f22695f3311f1ccd6a39f/tests/outputs/LEGACY:AD-SUPPORT-opensslcnf.txt 2023-07-19 15:19:47.486155960 +0800 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored 2 out of 2 hunks FAILED -- saving rejects to file tests/unit/test_cryptopolicy.py.rej RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.SyQtQt (%prep) Bad exit status from /var/tmp/rpm-tmp.SyQtQt (%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 598, 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/crypto-policies.spec