Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/openstack-cinder.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-283657-27381/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/openstack-cinder.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/openstack-cinder-21.3.1-3.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/openstack-cinder.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-283657-27381/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/openstack-cinder.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.OwW551 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cinder-21.3.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cinder-21.3.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cinder-21.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-CVE-2024-32498.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f The text leading up to this was: -------------------------- |commit 2d4c0610e8d95fd0fde9b7ea293ebf3eeff82aa7 |Author: Arnaud Morin |AuthorDate: Fri Mar 29 15:18:30 2024 +0100 |Commit: Arnaud Morin |CommitDate: Tue Apr 2 15:17:53 2024 +0200 | | Discard qemu image that contains data-file | | As VMDK, this is too risky | | JIRA: PCI-24625 | | Signed-off-by: Arnaud Morin | Change-Id: I46cdb3abb3c15f78c2ba15cada97ceea3f0c0a1a | |diff --git a/cinder/image/image_utils.py b/cinder/image/image_utils.py |index ea2ce6226..eb3bceb9c 100644 |--- a/cinder/image/image_utils.py |+++ b/cinder/image/image_utils.py -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored The text leading up to this was: -------------------------- |diff --git a/cinder/tests/unit/test_image_utils.py b/cinder/tests/unit/test_image_utils.py |index b5b8167a4..e940fc0af 100644 |--- a/cinder/tests/unit/test_image_utils.py |+++ b/cinder/tests/unit/test_image_utils.py -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.OwW551 (%prep) Bad exit status from /var/tmp/rpm-tmp.OwW551 (%prep) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/openstack-cinder.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, 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 --noclean --target noarch --nodeps /builddir/build/SPECS/openstack-cinder.spec