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-ceilometer.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-18044-1041/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=990gid=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-ceilometer.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-ceilometer-16.0.0-2.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-ceilometer.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-18044-1041/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=990gid=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-ceilometer.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.rLZA9U + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ceilometer-16.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ceilometer-16.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ceilometer-16.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'openstack-ceilometer-16.0.0 base' + /usr/bin/git checkout --track -b rpm-build branch 'rpm-build' set up to track 'master'. Switched to a new branch 'rpm-build' + find . '(' -name .gitignore -o -name .placeholder ')' -delete + find ceilometer -name '*.py' -exec sed -i '/\/usr\/bin\/env python/{d;q}' '{}' + + sed -i '/setup_requires/d; /install_requires/d; /dependency_links/d' setup.py + sed -i 's/from oslo_utils import fnmatch/import fnmatch/g' ceilometer/agent.py + sed -i 's/from oslo_utils import fnmatch/import fnmatch/g' ceilometer/event/converter.py + sed -i 's/from oslo_utils import fnmatch/import fnmatch/g' ceilometer/publisher/gnocchi.py + rm -rf requirements.txt test-requirements.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8ZmzuB + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 ceilometer-16.0.0 + PYTHONPATH=. + oslo-config-generator --config-file=etc/ceilometer/ceilometer-config-generator.conf Traceback (most recent call last): File "/usr/bin/oslo-config-generator", line 10, in sys.exit(main()) File "/usr/lib/python3.10/site-packages/oslo_config/generator.py", line 836, in main generate(conf) File "/usr/lib/python3.10/site-packages/oslo_config/generator.py", line 797, in generate groups = _get_groups(_list_opts(conf.namespace)) File "/usr/lib/python3.10/site-packages/oslo_config/generator.py", line 524, in _list_opts loaders = _get_raw_opts_loaders(namespaces) File "/usr/lib/python3.10/site-packages/oslo_config/generator.py", line 464, in _get_raw_opts_loaders mgr = stevedore.named.NamedExtensionManager( File "/usr/lib/python3.10/site-packages/stevedore/named.py", line 78, in __init__ extensions = self._load_plugins(invoke_on_load, File "/usr/lib/python3.10/site-packages/stevedore/extension.py", line 241, in _load_plugins self._on_load_failure_callback(self, ep, err) File "/usr/lib/python3.10/site-packages/stevedore/extension.py", line 229, in _load_plugins ext = self._load_one_plugin(ep, File "/usr/lib/python3.10/site-packages/stevedore/named.py", line 156, in _load_one_plugin return super(NamedExtensionManager, self)._load_one_plugin( File "/usr/lib/python3.10/site-packages/stevedore/extension.py", line 263, in _load_one_plugin plugin = ep.load() File "/usr/lib64/python3.10/importlib/metadata/__init__.py", line 171, in load module = import_module(match.group('module')) File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/builddir/build/BUILD/ceilometer-16.0.0/ceilometer/opts.py", line 24, in import ceilometer.compute.virt.xenapi.inspector File "/builddir/build/BUILD/ceilometer-16.0.0/ceilometer/compute/virt/xenapi/inspector.py", line 16, in from os_xenapi.client import session as xenapi_session File "/usr/lib/python3.10/site-packages/os_xenapi/client/session.py", line 27, in from eventlet import queue File "/usr/lib/python3.10/site-packages/eventlet/__init__.py", line 17, in from eventlet import convenience File "/usr/lib/python3.10/site-packages/eventlet/convenience.py", line 7, in from eventlet.green import socket File "/usr/lib/python3.10/site-packages/eventlet/green/socket.py", line 21, in from eventlet.support import greendns File "/usr/lib/python3.10/site-packages/eventlet/support/greendns.py", line 66, in setattr(dns, pkg, import_patched('dns.' + pkg)) File "/usr/lib/python3.10/site-packages/eventlet/support/greendns.py", line 61, in import_patched return patcher.import_patched(module_name, **modules) File "/usr/lib/python3.10/site-packages/eventlet/patcher.py", line 132, in import_patched return inject( File "/usr/lib/python3.10/site-packages/eventlet/patcher.py", line 109, in inject module = __import__(module_name, {}, {}, module_name.split('.')[:-1]) File "/usr/lib/python3.10/site-packages/dns/zone.py", line 86, in class Zone(dns.transaction.TransactionManager): File "/usr/lib/python3.10/site-packages/dns/zone.py", line 757, in Zone ) -> dns.rdtypes.ANY.SOA.SOA: AttributeError: module 'dns.rdtypes' has no attribute 'ANY' error: Bad exit status from /var/tmp/rpm-tmp.8ZmzuB (%build) Bad exit status from /var/tmp/rpm-tmp.8ZmzuB (%build) RPM build errors: 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-ceilometer.spec\n', 1)] 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 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-ceilometer.spec