Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/openstack-nova.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-198912-13923/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=981gid=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-nova.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-nova-26.2.0-4.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-nova.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-198912-13923/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=981gid=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-nova.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.B5ssAZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nova-26.2.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/nova-26.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd nova-26.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-downgrade-the-version-of-qemu-from-4.2.0-to-4.1.0.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find . '(' -name .gitignore -o -name .placeholder ')' -delete + find nova -name '*.py' -exec sed -i '/\/usr\/bin\/env python/{d;q}' '{}' + + rm -rf requirements.txt test-requirements.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hvPQ3R + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd nova-26.2.0 + PYTHONPATH=. + oslo-config-generator --config-file=etc/nova/nova-config-generator.conf Traceback (most recent call last): File "/usr/bin/oslo-config-generator", line 10, in sys.exit(main()) ^^^^^^ File "/usr/lib/python3.11/site-packages/oslo_config/generator.py", line 836, in main generate(conf) File "/usr/lib/python3.11/site-packages/oslo_config/generator.py", line 797, in generate groups = _get_groups(_list_opts(conf.namespace)) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/oslo_config/generator.py", line 524, in _list_opts loaders = _get_raw_opts_loaders(namespaces) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/oslo_config/generator.py", line 464, in _get_raw_opts_loaders mgr = stevedore.named.NamedExtensionManager( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/stevedore/named.py", line 78, in __init__ extensions = self._load_plugins(invoke_on_load, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/stevedore/extension.py", line 241, in _load_plugins self._on_load_failure_callback(self, ep, err) File "/usr/lib/python3.11/site-packages/stevedore/extension.py", line 229, in _load_plugins ext = self._load_one_plugin(ep, ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/stevedore/named.py", line 156, in _load_one_plugin return super(NamedExtensionManager, self)._load_one_plugin( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/stevedore/extension.py", line 263, in _load_one_plugin plugin = ep.load() ^^^^^^^^^ File "/usr/lib64/python3.11/importlib/metadata/__init__.py", line 202, in load module = import_module(match.group('module')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1126, in _find_and_load_unlocked File "", line 241, in _call_with_frames_removed File "", line 1204, in _gcd_import File "", line 1176, in _find_and_load File "", line 1147, in _find_and_load_unlocked File "", line 690, in _load_unlocked File "", line 940, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/build/BUILD/nova-26.2.0/nova/conf/__init__.py", line 26, in from nova.conf import cinder File "/builddir/build/BUILD/nova-26.2.0/nova/conf/cinder.py", line 16, in from keystoneauth1 import loading as ks_loading File "/usr/lib/python3.11/site-packages/keystoneauth1/loading/__init__.py", line 15, in from keystoneauth1.loading import adapter File "/usr/lib/python3.11/site-packages/keystoneauth1/loading/adapter.py", line 13, in from keystoneauth1 import adapter File "/usr/lib/python3.11/site-packages/keystoneauth1/adapter.py", line 19, in from keystoneauth1 import session File "/usr/lib/python3.11/site-packages/keystoneauth1/session.py", line 40, in import osprofiler.web as osprofiler_web File "/usr/lib/python3.11/site-packages/osprofiler/web.py", line 19, in from osprofiler import profiler File "/usr/lib/python3.11/site-packages/osprofiler/profiler.py", line 27, in from osprofiler import notifier File "/usr/lib/python3.11/site-packages/osprofiler/notifier.py", line 18, in from osprofiler.drivers import base File "/usr/lib/python3.11/site-packages/osprofiler/drivers/__init__.py", line 5, in from osprofiler.drivers import loginsight # noqa ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/osprofiler/drivers/loginsight.py", line 25, in from oslo_concurrency.lockutils import synchronized File "/usr/lib/python3.11/site-packages/oslo_concurrency/lockutils.py", line 37, in import eventlet File "/usr/lib/python3.11/site-packages/eventlet/__init__.py", line 17, in from eventlet import convenience File "/usr/lib/python3.11/site-packages/eventlet/convenience.py", line 7, in from eventlet.green import socket File "/usr/lib/python3.11/site-packages/eventlet/green/socket.py", line 4, in __import__('eventlet.green._socket_nodns') File "/usr/lib/python3.11/site-packages/eventlet/green/_socket_nodns.py", line 11, in from eventlet import greenio File "/usr/lib/python3.11/site-packages/eventlet/greenio/__init__.py", line 3, in from eventlet.greenio.base import * # noqa ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/greenio/base.py", line 473, in from OpenSSL import SSL File "/usr/lib/python3.11/site-packages/OpenSSL/__init__.py", line 8, in from OpenSSL import crypto, SSL File "/usr/lib/python3.11/site-packages/OpenSSL/crypto.py", line 1570, in class X509StoreFlags(object): File "/usr/lib/python3.11/site-packages/OpenSSL/crypto.py", line 1589, in X509StoreFlags NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'. Did you mean: 'X509_V_FLAG_EXPLICIT_POLICY'? error: Bad exit status from /var/tmp/rpm-tmp.hvPQ3R (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.hvPQ3R (%build) 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-nova.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/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 --noclean --target noarch --nodeps /builddir/build/SPECS/openstack-nova.spec