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-ironic-python-agent.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-73897-4447/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t7hqtf8e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t7hqtf8e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c2cd19b07eb54b6abf45160e771bfa76', '-D', '/var/lib/mock/dist-ocs23-python311-build-73897-4447/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t7hqtf8e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/openstack-ironic-python-agent.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/openstack-ironic-python-agent-7.0.2-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-ironic-python-agent.spec'], chrootPath='/var/lib/mock/dist-ocs23-python311-build-73897-4447/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t7hqtf8e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t7hqtf8e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd198a9d403974f9e967e6924a961c2de', '-D', '/var/lib/mock/dist-ocs23-python311-build-73897-4447/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.t7hqtf8e:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/openstack-ironic-python-agent.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vmptxY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ironic-python-agent-7.0.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ironic-python-agent-7.0.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ironic-python-agent-7.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf plugin-requirements.txt requirements.txt test-requirements.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oIBhdf + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + 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 ironic-python-agent-7.0.2 + 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' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'python-requires' will not be supported in future versions. Please use the underscore name 'python_requires' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'python-requires' will not be supported in future versions. Please use the underscore name 'python_requires' instead warnings.warn( running build running build_py creating build creating build/lib creating build/lib/ironic_python_agent creating build/lib/ironic_python_agent/hardware_managers copying ironic_python_agent/hardware_managers/cna.py -> build/lib/ironic_python_agent/hardware_managers copying ironic_python_agent/hardware_managers/mlnx.py -> build/lib/ironic_python_agent/hardware_managers copying ironic_python_agent/hardware_managers/__init__.py -> build/lib/ironic_python_agent/hardware_managers creating build/lib/ironic_python_agent/tests creating build/lib/ironic_python_agent/tests/unit creating build/lib/ironic_python_agent/tests/unit/hardware_managers copying ironic_python_agent/tests/unit/hardware_managers/__init__.py -> build/lib/ironic_python_agent/tests/unit/hardware_managers copying ironic_python_agent/tests/unit/hardware_managers/test_cna.py -> build/lib/ironic_python_agent/tests/unit/hardware_managers copying ironic_python_agent/tests/unit/hardware_managers/test_mlnx.py -> build/lib/ironic_python_agent/tests/unit/hardware_managers creating build/lib/ironic_python_agent/api copying ironic_python_agent/api/__init__.py -> build/lib/ironic_python_agent/api copying ironic_python_agent/api/app.py -> build/lib/ironic_python_agent/api creating build/lib/ironic_python_agent/tests/unit/extensions copying ironic_python_agent/tests/unit/extensions/test_rescue.py -> build/lib/ironic_python_agent/tests/unit/extensions copying ironic_python_agent/tests/unit/extensions/test_log.py -> build/lib/ironic_python_agent/tests/unit/extensions copying ironic_python_agent/tests/unit/extensions/test_standby.py -> build/lib/ironic_python_agent/tests/unit/extensions copying ironic_python_agent/tests/unit/extensions/test_iscsi.py -> build/lib/ironic_python_agent/tests/unit/extensions copying ironic_python_agent/tests/unit/extensions/test_deploy.py -> build/lib/ironic_python_agent/tests/unit/extensions copying ironic_python_agent/tests/unit/extensions/test_clean.py -> build/lib/ironic_python_agent/tests/unit/extensions copying ironic_python_agent/tests/unit/extensions/__init__.py -> build/lib/ironic_python_agent/tests/unit/extensions copying ironic_python_agent/tests/unit/extensions/test_image.py -> build/lib/ironic_python_agent/tests/unit/extensions copying ironic_python_agent/tests/unit/extensions/test_flow.py -> build/lib/ironic_python_agent/tests/unit/extensions copying ironic_python_agent/tests/unit/extensions/test_poll.py -> build/lib/ironic_python_agent/tests/unit/extensions copying ironic_python_agent/tests/unit/extensions/test_base.py -> build/lib/ironic_python_agent/tests/unit/extensions copying ironic_python_agent/tests/unit/test_tls_utils.py -> build/lib/ironic_python_agent/tests/unit copying ironic_python_agent/tests/unit/test_errors.py -> build/lib/ironic_python_agent/tests/unit copying ironic_python_agent/tests/unit/test_agent.py -> build/lib/ironic_python_agent/tests/unit copying ironic_python_agent/tests/unit/test_hardware.py -> build/lib/ironic_python_agent/tests/unit copying ironic_python_agent/tests/unit/base.py -> build/lib/ironic_python_agent/tests/unit copying ironic_python_agent/tests/unit/test_multi_hardware.py -> build/lib/ironic_python_agent/tests/unit copying ironic_python_agent/tests/unit/test_encoding.py -> build/lib/ironic_python_agent/tests/unit copying ironic_python_agent/tests/unit/test_api.py -> build/lib/ironic_python_agent/tests/unit copying ironic_python_agent/tests/unit/test_inspector.py -> build/lib/ironic_python_agent/tests/unit copying ironic_python_agent/tests/unit/test_numa_inspector.py -> build/lib/ironic_python_agent/tests/unit copying ironic_python_agent/tests/unit/__init__.py -> build/lib/ironic_python_agent/tests/unit copying ironic_python_agent/tests/unit/test_utils.py -> build/lib/ironic_python_agent/tests/unit copying ironic_python_agent/tests/unit/test_ironic_api_client.py -> build/lib/ironic_python_agent/tests/unit copying ironic_python_agent/tests/unit/test_multi_hardware_clean_steps.py -> build/lib/ironic_python_agent/tests/unit copying ironic_python_agent/tests/unit/test_dmi_inspector.py -> build/lib/ironic_python_agent/tests/unit copying ironic_python_agent/tests/unit/test_inject_files.py -> build/lib/ironic_python_agent/tests/unit copying ironic_python_agent/tests/unit/test_raid_utils.py -> build/lib/ironic_python_agent/tests/unit copying ironic_python_agent/tests/unit/dmi_inspector_data.py -> build/lib/ironic_python_agent/tests/unit copying ironic_python_agent/tests/unit/test_base.py -> build/lib/ironic_python_agent/tests/unit copying ironic_python_agent/tests/unit/test_netutils.py -> build/lib/ironic_python_agent/tests/unit creating build/lib/ironic_python_agent/cmd copying ironic_python_agent/cmd/agent.py -> build/lib/ironic_python_agent/cmd copying ironic_python_agent/cmd/__init__.py -> build/lib/ironic_python_agent/cmd copying ironic_python_agent/cmd/inspect.py -> build/lib/ironic_python_agent/cmd creating build/lib/ironic_python_agent/extensions copying ironic_python_agent/extensions/flow.py -> build/lib/ironic_python_agent/extensions copying ironic_python_agent/extensions/base.py -> build/lib/ironic_python_agent/extensions copying ironic_python_agent/extensions/deploy.py -> build/lib/ironic_python_agent/extensions copying ironic_python_agent/extensions/rescue.py -> build/lib/ironic_python_agent/extensions copying ironic_python_agent/extensions/standby.py -> build/lib/ironic_python_agent/extensions copying ironic_python_agent/extensions/image.py -> build/lib/ironic_python_agent/extensions copying ironic_python_agent/extensions/clean.py -> build/lib/ironic_python_agent/extensions copying ironic_python_agent/extensions/__init__.py -> build/lib/ironic_python_agent/extensions copying ironic_python_agent/extensions/poll.py -> build/lib/ironic_python_agent/extensions copying ironic_python_agent/extensions/log.py -> build/lib/ironic_python_agent/extensions copying ironic_python_agent/extensions/iscsi.py -> build/lib/ironic_python_agent/extensions copying ironic_python_agent/encoding.py -> build/lib/ironic_python_agent copying ironic_python_agent/tls_utils.py -> build/lib/ironic_python_agent copying ironic_python_agent/raid_utils.py -> build/lib/ironic_python_agent copying ironic_python_agent/inject_files.py -> build/lib/ironic_python_agent copying ironic_python_agent/hardware.py -> build/lib/ironic_python_agent copying ironic_python_agent/utils.py -> build/lib/ironic_python_agent copying ironic_python_agent/agent.py -> build/lib/ironic_python_agent copying ironic_python_agent/ironic_api_client.py -> build/lib/ironic_python_agent copying ironic_python_agent/version.py -> build/lib/ironic_python_agent copying ironic_python_agent/dmi_inspector.py -> build/lib/ironic_python_agent copying ironic_python_agent/__init__.py -> build/lib/ironic_python_agent copying ironic_python_agent/inspect.py -> build/lib/ironic_python_agent copying ironic_python_agent/config.py -> build/lib/ironic_python_agent copying ironic_python_agent/numa_inspector.py -> build/lib/ironic_python_agent copying ironic_python_agent/inspector.py -> build/lib/ironic_python_agent copying ironic_python_agent/errors.py -> build/lib/ironic_python_agent copying ironic_python_agent/netutils.py -> build/lib/ironic_python_agent copying ironic_python_agent/tests/__init__.py -> build/lib/ironic_python_agent/tests creating build/lib/ironic_python_agent/tests/functional copying ironic_python_agent/tests/functional/base.py -> build/lib/ironic_python_agent/tests/functional copying ironic_python_agent/tests/functional/__init__.py -> build/lib/ironic_python_agent/tests/functional copying ironic_python_agent/tests/functional/test_commands.py -> build/lib/ironic_python_agent/tests/functional running egg_info writing ironic_python_agent.egg-info/PKG-INFO writing dependency_links to ironic_python_agent.egg-info/dependency_links.txt writing entry points to ironic_python_agent.egg-info/entry_points.txt deleting ironic_python_agent.egg-info/requires.txt writing top-level names to ironic_python_agent.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'ironic_python_agent.shell' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'ironic_python_agent.shell' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'ironic_python_agent.shell' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'ironic_python_agent.shell' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) /usr/lib/python3.11/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'ironic_python_agent.tests.unit.samples' as data is deprecated, please list it in `packages`. !! ############################ # Package would be ignored # ############################ Python recognizes 'ironic_python_agent.tests.unit.samples' as an importable package, but it is not listed in the `packages` configuration of setuptools. 'ironic_python_agent.tests.unit.samples' has been automatically added to the distribution only because it may contain data files, but this behavior is likely to change in future versions of setuptools (and therefore is considered deprecated). Please make sure that 'ironic_python_agent.tests.unit.samples' is included as a package by using the `packages` configuration field or the proper discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" and "data files" on setuptools documentation page. !! check.warn(importable) creating build/lib/ironic_python_agent/tests/unit/samples copying ironic_python_agent/tests/unit/samples/hardware_samples.py -> build/lib/ironic_python_agent/tests/unit/samples creating build/lib/ironic_python_agent/shell copying ironic_python_agent/shell/write_image.sh -> build/lib/ironic_python_agent/shell + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Uw9kA9 + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + '[' /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch + cd ironic-python-agent-7.0.2 + 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' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'python-requires' will not be supported in future versions. Please use the underscore name 'python_requires' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'python-requires' will not be supported in future versions. Please use the underscore name 'python_requires' instead warnings.warn( running install [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running install_lib creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent copying build/lib/ironic_python_agent/encoding.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent copying build/lib/ironic_python_agent/tls_utils.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent copying build/lib/ironic_python_agent/raid_utils.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent copying build/lib/ironic_python_agent/inject_files.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent copying build/lib/ironic_python_agent/hardware.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent copying build/lib/ironic_python_agent/utils.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent copying build/lib/ironic_python_agent/agent.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent copying build/lib/ironic_python_agent/ironic_api_client.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent copying build/lib/ironic_python_agent/version.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent copying build/lib/ironic_python_agent/dmi_inspector.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions copying build/lib/ironic_python_agent/extensions/flow.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions copying build/lib/ironic_python_agent/extensions/base.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions copying build/lib/ironic_python_agent/extensions/deploy.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions copying build/lib/ironic_python_agent/extensions/rescue.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions copying build/lib/ironic_python_agent/extensions/standby.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions copying build/lib/ironic_python_agent/extensions/image.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions copying build/lib/ironic_python_agent/extensions/clean.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions copying build/lib/ironic_python_agent/extensions/__init__.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions copying build/lib/ironic_python_agent/extensions/poll.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions copying build/lib/ironic_python_agent/extensions/log.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions copying build/lib/ironic_python_agent/extensions/iscsi.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions copying build/lib/ironic_python_agent/__init__.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent copying build/lib/ironic_python_agent/inspect.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent copying build/lib/ironic_python_agent/config.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/hardware_managers copying build/lib/ironic_python_agent/hardware_managers/cna.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/hardware_managers copying build/lib/ironic_python_agent/hardware_managers/mlnx.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/hardware_managers copying build/lib/ironic_python_agent/hardware_managers/__init__.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/hardware_managers creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/unit/test_tls_utils.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/unit/test_errors.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/unit/test_agent.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/unit/test_hardware.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/unit/base.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/unit/test_multi_hardware.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/unit/test_encoding.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/unit/test_api.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/unit/test_inspector.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/unit/test_numa_inspector.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions copying build/lib/ironic_python_agent/tests/unit/extensions/test_rescue.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions copying build/lib/ironic_python_agent/tests/unit/extensions/test_log.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions copying build/lib/ironic_python_agent/tests/unit/extensions/test_standby.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions copying build/lib/ironic_python_agent/tests/unit/extensions/test_iscsi.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions copying build/lib/ironic_python_agent/tests/unit/extensions/test_deploy.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions copying build/lib/ironic_python_agent/tests/unit/extensions/test_clean.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions copying build/lib/ironic_python_agent/tests/unit/extensions/__init__.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions copying build/lib/ironic_python_agent/tests/unit/extensions/test_image.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions copying build/lib/ironic_python_agent/tests/unit/extensions/test_flow.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions copying build/lib/ironic_python_agent/tests/unit/extensions/test_poll.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions copying build/lib/ironic_python_agent/tests/unit/extensions/test_base.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions copying build/lib/ironic_python_agent/tests/unit/__init__.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/unit/test_utils.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/unit/test_ironic_api_client.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/unit/test_multi_hardware_clean_steps.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/hardware_managers copying build/lib/ironic_python_agent/tests/unit/hardware_managers/__init__.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/hardware_managers copying build/lib/ironic_python_agent/tests/unit/hardware_managers/test_cna.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/hardware_managers copying build/lib/ironic_python_agent/tests/unit/hardware_managers/test_mlnx.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/hardware_managers creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/samples copying build/lib/ironic_python_agent/tests/unit/samples/hardware_samples.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/samples copying build/lib/ironic_python_agent/tests/unit/test_dmi_inspector.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/unit/test_inject_files.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/unit/test_raid_utils.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/unit/dmi_inspector_data.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/unit/test_base.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/unit/test_netutils.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/__init__.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/functional copying build/lib/ironic_python_agent/tests/functional/base.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/functional copying build/lib/ironic_python_agent/tests/functional/__init__.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/functional copying build/lib/ironic_python_agent/tests/functional/test_commands.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/functional creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/shell copying build/lib/ironic_python_agent/shell/write_image.sh -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/shell copying build/lib/ironic_python_agent/numa_inspector.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent copying build/lib/ironic_python_agent/inspector.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent copying build/lib/ironic_python_agent/errors.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/api copying build/lib/ironic_python_agent/api/__init__.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/api copying build/lib/ironic_python_agent/api/app.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/api copying build/lib/ironic_python_agent/netutils.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/cmd copying build/lib/ironic_python_agent/cmd/agent.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/cmd copying build/lib/ironic_python_agent/cmd/__init__.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/cmd copying build/lib/ironic_python_agent/cmd/inspect.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/cmd byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/encoding.py to encoding.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tls_utils.py to tls_utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/raid_utils.py to raid_utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/inject_files.py to inject_files.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/hardware.py to hardware.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/utils.py to utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/agent.py to agent.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/ironic_api_client.py to ironic_api_client.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/version.py to version.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/dmi_inspector.py to dmi_inspector.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions/flow.py to flow.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions/base.py to base.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions/deploy.py to deploy.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions/rescue.py to rescue.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions/standby.py to standby.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions/image.py to image.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions/clean.py to clean.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions/poll.py to poll.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions/log.py to log.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/extensions/iscsi.py to iscsi.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/inspect.py to inspect.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/config.py to config.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/hardware_managers/cna.py to cna.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/hardware_managers/mlnx.py to mlnx.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/hardware_managers/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/test_tls_utils.py to test_tls_utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/test_errors.py to test_errors.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/test_agent.py to test_agent.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/test_hardware.py to test_hardware.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/base.py to base.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/test_multi_hardware.py to test_multi_hardware.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/test_encoding.py to test_encoding.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/test_api.py to test_api.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/test_inspector.py to test_inspector.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/test_numa_inspector.py to test_numa_inspector.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions/test_rescue.py to test_rescue.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions/test_log.py to test_log.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions/test_standby.py to test_standby.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions/test_iscsi.py to test_iscsi.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions/test_deploy.py to test_deploy.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions/test_clean.py to test_clean.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions/test_image.py to test_image.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions/test_flow.py to test_flow.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions/test_poll.py to test_poll.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/extensions/test_base.py to test_base.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/test_utils.py to test_utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/test_ironic_api_client.py to test_ironic_api_client.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/test_multi_hardware_clean_steps.py to test_multi_hardware_clean_steps.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/hardware_managers/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/hardware_managers/test_cna.py to test_cna.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/hardware_managers/test_mlnx.py to test_mlnx.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/samples/hardware_samples.py to hardware_samples.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/test_dmi_inspector.py to test_dmi_inspector.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/test_inject_files.py to test_inject_files.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/test_raid_utils.py to test_raid_utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/dmi_inspector_data.py to dmi_inspector_data.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/test_base.py to test_base.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/test_netutils.py to test_netutils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/functional/base.py to base.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/functional/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/functional/test_commands.py to test_commands.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/numa_inspector.py to numa_inspector.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/inspector.py to inspector.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/errors.py to errors.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/api/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/api/app.py to app.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/netutils.py to netutils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/cmd/agent.py to agent.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/cmd/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/cmd/inspect.py to inspect.cpython-311.pyc writing byte-compilation script '/tmp/tmpvlzaupru.py' /usr/bin/python3 /tmp/tmpvlzaupru.py removing /tmp/tmpvlzaupru.py running install_egg_info running egg_info writing ironic_python_agent.egg-info/PKG-INFO writing dependency_links to ironic_python_agent.egg-info/dependency_links.txt writing entry points to ironic_python_agent.egg-info/entry_points.txt writing top-level names to ironic_python_agent.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt Copying ironic_python_agent.egg-info to /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent-7.0.2-py3.11.egg-info running install_scripts Installing ironic-collect-introspection-data script to /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/bin Installing ironic-python-agent script to /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/bin + rm -rfv /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/bin/__pycache__ + mkdir -p /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/systemd/system + install -p -D -m 644 /builddir/build/SOURCES/openstack-ironic-python-agent.service /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/systemd/system + install -p -D -m 640 /builddir/build/SOURCES/ironic-python-agent-dist.conf /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch//etc/ironic-python-agent/ironic-python-agent-dist.conf + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 7.0.2-4.ocs23 --unique-debug-suffix -7.0.2-4.ocs23.noarch --unique-debug-src-base openstack-ironic-python-agent-7.0.2-4.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/ironic-python-agent-7.0.2 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/lib/python3.11/site-packages/ironic_python_agent/shell/write_image.sh from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.TdFEzR + umask 022 + cd /builddir/build/BUILD + PYTHONPATH=:/usr/lib/python3.10/site-packages/:/usr/lib64/python3.10/site-packages/ + export PYTHONPATH + 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 ironic-python-agent-7.0.2 + export PYTHON=/usr/bin/python3 + PYTHON=/usr/bin/python3 + stestr --test-path ironic_python_agent/tests/unit run ERROR [root] Extension do not found Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/base.py", line 267, in execute_command ext = self.get_extension(extension_part) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/base.py", line 238, in get_extension ext = self.ext_mgr[extension_name].obj ~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/stevedore/extension.py", line 363, in __getitem__ return self._extensions_by_name[name] ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ KeyError: 'do' {15} ironic_python_agent.tests.unit.extensions.test_base.TestExecuteCommandMixin.test_execute_unknown_extension [0.003442s] ... ok ERROR [root] Error performing deploy_step erase_devices: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/deploy.py", line 76, in execute_deploy_step result = hardware.dispatch_to_managers(step['step'], node, ports, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 3, in dispatch_to_managers File "/usr/lib64/python3.11/unittest/mock.py", line 1124, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1128, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1183, in _execute_mock_call raise effect RuntimeError ERROR [root] Command failed: execute_deploy_step, error: Deploy step failed: Error performing deploy_step erase_devices: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/deploy.py", line 76, in execute_deploy_step result = hardware.dispatch_to_managers(step['step'], node, ports, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 3, in dispatch_to_managers File "/usr/lib64/python3.11/unittest/mock.py", line 1124, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1128, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1183, in _execute_mock_call raise effect RuntimeError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/deploy.py", line 82, in execute_deploy_step raise errors.DeploymentError(msg) ironic_python_agent.errors.DeploymentError: Deploy step failed: Error performing deploy_step erase_devices: {15} ironic_python_agent.tests.unit.extensions.test_deploy.TestDeployExtension.test_execute_deploy_step_with_args [0.008530s] ... ok {3} ironic_python_agent.tests.unit.extensions.test_deploy.TestDeployExtension.test_execute_deploy_step_fail [0.012073s] ... ok {3} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_prepare_image_raw_stream_true [0.009574s] ... ok {3} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_write_partition_image_exception [0.007748s] ... ok {14} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__get_efi_bootloaders [0.009176s] ... ok ERROR [ironic_lib.disk_utils] Failed to fix GPT partition on disk /dev/sda for node None. Error: Don't call ironic_lib.utils.execute() / processutils.execute() or similar functions in tests! {3} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_write_partition_image_no_node_uuid_uefi [0.008516s] ... ok {14} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_bootloader_no_root [0.006696s] ... ok {3} ironic_python_agent.tests.unit.hardware_managers.test_cna.TestIntelCnaHardwareManager.test_detect_cna_card [0.003440s] ... ok ERROR [root] Command failed: fake_async_command, error: An error occurred: failed Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/tests/unit/extensions/test_base.py", line 38, in fake_async_command raise ExecutionError() ironic_python_agent.tests.unit.extensions.test_base.ExecutionError: An error occurred: failed {6} ironic_python_agent.tests.unit.extensions.test_base.TestExecuteCommandMixin.test_execute_command_success [0.001936s] ... ok {11} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_wait_async_command_execution_failure [0.028946s] ... ok {11} ironic_python_agent.tests.unit.extensions.test_flow.TestFlowExtension.test_validate_exts_failed_empty_command_map [0.000959s] ... ok WARNING [ironic_python_agent.extensions.image] Failed to copy grub.cfg file for EFI boot operation. Error copy failed WARNING [ironic_python_agent.extensions.image] Failed to copy grub.cfg file for EFI boot operation. Error copy failed WARNING [ironic_python_agent.extensions.image] Failed to copy grubenv file. Error: copy failed {6} ironic_python_agent.tests.unit.extensions.test_deploy.TestDeployExtension.test_get_deploy_steps [0.005940s] ... ok {14} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_uefi_partition_image_with_loader_grubcfg_fails [0.022828s] ... ok {3} ironic_python_agent.tests.unit.test_agent.TestAdvertiseAddress.test_advertise_address_provided [0.022169s] ... ok ERROR [root] Error performing clean_step erase_devices: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/clean.py", line 75, in execute_clean_step result = hardware.dispatch_to_managers(step['step'], node, ports) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 3, in dispatch_to_managers File "/usr/lib64/python3.11/unittest/mock.py", line 1124, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1128, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1183, in _execute_mock_call raise effect RuntimeError ERROR [root] Command failed: execute_clean_step, error: Clean step failed: Error performing clean_step erase_devices: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/clean.py", line 75, in execute_clean_step result = hardware.dispatch_to_managers(step['step'], node, ports) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 3, in dispatch_to_managers File "/usr/lib64/python3.11/unittest/mock.py", line 1124, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1128, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1183, in _execute_mock_call raise effect RuntimeError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/clean.py", line 80, in execute_clean_step raise errors.CleaningError(msg) ironic_python_agent.errors.CleaningError: Clean step failed: Error performing clean_step erase_devices: {14} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_download_image [0.009737s] ... ok {2} ironic_python_agent.tests.unit.extensions.test_clean.TestCleanExtension.test_execute_clean_step_fail [0.010922s] ... ok WARNING [root] Can't find field vendor fordevice lo in device class net {14} ironic_python_agent.tests.unit.hardware_managers.test_mlnx.MlnxHardwareManager.test_detect_hardware [0.002949s] ... ok WARNING [root] Can't find field vendor fordevice lo in device class net WARNING [root] Can't find field vendor fordevice lo in device class net {3} ironic_python_agent.tests.unit.test_agent.TestAdvertiseAddress.test_with_network_interface_failed [0.013948s] ... ok ERROR [root] Malformed deploy_step, no "step" key: {} ERROR [root] Command failed: execute_deploy_step, error: Malformed deploy_step, no "step" key: {} Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/deploy.py", line 72, in execute_deploy_step raise ValueError(msg) ValueError: Malformed deploy_step, no "step" key: {} ERROR [root] Command failed: sleep, error: foo Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/tests/unit/extensions/test_flow.py", line 41, in sleep time.sleep(sleep_info['time']) File "/usr/lib64/python3.11/unittest/mock.py", line 1124, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1128, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1187, in _execute_mock_call raise result Exception: foo ERROR [root] Command failed: start_flow, error: Command execution failed: fake.sleep was failed Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/flow.py", line 44, in start_flow raise errors.CommandExecutionError( ironic_python_agent.errors.CommandExecutionError: Command execution failed: fake.sleep was failed WARNING [ironic_python_agent.extensions.image] GRUB2 will be installed for UEFI on efi partition /dev/fake1 using the install command which does not place Secure Boot signed binaries. {3} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_boot_info_bios [0.010977s] ... ok {2} ironic_python_agent.tests.unit.extensions.test_deploy.TestDeployExtension.test_execute_deploy_step_no_step [0.016562s] ... ok {14} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test__wait_for_interface_expired [0.016410s] ... ok {6} ironic_python_agent.tests.unit.extensions.test_flow.TestFlowExtension.test_sleep_flow_failed_on_second_command [0.029603s] ... ok ERROR [root] Command failed: foo_command, error: command execution failed Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/tests/unit/test_agent.py", line 45, in foo_execute raise EXPECTED_ERROR RuntimeError: command execution failed ERROR [root] Command failed: fake_async_command, error: An error occurred: failed Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/tests/unit/extensions/test_base.py", line 38, in fake_async_command raise ExecutionError() ironic_python_agent.tests.unit.extensions.test_base.ExecutionError: An error occurred: failed {2} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_prep [0.016558s] ... ok {24} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_async_command_execution_failure [0.025488s] ... ok {11} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_uefi_fstab [0.054374s] ... ok {11} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__is_bootloader_loaded_uefi_mode [0.004086s] ... ok {3} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_name [0.022878s] ... ok WARNING [root] Could not retrieve vendor info from lshw: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None {6} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_bootloader_bios [0.018048s] ... ok {6} ironic_python_agent.tests.unit.extensions.test_standby.TestImageDownload.test_download_image_and_checksum_multiple [0.005232s] ... ok {18} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_sync_command_validation_failure [0.001911s] ... ok {3} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_system_vendor_info_failure [0.002984s] ... ok {2} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__prepare_boot_partitions_for_softraid_uefi_gpt_efi_provided [0.008457s] ... ok {14} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_async_command_failure [0.023904s] ... ok {6} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_get_partition_uuids [0.003084s] ... ok {6} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_no_hash_algo [0.001765s] ... ok WARNING [ironic_python_agent.extensions.iscsi] Linux-IO is not available, falling back to TGT. Error: . {2} ironic_python_agent.tests.unit.extensions.test_iscsi.TestISCSIExtensionTgt.test_start_iscsi_target_with_special_port [0.009823s] ... ok WARNING [ironic_python_agent.extensions.image] GRUB2 will be installed for UEFI on efi partition /dev/fake1 using the install command which does not place Secure Boot signed binaries. {9} ironic_python_agent.tests.unit.extensions.test_deploy.TestDeployExtension.test_execute_deploy_step [0.010686s] ... ok {3} ironic_python_agent.tests.unit.test_hardware.TestModuleFunctions.test__check_for_iscsi_no_iscsi [0.011915s] ... ok WARNING [root] Mismatched hardware managers versions. Agent version: {'specific': '1'}, node version: {'not_specific': '1'} {23} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_uefi_no_fstab [0.029915s] ... ok WARNING [ironic_python_agent.extensions.image] GRUB2 will be installed for UEFI on efi partition /dev/fake1 using the install command which does not place Secure Boot signed binaries. {3} ironic_python_agent.tests.unit.test_hardware.TestVersions.test_check_versions [0.005034s] ... ok ERROR [root] Invalid content error: Invalid request body: baz Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/base.py", line 268, in execute_command result = ext.execute(command_part, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1124, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1128, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1183, in _execute_mock_call raise effect ironic_python_agent.errors.InvalidContentError: Invalid request body: baz WARNING [ironic_python_agent.extensions.image] Boot mode mismatch: target boot mode is bios, current boot mode is uefi. Installing boot loader may fail or work incorrectly. {12} ironic_python_agent.tests.unit.extensions.test_base.TestExecuteCommandMixin.test_execute_command_invalid_content [0.006970s] ... ok {18} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_uefi [0.019609s] ... ok {3} ironic_python_agent.tests.unit.test_hardware.TestVersions.test_get_current_versions [0.001695s] ... ok {3} ironic_python_agent.tests.unit.test_inject_files.TestInjectFiles.test_ok [0.002272s] ... ok {3} ironic_python_agent.tests.unit.test_inject_files.TestValidateFiles.test_missing_path [0.000710s] ... ok ERROR [root] Clean version mismatch for command execute_deploy_step WARNING [ironic_python_agent.extensions.image] GRUB2 will be installed for UEFI on efi partition /dev/fake1 using the install command which does not place Secure Boot signed binaries. {8} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_sync_command_name [0.001474s] ... ok {18} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__manage_uefi_nvme_device [0.006526s] ... ok {2} ironic_python_agent.tests.unit.extensions.test_standby.TestImageDownload.test_download_image [0.016629s] ... ok {27} ironic_python_agent.tests.unit.extensions.test_base.TestExecuteCommandMixin.test_execute_command [0.006998s] ... ok WARNING [ironic_python_agent.extensions.standby] Unable to connect to http://example.org, retrying. Error: {23} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_uefi_partition_image_with_loader [0.018361s] ... ok WARNING [ironic_python_agent.extensions.standby] Unable to connect to http://example.org, retrying. Error: Error downloading image: Download of image fake_id failed: Received status code 500 from http://example.org, expected 200. Response body: ERROR [ironic_python_agent.extensions.standby] Image failed to verify against checksum. location: /tmp/tmpt89jgq1v/fake_id; image ID: fake_id; image checksum: abc123; verification checksum: invalid-checksum WARNING [ironic_python_agent.extensions.standby] Unable to connect to http://example.org, retrying. Error: Error downloading image: Download of image fake_id failed: Received status code 500 from http://example.org, expected 200. Response body: Oops WARNING [ironic_python_agent.extensions.standby] Unable to connect to http://example.org, retrying. Error: Error downloading image: Download of image fake_id failed: Received status code 500 from http://example.org, expected 200. Response body: Oops WARNING [ironic_python_agent.extensions.standby] URL: http://example.org; time: 0.0011556148529052734 seconds. Error: Received status code 500 from http://example.org, expected 200. Response body: Oops ERROR [ironic_python_agent.ironic_api_client] An error occurred while attempting to discover the available Ironic API versions, falling back to using version 1.31 Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/util/connection.py", line 72, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/socket.py", line 962, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 386, in _make_request self._validate_conn(conn) File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn conn.connect() File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 358, in connect self.sock = conn = self._new_conn() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 489, in send resp = conn.urlopen( ^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='fake_api.example.org', port=8081): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/ironic_api_client.py", line 105, in _get_ironic_api_version response = self._request('GET', '/') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/ironic_api_client.py", line 76, in _request return self.session.request(method, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 565, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='fake_api.example.org', port=8081): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) WARNING [ironic_python_agent.agent] Ironic does not support automated TLS ERROR [ironic_lib.exception] Exception in string format operation (arguments ) Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/ironic_lib/exception.py", line 134, in __init__ message = self._msg_fmt % kwargs ~~~~~~~~~~~~~~^~~~~~~~ KeyError: 'service' WARNING [ironic_python_agent.agent] Could not get baremetal endpoint from mDNS, will not heartbeat {24} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_uefi_partition_image_with_preserve_failure [0.039429s] ... ok {12} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__prepare_boot_partitions_for_softraid_bios_gpt [0.008125s] ... ok WARNING [root] Can't find field vendor fordevice lo in device class net WARNING [root] Can't find field vendor fordevice lo in device class net {24} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__manage_uefi [0.007943s] ... ok ERROR [ironic_python_agent.agent] Neither ipa-api-url nor inspection_callback_urlfound, please check your pxe append parameters. WARNING [ironic_python_agent.agent] Ironic does not support automated TLS {8} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__add_multi_bootloaders [0.028258s] ... ok {9} ironic_python_agent.tests.unit.extensions.test_deploy.TestDeployExtension.test_execute_deploy_step_version_mismatch [0.033121s] ... ok {2} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_download_image_verify_fails [0.015955s] ... ok {12} ironic_python_agent.tests.unit.extensions.test_standby.TestImageDownload.test_download_image_retries_success [0.017271s] ... ok {21} ironic_python_agent.tests.unit.extensions.test_flow.TestFlowExtension.test_validate_exts_failed_to_find_extension [0.013246s] ... ok {11} ironic_python_agent.tests.unit.extensions.test_iscsi.TestISCSIExtensionCleanUp.test_ok [0.042748s] ... ok {14} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_run_agent_token [0.043661s] ... ok {18} ironic_python_agent.tests.unit.extensions.test_log.TestLogExtension.test_collect_system_logs [0.016897s] ... ok {18} ironic_python_agent.tests.unit.extensions.test_standby.TestImageDownload.test_download_image_and_checksum_failed [0.004557s] ... ok WARNING [ironic_python_agent.extensions.image] GRUB2 will be installed for UEFI on efi partition /dev/fake1 using the install command which does not place Secure Boot signed binaries. {9} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__prepare_boot_partitions_for_softraid_uefi_gpt [0.004310s] ... ok {6} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_run_without_inspection_and_apiurl [0.047589s] ... ok {3} ironic_python_agent.tests.unit.test_inspector.TestCollectDefault.test_cache_hardware_info [0.027375s] ... ok {0} ironic_python_agent.tests.unit.extensions.test_clean.TestCleanExtension.test_execute_clean_step_tuple_result [0.016987s] ... ok ERROR [root] Clean version mismatch for command execute_clean_step WARNING [ironic_python_agent.extensions.standby] poweroff command failed with error Unexpected error while running command. Command: None Exit code: - Stdout: '' Stderr: None, falling back to sysrq-trigger WARNING [ironic_python_agent.extensions.image] Boot mode mismatch: target boot mode is bios, current boot mode is uefi. Installing boot loader may fail or work incorrectly. WARNING [ironic_python_agent.extensions.image] efibootmgr is not available in the ramdisk ERROR [ironic_python_agent.extensions.image] Error setting up bootloader. Error ERROR [root] Command failed: install_bootloader, error: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/image.py", line 1087, in install_bootloader _install_grub2(device, File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/image.py", line 572, in _install_grub2 root_partition = _get_partition(device, uuid=root_uuid) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/image.py", line 80, in _get_partition _rescan_device(device) File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/image.py", line 66, in _rescan_device utils.execute('partx', '-u', device, attempts=3, File "", line 3, in do_not_call File "/usr/lib64/python3.11/unittest/mock.py", line 1124, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1128, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1183, in _execute_mock_call raise effect FileNotFoundError WARNING [ironic_python_agent.extensions.image] Boot mode mismatch: target boot mode is bios, current boot mode is uefi. Installing boot loader may fail or work incorrectly. {9} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__run_efibootmgr_no_bootloaders [0.002454s] ... ok {27} ironic_python_agent.tests.unit.extensions.test_standby.TestImageDownload.test_download_image_retries [0.017796s] ... ok {10} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_bootloader_prep_no_iscsi [0.028955s] ... ok {27} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_run_shutdown_command_invalid [0.011046s] ... ok {24} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test_install_bootloader_failure [0.018852s] ... ok {21} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__uefi_bootloader_find_partition [0.015249s] ... ok {3} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test__get_ironic_api_version_set_via_conf [0.013281s] ... ok {28} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_async_command_validation_failure [0.005254s] ... ok {23} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_uefi_partition_image_with_no_loader [0.032027s] ... ok {9} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_run_shutdown_command_valid_poweroff_sysrq [0.011194s] ... ok WARNING [ironic_python_agent.extensions.iscsi] Linux-IO is not available, falling back to TGT. Error: . {24} ironic_python_agent.tests.unit.extensions.test_iscsi.TestISCSIExtensionTgt.test_start_iscsi_target [0.005080s] ... ok {27} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_sync [0.004378s] ... ok ERROR [ironic_python_agent.extensions.poll] Node lookup data can only be set when the Ironic Python Agent is running in standalone mode. {23} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__is_bootloader_loaded [0.003312s] ... ok {28} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__get_partition_fallback_partuuid [0.005732s] ... ok {18} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_no_hash_value [0.021789s] ... ok {12} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__get_md_uuid [0.021885s] ... ok {8} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_bootloader_uefi_ignores_manage_failure [0.024894s] ... ok {1} ironic_python_agent.tests.unit.extensions.test_clean.TestCleanExtension.test_execute_clean_step_version_mismatch [0.028101s] ... ok {12} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_clean_steps_exist [0.000731s] ... ok {2} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_prepare_image_raw_and_stream_false [0.026908s] ... ok {0} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_prepare_partition_image [0.019143s] ... ok {18} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__ata_erase_security_enabled_set_password_exception [0.003112s] ... ok {12} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_delete_configuration_partition [0.003630s] ... ok WARNING [root] Cannot get BMC v6 address: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None {3} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_bad_nodes_nics_info [0.012575s] ... ok WARNING [ironic_python_agent.extensions.image] Boot mode mismatch: target boot mode is bios, current boot mode is uefi. Installing boot loader may fail or work incorrectly. {14} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_execute_agent_command_with_token [0.032220s] ... ok ERROR [ironic_python_agent.ironic_api_client] An error occurred while attempting to discover the available Ironic API versions, falling back to using version 1.31 Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/util/connection.py", line 72, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/socket.py", line 962, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 386, in _make_request self._validate_conn(conn) File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn conn.connect() File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 358, in connect self.sock = conn = self._new_conn() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 489, in send resp = conn.urlopen( ^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='example.com', port=443): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/ironic_api_client.py", line 105, in _get_ironic_api_version response = self._request('GET', '/') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/ironic_api_client.py", line 76, in _request return self.session.request(method, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 565, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='example.com', port=443): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) WARNING [ironic_python_agent.agent] Ironic does not support automated TLS {1} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__manage_uefi_no_partition [0.010472s] ... ok {0} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_stream_raw_image_onto_device [0.010887s] ... ok {24} ironic_python_agent.tests.unit.extensions.test_poll.TestPollExtension.test_set_node_info_not_standalone [0.013571s] ... ok {23} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__uefi_bootloader_given_partition [0.013362s] ... ok ERROR [ironic_python_agent.extensions.standby] Failed to sync hardware clock: Unexpected error while running command. Command: None Exit code: - Stdout: 'boop' Stderr: None {12} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_v6address_virt [0.010127s] ... ok {6} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_url_from_mdns_by_default [0.034203s] ... ok {15} ironic_python_agent.tests.unit.extensions.test_iscsi.TestISCSIExtensionLIO.test_failed_to_bind_iscsi [0.200979s] ... ok {18} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__is_linux_raid_member [0.007343s] ... ok {3} ironic_python_agent.tests.unit.test_raid_utils.TestRaidUtils.test_create_raid_device_fail_create_device [0.011044s] ... ok {10} ironic_python_agent.tests.unit.extensions.test_iscsi.TestISCSIExtensionCleanUp.test_device_not_found [0.041217s] ... ok {14} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_get_agent_status [0.009595s] ... ok {24} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test__sync_clock [0.005730s] ... ok {12} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_holder_disks_with_nvme [0.002224s] ... ok {18} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_force_gpt_with_disk_label [0.007018s] ... ok {14} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__is_read_only_device_false [0.004345s] ... ok {18} ironic_python_agent.tests.unit.test_inject_files.TestFindAndMountPath.test_without_on_wrong_path [0.001231s] ... ok ironic-python-agent: Cannot use configuration from virtual media as the agent was not booted from virtual media. {12} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_memory_lshw_list [0.003613s] ... ok {24} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_invalid_checksum [0.003942s] ... ok ERROR [ironic_python_agent.utils] failed to run hardware-detect utility: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None WARNING [root] Could not determine if /dev/sda is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sda/ro' {8} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_uefi_partition_image_with_loader_with_grubcfg [0.020784s] ... ok {6} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_no_max [0.007894s] ... ok {10} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_not_found [0.008196s] ... ok ERROR [ironic_python_agent.ironic_api_client] An error occurred while attempting to discover the available Ironic API versions, falling back to using version 1.31 Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/util/connection.py", line 72, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/socket.py", line 962, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 386, in _make_request self._validate_conn(conn) File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn conn.connect() File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 358, in connect self.sock = conn = self._new_conn() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 489, in send resp = conn.urlopen( ^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='fake_api.example.org', port=8081): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/ironic_api_client.py", line 105, in _get_ironic_api_version response = self._request('GET', '/') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/ironic_api_client.py", line 76, in _request return self.session.request(method, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 565, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='fake_api.example.org', port=8081): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) WARNING [ironic_python_agent.agent] Ironic does not support automated TLS WARNING [root] Could not determine if /dev/sda is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sda/ro' WARNING [root] Could not determine if /dev/sda is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sda/ro' ERROR [root] Failed to invoke secure erase, fallback to shred is not enabled: Error erasing block device: Block device /dev/sda is frozen and cannot be erased WARNING [ironic_python_agent.ironic_api_client] Got invalid node data in response to query for node with addresses '00:0c:29:8c:11:b1,00:0c:29:8c:11:b2' from http://agent-api.ironic.example.org: {'heartbeat_timeout': 300} WARNING [root] The root device was not detected in 27 seconds WARNING [root] Can't find field vendor fordevice lo in device class net WARNING [root] Can't find field vendor fordevice lo in device class net ERROR [ironic_python_agent.extensions.standby] Failed to sync hardware clock: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None {14} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_address_invalid [0.002810s] ... ok {18} ironic_python_agent.tests.unit.test_inspector.TestCollectExtraHardware.test_execute_failed [0.004156s] ... ok {14} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_address_random_error [0.002712s] ... ok {3} ironic_python_agent.tests.unit.test_utils.TestCopyConfigFromVmedia.test_vmedia_found_not_booted_from_vmedia [0.005694s] ... ok {8} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__prepare_boot_partitions_for_softraid_bios_msdos [0.004388s] ... ok {3} ironic_python_agent.tests.unit.test_utils.TestUtils.test_is_journalctl_present [0.001259s] ... ok ERROR [ironic_python_agent.extensions.standby] Flushing file system buffers failed. Error: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None WARNING [ironic_python_agent.extensions.standby] Failed to sync file system buffers: Command execution failed: Flushing file system buffers failed. Error: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None WARNING [ironic_python_agent.extensions.standby] reboot command failed with error Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None, falling back to sysrq-trigger WARNING [root] Could not determine if /dev/sda is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sda/ro' ERROR [root] Failed to invoke secure erase, fallback to shred is not enabled: Error erasing block device: An unknown error occurred erasing block device /dev/sda ERROR [ironic_python_agent.extensions.image] Error setting up bootloader. Error meow WARNING [ironic_python_agent.dmi_inspector] Failed to process memory dmi data: 'Handle' ERROR [ironic_python_agent.ironic_api_client] An error occurred while attempting to discover the available Ironic API versions, falling back to using version 1.31 Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/util/connection.py", line 72, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/socket.py", line 962, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 386, in _make_request self._validate_conn(conn) File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn conn.connect() File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 358, in connect self.sock = conn = self._new_conn() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 489, in send resp = conn.urlopen( ^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='fake_api.example.org', port=8081): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/ironic_api_client.py", line 105, in _get_ironic_api_version response = self._request('GET', '/') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/ironic_api_client.py", line 76, in _request return self.session.request(method, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 565, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='fake_api.example.org', port=8081): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) WARNING [ironic_python_agent.agent] Ironic does not support automated TLS ERROR [root] Command failed: run_image, error: Error rebooting system: Reboot script failed with exit code None. stdout: None. stderr: None. Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/standby.py", line 768, in _run_shutdown_command utils.execute("echo b > /proc/sysrq-trigger", shell=True) File "", line 3, in do_not_call File "/usr/lib64/python3.11/unittest/mock.py", line 1124, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1128, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1183, in _execute_mock_call raise effect oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/standby.py", line 776, in run_image self._run_shutdown_command('reboot') File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/standby.py", line 770, in _run_shutdown_command raise errors.SystemRebootError(e.exit_code, e.stdout, e.stderr) ironic_python_agent.errors.SystemRebootError: Error rebooting system: Reboot script failed with exit code None. stdout: None. stderr: None. WARNING [root] Could not determine if /dev/sda is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sda/ro' ERROR [root] Failed to invoke secure erase, fallback to shred is not enabled: Error erasing block device: Block device /dev/sda already has a security password set ERROR [ironic_python_agent.extensions.image] Error setting up bootloader. Error meow ERROR [root] nvme-cli did not return any supported format modes for device: /dev/nvme0n1 ERROR [ironic_python_agent.extensions.standby] Unable to verify image fake_id with available checksums. Please make sure the specified 'os_hash_algo' (currently unsupported-algorithm) is supported by this ramdisk, or provide a md5 checksum via the 'checksum' field WARNING [root] Could not determine if /dev/sda is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sda/ro' WARNING [root] Can't find field vendor fordevice lo in device class net WARNING [root] Can't find field vendor fordevice lo in device class net WARNING [root] Can't find field vendor fordevice lo in device class net {28} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_bootloader_prep [0.028011s] ... ok {4} ironic_python_agent.tests.unit.extensions.test_base.TestExecuteCommandMixin.test_execute_invalid_command [0.027605s] ... ok {9} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_run_with_sleep [0.035580s] ... ok {9} ironic_python_agent.tests.unit.test_encoding.TestEncoder.test_encoder [0.000751s] ... ok WARNING [ironic_python_agent.ironic_api_client] Got invalid node data in response to query for node with addresses '00:0c:29:8c:11:b1,00:0c:29:8c:11:b2' from http://agent-api.ironic.example.org: {'node_node': 'also_not_node'} WARNING [root] The root device was not detected in 27 seconds WARNING [root] Cannot get BMC address: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None ERROR [root] Command failed: install_bootloader, error: meow Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/image.py", line 1087, in install_bootloader _install_grub2(device, File "", line 3, in _install_grub2 File "/usr/lib64/python3.11/unittest/mock.py", line 1124, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1128, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1183, in _execute_mock_call raise effect OSError: meow WARNING [root] Path /dev/disk/by-path is inaccessible, /dev/disk/by-path/* version of block device name is unavailable Cause: [Errno 2] No such file or directory: '/dev/disk/by-path' {9} ironic_python_agent.tests.unit.test_encoding.TestEncoder.test_ironic_lib [0.000712s] ... ok {9} ironic_python_agent.tests.unit.test_hardware.TestEvaluateHardwareSupport.test_evaluate_hw_disks_timeout_unconfigured [0.005900s] ... ok {10} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_deploy_steps_exist [0.001283s] ... ok {10} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_ata_failed [0.012875s] ... ok WARNING [ironic_python_agent.inspector] failed to get system journal {10} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_ata_security_enabled [0.004029s] ... ok {12} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_normal_vs_enhanced_security_erase [0.005198s] ... ok ERROR [root] Command failed: prepare_image, error: Don't call ironic_lib.utils.execute() / processutils.execute() or similar functions in tests! Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/standby.py", line 707, in prepare_image _validate_partitioning(device) File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/standby.py", line 501, in _validate_partitioning utils.execute('partprobe', device, run_as_root=True, File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/tests/unit/base.py", line 82, in do_not_call raise Exception( Exception: Don't call ironic_lib.utils.execute() / processutils.execute() or similar functions in tests! ERROR [root] Command failed: sleep, error: An error occurred: An unexpected error occurred. Please try back later. Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/tests/unit/extensions/test_flow.py", line 41, in sleep time.sleep(sleep_info['time']) File "/usr/lib64/python3.11/unittest/mock.py", line 1124, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1128, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1183, in _execute_mock_call raise effect ironic_python_agent.errors.RESTError: An error occurred: An unexpected error occurred. Please try back later. ERROR [root] Command failed: start_flow, error: Command execution failed: fake.sleep was failed Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/flow.py", line 44, in start_flow raise errors.CommandExecutionError( ironic_python_agent.errors.CommandExecutionError: Command execution failed: fake.sleep was failed WARNING [root] Device /dev/sda is inaccessible, skipping... Error: WARNING [root] Device /dev/sdb is not supported by pyudev, skipping... Error: No block device with number 1234 WARNING [root] Device /dev/sdc is inaccessible, skipping... Error: WARNING [root] Device /dev/sdd is inaccessible, skipping... Error: {12} ironic_python_agent.tests.unit.test_inject_files.TestInjectOne.test_plain_content_with_on [0.003489s] ... ok {27} ironic_python_agent.tests.unit.hardware_managers.test_cna.TestIntelCnaHardwareManager.test_evaluate_hardware_support_no_cna_card_detected [0.029636s] ... ok {8} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_empty_checksum [0.002674s] ... ok {8} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_get_node_uuid_invalid_node [0.012374s] ... ok {23} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_run_image [0.031116s] ... ok {23} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_verify_image_failure_without_fallback [0.005491s] ... ok {0} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_run_with_inspection [0.032942s] ... ok {0} ironic_python_agent.tests.unit.test_base.BlockExecuteTestCase.test_exception_raised_for_execute [0.001263s] ... ok {0} ironic_python_agent.tests.unit.test_encoding.TestSerializable.test_childclass_serialize [0.000659s] ... ok {6} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_ata_frozen [0.005613s] ... ok {12} ironic_python_agent.tests.unit.test_inject_files.TestValidateFiles.test_numeric_fields [0.000807s] ... ok {3} ironic_python_agent.tests.unit.test_utils.TestUtils.test_specified_partition_table_type_disk_label_ignored_with_uefi [0.001003s] ... ok {10} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_nvme_format_unsupported [0.002780s] ... ok {10} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_shred_0_pass_no_zeroize [0.002776s] ... ok {2} ironic_python_agent.tests.unit.hardware_managers.test_cna.TestIntelCnaHardwareManager.test_evaluate_hardware_support_with_collect_lldp_enabled [0.030151s] ... ok {24} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_invalid_urls [0.002488s] ... ok {24} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_get_route_source_indexerror [0.029421s] ... ok {18} ironic_python_agent.tests.unit.test_inspector.TestCollectExtraHardware.test_no_benchmarks [0.001979s] ... ok {18} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_do_lookup_bad_response_data [0.001361s] ... ok {14} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_no_root_device [0.005654s] ... ok {14} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_network_vlan_invalid_int [0.019320s] ... ok {2} ironic_python_agent.tests.unit.test_agent.TestAdvertiseAddress.test_with_network_interface [0.019667s] ... ok {10} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_devices_without_disk [0.001744s] ... ok {9} ironic_python_agent.tests.unit.test_hardware.TestEvaluateHardwareSupport.test_evaluate_hw_no_wait_for_disks [0.014003s] ... ok {9} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_address_virt [0.008261s] ... ok {1} ironic_python_agent.tests.unit.extensions.test_rescue.TestRescueExtension.test_hashed_passwords [0.018297s] ... ok {1} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test__message_format_partition_bios [0.001876s] ... ok {1} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test__message_format_partition_uefi_netboot [0.001877s] ... ok {1} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_root [0.008379s] ... ok {1} ironic_python_agent.tests.unit.test_dmi_inspector.TestCollectDmidecodeInfo.test_dmidecode_info_ok [0.002207s] ... ok {1} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__ata_erase_security_enabled_unlock_exception [0.002583s] ... ok {1} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_device_handling_failures_raid5 [0.002738s] ... ok {1} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bios_given_nic_name_process_exec_err3 [0.010804s] ... ok {27} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_get_node_uuid [0.012005s] ... ok {27} ironic_python_agent.tests.unit.test_dmi_inspector.TestCollectDmidecodeInfo.test_save_data_error_handle [0.001252s] ... ok {27} ironic_python_agent.tests.unit.test_hardware.TestEvaluateHardwareSupport.test_evaluate_hw_waits_for_disks [0.005481s] ... ok {27} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_apply_configuration [0.003798s] ... ok {27} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_failure_with_nvme [0.005132s] ... ok {27} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_cpus [0.002682s] ... ok WARNING [ironic_python_agent.inspector] Failed to gather vendor id, product id or pci class from PCI device bar: WARNING [ironic_python_agent.inspector] Wrong format of vendor id, product id or pci class in PCI device baz: WARNING [root] Invalid IP address meow: 'meow' does not appear to be an IPv4 or IPv6 address ERROR [ironic_python_agent.extensions.standby] Flushing file system buffers failed. Error: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None ERROR [root] Command execution error: Command execution failed: foo bar baz Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/base.py", line 268, in execute_command result = ext.execute(command_part, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1124, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1128, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1183, in _execute_mock_call raise effect ironic_python_agent.errors.CommandExecutionError: Command execution failed: foo bar baz ERROR [ironic_python_agent.extensions.image] Finding the partition with UUID 11111111-2222-3333-4444-555555555555 on device /dev/fake failed with Unexpected error while running command. Command: None Exit code: - Stdout: 'boom' Stderr: None ERROR [ironic_lib.exception] Exception in string format operation (arguments ) Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/ironic_lib/exception.py", line 134, in __init__ message = self._msg_fmt % kwargs ~~~~~~~~~~~~~~^~~~~~~~ KeyError: 'service' ERROR [ironic_python_agent.extensions.image] No partition with UUID 11111111-2222-3333-4444-555555555555 found on device /dev/fake WARNING [ironic_python_agent.agent] Could not get baremetal endpoint from mDNS, will not heartbeat ERROR [ironic_python_agent.inspector] inspector url error 400: , proceeding with lookup ERROR [ironic_python_agent.utils] Failed to get list of PCI devices: WARNING [root] The root device was not detected in 45 seconds ERROR [ironic_python_agent.extensions.image] Installing GRUB2 boot loader to device /dev/fake failed with Unexpected error while running command. Command: None Exit code: - Stdout: 'boom' Stderr: None. WARNING [ironic_python_agent.extensions.image] Unable to umount vfat partitions. Error: Unexpected error while running command. Command: None Exit code: - Stdout: 'boom' Stderr: None WARNING [ironic_python_agent.extensions.image] Unable to umount /tmp/fake-dir/dev. Error: Unexpected error while running command. Command: None Exit code: - Stdout: 'boom' Stderr: None WARNING [ironic_python_agent.extensions.image] Unable to umount /tmp/fake-dir/proc. Error: Unexpected error while running command. Command: None Exit code: - Stdout: 'boom' Stderr: None WARNING [ironic_python_agent.extensions.image] Unable to umount /tmp/fake-dir/run. Error: Unexpected error while running command. Command: None Exit code: - Stdout: 'boom' Stderr: None WARNING [ironic_python_agent.extensions.image] Unable to umount /tmp/fake-dir/sys. Error: Unexpected error while running command. Command: None Exit code: - Stdout: 'boom' Stderr: None {27} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_system_vendor_info [0.001692s] ... ok {12} ironic_python_agent.tests.unit.test_inspector.TestInspect.test_collectors_option [0.019295s] ... ok ERROR [root] Tried to execute fake.fake_sync_command, agent is still executing Command name: name, params: {}, status: RUNNING, result: None. ERROR [ironic_python_agent.extensions.image] Error setting up bootloader. Error meow WARNING [ironic_python_agent.extensions.iscsi] Linux-IO is not available, falling back to TGT. Error: . ERROR [ironic_python_agent.extensions.iscsi] ISCSI daemon didn't initialize ERROR [ironic_python_agent.utils] Failed to sync time using chrony to ntp server: 192.168.1.1: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: 'time verboten' ERROR [ironic_python_agent.utils] JSON returned from hardware-detect cannot be decoded: Expecting value: line 1 column 1 (char 0) WARNING [ironic_python_agent.utils] Unable to get partition table type for device hello. WARNING [ironic_python_agent.numa_inspector] Failed to get some NUMA information (Error in NUMA node data format: An unexpected error occurred. Please try back later.) ironic-python-agent: Was unable to execute the lsblk command. Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None WARNING [ironic_python_agent.agent] Cannot get route to host 1.2.1.2: Unexpected error while running command. Command: None Exit code: - Stdout: 'boom' Stderr: None WARNING [ironic_python_agent.agent] Cannot get route to host 1.2.1.2: Unexpected error while running command. Command: None Exit code: - Stdout: 'boom' Stderr: None WARNING [ironic_python_agent.agent] Cannot get route to host 1.2.1.2: Unexpected error while running command. Command: None Exit code: - Stdout: 'boom' Stderr: None WARNING [ironic_python_agent.agent] Cannot get route to host 1.2.1.2: Unexpected error while running command. Command: None Exit code: - Stdout: 'boom' Stderr: None WARNING [ironic_python_agent.agent] Cannot get route to host 1.2.1.2: Unexpected error while running command. Command: None Exit code: - Stdout: 'boom' Stderr: None WARNING [ironic_python_agent.extensions.standby] URL: http://example.org; time: 0.001024484634399414 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: WARNING [ironic_python_agent.extensions.standby] Image download failed, 0 of 9: Error downloading image: Download of image fake_id failed: URL: http://example.org; time: 0.001024484634399414 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: WARNING [root] Can't find field vendor fordevice lo in device class net WARNING [ironic_python_agent.extensions.standby] URL: http://example.org; time: 0.0015902519226074219 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: WARNING [root] Can't find field vendor fordevice lo in device class net ERROR [ironic_python_agent.utils] Failed to sync with ntp server: 192.168.1.1: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None WARNING [ironic_python_agent.extensions.standby] Image download failed, 1 of 9: Error downloading image: Download of image fake_id failed: URL: http://example.org; time: 0.0015902519226074219 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: ERROR [ironic_python_agent.extensions.standby] Failed to sync hardware clock: Command execution failed: Failed to sync with ntp server: 192.168.1.1: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None WARNING [ironic_python_agent.agent] Ironic does not support automated TLS WARNING [ironic_python_agent.extensions.standby] URL: http://example.org; time: 0.0018715858459472656 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: WARNING [ironic_python_agent.extensions.standby] Image download failed, 2 of 9: Error downloading image: Download of image fake_id failed: URL: http://example.org; time: 0.0018715858459472656 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: WARNING [ironic_python_agent.extensions.standby] URL: http://example.org; time: 0.002156972885131836 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: WARNING [ironic_python_agent.extensions.standby] Image download failed, 3 of 9: Error downloading image: Download of image fake_id failed: URL: http://example.org; time: 0.002156972885131836 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: WARNING [ironic_python_agent.extensions.standby] URL: http://example.org; time: 0.0024514198303222656 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: WARNING [ironic_python_agent.extensions.standby] Image download failed, 4 of 9: Error downloading image: Download of image fake_id failed: URL: http://example.org; time: 0.0024514198303222656 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: WARNING [ironic_python_agent.extensions.standby] URL: http://example.org; time: 0.0027251243591308594 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: WARNING [ironic_python_agent.extensions.standby] Image download failed, 5 of 9: Error downloading image: Download of image fake_id failed: URL: http://example.org; time: 0.0027251243591308594 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: WARNING [ironic_python_agent.extensions.standby] URL: http://example.org; time: 0.0030066967010498047 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: WARNING [ironic_python_agent.extensions.standby] Image download failed, 6 of 9: Error downloading image: Download of image fake_id failed: URL: http://example.org; time: 0.0030066967010498047 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: ERROR [root] Command failed: power_off, error: Error syncing system clock: Failed to sync hardware clock: Command execution failed: Failed to sync with ntp server: 192.168.1.1: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/utils.py", line 828, in sync_clock execute('ntpdate', CONF.ntp_server) File "", line 3, in do_not_call File "/usr/lib64/python3.11/unittest/mock.py", line 1124, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1128, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1183, in _execute_mock_call raise effect oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/standby.py", line 821, in _sync_clock utils.sync_clock(ignore_errors=ignore_errors) File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/utils.py", line 835, in sync_clock raise errors.CommandExecutionError(msg) ironic_python_agent.errors.CommandExecutionError: Command execution failed: Failed to sync with ntp server: 192.168.1.1: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/standby.py", line 782, in power_off self._run_shutdown_command('poweroff') File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/standby.py", line 741, in _run_shutdown_command self._sync_clock(ignore_errors=True) File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/standby.py", line 831, in _sync_clock raise errors.ClockSyncError(msg) ironic_python_agent.errors.ClockSyncError: Error syncing system clock: Failed to sync hardware clock: Command execution failed: Failed to sync with ntp server: 192.168.1.1: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None WARNING [ironic_python_agent.extensions.standby] URL: http://example.org; time: 0.0033028125762939453 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: {12} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_do_lookup_bad_response_body [0.003819s] ... ok {12} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_heartbeat_409_status_code [0.001660s] ... ok {12} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test__get_vmedia_params_by_device [0.006713s] ... ok {20} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__get_partition [0.006992s] ... ok WARNING [ironic_python_agent.extensions.standby] Image download failed, 7 of 9: Error downloading image: Download of image fake_id failed: URL: http://example.org; time: 0.0033028125762939453 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: WARNING [ironic_python_agent.extensions.standby] URL: http://example.org; time: 0.0035719871520996094 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: WARNING [ironic_python_agent.extensions.standby] Image download failed, 8 of 9: Error downloading image: Download of image fake_id failed: URL: http://example.org; time: 0.0035719871520996094 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: WARNING [ironic_python_agent.extensions.standby] URL: http://example.org; time: 0.003836393356323242 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: ERROR [ironic_python_agent.extensions.image] Installing GRUB2 boot loader to device /dev/fake failed with Unexpected error while running command. Command: None Exit code: - Stdout: 'error' Stderr: None. ERROR [ironic_python_agent.utils] boom WARNING [ironic_python_agent.extensions.image] Boot mode mismatch: target boot mode is bios, current boot mode is uefi. Installing boot loader may fail or work incorrectly. WARNING [root] Could not determine if /dev/sda is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sda/ro' ironic-python-agent: Device sdh was disqualified as virtual media. Type: other, Transport: usb WARNING [ironic_python_agent.inspector] no suitable root device detected {20} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_bootloader_uefi [0.008537s] ... ok ironic-python-agent: Device sdh appears to not qualify as virtual due to the device size. Size: 1610612736000 ironic-python-agent: Device sdh was disqualified as virtual media. Type: disk, Transport: usb WARNING [root] Could not determine if /dev/sdb is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sdb/ro' ERROR [ironic_lib.exception] Exception in string format operation (arguments ) Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/ironic_lib/exception.py", line 134, in __init__ message = self._msg_fmt % kwargs ~~~~~~~~~~~~~~^~~~~~~~ KeyError: 'reason' ERROR [root] Failed to erase the metadata on device "/dev/sdb". Error: Unexpected error while running command. Command: None Exit code: - Stdout: 'Booo00000ooommmmm' Stderr: None WARNING [root] Could not determine if /dev/sda is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sda/ro' {23} ironic_python_agent.tests.unit.hardware_managers.test_mlnx.MlnxHardwareManager.test_evaluate_hardware_support_no_mlnx [0.005371s] ... ok ERROR [root] Erasing block device /dev/sda failed with error Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None WARNING [root] Could not determine if /dev/sda is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sda/ro' WARNING [root] Failed to invoke secure erase, falling back to shred: Error erasing block device: An unknown error occurred erasing block device /dev/sda ERROR [ironic_python_agent.extensions.standby] Image failed to verify against checksum. location: /foo/bar; image ID: fake_id; image checksum: fake-sha512-value; verification checksum: invalid-checksum {18} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_do_lookup_with_uuid [0.001072s] ... ok {18} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_successful_heartbeat_with_verify_ca [0.001886s] ... ok {18} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_raw_promiscuous_sockets [0.018715s] ... ok {18} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_get_numa_node_id_invalid_format_memory_info [0.012281s] ... ok {0} ironic_python_agent.tests.unit.test_hardware.TestEvaluateHardwareSupport.test_evaluate_hw_disks_timeout [0.011680s] ... ok {0} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_efi [0.005476s] ... ok {4} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_bootloader_uefi_ignores_grub_failure [0.011091s] ... ok {4} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__manage_uefi_wholedisk [0.008019s] ... ok {9} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_holder_disks_with_whole_device [0.004733s] ... ok {4} ironic_python_agent.tests.unit.extensions.test_poll.TestPollExtension.test_get_hardware_info_success [0.002519s] ... ok WARNING [root] Could not find the SCSI address (HCTL) for device /dev/sda. Skipping WARNING [root] Could not find the SCSI address (HCTL) for device /dev/sdb. Skipping WARNING [ironic_python_agent.netutils] LLDP timed out, remaining interfaces: [('eth1', )] WARNING [root] Could not find the SCSI address (HCTL) for device /dev/md0. Skipping WARNING [root] Could not find the SCSI address (HCTL) for device /dev/md1. Skipping {6} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_devices_concurrency_pool_size [0.037796s] ... ok ERROR [ironic_python_agent.extensions.standby] Failed to sync hardware clock: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None ERROR [ironic_python_agent.extensions.standby] Flushing file system buffers failed. Error: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None WARNING [ironic_python_agent.extensions.standby] Failed to sync file system buffers: Command execution failed: Flushing file system buffers failed. Error: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None WARNING [ironic_python_agent.extensions.standby] reboot command failed with error Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None, falling back to sysrq-trigger {10} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_serial [0.007662s] ... ok WARNING [root] No hardware manager was able to handle interface foobar WARNING [root] Path /dev/disk/by-path is inaccessible, /dev/disk/by-path/* version of block device name is unavailable Cause: [Errno 2] No such file or directory: '/dev/disk/by-path' WARNING [ironic_python_agent.raid_utils] Found /dev/sdb1 to be missing from /dev/md0 ... re-adding! {10} ironic_python_agent.tests.unit.test_inspector.TestCallInspector.test_ok [0.003164s] ... ok {10} ironic_python_agent.tests.unit.test_inspector.TestCollectLogs.test_fail [0.001702s] ... ok {0} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_virtual_media [0.001818s] ... ok WARNING [ironic_python_agent.dmi_inspector] Failed to process memory dmi data: 'Number Of Devices' WARNING [root] Could not find the SCSI address (HCTL) for device /dev/sda. Skipping WARNING [root] Could not find the SCSI address (HCTL) for device /dev/sdb. Skipping ironic-python-agent: Excluding device sda1 from virtual mediaconsideration as it is a partition. ironic-python-agent: Found possible vmedia candidate /dev/sda2, however the device failed vmedia validity checking. {29} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_async_command_success_without_agent [0.002296s] ... ok ERROR [root] Malformed clean_step, no "step" key: {} WARNING [root] Could not determine if /dev/sda is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sda/ro' ERROR [root] Command failed: execute_clean_step, error: Malformed clean_step, no "step" key: {} Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/clean.py", line 73, in execute_clean_step raise ValueError(msg) ValueError: Malformed clean_step, no "step" key: {} {4} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_prepare_image_bad_partition [0.020063s] ... ok ERROR [root] Unable to clean all softraid correctly. Remaining ['/dev/md0'] ERROR [root] Cannot fetch total memory size using psutil version 5 Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/hardware.py", line 1157, in get_memory total = int(psutil.virtual_memory().total) ^^^^^^^^^^^^^^^^^^^^^^^ File "", line 3, in virtual_memory File "/usr/lib64/python3.11/unittest/mock.py", line 1124, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1128, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1183, in _execute_mock_call raise effect AttributeError ERROR [ironic_python_agent.netutils] Socket for network interface eth0 said that it was ready to read we were unable to read from the socket while trying to get LLDP packet. Skipping this network interface. Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/netutils.py", line 196, in _get_lldp_info lldp_info[interface[0]] = _receive_lldp_packets(s) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/netutils.py", line 159, in _receive_lldp_packets pkt = sock.recv(1600) ^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1124, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1128, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1183, in _execute_mock_call raise effect OSError: BOOM {29} ironic_python_agent.tests.unit.extensions.test_flow.TestFlowExtension.test_sleep_flow_success [0.017831s] ... ok {12} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test__get_vmedia_params_by_device_device_invalid [0.014637s] ... ok {5} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_command_map [0.001418s] ... ok ERROR [root] Erasing block device /dev/sda failed with error ERROR [ironic_python_agent.utils] Failed to sync with ntp server: 192.168.1.1: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None {5} ironic_python_agent.tests.unit.extensions.test_flow.TestFlowExtension.test_sleep_flow_failed [0.016305s] ... ok {6} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_v6address_channel_7 [0.012295s] ... ok {0} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_address_iterate_channels [0.014846s] ... ok {8} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_execute_agent_command_success_with_false_wait [0.036376s] ... ok WARNING [ironic_python_agent.extensions.standby] Image download failed, 0 of 9: Error downloading image: Download of image fake_id failed: Unable to write image to device /dev/foo. Error: Surprise!!!1! {8} ironic_python_agent.tests.unit.test_base.BlockExecuteTestCase.test_exception_raised_for_execute_parent_mocked [0.002226s] ... ok {20} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2 [0.022648s] ... ok WARNING [ironic_python_agent.extensions.standby] Image download failed, 1 of 9: Error downloading image: Download of image fake_id failed: Unable to write image to device /dev/foo. Error: Surprise!!!1! WARNING [ironic_python_agent.extensions.standby] Image download failed, 2 of 9: Error downloading image: Download of image fake_id failed: Unable to write image to device /dev/foo. Error: Surprise!!!1! WARNING [ironic_python_agent.extensions.standby] Image download failed, 3 of 9: Error downloading image: Download of image fake_id failed: Unable to write image to device /dev/foo. Error: Surprise!!!1! WARNING [ironic_python_agent.extensions.standby] Image download failed, 4 of 9: Error downloading image: Download of image fake_id failed: Unable to write image to device /dev/foo. Error: Surprise!!!1! WARNING [ironic_python_agent.extensions.standby] Image download failed, 5 of 9: Error downloading image: Download of image fake_id failed: Unable to write image to device /dev/foo. Error: Surprise!!!1! WARNING [ironic_python_agent.extensions.standby] Image download failed, 6 of 9: Error downloading image: Download of image fake_id failed: Unable to write image to device /dev/foo. Error: Surprise!!!1! WARNING [ironic_python_agent.extensions.standby] Image download failed, 7 of 9: Error downloading image: Download of image fake_id failed: Unable to write image to device /dev/foo. Error: Surprise!!!1! WARNING [ironic_python_agent.extensions.standby] Image download failed, 8 of 9: Error downloading image: Download of image fake_id failed: Unable to write image to device /dev/foo. Error: Surprise!!!1! {4} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_sync_error [0.003529s] ... ok WARNING [root] Could not determine if /dev/sdfake is aread-only device. Error: WARNING [root] Executable 'biosdevname' not found ERROR [ironic_python_agent.utils] Unable to sync clock, available methods of 'ntpdate' or 'chrony' not found. {28} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_bootloader_uefi_grub_failure_api_override [0.050918s] ... ok {22} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_softraid_bios [0.069909s] ... ok ERROR [ironic_python_agent.utils] foo {5} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__get_windows_efi_bootloaders [0.005884s] ... ok {1} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_wwn [0.016514s] ... ok ironic-python-agent: Copying configuration from /tmp/tmph5a3cgar/etc/ironic-python-agent to /etc/ironic-python-agent ironic-python-agent: Copying configuration from /tmp/tmph5a3cgar/etc/ironic-python-agent.d to /etc/ironic-python-agent.d WARNING [root] Could not determine if /dev/sda is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sda/ro' ironic-python-agent: Copying configuration from /tmp/tmpr5ngbp7b/etc/ironic-python-agent to /etc/ironic-python-agent ironic-python-agent: Copying configuration from /tmp/tmpr5ngbp7b/etc/ironic-python-agent.d to /etc/ironic-python-agent.d WARNING [ironic_python_agent.extensions.iscsi] Linux-IO is not available, falling back to TGT. Error: . ERROR [ironic_python_agent.extensions.iscsi] Error when adding a new logical unit for iqn iqn-fake {4} ironic_python_agent.tests.unit.hardware_managers.test_mlnx.MlnxHardwareManager.test_evaluate_hardware_support [0.002965s] ... ok {19} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__get_partition_no_device_found [0.009668s] ... ok WARNING [root] Could not determine if /dev/sda is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sda/ro' ironic-python-agent: /tmp/tmp6b9xdqff/etc/ironic-python-agent not found ironic-python-agent: /tmp/tmp6b9xdqff/etc/ironic-python-agent.d not found {0} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_boot_info_uefi [0.002455s] ... ok {23} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test__wait_for_interface [0.023556s] ... ok {27} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_all_block_device [0.022402s] ... ok WARNING [ironic_python_agent.extensions.iscsi] Linux-IO is not available, falling back to TGT. Error: . ERROR [ironic_python_agent.extensions.iscsi] Error: Unable to start the ISCSI daemon: OS Error: file not found WARNING [ironic_python_agent.extensions.standby] URL: http://example.org; time: 0.0004317760467529297 seconds. Error: Received status code 401 from http://example.org, expected 200. Response body: Unauthorized {12} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test__get_vmedia_params_cannot_find_dev [0.004052s] ... ok {1} ironic_python_agent.tests.unit.test_inject_files.TestInjectOne.test_delete_not_exists [0.003735s] ... ok ERROR [ironic_python_agent.utils] foo ERROR [ironic_python_agent.utils] bar ERROR [ironic_python_agent.utils] baz ERROR [ironic_lib.disk_utils] Failed to fix GPT partition on disk /dev/sda for node None. Error: Don't call ironic_lib.utils.execute() / processutils.execute() or similar functions in tests! ERROR [root] Rescue Operation failed when writing the hashed rescue password to the password file. Error Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/rescue.py", line 48, in write_rescue_password with open(PASSWORD_FILE, 'w') as f: ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1124, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1128, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1183, in _execute_mock_call raise effect OSError ERROR [ironic_python_agent.utils] collector failed: boom {1} ironic_python_agent.tests.unit.test_inspector.TestCallInspector.test_inspector_error [0.003374s] ... ok {23} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_execute_agent_command_validation [0.009005s] ... ok {18} ironic_python_agent.tests.unit.test_tls_utils.GenerateTestCase.test_generate [0.023523s] ... ok {29} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__get_partition_command_fail [0.004792s] ... ok {29} ironic_python_agent.tests.unit.extensions.test_standby.TestImageDownload.test_download_image_and_checksum_unknown_file [0.004766s] ... ok WARNING [ironic_python_agent.extensions.image] GRUB2 will be installed for UEFI on efi partition /dev/fake1 using the install command which does not place Secure Boot signed binaries. ERROR [ironic_python_agent.extensions.image] Installing GRUB2 boot loader to device /dev/fake failed with Unexpected error while running command. Command: None Exit code: - Stdout: 'error' Stderr: None. ERROR [ironic_python_agent.extensions.image] Umounting efi system partition failed. Attempted 3 times. Error: Unexpected error while running command. Command: None Exit code: - Stdout: 'error' Stderr: None ERROR [ironic_python_agent.extensions.standby] Failed to sync hardware clock: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None {27} ironic_python_agent.tests.unit.test_inspector.TestCollectPciDevicesInfo.test_wrong_path [0.002397s] ... ok ERROR [ironic_python_agent.extensions.standby] Flushing file system buffers failed. Error: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None WARNING [ironic_python_agent.extensions.standby] Failed to sync file system buffers: Command execution failed: Flushing file system buffers failed. Error: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None WARNING [ironic_python_agent.extensions.standby] poweroff command failed with error Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None, falling back to sysrq-trigger WARNING [root] Path /dev/disk/by-path is inaccessible, /dev/disk/by-path/* version of block device name is unavailable Cause: [Errno 2] No such file or directory: '/dev/disk/by-path' ERROR [ironic_python_agent.extensions.standby] Image failed to verify against checksum. location: /foo/bar; image ID: fake_id; image checksum: abc123; verification checksum: invalid-checksum {10} ironic_python_agent.tests.unit.test_inspector.TestCollectPciDevicesInfo.test_bad_pci_device_info [0.023041s] ... ok {10} ironic_python_agent.tests.unit.test_inspector.TestNormalizeMac.test_pxelinux_mac [0.000678s] ... ok {10} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_do_lookup_unknown_exception [0.009656s] ... ok ERROR [root] Command failed: power_off, error: Error rebooting system: Reboot script failed with exit code None. stdout: None. stderr: None. Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/standby.py", line 766, in _run_shutdown_command utils.execute("echo o > /proc/sysrq-trigger", shell=True) File "", line 3, in do_not_call File "/usr/lib64/python3.11/unittest/mock.py", line 1124, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1128, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1183, in _execute_mock_call raise effect oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/standby.py", line 782, in power_off self._run_shutdown_command('poweroff') File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/extensions/standby.py", line 770, in _run_shutdown_command raise errors.SystemRebootError(e.exit_code, e.stdout, e.stderr) ironic_python_agent.errors.SystemRebootError: Error rebooting system: Reboot script failed with exit code None. stdout: None. stderr: None. {10} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_heartbeat_agent_version_unsupported [0.001065s] ... ok {8} ironic_python_agent.tests.unit.test_hardware.TestEvaluateHardwareSupport.test_evaluate_hw_disks_timeout_configured [0.005988s] ... ok {11} ironic_python_agent.tests.unit.extensions.test_iscsi.TestISCSIExtensionLIO.test_failed_to_start_iscsi [0.114556s] ... ok {11} ironic_python_agent.tests.unit.extensions.test_iscsi.TestISCSIExtensionTgt.test_start_iscsi_target_fail_wait_daemon [0.004787s] ... ok {1} ironic_python_agent.tests.unit.test_inspector.TestCollectDefault.test_ok [0.006314s] ... ok {1} ironic_python_agent.tests.unit.test_inspector.TestCollectExtraHardware.test_parsing_failed [0.001832s] ... ok ironic-python-agent: /some/path/etc/ironic-python-agent not found ironic-python-agent: /some/path/etc/ironic-python-agent.d not found {6} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_iinfo [0.022131s] ... ok {6} ironic_python_agent.tests.unit.test_hardware.TestListHardwareInfo.test_caching [0.001989s] ... ok {14} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_validate_configuration_valid_raid1_raidN [0.026623s] ... ok {12} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test__read_params_from_file_fail [0.007768s] ... ok WARNING [ironic_python_agent.agent] Cannot get route to host 1.2.1.2: Unexpected error while running command. Command: None Exit code: - Stdout: 'boom' Stderr: None WARNING [ironic_python_agent.agent] No route to host 1.2.1.2, route record: Error: some error text WARNING [root] Something went wrong when readlink for interface eth2. Error: fake {12} ironic_python_agent.tests.unit.test_utils.TestStreamingClient.test_ok [0.004081s] ... ok ERROR [ironic_python_agent.utils] failed to run dmidecode: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None WARNING [root] Device /dev/sda is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/sda' WARNING [root] Can't find field vendor fordevice sda in device class block WARNING [ironic_python_agent.extensions.standby] reboot command has been ignored, falling back to sysrq-trigger WARNING [root] Device /dev/sdb is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/sdb' WARNING [root] Can't find field vendor fordevice sdb in device class block WARNING [root] Device /dev/sdc is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/sdc' WARNING [root] Can't find field vendor fordevice sdc in device class block WARNING [root] Could not determine if /dev/sda is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sda/ro' {24} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_run_with_inspection_without_apiurl [0.050261s] ... ok WARNING [root] Device /dev/sdd is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/sdd' WARNING [root] Can't find field vendor fordevice sdd in device class block WARNING [ironic_python_agent.numa_inspector] Failed to get list of NUMA nodes, NUMA node path does not exist: /sys/devices/system/node/ {0} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_by_path [0.010792s] ... ok {0} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_size_not_int [0.003326s] ... ok {19} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_bootloader_uefi_ignores_grub_failure_api_override [0.007430s] ... ok {19} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__is_bootloader_loaded_empty [0.003708s] ... ok {28} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_power_off_with_ntp_server [0.026902s] ... ok {9} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_vendor [0.021955s] ... ok WARNING [ironic_python_agent.ironic_api_client] Got invalid heartbeat from the API: {'node': {'uuid': 'deadbeef-dabb-ad00-b105-f00d00bab10c'}} {1} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_do_lookup_unknown_exception_fallback [0.011625s] ... ok {14} ironic_python_agent.tests.unit.test_hardware.TestModuleFunctions.test__udev_settle [0.002036s] ... ok {14} ironic_python_agent.tests.unit.test_inject_files.TestInjectOne.test_plain_content [0.003623s] ... ok {9} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_network_vlan_interfaces_using_lldp_all [0.020409s] ... ok {18} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test_get_agent_params_kernel_cmdline [0.003722s] ... ok {18} ironic_python_agent.tests.unit.test_utils.TestClockSyncUtils.test_sync_clock_chrony_failure [0.005450s] ... ok {0} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_network_interfaces_with_vendor_info [0.014815s] ... ok {4} ironic_python_agent.tests.unit.test_agent.TestAdvertiseAddress.test_route_failed [0.017875s] ... ok {18} ironic_python_agent.tests.unit.test_utils.TestUtils.test_get_journalctl_output_fail [0.001212s] ... ok {14} ironic_python_agent.tests.unit.test_numa_inspector.TestCollectNumaTopologyInfo.test_collect_no_nics_dirs [0.012061s] ... ok {23} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_list_command_results [0.021318s] ... ok {27} ironic_python_agent.tests.unit.test_inspector.TestInspect.test_extensions_failed [0.022958s] ... ok {9} ironic_python_agent.tests.unit.test_inject_files.TestFindAndMountPath.test_with_on_as_number [0.002500s] ... ok {9} ironic_python_agent.tests.unit.test_inspector.TestCollectDefault.test_no_root_disk [0.005146s] ... ok {14} ironic_python_agent.tests.unit.test_raid_utils.TestRaidUtils.test_create_raid_device [0.002424s] ... ok {14} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test__find_vmedia_device_by_labels_handles_exec_error [0.001500s] ... ok {29} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_verify_image_success_without_md5 [0.006932s] ... ok {29} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_v1_root [0.009848s] ... ok {29} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__get_device_info [0.005531s] ... ok {0} ironic_python_agent.tests.unit.test_inject_files.TestFindAndMountPath.test_without_on [0.003383s] ... ok WARNING [ironic_python_agent.dmi_inspector] Failed to parse Handle type in dmi output: list index out of range {28} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_write_partition_image_exception_image_mb [0.007050s] ... ok {28} ironic_python_agent.tests.unit.hardware_managers.test_mlnx.MlnxHardwareManager.test_detect_hardware_no_mlnx [0.002758s] ... ok {12} ironic_python_agent.tests.unit.test_utils.TestUtils.test_scan_partition_table_type_unknown [0.001422s] ... ok {23} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__is_linux_raid_member_false [0.008983s] ... ok {5} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_command_fail [0.004326s] ... ok {5} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__manage_uefi_found_csv [0.009827s] ... ok {27} ironic_python_agent.tests.unit.test_inspector.TestWaitForDhcp.test_disabled [0.001875s] ... ok {22} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__manage_uefi_empty_partition_by_uuid [0.010502s] ... ok {8} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_collect_lldp_data_netutils_exception [0.014839s] ... ok {8} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_shred_uses_internal_info [0.003448s] ... ok {8} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_devices_metadata_error [0.007644s] ... ok {29} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__is_read_only_device [0.005316s] ... ok {22} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__no_efi_bootloaders [0.004108s] ... ok {0} ironic_python_agent.tests.unit.test_inject_files.TestValidateFiles.test_no_directories [0.001591s] ... ok {22} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__uefi_bootloader_with_entry_removal [0.019049s] ... ok {0} ironic_python_agent.tests.unit.test_inspector.TestMisc.test_default_collector_loadable [0.001731s] ... ok {31} ironic_python_agent.tests.unit.extensions.test_base.TestExecuteCommandMixin.test_execute_command_other_exception [0.003616s] ... ok {27} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_do_lookup [0.001211s] ... ok {27} ironic_python_agent.tests.unit.test_utils.TestCheckVirtualMedia.test_check_vmedia_device_other [0.001842s] ... ok {27} ironic_python_agent.tests.unit.test_utils.TestCheckVirtualMedia.test_check_vmedia_device_too_large [0.002261s] ... ok {22} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_write_image [0.007457s] ... ok {24} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration [0.016968s] ... ok {31} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_sync_command_execution_failure [0.001129s] ... ok {31} ironic_python_agent.tests.unit.extensions.test_clean.TestCleanExtension.test_execute_clean_step [0.018410s] ... ok {31} ironic_python_agent.tests.unit.extensions.test_flow.TestFlowExtension.test_validate_exts_failed_missing_command [0.000971s] ... ok {5} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_download_image_bad_status [0.006587s] ... ok {5} ironic_python_agent.tests.unit.hardware_managers.test_mlnx.MlnxHardwareManager.test_get_interface_info_no_ib_interface [0.002560s] ... ok WARNING [root] Failed to remove partitions on /dev/sda: Unexpected error while running command. Command: None Exit code: - Stdout: 'No md superblock detected' Stderr: None WARNING [root] Failed to remove partitions on /dev/sdb: Unexpected error while running command. Command: None Exit code: - Stdout: 'No md superblock detected' Stderr: None {9} ironic_python_agent.tests.unit.test_inspector.TestCollectPciDevicesInfo.test_success [0.007838s] ... ok {9} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_get_agent_url_ipv4 [0.000817s] ... ok {23} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_memory_psutil_bank_size [0.003666s] ... ok {5} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_get_route_source_ipv6_linklocal [0.012183s] ... ok {29} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_partitions_detected [0.006275s] ... ok {24} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_nvme_crypto_success [0.003732s] ... ok {24} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_shred_fail_processerror [0.002466s] ... ok {31} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__append_uefi_to_fstab_handles_error [0.006013s] ... ok WARNING [ironic_python_agent.netutils] LLDP timed out, remaining interfaces: [('eth0', ), ('eth1', )] {31} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__get_partition_label [0.004168s] ... ok {31} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__prepare_boot_partitions_for_softraid_uefi_gpt_esp_not_found [0.005544s] ... ok {31} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_cache_and_write_image [0.004149s] ... ok {29} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_ata_failed_continued [0.005831s] ... ok {4} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_execute_agent_command_with_token_invalid [0.017044s] ... ok {4} ironic_python_agent.tests.unit.test_base.BlockExecuteTestCase.test_can_mock_execute [0.001974s] ... ok WARNING [root] Could not determine if /dev/sda is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sda/ro' ERROR [ironic_python_agent.ironic_api_client] An error occurred while attempting to discover the available Ironic API versions, falling back to using version 1.31 Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/util/connection.py", line 72, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/socket.py", line 962, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 386, in _make_request self._validate_conn(conn) File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn conn.connect() File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 358, in connect self.sock = conn = self._new_conn() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 489, in send resp = conn.urlopen( ^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='example.com', port=443): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/ironic_api_client.py", line 105, in _get_ironic_api_version response = self._request('GET', '/') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/ironic_api_client.py", line 76, in _request return self.session.request(method, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 565, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='example.com', port=443): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) ironic-python-agent: No virtual media device detected WARNING [ironic_python_agent.agent] Ironic does not support automated TLS WARNING [ironic_python_agent.netutils] Trailing byte received in an LLDP package: b'5' {4} ironic_python_agent.tests.unit.test_encoding.TestSerializable.test_baseclass_serialize [0.000623s] ... ok {20} ironic_python_agent.tests.unit.extensions.test_iscsi.TestISCSIExtensionCleanUpFallback.test_lio_not_available [0.045454s] ... ok {24} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_validate_configuration_invalid_no_of_raids [0.001645s] ... ok {10} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_both_succeed [0.032068s] ... ok {9} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_nodes_invalid_threaddir_format_cores_info [0.006822s] ... ok {31} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_verify_image_failure_with_new_hash_fields [0.006392s] ... ok {13} ironic_python_agent.tests.unit.extensions.test_base.TestExecuteCommandMixin.test_busy [0.002560s] ... ok {24} ironic_python_agent.tests.unit.test_inject_files.TestFindPartitionWithPath.test_found [0.004101s] ... ok WARNING [ironic_python_agent.extensions.image] GRUB2 will be installed for UEFI on efi partition /dev/md/esp using the install command which does not place Secure Boot signed binaries. {13} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_uefi_mount_fails [0.017754s] ... ok {16} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_async_command_success [0.010020s] ... ok ironic-python-agent: Device sdh was disqualified as virtual media. Type: other, Transport: scsi ERROR [ironic_python_agent.ironic_api_client] An error occurred while attempting to discover the available Ironic API versions, falling back to using version 1.31 Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/util/connection.py", line 72, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/socket.py", line 962, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 386, in _make_request self._validate_conn(conn) File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn conn.connect() File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 358, in connect self.sock = conn = self._new_conn() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 489, in send resp = conn.urlopen( ^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='fake_api.example.org', port=8081): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/ironic_api_client.py", line 105, in _get_ironic_api_version response = self._request('GET', '/') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/ironic_api_client.py", line 76, in _request return self.session.request(method, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 565, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='fake_api.example.org', port=8081): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) WARNING [ironic_python_agent.agent] Ironic does not support automated TLS ERROR [ironic_python_agent.ironic_api_client] An error occurred while attempting to discover the available Ironic API versions, falling back to using version 1.31 Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/util/connection.py", line 72, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/socket.py", line 962, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 386, in _make_request self._validate_conn(conn) File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn conn.connect() File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 358, in connect self.sock = conn = self._new_conn() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 489, in send resp = conn.urlopen( ^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='fake_api.example.org', port=8081): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/ironic_api_client.py", line 105, in _get_ironic_api_version response = self._request('GET', '/') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/ironic_api_client.py", line 76, in _request return self.session.request(method, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 565, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='fake_api.example.org', port=8081): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) WARNING [ironic_python_agent.agent] Ironic does not support automated TLS WARNING [ironic_python_agent.utils] Ignoring malformed capability 'test:world:2'. Format should be 'key:val'. WARNING [ironic_python_agent.utils] Ignoring malformed capability 'badformat'. Format should be 'key:val'. WARNING [root] Could not determine if /dev/sdfake1 is aread-only device. Error: {16} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_sync_command_success [0.001074s] ... ok {9} ironic_python_agent.tests.unit.test_utils.TestUtils.test_collect_system_logs_non_journald [0.003470s] ... ok {24} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_heartbeat_error_format_1 [0.001311s] ... ok {10} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_get_lldp_info_one_empty_interface [0.008118s] ... ok {10} ironic_python_agent.tests.unit.test_raid_utils.TestRaidUtils.test__get_actual_component_devices [0.001810s] ... ok {13} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__is_bootloader_loaded_not_bootable [0.004369s] ... ok {29} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_v6address_static_address_both [0.006272s] ... ok ERROR [ironic_python_agent.ironic_api_client] An error occurred while attempting to discover the available Ironic API versions, falling back to using version 1.31 Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/util/connection.py", line 72, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/socket.py", line 962, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 386, in _make_request self._validate_conn(conn) File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn conn.connect() File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 358, in connect self.sock = conn = self._new_conn() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 489, in send resp = conn.urlopen( ^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='fake_api.example.org', port=8081): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/ironic_api_client.py", line 105, in _get_ironic_api_version response = self._request('GET', '/') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/ironic_api_client.py", line 76, in _request return self.session.request(method, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 565, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='fake_api.example.org', port=8081): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) WARNING [ironic_python_agent.agent] Ironic does not support automated TLS {29} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_holder_disks_broken_raid0 [0.001940s] ... ok WARNING [ironic_python_agent.raid_utils] Found /dev/sdb1 to be missing from /dev/md0 ... re-adding! {29} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_holder_disks_unexpected_devices [0.002237s] ... ok {28} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_async_command_success [0.021933s] ... ok {19} ironic_python_agent.tests.unit.extensions.test_iscsi.TestISCSIExtensionCleanUp.test_delete_fails [0.044036s] ... ok {31} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_verify_image_success [0.006960s] ... ok {8} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_pstore [0.017304s] ... ok {8} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_v6address_invalid_get_address [0.004181s] ... ok {8} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_validate_configuration_valid_raid1 [0.001794s] ... ok {8} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_heartbeat_error_format_2 [0.001443s] ... ok {20} ironic_python_agent.tests.unit.hardware_managers.test_cna.TestIntelCnaHardwareManager.test_disable_embedded_lldp_agent_in_cna_card [0.021378s] ... ok {28} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_get_route_source_ipv4 [0.008047s] ... ok {28} ironic_python_agent.tests.unit.test_dmi_inspector.TestCollectDmidecodeInfo.test_save_data [0.000714s] ... ok {10} ironic_python_agent.tests.unit.test_raid_utils.TestRaidUtils.test__get_actual_component_devices_broken_raid0 [0.001668s] ... ok {4} ironic_python_agent.tests.unit.test_hardware.TestEvaluateHardwareSupport.test_evaluate_hw_waits_for_disks_configured [0.014278s] ... ok {23} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_network_vlan_interfaces [0.021573s] ... ok {19} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_run_shutdown_command_fails [0.004183s] ... ok {9} ironic_python_agent.tests.unit.test_utils.TestUtils.test_specified_partition_table_type [0.000862s] ... ok {1} ironic_python_agent.tests.unit.test_multi_hardware_clean_steps.TestMultipleHardwareManagerCleanSteps.test_clean_step_ordering [0.032556s] ... ok WARNING [root] Could not determine if /dev/sda is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sda/ro' {1} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_get_nodes_nics_info [0.006629s] ... ok {31} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_get_command_result [0.018018s] ... ok {9} ironic_python_agent.tests.unit.test_utils.TestUtils.test_specified_partition_table_type_gpt [0.000798s] ... ok {1} ironic_python_agent.tests.unit.test_raid_utils.TestRaidUtils.test_create_raid_device_fail_read_device [0.003128s] ... ok {19} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_run_shutdown_command_valid [0.003268s] ... ok {19} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_missing_field [0.002073s] ... ok {19} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__is_read_only_device_partition_ok [0.004703s] ... ok {8} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_heartbeat_error_format_3 [0.001046s] ... ok {10} ironic_python_agent.tests.unit.test_utils.TestGetEfiPart.test_get_efi_part_on_device_only_boot_flag_gpt [0.004371s] ... ok {10} ironic_python_agent.tests.unit.test_utils.TestUtils.test_is_journalctl_present_false [0.001062s] ... ok {6} ironic_python_agent.tests.unit.test_hardware.TestModuleFunctions.test_list_all_block_devices_success_raid [0.037138s] ... ok {4} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__ata_erase_security_erase_exec_exception [0.002081s] ... ok {4} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__find_pstore_mount_point_no_pstore [0.004239s] ... ok {4} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_clean_steps [0.000683s] ... ok {4} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_memory_psutil_v1 [0.003242s] ... ok {29} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_network_interfaces [0.009286s] ... ok ERROR [ironic_python_agent.extensions.iscsi] Error when cleaning up iscsi binds. {6} ironic_python_agent.tests.unit.test_inject_files.TestFindAndMountPath.test_with_on_as_number_nvme [0.002984s] ... ok ERROR [ironic_python_agent.extensions.iscsi] Error deleting the iscsi target configuration. {6} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_heartbeat_invalid_status_code [0.001368s] ... ok {0} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_mainline_method_only [0.029094s] ... ok {0} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_get_numa_node_id_invalid_format_cores_info [0.001993s] ... ok {22} ironic_python_agent.tests.unit.test_hardware.TestEvaluateHardwareSupport.test_evaluate_hw_waits_for_disks_nonconfigured [0.028639s] ... ok {22} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_invalid_raid_config [0.010444s] ... ok {29} ironic_python_agent.tests.unit.test_inject_files.TestInjectFiles.test_empty [0.002031s] ... ok {29} ironic_python_agent.tests.unit.test_inject_files.TestInjectFiles.test_invalid_type_in_param [0.001608s] ... ok {29} ironic_python_agent.tests.unit.test_inject_files.TestInjectOne.test_url [0.003774s] ... ok {16} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_cache_image [0.024055s] ... ok {28} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_collect_lldp_data [0.003280s] ... ok {28} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_with_nvme [0.005599s] ... ok {28} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_address_zeroed [0.003213s] ... ok {6} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_nodes_invalid_memory_unit [0.006338s] ... ok {6} ironic_python_agent.tests.unit.test_utils.TestGetEfiPart.test_get_efi_part_on_device_only_boot_flag_mbr [0.002112s] ... ok {6} ironic_python_agent.tests.unit.test_utils.TestUtils.test_scan_partition_table_type_gpt [0.001362s] ... ok {6} ironic_python_agent.tests.unit.test_utils.TestUtils.test_scan_partition_table_type_msdos [0.001093s] ... ok {31} ironic_python_agent.tests.unit.test_dmi_inspector.TestCollectDmidecodeInfo.test_parse_dmi_memory [0.000758s] ... ok {31} ironic_python_agent.tests.unit.test_dmi_inspector.TestCollectDmidecodeInfo.test_save_data_error_number_of_devices [0.001437s] ... ok {20} ironic_python_agent.tests.unit.test_agent.TestHeartbeater.test__heartbeat_expected [0.025819s] ... ok {1} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test__find_vmedia_device_by_labels [0.013004s] ... ok {8} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_get_lldp_info [0.015238s] ... ok {5} ironic_python_agent.tests.unit.test_agent.TestHeartbeater.test_heartbeat [0.024816s] ... ok {5} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_execute_agent_command_success_no_wait [0.010194s] ... ok {5} ironic_python_agent.tests.unit.test_hardware.TestAPIClientSaveAndUse.test_save_api_client [0.000741s] ... ok {5} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__get_component_devices [0.013880s] ... ok {0} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_nodes_invalid_numa_format_memory_info [0.017124s] ... ok {25} ironic_python_agent.tests.unit.extensions.test_clean.TestCleanExtension.test_execute_clean_step_no_step [0.018414s] ... ok WARNING [root] Path /dev/disk/by-path is inaccessible, /dev/disk/by-path/* version of block device name is unavailable Cause: {16} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_cache_image_cached [0.015027s] ... ok {4} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_manager_method_not_found [0.024531s] ... ok {28} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_hardware_info [0.014832s] ... ok {22} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_nvme_userdata_success [0.014171s] ... ok {20} ironic_python_agent.tests.unit.test_encoding.TestSerializableComparable.test_childclass_equal [0.002592s] ... ok GET: /v1/foo None GOT: {0} ironic_python_agent.tests.unit.test_utils.TestClockSyncUtils.test_sync_clock_ntp_server_is_none [0.002940s] ... ok {0} ironic_python_agent.tests.unit.test_utils.TestUtils.test_device_extractor [0.000127s] ... ok WARNING [root] Could not find the SCSI address (HCTL) for device /dev/sda. Skipping WARNING [root] Could not find the SCSI address (HCTL) for device /dev/sdb. Skipping {19} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_ata_security_unlock_fallback_pass [0.018207s] ... ok {24} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_dispatch_to_all_managers_both_succeed [0.020312s] ... ok {29} ironic_python_agent.tests.unit.test_inspector.TestWaitForDhcp.test_all [0.013148s] ... ok {7} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_wait_async_command_success [0.006757s] ... ok POST: /v1/commands?wait=false?agent_token=0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 {'name': 'do_things', 'params': {'key': 'value', 'wait': False, 'agent_token': '0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789'}} GOT: GET: /v1/status None GOT: {1} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test__get_vmedia_device [0.012821s] ... ok WARNING [root] Device /dev/sda is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/sda' WARNING [root] Can't find field vendor fordevice sda in device class block WARNING [root] Device /dev/sdb is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/sdb' WARNING [root] Can't find field vendor fordevice sdb in device class block {19} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_memory_psutil_exception_v2 [0.009574s] ... ok {4} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test_get_agent_params_vmedia [0.009691s] ... ok {5} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_delete_configuration_failure_blocks_remaining [0.012683s] ... ok {8} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_get_lldp_info_socket_recv_error [0.012108s] ... ok {31} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__is_virtual_media_device_exists [0.024618s] ... ok {22} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bios_given_nic_name_ok [0.009654s] ... ok {16} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_cache_image_invalid_image_list [0.009168s] ... ok {7} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__get_partition_partuuid [0.008956s] ... ok {25} ironic_python_agent.tests.unit.extensions.test_rescue.TestRescueExtension.test_write_rescue_password [0.017094s] ... ok ironic-python-agent: Did not identify any virtual media candidates devices. WARNING [root] Failed to get CPU flags WARNING [ironic_lib.utils] No device found that matches the root device hints {'model': 'fastable sd131 7', 'wwn': 'fake-wwn', 'serial': 'fake-serial', 'vendor': 'fake-vendor', 'size': 10} {1} ironic_python_agent.tests.unit.test_utils.TestClockSyncUtils.test_sync_clock_ntp_raises_exception [0.018807s] ... ok {20} ironic_python_agent.tests.unit.test_hardware.TestAPIClientSaveAndUse.test_update_node_cache [0.027863s] ... ok {24} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_dispatch_to_all_managers_mainline_only [0.028847s] ... ok {22} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bios_given_nic_name_process_exec_err4 [0.019411s] ... ok {23} ironic_python_agent.tests.unit.test_hardware.TestModuleFunctions.test_list_all_block_devices_success [0.059015s] ... ok {7} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__run_efibootmgr [0.018992s] ... ok {29} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_mainline_fails [0.031640s] ... ok {13} ironic_python_agent.tests.unit.extensions.test_iscsi.TestISCSIExtensionLIO.test_failed_to_start_iscsi_wipe_disk_metadata [0.090286s] ... ok {19} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_network_interfaces_with_biosdevname [0.018902s] ... ok {19} ironic_python_agent.tests.unit.test_inject_files.TestValidateFiles.test_content_and_deleted [0.000848s] ... ok {5} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_shred_fail_oserror [0.018932s] ... ok {31} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_raid_5 [0.018436s] ... ok {4} ironic_python_agent.tests.unit.test_utils.TestClockSyncUtils.test_determine_time_method_none [0.018658s] ... ok {5} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bios_given_nic_name_oserror [0.002014s] ... ok {20} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__is_read_only_device_error [0.002404s] ... ok {26} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_async_command_name [0.016944s] ... ok {25} ironic_python_agent.tests.unit.extensions.test_standby.TestImageDownload.test_download_image_and_checksum_empty_file [0.018348s] ... ok {24} ironic_python_agent.tests.unit.test_utils.TestCheckVirtualMedia.test_check_vmedia_device_rom [0.003086s] ... ok {24} ironic_python_agent.tests.unit.test_utils.TestFailures.test_raise [0.000763s] ... ok {29} ironic_python_agent.tests.unit.test_utils.TestClockSyncUtils.test_sync_clock_none [0.002530s] ... ok {28} ironic_python_agent.tests.unit.test_hardware.TestModuleFunctions.test_list_all_block_devices_missing [0.027822s] ... ok {28} ironic_python_agent.tests.unit.test_inject_files.TestInjectOne.test_delete [0.003719s] ... ok {5} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_holder_disks [0.001871s] ... ok {22} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_boot_info_pxe_interface [0.004438s] ... ok {17} ironic_python_agent.tests.unit.extensions.test_clean.TestCleanExtension.test_get_clean_steps [0.016143s] ... ok {21} ironic_python_agent.tests.unit.extensions.test_iscsi.TestISCSIExtensionLIO.test_start_iscsi_target_with_special_port [0.218847s] ... ok {20} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_empty_target_raid_config [0.000923s] ... ok {4} ironic_python_agent.tests.unit.test_utils.TestCopyConfigFromVmedia.test_copy_mounted [0.008234s] ... ok {20} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_ata_erase_disabled [0.005030s] ... ok {8} ironic_python_agent.tests.unit.test_utils.TestCopyConfigFromVmedia.test_copy [0.024087s] ... ok {7} ironic_python_agent.tests.unit.extensions.test_iscsi.TestISCSIExtensionTgt.test_start_iscsi_target_fail_command [0.009233s] ... ok {29} ironic_python_agent.tests.unit.test_utils.TestUtils.test_boot_mode_fallback_bios [0.001105s] ... ok {4} ironic_python_agent.tests.unit.test_utils.TestUtils.test_boot_mode_override_with_instance_info [0.000958s] ... ok {4} ironic_python_agent.tests.unit.test_utils.TestUtils.test_get_ssl_client_options [0.001009s] ... ok {21} ironic_python_agent.tests.unit.extensions.test_standby.TestImageDownload.test_download_image_and_checksum [0.004794s] ... ok {16} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_stream_raw_image_onto_device_write_error [0.031836s] ... ok WARNING [ironic_python_agent.extensions.standby] Failed to call get_disk_identifier: Unable to obtain the root_uuid parameter: The hexdump tool may be missing in IPA: {20} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_ata_success_no_smartctl [0.003494s] ... ok {17} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_success [0.002390s] ... ok {8} ironic_python_agent.tests.unit.test_utils.TestCopyConfigFromVmedia.test_no_files [0.006295s] ... ok {26} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__get_efi_bootloaders_no_csv [0.005258s] ... ok {23} ironic_python_agent.tests.unit.test_inject_files.TestInjectOne.test_url_formatting [0.004496s] ... ok {7} ironic_python_agent.tests.unit.extensions.test_iscsi.TestISCSIExtensionTgt.test_start_iscsi_target_fail_command_not_exist [0.005909s] ... ok {7} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_cache_partition_image [0.006280s] ... ok {21} ironic_python_agent.tests.unit.extensions.test_standby.TestImageDownload.test_download_image_fail [0.004367s] ... ok {16} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_write_partition_image_no_node_uuid [0.007083s] ... ok {15} ironic_python_agent.tests.unit.extensions.test_iscsi.TestISCSIExtensionLIO.test_start_iscsi_target_noipv6 [0.201273s] ... ok {15} ironic_python_agent.tests.unit.extensions.test_poll.TestPollExtension.test_set_node_info_success [0.001877s] ... ok {15} ironic_python_agent.tests.unit.extensions.test_rescue.TestRescueExtension.test_write_rescue_password_ioerror [0.005519s] ... ok {31} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_rotational [0.015040s] ... ok {31} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test__get_ironic_api_version_already_set [0.001770s] ... ok {26} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_uefi_umount_fails [0.017157s] ... ok {20} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_v6address_dynamic_address [0.005105s] ... ok {22} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_model [0.009063s] ... ok {23} ironic_python_agent.tests.unit.test_inspector.TestCollectExtraHardware.test_benchmarks [0.002848s] ... ok {5} ironic_python_agent.tests.unit.test_inject_files.TestInjectOne.test_plain_content_with_owner [0.010640s] ... ok {5} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_get_agent_url_protocol [0.001037s] ... ok {17} ironic_python_agent.tests.unit.hardware_managers.test_cna.TestIntelCnaHardwareManager.test_evaluate_hardware_support_with_collect_lldp_disabled [0.010494s] ... ok {17} ironic_python_agent.tests.unit.hardware_managers.test_mlnx.MlnxHardwareManager.test_get_interface_info_no_mlnx_interface [0.002749s] ... ok {28} ironic_python_agent.tests.unit.test_inspector.TestInspect.test_collector_failed [0.017895s] ... ok {28} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test__get_ironic_api_version_fresh [0.001176s] ... ok {28} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_get_numa_node_id_invalid_format [0.000748s] ... ok {21} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_verify_image_success_with_new_hash_fields [0.005239s] ... ok {21} ironic_python_agent.tests.unit.hardware_managers.test_cna.TestIntelCnaHardwareManager.test_detect_cna_card_no_i40e_driver [0.002628s] ... ok {21} ironic_python_agent.tests.unit.hardware_managers.test_mlnx.MlnxHardwareManager.test_generate_client_id [0.000669s] ... ok {21} ironic_python_agent.tests.unit.test_dmi_inspector.TestCollectDmidecodeInfo.test_parse_dmi_cpu [0.000565s] ... ok {31} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_successful_heartbeat [0.002162s] ... ok {31} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_get_lldp_info_multiple [0.007356s] ... ok {26} ironic_python_agent.tests.unit.extensions.test_rescue.TestRescueExtension.test_finalize_rescue [0.004546s] ... ok {26} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test__message_format_partition_uefi_localboot [0.002098s] ... ok {21} ironic_python_agent.tests.unit.test_errors.TestErrors.test_error_string [0.001005s] ... ok {31} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test__read_params_from_file [0.002912s] ... ok {28} ironic_python_agent.tests.unit.test_utils.TestClockSyncUtils.test_sync_clock_ntp [0.006018s] ... ok {25} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_prepare_image [0.018273s] ... ok {7} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_verify_image_failure [0.007865s] ... ok {28} ironic_python_agent.tests.unit.test_utils.TestUtils.test_guess_root_disk_primary_sort [0.001008s] ... ok {22} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_size_str [0.012684s] ... ok {7} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_verify_image_success_with_md5_fallback [0.007053s] ... ok {15} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_power_off [0.011898s] ... ok {16} ironic_python_agent.tests.unit.hardware_managers.test_cna.TestIntelCnaHardwareManager.test_disable_embedded_lldp_agent_write_error [0.019989s] ... ok {15} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_prepare_partition_image_raw_and_stream_false [0.008953s] ... ok {22} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_block_devices [0.002594s] ... ok {22} ironic_python_agent.tests.unit.test_hardware.TestModuleFunctions.test__check_for_iscsi [0.001958s] ... ok {22} ironic_python_agent.tests.unit.test_inspector.TestCollectLogs.test [0.001756s] ... ok {23} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_do_lookup_transient_exceptions [0.019881s] ... ok {23} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_get_agent_url_ipv6 [0.002256s] ... ok {7} ironic_python_agent.tests.unit.hardware_managers.test_cna.TestIntelCnaHardwareManager.test_detect_cna_card_execute_error [0.003861s] ... ok {17} ironic_python_agent.tests.unit.test_agent.TestAdvertiseAddress.test_route_retry [0.014480s] ... ok {31} ironic_python_agent.tests.unit.test_utils.TestCopyConfigFromVmedia.test_mounted_no_files [0.007955s] ... ok {5} ironic_python_agent.tests.unit.test_utils.TestFailures.test_get_error [0.000494s] ... ok {5} ironic_python_agent.tests.unit.test_utils.TestUtils.test_extract_capability_from_dict [0.000090s] ... ok {5} ironic_python_agent.tests.unit.test_utils.TestUtils.test_get_journalctl_output [0.001134s] ... ok {5} ironic_python_agent.tests.unit.test_utils.TestUtils.test_guess_root_disk_disks_too_small [0.000976s] ... ok {26} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_download_image_proxy [0.011351s] ... ok {23} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_lookup_node_retries [0.004207s] ... ok {26} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_image_location [0.002279s] ... ok {25} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_prepare_image_no_configdrive [0.021891s] ... ok GET: /v1/commands/abc123 None GOT: POST: /v1/commands {'name': 'do_things', 'params': {'key': 'value'}} GOT: {25} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_run_shutdown_command_valid_reboot_sysrq [0.004869s] ... ok {20} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device [0.033618s] ... ok GET: /v1 None GOT: GET: / None GOT: POST: /v1/commands?wait=false?agent_token=0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 {'name': 'do_things', 'params': {'key': 'value', 'wait': False, 'agent_token': '0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789'}} GOT: {15} ironic_python_agent.tests.unit.hardware_managers.test_mlnx.MlnxHardwareManager.test_detect_hardware_error [0.002809s] ... ok {17} ironic_python_agent.tests.unit.test_agent.TestAdvertiseAddress.test_route_with_ip [0.008512s] ... ok {7} ironic_python_agent.tests.unit.test_dmi_inspector.TestCollectDmidecodeInfo.test_dmidecode_info_failure [0.002359s] ... ok POST: /v1/commands?wait=false {'name': 'do_things', 'params': {'key': 'value'}} GOT: {7} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_ata_success [0.004713s] ... ok {23} ironic_python_agent.tests.unit.test_numa_inspector.TestCollectNumaTopologyInfo.test_collect_no_numa_dirs [0.002016s] ... ok {21} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_validate_configuration_invalid_raid_level [0.019810s] ... ok {21} ironic_python_agent.tests.unit.test_inspector.TestMisc.test_raise_on_wrong_collector [0.004340s] ... ok ERROR [root] Unexpected error dispatching unexpected_fail to manager : A problem was encountered Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/hardware.py", line 2454, in dispatch_to_managers return getattr(manager, method)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/tests/unit/test_multi_hardware.py", line 32, in wrapper return fn(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/tests/unit/test_multi_hardware.py", line 101, in unexpected_fail raise RuntimeError('A problem was encountered') RuntimeError: A problem was encountered ERROR [ironic_lib.disk_utils] Failed to fix GPT partition on disk /dev/sda for node None. Error: Don't call ironic_lib.utils.execute() / processutils.execute() or similar functions in tests! {22} ironic_python_agent.tests.unit.test_inspector.TestInspect.test_inspector_error [0.018713s] ... ok {22} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_do_lookup_no_heartbeat_timeout [0.001559s] ... ok {25} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_success_ignore_none_md5 [0.002535s] ... ok {19} ironic_python_agent.tests.unit.test_inspector.TestCallInspector.test_inspector_retries [0.048846s] ... ok {25} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_success_with_new_hash_fields [0.002938s] ... ok {21} ironic_python_agent.tests.unit.test_inspector.TestNormalizeMac.test_correct_mac [0.000607s] ... ok {22} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_heartbeat_requests_connection_error [0.001710s] ... ok POST: /v1/commands {} GOT: GET: /v1/commands None GOT: {21} ironic_python_agent.tests.unit.test_inspector.TestWaitForDhcp.test_boot_only [0.004273s] ... ok {22} ironic_python_agent.tests.unit.test_utils.TestCheckVirtualMedia.test_check_vmedia_device [0.002199s] ... ok {20} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_size [0.007337s] ... ok {7} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_devices_concurrency [0.007887s] ... ok {15} ironic_python_agent.tests.unit.test_agent.TestAdvertiseAddress.test_route_with_ipv6 [0.015071s] ... ok {7} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_address [0.003176s] ... ok {15} ironic_python_agent.tests.unit.test_dmi_inspector.TestCollectDmidecodeInfo.test_dmidecode_info_bad_data [0.002589s] ... ok {22} ironic_python_agent.tests.unit.test_utils.TestClockSyncUtils.test_determine_time_method_chronyd [0.001903s] ... ok {21} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_lookup_node [0.003878s] ... ok {26} ironic_python_agent.tests.unit.hardware_managers.test_mlnx.MlnxHardwareManager.test_infiniband_address_to_mac [0.000867s] ... ok ERROR [ironic_python_agent.ironic_api_client] An error occurred while attempting to discover the available Ironic API versions, falling back to using version 1.31 Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/util/connection.py", line 72, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/socket.py", line 962, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 386, in _make_request self._validate_conn(conn) File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn conn.connect() File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 358, in connect self.sock = conn = self._new_conn() ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 489, in send resp = conn.urlopen( ^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='fake_api.example.org', port=8081): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/ironic_api_client.py", line 105, in _get_ironic_api_version response = self._request('GET', '/') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/ironic_api_client.py", line 76, in _request return self.session.request(method, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 565, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='fake_api.example.org', port=8081): Max retries exceeded with url: / (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) {15} ironic_python_agent.tests.unit.test_dmi_inspector.TestCollectDmidecodeInfo.test_parse_dmi_bios [0.002395s] ... ok {7} ironic_python_agent.tests.unit.test_inject_files.TestInjectFiles.test_invalid_type_on_node [0.002230s] ... ok {19} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_dispatch_to_all_managers_manager_method_not_found [0.019875s] ... ok {16} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_get_route_source_ipv6 [0.030810s] ... ok {25} ironic_python_agent.tests.unit.hardware_managers.test_cna.TestIntelCnaHardwareManager.test_disable_embedded_lldp_agent_wrong_dir_path [0.016011s] ... ok {15} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_delete_configuration [0.007138s] ... ok {25} ironic_python_agent.tests.unit.hardware_managers.test_mlnx.MlnxHardwareManager.test_get_interface_info_no_mac_address [0.003045s] ... ok {19} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_get_lldp_info_empty [0.007422s] ... ok {15} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_nosecurity_shred [0.004477s] ... ok {15} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_nvme_failed [0.002576s] ... ok {19} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test__get_vmedia_params [0.005565s] ... ok {16} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_get_status [0.009173s] ... ok {7} ironic_python_agent.tests.unit.test_multi_hardware.TestNoHardwareManagerLoading.test_no_managers_found [0.019577s] ... ok WARNING [ironic_python_agent.agent] Ironic does not support automated TLS {20} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_all_block_device_with_udev [0.027592s] ... ok {21} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_dispatch_to_all_managers_generic_method_only [0.015844s] ... ok {20} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_block_devices_including_partitions [0.001842s] ... ok {30} ironic_python_agent.tests.unit.extensions.test_deploy.TestDeployExtension.test_execute_deploy_step_tuple_result [0.014880s] ... ok {30} ironic_python_agent.tests.unit.extensions.test_flow.TestFlowExtension.test_validate_exts_success [0.000868s] ... ok {19} ironic_python_agent.tests.unit.test_utils.TestCopyConfigFromVmedia.test_no_vmedia [0.005374s] ... ok {20} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_heartbeat_requests_exception [0.001738s] ... ok {19} ironic_python_agent.tests.unit.test_utils.TestUtils.test_boot_mode_fallback_uefi [0.000918s] ... ok {19} ironic_python_agent.tests.unit.test_utils.TestUtils.test_boot_mode_from_driver_internal_info [0.000705s] ... ok {19} ironic_python_agent.tests.unit.test_utils.TestUtils.test_boot_mode_from_properties_str [0.001415s] ... ok {17} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_url_from_mdns_explicitly [0.044006s] ... ok {7} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_get_lldp_info_malformed [0.008569s] ... ok {19} ironic_python_agent.tests.unit.test_utils.TestUtils.test_get_command_output [0.001147s] ... ok {20} ironic_python_agent.tests.unit.test_utils.ExecuteTestCase.test_execute [0.009802s] ... ok {21} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_bad_nodes_cores_info [0.015420s] ... ok {30} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_softraid_uefi_gpt [0.024093s] ... ok {15} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_v6address_ipmitool_invalid_stdout_format [0.022955s] ... ok {16} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_run_with_ssl [0.021700s] ... ok {25} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_run_listen_host_port [0.030786s] ... ok {21} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_bad_nodes_thread_dirs [0.007040s] ... ok WARNING [root] Could not determine if /dev/sda is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sda/ro' {21} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test_get_agent_params_from_cache [0.002839s] ... ok {25} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__find_pstore_mount_point [0.005535s] ... ok {16} ironic_python_agent.tests.unit.test_errors.TestErrors.test_error_classes [0.003459s] ... ok {15} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_memory_arm64_lshw [0.008089s] ... ok {15} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_system_vendor_info_lshw_list [0.002063s] ... ok {7} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_raw_promiscuous_sockets_exception [0.016503s] ... ok {7} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_bad_nodes_memory_info [0.005901s] ... ok {16} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__is_read_only_device_partition_error [0.002178s] ... ok {21} ironic_python_agent.tests.unit.test_utils.TestUtils.test_get_journalctl_output_with_lines [0.001626s] ... ok {21} ironic_python_agent.tests.unit.test_utils.TestUtils.test_specified_partition_table_type_with_instance_disk_label [0.001637s] ... ok {15} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_get_nodes_memory_info [0.005932s] ... ok {20} ironic_python_agent.tests.unit.test_utils.TestCheckVirtualMedia.test_check_vmedia_device_scsi [0.007468s] ... ok {15} ironic_python_agent.tests.unit.test_utils.TestUtils.test_boot_mode_implicit_with_secure_boot [0.001196s] ... ok {16} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_raid_6 [0.005880s] ... ok {26} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_run_raise_keyboard_interrupt [0.058587s] ... ok {7} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_no_nics_dir [0.005566s] ... ok {20} ironic_python_agent.tests.unit.test_utils.TestUtils.test_extract_capability_from_old_format_caps [0.000500s] ... ok {25} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_apply_configuration_no_delete [0.008484s] ... ok {17} ironic_python_agent.tests.unit.test_agent.TestBaseAgentVMediaToken.test_run_agent_token_vmedia [0.032314s] ... ok {7} ironic_python_agent.tests.unit.test_raid_utils.TestRaidUtils.test_create_raid_device_missing_device [0.003889s] ... ok {17} ironic_python_agent.tests.unit.test_encoding.TestSerializableComparable.test_childclass_hash [0.001007s] ... ok {15} ironic_python_agent.tests.unit.test_utils.TestUtils.test_collect_system_logs_journald [0.005061s] ... ok {17} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__is_virtual_media_device_exists_no_match [0.002907s] ... ok {25} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_collect_lldp_data_decode_exception [0.012844s] ... ok ERROR [root] Cannot fetch total memory size using psutil version 5 Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/hardware.py", line 1157, in get_memory total = int(psutil.virtual_memory().total) ^^^^^^^^^^^^^^^^^^^^^^^ File "", line 3, in virtual_memory File "/usr/lib64/python3.11/unittest/mock.py", line 1124, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1128, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1183, in _execute_mock_call raise effect AttributeError {26} ironic_python_agent.tests.unit.test_encoding.TestSerializableComparable.test_childclass_notequal [0.013159s] ... ok {17} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_max_is_first_logical [0.007204s] ... ok {26} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__is_virtual_media_device_path_doesnt_exist [0.002912s] ... ok {25} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_device_handling_failures [0.004415s] ... ok {7} ironic_python_agent.tests.unit.test_utils.TestClockSyncUtils.test_determine_time_method_ntpdate [0.014229s] ... ok {7} ironic_python_agent.tests.unit.test_utils.TestUtils.test_extract_capability_from_json_string [0.000105s] ... ok {25} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_memory_psutil_v2 [0.004051s] ... ok {30} ironic_python_agent.tests.unit.extensions.test_iscsi.TestISCSIExtensionCleanUpFallback.test_commands_fail [0.042203s] ... ok {17} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_smartctl_unsupported_shred [0.007639s] ... ok {17} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_fails [0.008730s] ... ok {26} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_mismatching_hints [0.020959s] ... ok {25} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_all_block_device_hctl_fail [0.007812s] ... ok {25} ironic_python_agent.tests.unit.test_inject_files.TestInjectFiles.test_verify_false [0.002140s] ... ok {25} ironic_python_agent.tests.unit.test_inject_files.TestValidateFiles.test_unknown_fields [0.000767s] ... ok {25} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test__find_vmedia_device_by_labels_not_found [0.001943s] ... ok {25} ironic_python_agent.tests.unit.test_utils.TestUtils.test_gzip_and_b64encode [0.001239s] ... ok {26} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_cpus_no_flags [0.003138s] ... ok {16} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_devices_no_parallel_by_default [0.050624s] ... ok {16} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_v6address_not_enabled [0.002986s] ... ok {30} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_cache_image_force [0.018159s] ... ok {17} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_no_device_found [0.009881s] ... ok {17} ironic_python_agent.tests.unit.test_inject_files.TestFindPartitionWithPath.test_not_found [0.004363s] ... ok {16} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_cpus2 [0.002754s] ... ok {13} ironic_python_agent.tests.unit.extensions.test_iscsi.TestISCSIExtensionLIO.test_start_iscsi_target [0.176593s] ... ok {26} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_network_interfaces_with_lldp_error [0.013015s] ... ok {13} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_empty_urls [0.002341s] ... ok {26} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_validate_configuration_no_configuration [0.002359s] ... ok {30} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_prepare_image_no_hexdump [0.018445s] ... ok {13} ironic_python_agent.tests.unit.hardware_managers.test_mlnx.MlnxHardwareManager.test_get_interface_info [0.003330s] ... ok {26} ironic_python_agent.tests.unit.test_inject_files.TestFindPartitionWithPath.test_found_with_dev [0.004583s] ... ok {17} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_dispatch_to_all_managers_mainline_fails [0.016802s] ... ok {16} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_network_vlan_interfaces_using_lldp [0.012808s] ... ok {26} ironic_python_agent.tests.unit.test_inject_files.TestInjectOne.test_plain_content_with_modes [0.003950s] ... ok {26} ironic_python_agent.tests.unit.test_inject_files.TestInjectOne.test_plain_content_with_owner_and_group [0.005171s] ... ok {16} ironic_python_agent.tests.unit.test_hardware.TestModuleFunctions.test_list_all_block_devices_wrong_block_type [0.007894s] ... ok {30} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_prepare_partition_image_raw_stream_true [0.009684s] ... ok {30} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_success_without_md5 [0.002040s] ... ok {26} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_successful_heartbeat_ip6 [0.003679s] ... ok {17} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_method_fails [0.016639s] ... ok {26} ironic_python_agent.tests.unit.test_utils.TestClockSyncUtils.test_sync_clock_chrony [0.003275s] ... ok {17} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_wrap_ipv6 [0.000713s] ... ok {16} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_generic_method_only [0.016899s] ... ok {26} ironic_python_agent.tests.unit.test_utils.TestUtils.test_boot_mode_from_properties_json_str [0.001305s] ... ok {16} ironic_python_agent.tests.unit.test_utils.TestUtils.test_boot_mode_invalid_cap [0.000839s] ... ok {17} ironic_python_agent.tests.unit.test_numa_inspector.TestCollectNumaTopologyInfo.test_collect_success [0.008918s] ... ok {17} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_get_nodes_cores_info [0.007895s] ... ok {13} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_run [0.038944s] ... ok {13} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_execute_agent_command_params_validation [0.007794s] ... ok {30} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_write_partition_image [0.010748s] ... ok {17} ironic_python_agent.tests.unit.test_utils.TestGetEfiPart.test_get_efi_part_on_device_not_found [0.002208s] ... ok {13} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_execute_agent_command_success_with_true_wait [0.010895s] ... ok {13} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_notsupported_shred [0.003475s] ... ok {13} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_memory_psutil_exception_v1 [0.005783s] ... ok {13} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_network_interfaces_with_lldp [0.010522s] ... ok {13} ironic_python_agent.tests.unit.test_inject_files.TestInjectOne.test_plain_content_with_modes_exists [0.004116s] ... ok {13} ironic_python_agent.tests.unit.test_inspector.TestCallInspector.test_send_failure [0.003190s] ... ok {13} ironic_python_agent.tests.unit.test_inspector.TestInspect.test_ok [0.022341s] ... ok WARNING [ironic_python_agent.inspector] Not all network interfaces received IP addresses in 1 seconds: ['em0'] {13} ironic_python_agent.tests.unit.test_inspector.TestWaitForDhcp.test_timeout [0.008590s] ... ok ERROR [ironic_python_agent.ironic_api_client] An error occurred while attempting to discover the available Ironic API versions, falling back to using version 1.31 Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/ironic_api_client.py", line 105, in _get_ironic_api_version response = self._request('GET', '/') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/ironic_api_client.py", line 76, in _request return self.session.request(method, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 3, in request File "/usr/lib64/python3.11/unittest/mock.py", line 1124, in __call__ return self._mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1128, in _mock_call return self._execute_mock_call(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/unittest/mock.py", line 1183, in _execute_mock_call raise effect Exception: Boom {13} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test__get_ironic_api_version_error [0.004427s] ... ok ERROR [ironic_python_agent.netutils] Failed to open all RawPromiscuousSockets, attempting to close any opened sockets. {13} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_raw_promiscuous_sockets_bind_fail [0.011978s] ... ok {13} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_wrap_ipv6_with_ipv4 [0.000941s] ... ok ironic-python-agent: Device sdh was disqualified as virtual media. Type: disk, Transport: sata {13} ironic_python_agent.tests.unit.test_utils.TestCheckVirtualMedia.test_check_vmedia_device_sata [0.002549s] ... ok POST: /v1/commands {'name': 'do_things', 'params': []} GOT: POST: /v1/commands?wait=true {'name': 'do_things', 'params': {'key': 'value'}} GOT: {2} ironic_python_agent.tests.unit.test_agent.TestAgentStandalone.test_run_no_tls [1.021822s] ... ok {2} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_get_node_uuid_unassociated [0.004283s] ... ok {2} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_invalid_hints [0.001383s] ... ok WARNING [root] Could not determine if /dev/sda1 is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sda/ro' WARNING [root] Could not determine if /dev/sda is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sda/ro' WARNING [root] Could not determine if /dev/md0 is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/md/ro' {2} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_devices_metadata [0.003138s] ... ok WARNING [root] Invalid IP address : '' does not appear to be an IPv4 or IPv6 address WARNING [root] Invalid IP address : '' does not appear to be an IPv4 or IPv6 address WARNING [root] Invalid IP address : '' does not appear to be an IPv4 or IPv6 address WARNING [root] Invalid IP address : '' does not appear to be an IPv4 or IPv6 address WARNING [root] Invalid IP address : '' does not appear to be an IPv4 or IPv6 address WARNING [root] Invalid IP address : '' does not appear to be an IPv4 or IPv6 address WARNING [root] Invalid IP address : '' does not appear to be an IPv4 or IPv6 address WARNING [root] Invalid IP address : '' does not appear to be an IPv4 or IPv6 address WARNING [root] Invalid IP address : '' does not appear to be an IPv4 or IPv6 address WARNING [root] Invalid IP address : '' does not appear to be an IPv4 or IPv6 address WARNING [root] Invalid IP address : '' does not appear to be an IPv4 or IPv6 address {2} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_address_not_available [0.002115s] ... ok WARNING [root] Malformed CPU flags information: ('I am not a flag', '') {2} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_cpus_illegal_flags [0.001797s] ... ok WARNING [root] Path /dev/disk/by-path is inaccessible, /dev/disk/by-path/* version of block device name is unavailable Cause: [Errno 2] No such file or directory: '/dev/disk/by-path' {2} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_validate_configuration_invalid_MAX_MAX [0.003347s] ... ok WARNING [ironic_python_agent.ironic_api_client] Failed looking up node with addresses '00:0c:29:8c:11:b1,00:0c:29:8c:11:b2' at http://agent-api.ironic.example.org. Error 400: {"node": {"uuid": "deadbeef-dabb-ad00-b105-f00d00bab10c"}}. Check if inspection has completed. {2} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_do_lookup_bad_response_code [0.000890s] ... ok ERROR [ironic_python_agent.extensions.standby] Timeout reached waiting for a chunk of data from a remote server. WARNING [ironic_python_agent.extensions.standby] Image download failed, 0 of 2: Error downloading image: Download of image fake_id failed: Unable to write image to device /dev/foo. Error: Error downloading image: Download of image fake_id failed: Timed out reading next chunk from webserver {27} ironic_python_agent.tests.unit.test_utils.TestStreamingClient.test_retries [1.002328s] ... ok {27} ironic_python_agent.tests.unit.test_utils.TestUtils.test_get_journalctl_output_with_units [0.000816s] ... ok {2} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_lookup_timeout [0.141325s] ... ok {2} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_get_numa_node_id_valid_format [0.000452s] ... ok {2} ironic_python_agent.tests.unit.test_utils.TestGetEfiPart.test_get_efi_part_on_device [0.001570s] ... ok {2} ironic_python_agent.tests.unit.test_utils.TestUtils.test_boot_mode_from_properties_dict [0.000517s] ... ok {30} ironic_python_agent.tests.unit.test_agent.TestAgentStandalone.test_run [1.036610s] ... ok {30} ironic_python_agent.tests.unit.test_base.DontBlockExecuteTestCase.test_no_exception_raised_for_execute [0.001175s] ... ok {30} ironic_python_agent.tests.unit.test_errors.TestErrors.test_RESTError [0.000436s] ... ok {30} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_device_handling_failures_raid6 [0.001238s] ... ok {30} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_v6address_invalid_enables [0.001800s] ... ok WARNING [root] Could not get real physical RAM from lshw: {30} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_memory_lshw_exception [0.001825s] ... ok {30} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_network_interfaces_no_carrier [0.005762s] ... ok {30} ironic_python_agent.tests.unit.test_inject_files.TestFindAndMountPath.test_with_on_as_path [0.001614s] ... ok {30} ironic_python_agent.tests.unit.test_inspector.TestInspect.test_mdns [0.011599s] ... ok ERROR [root] Unexpected error dispatching unexpected_fail to manager : A problem was encountered Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/hardware.py", line 2410, in dispatch_to_all_managers response = getattr(manager, method)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/tests/unit/test_multi_hardware.py", line 32, in wrapper return fn(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-7.0.2/ironic_python_agent/tests/unit/test_multi_hardware.py", line 101, in unexpected_fail raise RuntimeError('A problem was encountered') RuntimeError: A problem was encountered {30} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_dispatch_to_all_managers_method_fails [0.011416s] ... ok ironic-python-agent: line 1. ironic-python-agent: line 2 message {30} ironic_python_agent.tests.unit.test_utils.TestCheckEarlyLogging.test_early_logging_goes_to_logger [0.005692s] ... ok {30} ironic_python_agent.tests.unit.test_utils.TestUtils.test_guess_root_disk_secondary_sort [0.000646s] ... ok ERROR [ironic_python_agent.extensions.standby] Timeout reached waiting for a chunk of data from a remote server. WARNING [ironic_python_agent.extensions.standby] Image download failed, 1 of 2: Error downloading image: Download of image fake_id failed: Unable to write image to device /dev/foo. Error: Error downloading image: Download of image fake_id failed: Timed out reading next chunk from webserver ERROR [ironic_python_agent.extensions.standby] Timeout reached waiting for a chunk of data from a remote server. {11} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_stream_raw_image_onto_device_socket_read_timeout [3.013122s] ... ok {11} ironic_python_agent.tests.unit.test_agent.TestAdvertiseAddress.test_route_with_host [0.008945s] ... ok {11} ironic_python_agent.tests.unit.test_errors.TestErrors.test_RESTError_details [0.000400s] ... ok {11} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_with_hints [0.009888s] ... ok WARNING [root] Could not determine if /dev/sda is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sda/ro' {11} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_ata_security_enabled_unlock_attempt [0.002377s] ... ok WARNING [root] Could not determine if /dev/sda is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sda/ro' WARNING [root] Refusing to permit ATA Secure Erase as direct ATA commands via the `smartctl` utility with device /dev/sda do not succeed. {11} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_smartctl_fails_security_fallback_to_shred [0.001908s] ... ok WARNING [root] Device /dev/sda is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/sda' WARNING [root] Can't find field vendor fordevice sda in device class block WARNING [root] Device /dev/sdb is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/sdb' WARNING [root] Can't find field vendor fordevice sdb in device class block WARNING [root] Device /dev/md0 is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/md0' WARNING [root] Can't find field vendor fordevice md0 in device class block {11} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_raid [0.005416s] ... ok {11} ironic_python_agent.tests.unit.test_inject_files.TestValidateFiles.test_root_without_on [0.000536s] ... ok {11} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_successful_heartbeat_with_token [0.001273s] ... ok WARNING [ironic_python_agent.numa_inspector] Failed to get some NUMA information (Error in NUMA node data format: An unexpected error occurred. Please try back later.) {11} ironic_python_agent.tests.unit.test_numa_inspector.TestCollectNumaTopologyInfo.test_collect_failure [0.003731s] ... ok {11} ironic_python_agent.tests.unit.test_tls_utils.GenerateTestCase.test__generate [0.007528s] ... ok ironic-python-agent: Excluding device sdh1 from virtual mediaconsideration as it is a partition. {11} ironic_python_agent.tests.unit.test_utils.TestCheckVirtualMedia.test_check_vmedia_device_part [0.001245s] ... ok {11} ironic_python_agent.tests.unit.test_utils.TestRemoveKeys.test_remove_keys [0.000217s] ... ok {11} ironic_python_agent.tests.unit.test_utils.TestUtils.test_secure_boot_overriden_with_instance_info_caps [0.000495s] ... ok {11} ironic_python_agent.tests.unit.test_utils.TestUtils.test_specified_partition_table_type_with_disk_label [0.000519s] ... ok ====== Totals ====== Ran: 684 tests in 3.3518 sec. - Passed: 684 - Skipped: 0 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 13.8194 sec. ============== Worker Balance ============== - Worker 0 (22 tests) => 0:00:00.213514 - Worker 1 (22 tests) => 0:00:00.232474 - Worker 2 (22 tests) => 0:00:01.359567 - Worker 3 (22 tests) => 0:00:00.215557 - Worker 4 (22 tests) => 0:00:00.208044 - Worker 5 (22 tests) => 0:00:00.163952 - Worker 6 (22 tests) => 0:00:00.294167 - Worker 7 (22 tests) => 0:00:00.177310 - Worker 8 (22 tests) => 0:00:00.273688 - Worker 9 (22 tests) => 0:00:00.210748 - Worker 10 (22 tests) => 0:00:00.205834 - Worker 11 (22 tests) => 0:00:03.317824 - Worker 12 (21 tests) => 0:00:00.153640 - Worker 13 (21 tests) => 0:00:00.442832 - Worker 14 (21 tests) => 0:00:00.267516 - Worker 15 (21 tests) => 0:00:00.533063 - Worker 16 (21 tests) => 0:00:00.297702 - Worker 17 (21 tests) => 0:00:00.233827 - Worker 18 (21 tests) => 0:00:00.171819 - Worker 19 (21 tests) => 0:00:00.224293 - Worker 20 (21 tests) => 0:00:00.276166 - Worker 21 (21 tests) => 0:00:00.360244 - Worker 22 (21 tests) => 0:00:00.258033 - Worker 23 (21 tests) => 0:00:00.342812 - Worker 24 (21 tests) => 0:00:00.314179 - Worker 25 (21 tests) => 0:00:00.212758 - Worker 26 (21 tests) => 0:00:00.220843 - Worker 27 (21 tests) => 0:00:01.167642 - Worker 28 (21 tests) => 0:00:00.249101 - Worker 29 (21 tests) => 0:00:00.150450 - Worker 30 (21 tests) => 0:00:01.225825 - Worker 31 (21 tests) => 0:00:00.163852 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: openstack-ironic-python-agent-7.0.2-4.ocs23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.r5F3Em + umask 022 + cd /builddir/build/BUILD + cd ironic-python-agent-7.0.2 + DOCDIR=/builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/share/doc/openstack-ironic-python-agent + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/share/doc/openstack-ironic-python-agent + cp -pr README.rst /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/share/doc/openstack-ironic-python-agent + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.JI93Sl + umask 022 + cd /builddir/build/BUILD + cd ironic-python-agent-7.0.2 + LICENSEDIR=/builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/share/licenses/openstack-ironic-python-agent + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/share/licenses/openstack-ironic-python-agent + cp -pr LICENSE /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/share/licenses/openstack-ironic-python-agent + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(openstack-ironic-python-agent) = 7.0.2-4.ocs23 openstack-ironic-python-agent = 7.0.2-4.ocs23 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/python3 Processing files: python3-ironic-python-agent-7.0.2-4.ocs23.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vgzcq7 + umask 022 + cd /builddir/build/BUILD + cd ironic-python-agent-7.0.2 + LICENSEDIR=/builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/share/licenses/python3-ironic-python-agent + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/share/licenses/python3-ironic-python-agent + cp -pr LICENSE /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch/usr/share/licenses/python3-ironic-python-agent + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-ironic-python-agent = 7.0.2-4.ocs23 python3-ironic-python-agent = 7.0.2-4.ocs23 python3.10dist(ironic-python-agent) = 7.0.2 python3.11-ironic-python-agent = 7.0.2-4.ocs23 python3.11dist(ironic-python-agent) = 7.0.2 python3dist(ironic-python-agent) = 7.0.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash python(abi) = 3.11 Obsoletes: python3.11-ironic-python-agent < 7.0.2-4.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch Wrote: /builddir/build/RPMS/openstack-ironic-python-agent-7.0.2-4.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/python3-ironic-python-agent-7.0.2-4.ocs23.noarch.rpm Child return code was: 0