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-build-98776-6074/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/openstack-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'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/openstack-ironic-python-agent-9.1.0-1.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-build-98776-6074/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/openstack-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'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lZUXEA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ironic-python-agent-9.1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ironic-python-agent-9.1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ironic-python-agent-9.1.0 + /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.VDhA52 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ironic-python-agent-9.1.0 + 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/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( 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 copying ironic_python_agent/encoding.py -> build/lib/ironic_python_agent copying ironic_python_agent/efi_utils.py -> build/lib/ironic_python_agent copying ironic_python_agent/tls_utils.py -> build/lib/ironic_python_agent copying ironic_python_agent/burnin.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/partition_utils.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 creating build/lib/ironic_python_agent/tests copying ironic_python_agent/tests/__init__.py -> build/lib/ironic_python_agent/tests 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 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 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_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 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 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_burnin.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_efi_utils.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 copying ironic_python_agent/tests/unit/test_partition_utils.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/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 writing requirements to 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.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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.RoGFqk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.ocs23.noarch + cd ironic-python-agent-9.1.0 + 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-9.1.0-1.ocs23.noarch /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( running install [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running install_lib creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.ocs23.noarch/usr creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.ocs23.noarch/usr/lib creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.ocs23.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent copying build/lib/ironic_python_agent/efi_utils.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent copying build/lib/ironic_python_agent/burnin.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/hardware_managers creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/unit/test_burnin.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/unit/test_efi_utils.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/hardware_managers creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit copying build/lib/ironic_python_agent/tests/unit/test_partition_utils.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/functional copying build/lib/ironic_python_agent/partition_utils.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent copying build/lib/ironic_python_agent/numa_inspector.py -> /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent creating /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/cmd byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/efi_utils.py to efi_utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/burnin.py to burnin.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/test_burnin.py to test_burnin.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/test_efi_utils.py to test_efi_utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/tests/unit/test_partition_utils.py to test_partition_utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/partition_utils.py to partition_utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent/cmd/inspect.py to inspect.cpython-311.pyc writing byte-compilation script '/tmp/tmpf7tlzfln.py' /usr/bin/python3 /tmp/tmpf7tlzfln.py removing /tmp/tmpf7tlzfln.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 requirements to 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 Copying ironic_python_agent.egg-info to /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.ocs23.noarch/usr/lib/python3.11/site-packages/ironic_python_agent-9.1.0-py3.11.egg-info running install_scripts Installing ironic-collect-introspection-data script to /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.ocs23.noarch/usr/bin Installing ironic-python-agent script to /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.ocs23.noarch/usr/bin + rm -rfv /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.ocs23.noarch/usr/bin/__pycache__ + mkdir -p /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.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-9.1.0-1.ocs23.noarch//etc/ironic-python-agent/ironic-python-agent-dist.conf + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 9.1.0-1.ocs23 --unique-debug-suffix -9.1.0-1.ocs23.noarch --unique-debug-src-base openstack-ironic-python-agent-9.1.0-1.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/ironic-python-agent-9.1.0 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 + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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.XXwe99 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ironic-python-agent-9.1.0 + export PYTHON=/usr/bin/python3 + PYTHON=/usr/bin/python3 + stestr --test-path ironic_python_agent/tests/unit run {3} ironic_python_agent.tests.unit.extensions.test_base.TestExecuteCommandMixin.test_execute_invalid_command [0.010187s] ... 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-9.1.0/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/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 {1} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_async_command_execution_failure [0.005307s] ... ok {7} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_cache_image_invalid_image_list [0.004592s] ... ok {7} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_missing_field [0.002931s] ... ok {8} ironic_python_agent.tests.unit.extensions.test_flow.TestFlowExtension.test_validate_exts_success [0.004701s] ... 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. {8} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__is_bootloader_loaded [0.005488s] ... ok ERROR [ironic_python_agent.extensions.image] Error setting up bootloader. Error meow ERROR [root] Command failed: install_bootloader, error: meow Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/image.py", line 721, 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 {1} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__add_multi_bootloaders [0.020821s] ... ok {8} ironic_python_agent.tests.unit.extensions.test_standby.TestImageDownload.test_download_image_and_checksum_multiple [0.006400s] ... 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. WARNING [ironic_python_agent.extensions.image] Ignoring GRUB2 boot loader installation failure: Unexpected error while running command. Command: grub2-install Exit code: 1 Stdout: '' Stderr: 'grub2-install: error: this utility cannot be used for EFI platforms because it does not support UEFI Secure Boot.\n'. WARNING [ironic_python_agent.extensions.image] Ignoring GRUB2 boot loader installation failure: Unexpected error while running command. Command: grub2-install Exit code: 1 Stdout: '' Stderr: 'grub2-install: error: this utility cannot be used for EFI platforms because it does not support UEFI Secure Boot.\n'. {10} ironic_python_agent.tests.unit.extensions.test_deploy.TestDeployExtension.test_execute_deploy_step_tuple_result [0.009434s] ... ok ERROR [ironic_python_agent.extensions.poll] Node lookup data can only be set when the Ironic Python Agent is running in standalone mode. {3} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_uefi_partition_image_with_loader_with_grubcfg [0.042153s] ... ok {5} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_softraid_uefi_gpt [0.025488s] ... ok {3} ironic_python_agent.tests.unit.extensions.test_poll.TestPollExtension.test_set_node_info_not_standalone [0.002796s] ... ok {2} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_bootloader_uefi_grub_failure_api_override [0.024839s] ... ok ERROR [root] Command execution error: Command execution failed: foo bar baz Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/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 {5} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__is_bootloader_loaded_empty [0.003895s] ... ok {0} ironic_python_agent.tests.unit.extensions.test_base.TestExecuteCommandMixin.test_execute_command_other_exception [0.006011s] ... ok WARNING [ironic_python_agent.extensions.image] Falling back to fstab entry addition label of UUID. We could not identify which UUID or PARTUUID identifier label should be used, thus UUID will be used. {10} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__append_uefi_to_fstab_handles_error [0.008424s] ... 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] 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.image] Boot mode mismatch: target boot mode is bios, current boot mode is uefi. Installing boot loader may fail or work incorrectly. {8} ironic_python_agent.tests.unit.test_agent.TestAdvertiseAddress.test_route_failed [0.015777s] ... 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.extensions.test_standby.TestImageDownload.test_download_image_and_checksum [0.006513s] ... 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.extensions.test_image.TestImageExtension.test__uefi_bootloader_with_entry_removal_lenovo [0.009525s] ... ok {5} ironic_python_agent.tests.unit.extensions.test_rescue.TestRescueExtension.test_write_rescue_password [0.007164s] ... ok {10} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_bootloader_bios [0.005875s] ... ok WARNING [root] Device /dev/sda1 is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/sda1' WARNING [ironic_python_agent.extensions.standby] URL: http://example.org; time: 0.0005414485931396484 seconds. Error: Received status code 401 from http://example.org, expected 200. Response body: Unauthorized 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/dns/resolver.py", line 992, in read_resolv_conf cm: contextlib.AbstractContextManager = open(f) ^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/etc/resolv.conf' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 456, in resolve return _proxy.query(name, rdtype, raise_on_no_answer=raises, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 400, in query step(self._resolver.query, qname, rdtype, rdclass, tcp, source, raise_on_no_answer=False) ^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 340, in _resolver self.clear() File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 348, in clear self._resolver = dns.resolver.Resolver(filename=self._filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/dns/resolver.py", line 944, in __init__ self.read_resolv_conf(filename) File "/usr/lib/python3.11/site-packages/dns/resolver.py", line 995, in read_resolv_conf raise NoResolverConfiguration(f"cannot open {f}") dns.resolver.NoResolverConfiguration: cannot open /etc/resolv.conf During handling of the above exception, another exception occurred: 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/lib/python3.11/site-packages/eventlet/support/greendns.py", line 549, in getaddrinfo qname, addrs = _getaddrinfo_lookup(host, family, flags) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 522, in _getaddrinfo_lookup raise err File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 511, in _getaddrinfo_lookup answer = resolve(host, qfamily, False, use_network=use_network) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 466, in resolve raise EAI_NODATA_ERROR File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 511, in _getaddrinfo_lookup answer = resolve(host, qfamily, False, use_network=use_network) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 466, in resolve raise EAI_NODATA_ERROR socket.gaierror: [Errno -2] Name or service not known 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 714, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 403, in _make_request self._validate_conn(conn) File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1053, in _validate_conn conn.connect() File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 363, 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 -2] Name or service not known 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 798, 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 -2] Name or service not known')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/ironic_api_client.py", line 106, in _get_ironic_api_version response = self._request('GET', '/') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/ironic_api_client.py", line 77, in _request return self.session.request(method, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 703, 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 -2] Name or service not known')) {3} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_prepare_image [0.007413s] ... ok {5} ironic_python_agent.tests.unit.extensions.test_standby.TestImageDownload.test_download_image_fail [0.006173s] ... ok {2} ironic_python_agent.tests.unit.extensions.test_standby.TestImageDownload.test_download_image [0.005756s] ... ok {8} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_list_command_results [0.009312s] ... ok {16} ironic_python_agent.tests.unit.extensions.test_base.TestExecuteCommandMixin.test_execute_command_success [0.005313s] ... ok {7} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_run [0.043029s] ... ok WARNING [ironic_python_agent.agent] Ironic does not support automated TLS WARNING [root] Could not find the SCSI address (HCTL) for device /dev/sda1. Skipping WARNING [ironic_python_agent.extensions.image] Falling back to fstab entry addition label of UUID. We could not identify which UUID or PARTUUID identifier label should be used, thus UUID will be used. 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 {0} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_prep [0.015737s] ... ok {3} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_verify_image_failure_with_new_hash_fields [0.006600s] ... ok {16} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_command_map [0.001412s] ... ok {1} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_uefi_no_fstab [0.036046s] ... ok {16} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_sync_command_validation_failure [0.001361s] ... ok {8} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test__smart_test_status [0.002287s] ... 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. 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.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 ERROR [root] Error performing deploy step erase_devices Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/deploy.py", line 77, 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 ironic_python_agent.errors.BlockDeviceError: Block device caused unknown error: I'm a teapot ERROR [root] Command failed: execute_deploy_step, error: Block device caused unknown error: I'm a teapot Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/deploy.py", line 77, 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 ironic_python_agent.errors.BlockDeviceError: Block device caused unknown error: I'm a teapot {5} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_download_image [0.008998s] ... 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 [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-9.1.0/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/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. {16} ironic_python_agent.tests.unit.extensions.test_deploy.TestDeployExtension.test_execute_deploy_step_with_args [0.006877s] ... ok {8} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_fio_disk_no_default [0.008415s] ... 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! 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-9.1.0/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/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.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.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 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! 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.image] Error setting up bootloader. Error meow 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! {0} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__uefi_bootloader_find_partition [0.008708s] ... ok 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! ERROR [root] Command failed: install_bootloader, error: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/image.py", line 721, in install_bootloader _install_grub2(device, File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/image.py", line 167, in _install_grub2 root_partition = partition_utils.get_partition(device, uuid=root_uuid) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/partition_utils.py", line 521, in get_partition ipa_utils.rescan_device(device) File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/utils.py", line 961, in rescan_device execute('partx', '-av', device, attempts=3, delay_on_retry=True) File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/utils.py", line 91, in execute return ironic_utils.execute(*cmd, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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 ERROR [ironic_python_agent.burnin] stress-ng (vm) failed with error Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None {9} ironic_python_agent.tests.unit.extensions.test_rescue.TestRescueExtension.test_finalize_rescue [0.002999s] ... ok {10} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_uefi_mount_fails [0.018002s] ... 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 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 {16} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_bootloader_no_root [0.005527s] ... ok {1} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_prepare_partition_image [0.010435s] ... ok {8} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_fio_network_dynamic_pairing_raise_missing_config [0.003159s] ... ok {8} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_fio_network_dynamic_pairing_raise_wrong_config [0.002388s] ... ok {5} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_run_shutdown_command_fails [0.006129s] ... ok {3} ironic_python_agent.tests.unit.hardware_managers.test_cna.TestIntelCnaHardwareManager.test_disable_embedded_lldp_agent_write_error [0.010918s] ... ok 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 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-9.1.0/ironic_python_agent/extensions/standby.py", line 789, in _run_shutdown_command utils.execute("echo o > /proc/sysrq-trigger", shell=True) File "", line 3, in execute 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-9.1.0/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/standby.py", line 805, in power_off self._run_shutdown_command('poweroff') File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/standby.py", line 793, 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. ERROR [ironic_python_agent.utils] failed to run dmidecode: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None 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! 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 [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' ERROR [root] Erasing block device /dev/sda failed with error ERROR [root] Error performing clean step erase_devices Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/clean.py", line 77, 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 ironic_python_agent.errors.BlockDeviceError: Block device caused unknown error: I'm a teapot {0} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_success_without_md5 [0.002033s] ... ok ERROR [root] Command failed: execute_clean_step, error: Block device caused unknown error: I'm a teapot Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/clean.py", line 77, 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 ironic_python_agent.errors.BlockDeviceError: Block device caused unknown error: I'm a teapot 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.efi_utils] Could not configure UEFI boot on device /dev/fake: Unexpected error while running command. Command: None Exit code: - Stdout: 'boom' Stderr: None Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/efi_utils.py", line 131, in manage_uefi utils.execute('mount', efi_partition, efi_partition_mount_point) File "", line 3, in execute 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: 'boom' Stderr: None WARNING [root] Failed to get CPU flags ERROR [root] Invalid content error: Invalid request body: baz Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/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 [root] Invalid ipmitool output WARNING [root] Invalid ipmitool output WARNING [root] Invalid ipmitool output WARNING [root] Invalid ipmitool output WARNING [root] Invalid ipmitool output WARNING [root] Invalid ipmitool output WARNING [root] Invalid ipmitool output WARNING [root] Invalid ipmitool output WARNING [root] Invalid ipmitool output WARNING [root] Invalid ipmitool output WARNING [root] Invalid ipmitool output ERROR [ironic_python_agent.extensions.image] Error setting up bootloader. Error meow {9} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_get_partition_uuids [0.005291s] ... ok ERROR [ironic_python_agent.burnin] stress-ng (cpu) failed with error Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None ERROR [root] Tried to execute fake.fake_sync_command, agent is still executing Command name: name, params: {}, status: RUNNING, result: 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 [root] Using hint {'vendor': 'basic vendor'} skipping devices: /dev/sda,/dev/sdb {4} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_uefi_partition_image_with_preserve_failure2 [0.022938s] ... ok WARNING [ironic_python_agent.agent] No route to host 1.2.1.2, route record: Error: some error text {2} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_get_route_source_ipv6 [0.014806s] ... 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. 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. WARNING [root] Using hint {'name': '/dev/sdj'} skipping devices: /dev/sdj {9} ironic_python_agent.tests.unit.hardware_managers.test_cna.TestIntelCnaHardwareManager.test_detect_cna_card_no_i40e_driver [0.003348s] ... ok {20} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_download_image_proxy [0.012518s] ... ok ERROR [root] Clean version mismatch for command execute_deploy_step {1} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_run_shutdown_command_invalid [0.003430s] ... ok WARNING [root] Could not determine if /dev/sdfake1 is aread-only device. Error: {16} ironic_python_agent.tests.unit.extensions.test_log.TestLogExtension.test_collect_system_logs [0.002307s] ... ok {16} ironic_python_agent.tests.unit.extensions.test_poll.TestPollExtension.test_set_node_info_success [0.002031s] ... ok 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 ERROR [root] Unexpected exception performing clean step erase_devices. RuntimeError: boom Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/clean.py", line 77, 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: boom ERROR [root] Command failed: execute_clean_step, error: Clean step failed: Unexpected exception performing clean step erase_devices. RuntimeError: boom Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/clean.py", line 77, 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: boom During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/clean.py", line 88, in execute_clean_step raise errors.CleaningError(msg) ironic_python_agent.errors.CleaningError: Clean step failed: Unexpected exception performing clean step erase_devices. RuntimeError: boom {1} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_empty_urls [0.002408s] ... ok {9} ironic_python_agent.tests.unit.hardware_managers.test_mlnx.MlnxHardwareManager.test_evaluate_hardware_support_no_mlnx [0.002947s] ... 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' {13} ironic_python_agent.tests.unit.extensions.test_flow.TestFlowExtension.test_sleep_flow_failed [0.011697s] ... ok WARNING [root] Can't find field vendor fordevice lo in device class net 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 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 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 [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 {10} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_cache_image_cached [0.010547s] ... ok WARNING [ironic_python_agent.extensions.standby] URL: http://example.org; time: 0.0016794204711914062 seconds. Error: Received status code 500 from http://example.org, expected 200. Response body: Oops {2} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_v1_root [0.010470s] ... ok ERROR [ironic_python_agent.efi_utils] Could not configure UEFI boot on device /dev/fake: Unexpected error while running command. Command: None Exit code: - Stdout: 'boom' Stderr: None Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/efi_utils.py", line 185, in manage_uefi _run_efibootmgr(valid_efi_bootloaders, efi_dev, efi_part, File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/efi_utils.py", line 324, in _run_efibootmgr boot_records = list(get_boot_records()) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/efi_utils.py", line 278, in get_boot_records efi_output = utils.execute('efibootmgr', '-v') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 3, in execute 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 oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command. Command: None Exit code: - Stdout: 'boom' Stderr: None ERROR [ironic_python_agent.efi_utils] Umounting efi system partition failed. Attempted 3 times. Error: Unexpected error while running command. Command: None Exit code: - Stdout: 'no umount' Stderr: None 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_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 [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.agent] Could not get baremetal endpoint from mDNS, will not heartbeat WARNING [root] Device /dev/sda1 is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/sda1' WARNING [root] Could not find the SCSI address (HCTL) for device /dev/sda1. Skipping WARNING [ironic_python_agent.extensions.image] Falling back to fstab entry addition label of UUID. We could not identify which UUID or PARTUUID identifier label should be used, thus UUID will be used. 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_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' {2} ironic_python_agent.tests.unit.test_encoding.TestEncoder.test_ironic_lib [0.001346s] ... 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 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 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-9.1.0/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/standby.py", line 728, in prepare_image _validate_partitioning(device) File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/standby.py", line 510, in _validate_partitioning utils.execute('partprobe', device, run_as_root=True, File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/utils.py", line 91, in execute return ironic_utils.execute(*cmd, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/tests/unit/base.py", line 86, in do_not_call raise Exception( Exception: Don't call ironic_lib.utils.execute() / processutils.execute() or similar functions in tests! 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_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} ERROR [root] Malformed clean_step, no "step" key: {} {16} ironic_python_agent.tests.unit.extensions.test_standby.TestImageDownload.test_download_image_and_checksum_failed [0.004424s] ... ok WARNING [ironic_python_agent.extensions.standby] URL: http://example.org; time: 0.0010826587677001953 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: {8} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__is_read_only_device_false [0.006666s] ... ok 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.0010826587677001953 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.0014722347259521484 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: {0} ironic_python_agent.tests.unit.hardware_managers.test_cna.TestIntelCnaHardwareManager.test_evaluate_hardware_support_no_cna_card_detected [0.011677s] ... ok 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.0014722347259521484 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: 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-9.1.0/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/clean.py", line 74, in execute_clean_step raise ValueError(msg) ValueError: Malformed clean_step, no "step" key: {} {2} ironic_python_agent.tests.unit.test_hardware.TestAPIClientSaveAndUse.test_save_api_client [0.001205s] ... ok WARNING [ironic_python_agent.extensions.standby] URL: http://example.org; time: 0.0017957687377929688 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.0017957687377929688 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.0020644664764404297 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.0020644664764404297 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.0023005008697509766 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.0023005008697509766 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: {13} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_command_fail [0.005932s] ... ok {3} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_async_command_success [0.012222s] ... ok WARNING [ironic_python_agent.extensions.standby] URL: http://example.org; time: 0.0025115013122558594 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.0025115013122558594 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.002718687057495117 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.002718687057495117 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: {8} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__is_virtual_media_device_path_doesnt_exist [0.003933s] ... ok {10} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_stress_ng_vm_no_stress_ng [0.002683s] ... ok WARNING [ironic_python_agent.extensions.standby] URL: http://example.org; time: 0.002933025360107422 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: 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.002933025360107422 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: 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.standby] URL: http://example.org; time: 0.0031533241271972656 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.0031533241271972656 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.0033559799194335938 seconds. Error: Received status code 404 from http://example.org, expected 200. Response body: WARNING [ironic_python_agent.inspector] Not all network interfaces received IP addresses in 1 seconds: ['em0'] {8} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_clean_steps_exist [0.001163s] ... ok {4} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test_install_bootloader_failure [0.011296s] ... 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/dns/resolver.py", line 992, in read_resolv_conf cm: contextlib.AbstractContextManager = open(f) ^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/etc/resolv.conf' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 456, in resolve return _proxy.query(name, rdtype, raise_on_no_answer=raises, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 400, in query step(self._resolver.query, qname, rdtype, rdclass, tcp, source, raise_on_no_answer=False) ^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 340, in _resolver self.clear() File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 348, in clear self._resolver = dns.resolver.Resolver(filename=self._filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/dns/resolver.py", line 944, in __init__ self.read_resolv_conf(filename) File "/usr/lib/python3.11/site-packages/dns/resolver.py", line 995, in read_resolv_conf raise NoResolverConfiguration(f"cannot open {f}") dns.resolver.NoResolverConfiguration: cannot open /etc/resolv.conf During handling of the above exception, another exception occurred: 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/lib/python3.11/site-packages/eventlet/support/greendns.py", line 549, in getaddrinfo qname, addrs = _getaddrinfo_lookup(host, family, flags) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 522, in _getaddrinfo_lookup raise err File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 511, in _getaddrinfo_lookup answer = resolve(host, qfamily, False, use_network=use_network) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 466, in resolve raise EAI_NODATA_ERROR File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 511, in _getaddrinfo_lookup answer = resolve(host, qfamily, False, use_network=use_network) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 466, in resolve raise EAI_NODATA_ERROR socket.gaierror: [Errno -2] Name or service not known 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 714, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 403, in _make_request self._validate_conn(conn) File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1053, in _validate_conn conn.connect() File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 363, 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 -2] Name or service not known 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 798, 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 -2] Name or service not known')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/ironic_api_client.py", line 106, in _get_ironic_api_version response = self._request('GET', '/') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/ironic_api_client.py", line 77, in _request return self.session.request(method, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 703, 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 -2] Name or service not known')) ERROR [root] Malformed deploy_step, no "step" key: {} WARNING [root] RAID device /dev/md1 will not be deleted WARNING [root] Software RAID device /dev/md1 is not going to be deleted as its volume name - small - is on the skip list WARNING [root] Software RAID device /dev/md1 was not deleted WARNING [ironic_python_agent.agent] Ironic does not support automated TLS 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-9.1.0/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/deploy.py", line 73, in execute_deploy_step raise ValueError(msg) ValueError: Malformed deploy_step, no "step" key: {} ERROR [ironic_python_agent.extensions.image] Error setting up bootloader. Error meow WARNING [root] Holder disk /dev/sda contains logical disk on the skip list. Deleting just partitions: ['1'] WARNING [root] Holder disk /dev/sdb contains logical disk on the skip list. Deleting just partitions: ['1'] 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 ERROR [ironic_python_agent.extensions.standby] Failed to sync hardware clock: Unexpected error while running command. Command: None Exit code: - Stdout: 'boop' Stderr: None 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-9.1.0/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 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: sleep, error: foo Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/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-9.1.0/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/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] Something went wrong when readlink for interface eth2. Error: fake ERROR [ironic_python_agent.utils] collector failed: boom WARNING [ironic_python_agent.dmi_inspector] Failed to parse Handle type in dmi output: list index out of range {1} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_write_partition_image_no_node_uuid_uefi [0.008570s] ... ok ERROR [ironic_python_agent.burnin] fio (disk) failed with error Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None {2} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_apply_configuration [0.004303s] ... ok {20} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_power_off [0.008578s] ... 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] Image failed to verify against checksum. location: /tmp/tmp_g057zf_/fake_id; image ID: fake_id; image checksum: abc123; verification checksum: invalid-checksum 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 ERROR [ironic_python_agent.burnin] fio (network) failed with error Unexpected error while running command. Command: None Exit code: 16 Stdout: 'Connection timeout' Stderr: None ERROR [ironic_python_agent.burnin] fio (network) failed with error Unexpected error while running command. Command: None Exit code: 16 Stdout: 'Connection timeout' Stderr: None ERROR [ironic_python_agent.burnin] fio (network) failed with error Unexpected error while running command. Command: None Exit code: 16 Stdout: 'Connection refused' Stderr: None 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-9.1.0/ironic_python_agent/extensions/standby.py", line 791, in _run_shutdown_command utils.execute("echo b > /proc/sysrq-trigger", shell=True) File "", line 3, in execute 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-9.1.0/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/standby.py", line 799, in run_image self._run_shutdown_command('reboot') File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/standby.py", line 793, 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. ERROR [root] Cannot fetch total memory size using psutil version 5 Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/hardware.py", line 1375, 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] Failed to open all RawPromiscuousSockets, attempting to close any opened sockets. WARNING [ironic_python_agent.extensions.image] Failed to copy grub.cfg file for EFI boot operation. Error copy failed 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/dns/resolver.py", line 992, in read_resolv_conf cm: contextlib.AbstractContextManager = open(f) ^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/etc/resolv.conf' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 456, in resolve return _proxy.query(name, rdtype, raise_on_no_answer=raises, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 400, in query step(self._resolver.query, qname, rdtype, rdclass, tcp, source, raise_on_no_answer=False) ^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 340, in _resolver self.clear() File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 348, in clear self._resolver = dns.resolver.Resolver(filename=self._filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/dns/resolver.py", line 944, in __init__ self.read_resolv_conf(filename) File "/usr/lib/python3.11/site-packages/dns/resolver.py", line 995, in read_resolv_conf raise NoResolverConfiguration(f"cannot open {f}") dns.resolver.NoResolverConfiguration: cannot open /etc/resolv.conf During handling of the above exception, another exception occurred: 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/lib/python3.11/site-packages/eventlet/support/greendns.py", line 549, in getaddrinfo qname, addrs = _getaddrinfo_lookup(host, family, flags) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 522, in _getaddrinfo_lookup raise err File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 511, in _getaddrinfo_lookup answer = resolve(host, qfamily, False, use_network=use_network) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 466, in resolve raise EAI_NODATA_ERROR File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 511, in _getaddrinfo_lookup answer = resolve(host, qfamily, False, use_network=use_network) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 466, in resolve raise EAI_NODATA_ERROR socket.gaierror: [Errno -2] Name or service not known 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 714, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 403, in _make_request self._validate_conn(conn) File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1053, in _validate_conn conn.connect() File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 363, 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 -2] Name or service not known 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 798, 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 -2] Name or service not known')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/ironic_api_client.py", line 106, in _get_ironic_api_version response = self._request('GET', '/') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/ironic_api_client.py", line 77, in _request return self.session.request(method, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 703, 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 -2] Name or service not known')) WARNING [ironic_python_agent.agent] Ironic does not support automated TLS WARNING [root] Could not retrieve vendor info from lshw: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None 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. 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 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 WARNING [root] Path /dev/disk/by-path is inaccessible, /dev/disk/by-path/* version of block device name is unavailable Cause: {19} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_async_command_success [0.003963s] ... ok ERROR [ironic_python_agent.burnin] SMART test on /dev/sdj failed with 'string' 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.) 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 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/dns/resolver.py", line 992, in read_resolv_conf cm: contextlib.AbstractContextManager = open(f) ^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/etc/resolv.conf' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 456, in resolve return _proxy.query(name, rdtype, raise_on_no_answer=raises, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 400, in query step(self._resolver.query, qname, rdtype, rdclass, tcp, source, raise_on_no_answer=False) ^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 340, in _resolver self.clear() File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 348, in clear self._resolver = dns.resolver.Resolver(filename=self._filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/dns/resolver.py", line 944, in __init__ self.read_resolv_conf(filename) File "/usr/lib/python3.11/site-packages/dns/resolver.py", line 995, in read_resolv_conf raise NoResolverConfiguration(f"cannot open {f}") dns.resolver.NoResolverConfiguration: cannot open /etc/resolv.conf During handling of the above exception, another exception occurred: 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/lib/python3.11/site-packages/eventlet/support/greendns.py", line 549, in getaddrinfo qname, addrs = _getaddrinfo_lookup(host, family, flags) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 522, in _getaddrinfo_lookup raise err File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 511, in _getaddrinfo_lookup answer = resolve(host, qfamily, False, use_network=use_network) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 466, in resolve raise EAI_NODATA_ERROR File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 511, in _getaddrinfo_lookup answer = resolve(host, qfamily, False, use_network=use_network) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 466, in resolve raise EAI_NODATA_ERROR socket.gaierror: [Errno -2] Name or service not known 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 714, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 403, in _make_request self._validate_conn(conn) File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1053, in _validate_conn conn.connect() File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 363, 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 -2] Name or service not known 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 798, 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 -2] Name or service not known')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/ironic_api_client.py", line 106, in _get_ironic_api_version response = self._request('GET', '/') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/ironic_api_client.py", line 77, in _request return self.session.request(method, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 703, 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 -2] Name or service not known')) 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' {19} ironic_python_agent.tests.unit.extensions.test_deploy.TestDeployExtension.test_execute_deploy_step_fail [0.010183s] ... ok {19} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_bootloader_uefi_ignores_manage_failure [0.007250s] ... ok {19} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_verify_image_failure_without_fallback [0.006211s] ... ok {9} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_execute_agent_command_with_token_invalid [0.010539s] ... ok {10} ironic_python_agent.tests.unit.test_dmi_inspector.TestCollectDmidecodeInfo.test_dmidecode_info_failure [0.002454s] ... ok {5} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_stream_raw_image_onto_device_write_error [0.016835s] ... ok {16} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_verify_image_success_with_new_hash_fields [0.005877s] ... ok WARNING [ironic_python_agent.agent] Could not get baremetal endpoint from mDNS, will not heartbeat WARNING [ironic_python_agent.extensions.standby] reboot command has been ignored, falling back to sysrq-trigger WARNING [ironic_python_agent.efi_utils] Invalid sgdisk line: I am a teaport WARNING [ironic_python_agent.efi_utils] No UUID information provided in sgdisk output for partition 1 on device /dev/fake WARNING [root] Can't find field vendor fordevice lo in device class net ERROR [root] Clean version mismatch for command execute_clean_step WARNING [root] Can't find field vendor fordevice lo in device class net WARNING [ironic_python_agent.agent] Ironic does not support automated TLS WARNING [root] Could not determine if /dev/sdb is aread-only device. Error: [Errno 2] No such file or directory: '/sys/block/sdb/ro' WARNING [root] The root device was not detected in 45 seconds 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 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' {8} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_ata_security_unlock_fallback_pass [0.004132s] ... ok {2} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_shred_fail_oserror [0.002693s] ... 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! 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.hardware_managers.test_mlnx.MlnxHardwareManager.test_generate_client_id [0.001135s] ... ok WARNING [root] No hardware manager was able to handle interface foobar ERROR [ironic_python_agent.efi_utils] Could not configure UEFI boot on device /dev/fake: Unexpected error while running command. Command: None Exit code: - Stdout: 'boom' Stderr: None Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/efi_utils.py", line 185, in manage_uefi _run_efibootmgr(valid_efi_bootloaders, efi_dev, efi_part, File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/efi_utils.py", line 324, in _run_efibootmgr boot_records = list(get_boot_records()) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/efi_utils.py", line 278, in get_boot_records efi_output = utils.execute('efibootmgr', '-v') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 3, in execute 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 oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command. Command: None Exit code: - Stdout: 'boom' Stderr: None 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/dns/resolver.py", line 992, in read_resolv_conf cm: contextlib.AbstractContextManager = open(f) ^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/etc/resolv.conf' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 456, in resolve return _proxy.query(name, rdtype, raise_on_no_answer=raises, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 400, in query step(self._resolver.query, qname, rdtype, rdclass, tcp, source, raise_on_no_answer=False) ^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 340, in _resolver self.clear() File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 348, in clear self._resolver = dns.resolver.Resolver(filename=self._filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/dns/resolver.py", line 944, in __init__ self.read_resolv_conf(filename) File "/usr/lib/python3.11/site-packages/dns/resolver.py", line 995, in read_resolv_conf raise NoResolverConfiguration(f"cannot open {f}") dns.resolver.NoResolverConfiguration: cannot open /etc/resolv.conf During handling of the above exception, another exception occurred: 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/lib/python3.11/site-packages/eventlet/support/greendns.py", line 549, in getaddrinfo qname, addrs = _getaddrinfo_lookup(host, family, flags) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 522, in _getaddrinfo_lookup raise err File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 511, in _getaddrinfo_lookup answer = resolve(host, qfamily, False, use_network=use_network) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 466, in resolve raise EAI_NODATA_ERROR File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 511, in _getaddrinfo_lookup answer = resolve(host, qfamily, False, use_network=use_network) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 466, in resolve raise EAI_NODATA_ERROR socket.gaierror: [Errno -2] Name or service not known 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 714, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 403, in _make_request self._validate_conn(conn) File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1053, in _validate_conn conn.connect() File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 363, 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 -2] Name or service not known 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 798, 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 -2] Name or service not known')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/ironic_api_client.py", line 106, in _get_ironic_api_version response = self._request('GET', '/') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/ironic_api_client.py", line 77, in _request return self.session.request(method, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 703, 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 -2] Name or service not known')) ironic-python-agent: Excluding device sdh1 from virtual mediaconsideration as it is a partition. WARNING [ironic_python_agent.agent] Ironic does not support automated TLS ERROR [root] nvme-cli did not return any supported format modes for device: /dev/nvme0n1 {23} ironic_python_agent.tests.unit.extensions.test_clean.TestCleanExtension.test_execute_clean_step_fail [0.014735s] ... 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 ironic-python-agent: Copying configuration from /tmp/tmp7yv4_iii/etc/ironic-python-agent to /etc/ironic-python-agent 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 [root] Device /dev/sdb is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/sdb' ironic-python-agent: Copying configuration from /tmp/tmp7yv4_iii/etc/ironic-python-agent.d to /etc/ironic-python-agent.d 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 WARNING [root] Device /dev/sda is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/sda' WARNING [root] Could not find the SCSI address (HCTL) for device /dev/sda. Skipping 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] 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 [root] Can't find field vendor fordevice sdb in device class block 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 [root] Could not find the SCSI address (HCTL) for device /dev/sdb. Skipping WARNING [root] Device /dev/md0 is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/md0' WARNING [root] Could not find the SCSI address (HCTL) for device /dev/md0. Skipping WARNING [root] Can't find field vendor fordevice md0 in device class block 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 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 [root] Device /dev/sda is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/sda' WARNING [root] Could not find the SCSI address (HCTL) for device /dev/sda. Skipping 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] Could not find the SCSI address (HCTL) for device /dev/sdb. Skipping 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] Could not find the SCSI address (HCTL) for device /dev/md0. Skipping WARNING [root] Can't find field vendor fordevice md0 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' 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. 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] Device /dev/sda is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/sda' 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 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 ERROR [root] Extension do not found Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/base.py", line 267, in execute_command ext = self.get_extension(extension_part) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/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' ERROR [root] Failed to create config drive on disk /dev/fake for node 12345678-1234-1234-1234-1234567890abcxyz. Error: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None 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/dns/resolver.py", line 992, in read_resolv_conf cm: contextlib.AbstractContextManager = open(f) ^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/etc/resolv.conf' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 456, in resolve return _proxy.query(name, rdtype, raise_on_no_answer=raises, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 400, in query step(self._resolver.query, qname, rdtype, rdclass, tcp, source, raise_on_no_answer=False) ^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 340, in _resolver self.clear() File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 348, in clear self._resolver = dns.resolver.Resolver(filename=self._filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/dns/resolver.py", line 944, in __init__ self.read_resolv_conf(filename) File "/usr/lib/python3.11/site-packages/dns/resolver.py", line 995, in read_resolv_conf raise NoResolverConfiguration(f"cannot open {f}") dns.resolver.NoResolverConfiguration: cannot open /etc/resolv.conf During handling of the above exception, another exception occurred: 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/lib/python3.11/site-packages/eventlet/support/greendns.py", line 549, in getaddrinfo qname, addrs = _getaddrinfo_lookup(host, family, flags) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 522, in _getaddrinfo_lookup raise err File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 511, in _getaddrinfo_lookup answer = resolve(host, qfamily, False, use_network=use_network) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 466, in resolve raise EAI_NODATA_ERROR File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 511, in _getaddrinfo_lookup answer = resolve(host, qfamily, False, use_network=use_network) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 466, in resolve raise EAI_NODATA_ERROR socket.gaierror: [Errno -2] Name or service not known 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 714, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 403, in _make_request self._validate_conn(conn) File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1053, in _validate_conn conn.connect() File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 363, 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 -2] Name or service not known 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 798, 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 -2] Name or service not known')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/ironic_api_client.py", line 106, in _get_ironic_api_version response = self._request('GET', '/') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/ironic_api_client.py", line 77, in _request return self.session.request(method, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 703, 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 -2] Name or service not known')) WARNING [ironic_python_agent.agent] Ironic does not support automated TLS {4} ironic_python_agent.tests.unit.extensions.test_standby.TestImageDownload.test_download_image_and_checksum_unknown_file [0.006500s] ... ok {2} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_mac_invalid [0.002778s] ... 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 [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] Device /dev/sda is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/sda' {17} ironic_python_agent.tests.unit.extensions.test_flow.TestFlowExtension.test_validate_exts_failed_empty_command_map [0.003151s] ... ok 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/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] 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 [root] Device /dev/dm-0 is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/dm-0' WARNING [root] Can't find field vendor fordevice dm-0 in device class block ironic-python-agent: line 1. ironic-python-agent: line 2 message ERROR [root] Command failed: foo_command, error: command execution failed Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/tests/unit/test_agent.py", line 44, in foo_execute raise EXPECTED_ERROR RuntimeError: command execution failed {2} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_cpus_no_flags [0.002351s] ... ok 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.extensions.standby] Failed to call get_disk_identifier: Unable to obtain the root_uuid parameter: The hexdump tool may be missing in IPA: 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-9.1.0/ironic_python_agent/hardware.py", line 2995, in dispatch_to_managers return getattr(manager, method)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/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-9.1.0/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 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 [ironic_python_agent.netutils] Trailing byte received in an LLDP package: b'5' ERROR [root] Command failed: fake_async_command, error: An error occurred: failed Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/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 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/dns/resolver.py", line 992, in read_resolv_conf cm: contextlib.AbstractContextManager = open(f) ^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/etc/resolv.conf' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 456, in resolve return _proxy.query(name, rdtype, raise_on_no_answer=raises, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 400, in query step(self._resolver.query, qname, rdtype, rdclass, tcp, source, raise_on_no_answer=False) ^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 340, in _resolver self.clear() File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 348, in clear self._resolver = dns.resolver.Resolver(filename=self._filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/dns/resolver.py", line 944, in __init__ self.read_resolv_conf(filename) File "/usr/lib/python3.11/site-packages/dns/resolver.py", line 995, in read_resolv_conf raise NoResolverConfiguration(f"cannot open {f}") dns.resolver.NoResolverConfiguration: cannot open /etc/resolv.conf During handling of the above exception, another exception occurred: 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/lib/python3.11/site-packages/eventlet/support/greendns.py", line 549, in getaddrinfo qname, addrs = _getaddrinfo_lookup(host, family, flags) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 522, in _getaddrinfo_lookup raise err File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 511, in _getaddrinfo_lookup answer = resolve(host, qfamily, False, use_network=use_network) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 466, in resolve raise EAI_NODATA_ERROR File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 511, in _getaddrinfo_lookup answer = resolve(host, qfamily, False, use_network=use_network) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 466, in resolve raise EAI_NODATA_ERROR socket.gaierror: [Errno -2] Name or service not known 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 714, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 403, in _make_request self._validate_conn(conn) File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1053, in _validate_conn conn.connect() File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 363, 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 -2] Name or service not known 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 798, 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 -2] Name or service not known')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/ironic_api_client.py", line 106, in _get_ironic_api_version response = self._request('GET', '/') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/ironic_api_client.py", line 77, in _request return self.session.request(method, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 703, 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 -2] Name or service not known')) WARNING [ironic_python_agent.agent] Ironic does not support automated TLS {16} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_get_command_result [0.009340s] ... ok {5} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_write_partition_image_exception [0.007624s] ... ok {5} ironic_python_agent.tests.unit.hardware_managers.test_mlnx.MlnxHardwareManager.test_detect_hardware_error [0.003763s] ... ok {3} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_get_route_source_ipv6_linklocal [0.008877s] ... ok {0} ironic_python_agent.tests.unit.test_agent.TestAdvertiseAddress.test_route_with_ipv6 [0.011736s] ... ok {10} ironic_python_agent.tests.unit.test_efi_utils.TestManageUefi.test_failure [0.011139s] ... ok {8} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_shred_uses_internal_info [0.004759s] ... ok {8} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_mac_not_available [0.003625s] ... 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 {4} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test__message_format_partition_bios [0.002382s] ... ok {0} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_get_node_uuid_invalid_node [0.007001s] ... ok {24} ironic_python_agent.tests.unit.extensions.test_base.TestExecuteCommandMixin.test_execute_command_invalid_content [0.007332s] ... ok ironic-python-agent: Cannot use configuration from virtual media as the agent was not booted from virtual media. WARNING [root] Invalid IP address meow: 'meow' does not appear to be an IPv4 or IPv6 address {2} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_complete_skip_list [0.007461s] ... ok WARNING [root] Device /dev/sda is inaccessible, skipping... Error: WARNING [root] Could not find the SCSI address (HCTL) for device /dev/sda1. Skipping {19} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_get_node_uuid [0.012925s] ... ok ERROR [root] No partition with UUID 11111111-2222-3333-4444-555555555555 found on device /dev/fake 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] Device /dev/sdb is not supported by pyudev, skipping... Error: No block device with number 1234 WARNING [ironic_python_agent.netutils] LLDP timed out, remaining interfaces: [('eth0', ), ('eth1', )] WARNING [root] Device /dev/sdc is inaccessible, skipping... Error: WARNING [root] We have identified a multipath device sdd, this is being ignored in favor of dm-0 and its related child devices. WARNING [root] Device /dev/dm-0 is inaccessible, skipping... Error: WARNING [root] Cannot get BMC v6 address: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None {4} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_prepare_image_no_configdrive [0.009708s] ... 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! ERROR [ironic_python_agent.utils] JSON returned from hardware-detect cannot be decoded: Expecting value: line 1 column 1 (char 0) {10} ironic_python_agent.tests.unit.test_efi_utils.TestManageUefi.test_no_partition [0.005682s] ... ok ironic-python-agent: Device sdh was disqualified as virtual media. Type: disk, Transport: sata WARNING [ironic_python_agent.extensions.standby] Unable to connect to http://example.org, retrying. Error: 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: {1} ironic_python_agent.tests.unit.test_agent.TestAdvertiseAddress.test_route_retry [0.016556s] ... ok ERROR [root] Unexpected exception performing deploy step erase_devices. RuntimeError: boom Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/deploy.py", line 77, 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: boom {24} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_wait_async_command_success [0.002540s] ... ok ERROR [root] Command failed: execute_deploy_step, error: Deploy step failed: Unexpected exception performing deploy step erase_devices. RuntimeError: boom Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/deploy.py", line 77, 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: boom During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/deploy.py", line 88, in execute_deploy_step raise errors.DeploymentError(msg) ironic_python_agent.errors.DeploymentError: Deploy step failed: Unexpected exception performing deploy step erase_devices. RuntimeError: boom 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.raid_utils] Found /dev/sdb1 to be missing from /dev/md0 ... re-adding! 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' 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.utils] Failed to sync with ntp server: 192.168.1.1: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None 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 {8} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_iinfo [0.008317s] ... ok {20} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test__wait_for_interface [0.015010s] ... ok 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-9.1.0/ironic_python_agent/utils.py", line 865, in sync_clock execute('ntpdate', CONF.ntp_server) File "", line 3, in execute 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-9.1.0/ironic_python_agent/extensions/standby.py", line 844, in _sync_clock utils.sync_clock(ignore_errors=ignore_errors) File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/utils.py", line 872, 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-9.1.0/ironic_python_agent/extensions/base.py", line 174, in run result = self.execute_method(**self.command_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/standby.py", line 805, in power_off self._run_shutdown_command('poweroff') File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/standby.py", line 764, in _run_shutdown_command self._sync_clock(ignore_errors=True) File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/extensions/standby.py", line 854, 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 {20} ironic_python_agent.tests.unit.test_base.BlockExecuteTestCase.test_exception_raised_for_execute [0.003152s] ... 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' {13} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_uefi_partition_image_with_preserve_failure [0.021915s] ... ok {17} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_uefi_partition_image_with_no_loader [0.022753s] ... ok {23} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_bootloader_uefi_ignores_grub_failure_api_override [0.007987s] ... ok ERROR [ironic_python_agent.utils] boom {16} ironic_python_agent.tests.unit.test_base.BlockExecuteTestCase.test_can_mock_execute [0.002133s] ... ok {16} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_stress_ng_cpu_no_stress_ng [0.002311s] ... ok WARNING [root] Could not get real physical RAM from lshw: {0} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_execute_agent_command_params_validation [0.008657s] ... ok {16} ironic_python_agent.tests.unit.test_dmi_inspector.TestCollectDmidecodeInfo.test_parse_dmi_cpu [0.001029s] ... ok WARNING [ironic_python_agent.dmi_inspector] Failed to process memory dmi data: 'Handle' {28} ironic_python_agent.tests.unit.extensions.test_clean.TestCleanExtension.test_get_clean_steps [0.007515s] ... ok {24} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_bootloader_uefi [0.006720s] ... 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] Unable to execute `smartctl` utility: boom 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 {20} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_fio_network_reader_w_logfile [0.002624s] ... ok {10} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_with_skip_list_no_existing_device [0.006086s] ... ok {10} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_boot_info_uefi [0.002017s] ... ok {2} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_skip_list_from_node_block_devices_with_skip_list [0.004782s] ... 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.) {12} ironic_python_agent.tests.unit.extensions.test_base.TestExecuteCommandMixin.test_busy [0.003892s] ... ok {12} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_sync_command_execution_failure [0.001550s] ... ok {12} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_sync_command_name [0.001352s] ... ok WARNING [ironic_python_agent.inspector] no suitable root device detected {12} ironic_python_agent.tests.unit.extensions.test_clean.TestCleanExtension.test_execute_clean_step_tuple_result [0.007473s] ... ok {1} ironic_python_agent.tests.unit.test_agent.TestAdvertiseAddress.test_route_with_host [0.008835s] ... ok {16} ironic_python_agent.tests.unit.test_efi_utils.TestRunEfiBootmgr.test__run_efibootmgr [0.002188s] ... ok WARNING [root] We have identified a multipath device sda, this is being ignored in favor of dm-0 and its related child devices. {4} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_write_image [0.008728s] ... ok WARNING [root] We have identified a multipath device sda2, this is being ignored in favor of dm-0 and its related child devices. {17} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_run_shutdown_command_valid_poweroff_sysrq [0.004469s] ... ok WARNING [root] We have identified a multipath device sda3, this is being ignored in favor of dm-0 and its related child devices. WARNING [root] We have identified a multipath device sda1, this is being ignored in favor of dm-0 and its related child devices. WARNING [root] The root device was not detected in 27 seconds WARNING [root] Device /dev/dm-0 is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/dm-0' {10} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_clean_steps [0.001037s] ... ok WARNING [root] Can't find field vendor fordevice dm-0 in device class block {28} ironic_python_agent.tests.unit.extensions.test_deploy.TestDeployExtension.test_execute_deploy_step_version_mismatch [0.005023s] ... ok WARNING [root] We have identified a multipath device sdb, this is being ignored in favor of dm-0 and its related child devices. WARNING [root] We have identified a multipath device sdb2, this is being ignored in favor of dm-0 and its related child devices. {2} ironic_python_agent.tests.unit.test_hardware.TestMultipathEnabled.test_enable_multipath_with_config [0.003867s] ... ok WARNING [root] We have identified a multipath device sdb3, this is being ignored in favor of dm-0 and its related child devices. WARNING [root] We have identified a multipath device sdb1, this is being ignored in favor of dm-0 and its related child devices. {2} ironic_python_agent.tests.unit.test_hardware.TestProtectedDiskSafetyChecks.test_special_filesystem_guard_raises [0.003808s] ... ok {5} ironic_python_agent.tests.unit.test_agent.TestAdvertiseAddress.test_with_network_interface_failed [0.017060s] ... ok 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] Device /dev/dm-1 is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/dm-1' {24} ironic_python_agent.tests.unit.extensions.test_standby.TestImageDownload.test_download_image_retries [0.007663s] ... ok WARNING [root] Can't find field vendor fordevice dm-1 in device class block {16} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__is_read_only_device_partition_error [0.004185s] ... ok {10} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_component_devices [0.004288s] ... ok {10} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_holder_disks_poisoned_output [0.002259s] ... 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/dns/resolver.py", line 992, in read_resolv_conf cm: contextlib.AbstractContextManager = open(f) ^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/etc/resolv.conf' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 456, in resolve return _proxy.query(name, rdtype, raise_on_no_answer=raises, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 400, in query step(self._resolver.query, qname, rdtype, rdclass, tcp, source, raise_on_no_answer=False) ^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 340, in _resolver self.clear() File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 348, in clear self._resolver = dns.resolver.Resolver(filename=self._filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/dns/resolver.py", line 944, in __init__ self.read_resolv_conf(filename) File "/usr/lib/python3.11/site-packages/dns/resolver.py", line 995, in read_resolv_conf raise NoResolverConfiguration(f"cannot open {f}") dns.resolver.NoResolverConfiguration: cannot open /etc/resolv.conf During handling of the above exception, another exception occurred: 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/lib/python3.11/site-packages/eventlet/support/greendns.py", line 549, in getaddrinfo qname, addrs = _getaddrinfo_lookup(host, family, flags) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 522, in _getaddrinfo_lookup raise err File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 511, in _getaddrinfo_lookup answer = resolve(host, qfamily, False, use_network=use_network) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 466, in resolve raise EAI_NODATA_ERROR File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 511, in _getaddrinfo_lookup answer = resolve(host, qfamily, False, use_network=use_network) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 466, in resolve raise EAI_NODATA_ERROR socket.gaierror: [Errno -2] Name or service not known 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 714, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 403, in _make_request self._validate_conn(conn) File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1053, in _validate_conn conn.connect() File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 363, 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 -2] Name or service not known 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 798, 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 -2] Name or service not known')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/ironic_api_client.py", line 106, in _get_ironic_api_version response = self._request('GET', '/') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/ironic_api_client.py", line 77, in _request return self.session.request(method, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 703, 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 -2] Name or service not known')) WARNING [ironic_python_agent.agent] Ironic does not support automated TLS {16} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_ata_failed [0.005151s] ... ok {28} ironic_python_agent.tests.unit.extensions.test_flow.TestFlowExtension.test_validate_exts_failed_to_find_extension [0.001520s] ... ok {28} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_bootloader_prep [0.005255s] ... ok {0} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_efi [0.006167s] ... ok {2} ironic_python_agent.tests.unit.test_inject_files.TestFindAndMountPath.test_without_on [0.002768s] ... ok {2} ironic_python_agent.tests.unit.test_inject_files.TestInjectFiles.test_ok [0.002519s] ... ok {1} ironic_python_agent.tests.unit.test_agent.TestAdvertiseAddress.test_route_with_ip [0.009853s] ... ok {12} ironic_python_agent.tests.unit.extensions.test_deploy.TestDeployExtension.test_get_deploy_steps [0.004757s] ... ok {28} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_cache_image [0.006255s] ... ok {0} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_invalid_hints [0.003830s] ... ok {17} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_write_partition_image_exception_image_mb [0.007733s] ... ok {14} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_async_command_validation_failure [0.003253s] ... ok {14} ironic_python_agent.tests.unit.extensions.test_clean.TestCleanExtension.test_execute_clean_step_exception [0.008311s] ... ok {22} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_uefi_partition_image_with_loader [0.022120s] ... 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.utils] foo 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: {3} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_run_without_inspection_and_apiurl [0.033803s] ... ok {20} ironic_python_agent.tests.unit.test_efi_utils.TestManageUefi.test_failure_after_failure [0.010241s] ... ok {24} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_prepare_image_bad_partition [0.009726s] ... ok {13} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_uefi_umount_fails [0.016101s] ... ok {28} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_sync_error [0.003582s] ... ok {12} ironic_python_agent.tests.unit.extensions.test_flow.TestFlowExtension.test_sleep_flow_success [0.007142s] ... 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 [root] Unexpected error dispatching unexpected_fail to manager : A problem was encountered Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/hardware.py", line 2951, in dispatch_to_all_managers response = getattr(manager, method)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/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-9.1.0/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 WARNING [root] Refusing to permit ATA Secure Erase as direct ATA commands via the `smartctl` utility with device /dev/sda do not succeed. {12} ironic_python_agent.tests.unit.extensions.test_flow.TestFlowExtension.test_validate_exts_failed_missing_command [0.001324s] ... ok WARNING [ironic_python_agent.utils] Ignoring malformed capability 'test:world:2'. Format should be 'key:val'. {15} ironic_python_agent.tests.unit.extensions.test_base.TestExecuteCommandMixin.test_execute_command [0.004026s] ... ok {0} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_with_complete_skip_list [0.005708s] ... ok WARNING [root] Mismatched hardware managers versions. Agent version: {'specific': '1'}, node version: {'not_specific': '1'} {20} ironic_python_agent.tests.unit.test_efi_utils.TestRunEfiBootmgr.test__run_efibootmgr_no_bootloaders [0.003859s] ... ok {12} ironic_python_agent.tests.unit.hardware_managers.test_mlnx.MlnxHardwareManager.test_detect_hardware [0.003481s] ... ok {28} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_success_with_new_hash_fields [0.002220s] ... ok WARNING [ironic_python_agent.utils] Ignoring malformed capability 'badformat'. Format should be 'key:val'. {23} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2 [0.016690s] ... ok WARNING [ironic_python_agent.numa_inspector] Failed to get list of NUMA nodes, NUMA node path does not exist: /sys/devices/system/node/ {20} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__ata_erase_security_erase_exec_exception [0.002512s] ... ok WARNING [root] Cannot get BMC MAC address: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None {20} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__is_read_only_device [0.004235s] ... ok {20} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_pstore [0.004289s] ... ok WARNING [root] Malformed CPU flags information: ('I am not a flag', '') {21} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_uefi_fstab [0.028053s] ... ok {21} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_image_location [0.002387s] ... ok {15} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_sync_command_success [0.001489s] ... ok {13} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_download_image_bad_status [0.007478s] ... ok {16} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bios_given_nic_name_process_exec_err4 [0.012494s] ... ok {16} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_v6address_static_address_both [0.006075s] ... ok {23} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__is_bootloader_loaded_not_bootable [0.003884s] ... ok {23} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__uefi_bootloader_with_entry_removal [0.009745s] ... ok {22} ironic_python_agent.tests.unit.extensions.test_standby.TestImageDownload.test_download_image_and_checksum_empty_file [0.004937s] ... 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] Failed to invoke secure erase, falling back to shred: Error erasing block device: An unknown error occurred erasing block device /dev/sda WARNING [ironic_python_agent.efi_utils] Empty EFI partition detected. {14} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_softraid_bios [0.019143s] ... ok {8} ironic_python_agent.tests.unit.test_inspector.TestInspect.test_inspector_error [0.020315s] ... ok {8} ironic_python_agent.tests.unit.test_inspector.TestWaitForDhcp.test_timeout [0.005666s] ... ok {28} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_fio_disk_default [0.004556s] ... ok {28} ironic_python_agent.tests.unit.test_dmi_inspector.TestCollectDmidecodeInfo.test_parse_dmi_memory [0.001187s] ... ok WARNING [root] Attempted to invoke multipath utilities, but we encountered an error: Unexpected error while running command. Command: None Exit code: - Stdout: 'lacking kernel support' Stderr: None {8} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_heartbeat_error_format_2 [0.001810s] ... ok {15} ironic_python_agent.tests.unit.hardware_managers.test_cna.TestIntelCnaHardwareManager.test_disable_embedded_lldp_agent_in_cna_card [0.016612s] ... ok {15} ironic_python_agent.tests.unit.hardware_managers.test_mlnx.MlnxHardwareManager.test_evaluate_hardware_support [0.003362s] ... ok {10} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_no_device_found [0.008593s] ... ok {24} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_prepare_partition_image_raw_and_stream_false [0.009908s] ... ok {19} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_run_with_sleep [0.035569s] ... ok WARNING [root] Invalid ipmitool output meow ERROR [ironic_python_agent.utils] foo {15} ironic_python_agent.tests.unit.hardware_managers.test_mlnx.MlnxHardwareManager.test_get_interface_info_no_mac_address [0.003526s] ... ok ERROR [ironic_python_agent.utils] bar ERROR [ironic_python_agent.utils] baz {21} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_stream_raw_image_onto_device [0.011252s] ... ok {20} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_address_not_available [0.003062s] ... 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' {23} ironic_python_agent.tests.unit.extensions.test_rescue.TestRescueExtension.test_write_rescue_password_ioerror [0.005633s] ... ok {4} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_write_image_gpt_fails [0.008318s] ... ok {28} ironic_python_agent.tests.unit.test_efi_utils.TestGetPartitionPathByNumber.test_ok [0.003097s] ... ok {0} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_delete_configuration_skip_list [0.009572s] ... 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' {23} ironic_python_agent.tests.unit.hardware_managers.test_cna.TestIntelCnaHardwareManager.test_detect_cna_card_execute_error [0.003196s] ... ok {13} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_prepare_partition_image_raw_stream_true [0.008966s] ... ok {0} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_smartctl_unsupported_shred [0.003757s] ... 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' {24} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_verify_image_success_with_md5_fallback [0.005877s] ... ok WARNING [root] Attempted to determine if multipath tools were present. Not detected. Error recorded: {22} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_prepare_image_raw_and_stream_false [0.008605s] ... ok {20} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_wwn [0.006092s] ... ok {8} ironic_python_agent.tests.unit.test_numa_inspector.TestCollectNumaTopologyInfo.test_collect_success [0.009549s] ... 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' {10} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_network_interfaces_with_lldp [0.011725s] ... ok {10} ironic_python_agent.tests.unit.test_hardware.TestModuleFunctions.test__load_ipmi_modules [0.003229s] ... ok {10} ironic_python_agent.tests.unit.test_inject_files.TestValidateFiles.test_content_and_deleted [0.001252s] ... ok {17} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_run_with_ssl [0.026519s] ... ok WARNING [root] Device /dev/sda is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/sda' WARNING [root] Could not find the SCSI address (HCTL) for device /dev/sda. Skipping 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] Could not find the SCSI address (HCTL) for device /dev/sdb. Skipping WARNING [root] Can't find field vendor fordevice sdb in device class block {18} ironic_python_agent.tests.unit.extensions.test_clean.TestCleanExtension.test_execute_clean_step_no_step [0.006106s] ... ok WARNING [root] We have identified a multipath device sda, this is being ignored in favor of dm-0 and its related child devices. WARNING [root] Device /dev/md0 is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/md0' WARNING [root] We have identified a multipath device sda2, this is being ignored in favor of dm-0 and its related child devices. WARNING [root] Could not find the SCSI address (HCTL) for device /dev/md0. Skipping WARNING [root] We have identified a multipath device sda3, this is being ignored in favor of dm-0 and its related child devices. WARNING [root] Can't find field vendor fordevice md0 in device class block WARNING [root] We have identified a multipath device sda1, this is being ignored in favor of dm-0 and its related child devices. WARNING [root] Device /dev/dm-0 is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/dm-0' WARNING [root] Can't find field vendor fordevice dm-0 in device class block WARNING [root] We have identified a multipath device sdb, this is being ignored in favor of dm-0 and its related child devices. WARNING [root] We have identified a multipath device sdb2, this is being ignored in favor of dm-0 and its related child devices. {27} ironic_python_agent.tests.unit.extensions.test_clean.TestCleanExtension.test_execute_clean_step_with_args [0.009984s] ... ok WARNING [root] We have identified a multipath device sdb3, this is being ignored in favor of dm-0 and its related child devices. WARNING [root] We have identified a multipath device sdb1, this is being ignored in favor of dm-0 and its related child devices. 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] Device /dev/dm-1 is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/dm-1' WARNING [root] Can't find field vendor fordevice dm-1 in device class block {27} ironic_python_agent.tests.unit.extensions.test_deploy.TestDeployExtension.test_execute_deploy_step [0.005644s] ... ok {27} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test__sync_clock [0.005057s] ... ok {27} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_download_image_verify_fails [0.008841s] ... ok {29} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_async_command_name [0.004459s] ... ok {29} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_async_command_success_without_agent [0.002304s] ... ok {29} ironic_python_agent.tests.unit.extensions.test_deploy.TestDeployExtension.test_execute_deploy_step_no_step [0.005225s] ... ok {29} ironic_python_agent.tests.unit.extensions.test_flow.TestFlowExtension.test_sleep_flow_failed_on_second_command [0.006328s] ... ok {29} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test__message_format_partition_uefi [0.002396s] ... ok {29} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_cache_and_write_image_configdirve [0.004400s] ... ok {22} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_success_ignore_none_md5 [0.001582s] ... ok {22} ironic_python_agent.tests.unit.hardware_managers.test_cna.TestIntelCnaHardwareManager.test_detect_cna_card [0.002302s] ... 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-9.1.0/ironic_python_agent/ironic_api_client.py", line 106, in _get_ironic_api_version response = self._request('GET', '/') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/ironic_api_client.py", line 77, 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 {22} ironic_python_agent.tests.unit.hardware_managers.test_mlnx.MlnxHardwareManager.test_detect_hardware_no_mlnx [0.003270s] ... ok {24} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_write_image_fails [0.005380s] ... ok {0} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_address_zeroed [0.004319s] ... ok {0} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_memory_psutil_exception_v2 [0.005808s] ... ok {20} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_skip_list_non_exist [0.006778s] ... ok {19} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_fio_disk_no_fio [0.005802s] ... ok {19} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_fio_network_reader_loop [0.004309s] ... ok {19} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_fio_network_unknown_role [0.002122s] ... ok {24} ironic_python_agent.tests.unit.hardware_managers.test_mlnx.MlnxHardwareManager.test_get_interface_info_no_ib_interface [0.002963s] ... ok {16} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_memory_psutil_v2 [0.004513s] ... ok {16} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_no_nics_dir [0.006728s] ... ok {2} ironic_python_agent.tests.unit.test_inspector.TestInspect.test_collector_failed [0.020560s] ... ok {2} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_do_lookup_with_uuid [0.001579s] ... ok {2} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_raw_promiscuous_sockets_bind_fail [0.006237s] ... ok {28} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_mac [0.002453s] ... ok ERROR [root] Unable to clean all softraid correctly. Remaining ['/dev/md0'] WARNING [ironic_python_agent.ironic_api_client] Got invalid heartbeat from the API: {'node': {'uuid': 'deadbeef-dabb-ad00-b105-f00d00bab10c'}} {28} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_memory_psutil_v1 [0.003848s] ... ok {28} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_vendor [0.007685s] ... ok {8} ironic_python_agent.tests.unit.test_partition_utils.GetConfigdriveTestCase.test_get_configdrive_bad_url [0.003367s] ... ok {8} ironic_python_agent.tests.unit.test_partition_utils.GetConfigdriveTestCase.test_get_configdrive_binary [0.004185s] ... ok {29} ironic_python_agent.tests.unit.test_dmi_inspector.TestCollectDmidecodeInfo.test_dmidecode_info_ok [0.002273s] ... ok {29} ironic_python_agent.tests.unit.test_dmi_inspector.TestCollectDmidecodeInfo.test_save_data [0.001001s] ... ok {29} ironic_python_agent.tests.unit.test_errors.TestErrors.test_RESTError [0.000949s] ... ok {10} ironic_python_agent.tests.unit.test_inspector.TestWaitForDhcp.test_all [0.005820s] ... ok {10} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_do_lookup_bad_response_code [0.001632s] ... ok {10} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_heartbeat_error_format_3 [0.001586s] ... ok {8} ironic_python_agent.tests.unit.test_partition_utils.IsDiskLargerThanMaxSizeTestCases.test_is_disk_larger_than_max_size_true [0.002130s] ... ok {23} ironic_python_agent.tests.unit.hardware_managers.test_mlnx.MlnxHardwareManager.test_infiniband_address_to_mac [0.001079s] ... ok {20} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_system_vendor_info_failure [0.002479s] ... ok {20} ironic_python_agent.tests.unit.test_inject_files.TestFindAndMountPath.test_with_on_as_number_nvme [0.002802s] ... ok {0} ironic_python_agent.tests.unit.test_inject_files.TestValidateFiles.test_no_directories [0.001256s] ... ok {0} ironic_python_agent.tests.unit.test_inspector.TestCallInspector.test_ok [0.003575s] ... ok WARNING [ironic_lib.disk_utils] Unable to probe for partitions on device /dev/fake, the partitioning table may be broken. Error: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None WARNING [root] We have identified a multipath device sdd, this is being ignored in favor of dm-0 and its related child devices. {18} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_bootloader_uefi_ignores_grub_failure [0.006134s] ... ok {18} ironic_python_agent.tests.unit.extensions.test_rescue.TestRescueExtension.test_hashed_passwords [0.017210s] ... ok {20} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_do_lookup [0.001520s] ... ok {27} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_sync [0.004714s] ... ok {27} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_success [0.002170s] ... ok {21} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_fio_network_reader [0.002396s] ... ok {21} ironic_python_agent.tests.unit.test_dmi_inspector.TestCollectDmidecodeInfo.test_dmidecode_info_bad_data [0.002977s] ... ok {0} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_successful_heartbeat_with_verify_ca [0.001551s] ... ok {14} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_uefi_partition_image_with_loader_grubcfg_fails [0.023664s] ... ok {21} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_apply_configuration_no_delete [0.004353s] ... ok {4} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_run_raise_keyboard_interrupt [0.030159s] ... ok {13} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_run_image [0.008546s] ... ok {13} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_invalid_checksum [0.002368s] ... ok {13} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_verify_image_failure [0.006853s] ... ok {18} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_verify_image_success [0.005206s] ... ok {16} ironic_python_agent.tests.unit.test_partition_utils.CreateConfigDriveTestCases.test__create_partition_mbr_disk_exceeds_2TB_nvme [0.012812s] ... ok {3} ironic_python_agent.tests.unit.test_agent.TestHeartbeater.test__heartbeat_expected [0.031866s] ... ok {12} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_run_listen_host_port [0.033380s] ... ok {21} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_collect_lldp_data_decode_exception [0.016408s] ... ok {14} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_cache_partition_image [0.008938s] ... ok {22} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_get_node_uuid_unassociated [0.016234s] ... ok {19} ironic_python_agent.tests.unit.test_efi_utils.TestManageUefi.test_found_csv [0.013975s] ... ok WARNING [root] Using hint {'name': '/dev/sdj'} skipping devices: /dev/sdj {19} ironic_python_agent.tests.unit.test_encoding.TestSerializable.test_childclass_serialize [0.000873s] ... ok ironic-python-agent: No virtual media device detected {3} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test__smart_test_status_missing [0.006584s] ... ok {8} ironic_python_agent.tests.unit.test_partition_utils.WorkOnDiskTestCase.test_ppc64le_prep_part [0.009209s] ... ok {8} ironic_python_agent.tests.unit.test_raid_utils.TestRaidUtils.test__get_actual_component_devices [0.002710s] ... ok {3} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_fio_network_writer [0.001819s] ... ok {27} ironic_python_agent.tests.unit.hardware_managers.test_cna.TestIntelCnaHardwareManager.test_evaluate_hardware_support_with_collect_lldp_disabled [0.010626s] ... ok {29} ironic_python_agent.tests.unit.test_hardware.TestEvaluateHardwareSupport.test_evaluate_hw_waits_for_disks [0.011013s] ... ok {4} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_execute_agent_command_success_with_true_wait [0.011486s] ... ok {4} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_fio_network_no_role [0.002579s] ... ok {22} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_fio_network_dynamic_pairing_defaults [0.003610s] ... ok {3} ironic_python_agent.tests.unit.test_efi_utils.TestGetPartitionPathByNumber.test_broken [0.001983s] ... ok {24} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_execute_agent_command_success_no_wait [0.013120s] ... ok WARNING [root] Using hint {'name': '/dev/hdaa'} skipping devices: /dev/hdaa {24} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__ata_erase_security_enabled_set_password_exception [0.002294s] ... ok {14} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_run_shutdown_command_valid_reboot_sysrq [0.003178s] ... ok {12} ironic_python_agent.tests.unit.test_encoding.TestSerializable.test_baseclass_serialize [0.001416s] ... ok {12} ironic_python_agent.tests.unit.test_errors.TestErrors.test_RESTError_details [0.001033s] ... ok {10} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_get_nodes_nics_info [0.010578s] ... ok {10} ironic_python_agent.tests.unit.test_partition_utils.GetLabelledPartitionTestCases.test_get_partition_absent [0.002623s] ... ok {10} ironic_python_agent.tests.unit.test_partition_utils.GetLabelledPartitionTestCases.test_get_partition_present_uppercase [0.002181s] ... ok {4} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_stress_ng_vm_non_default [0.002090s] ... ok {21} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_device_handling_failures [0.005218s] ... ok {14} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_invalid_urls [0.001796s] ... ok {27} ironic_python_agent.tests.unit.hardware_managers.test_mlnx.MlnxHardwareManager.test_get_interface_info [0.003980s] ... ok {25} ironic_python_agent.tests.unit.extensions.test_clean.TestCleanExtension.test_execute_clean_step_version_mismatch [0.012175s] ... ok {2} ironic_python_agent.tests.unit.test_numa_inspector.TestCollectNumaTopologyInfo.test_collect_no_nics_dirs [0.013840s] ... ok {2} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_get_numa_node_id_invalid_format_memory_info [0.002647s] ... ok {19} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration [0.003861s] ... ok {16} ironic_python_agent.tests.unit.test_raid_utils.TestRaidUtils.test__get_actual_component_devices_broken_raid0 [0.006895s] ... ok {12} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__is_read_only_device_partition_ok [0.004606s] ... ok {19} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_with_nvme [0.003843s] ... ok {24} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_devices_metadata_error [0.005906s] ... ok {10} ironic_python_agent.tests.unit.test_utils.TestUtils.test_specified_partition_table_type [0.001905s] ... ok {13} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_stress_ng_cpu_default [0.006037s] ... ok {13} ironic_python_agent.tests.unit.test_hardware.TestEvaluateHardwareSupport.test_evaluate_hw_disks_timeout_configured [0.008409s] ... ok {28} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_all_block_device_hctl_fail [0.010582s] ... ok WARNING [root] Using hint {'name': '/dev/sdj'} skipping devices: /dev/sdj {28} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_block_devices [0.002474s] ... ok {15} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_run_with_inspection_without_apiurl [0.039686s] ... ok {3} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_nvme_crypto_success [0.002624s] ... ok {3} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_address_invalid [0.001559s] ... ok {21} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_delete_configuration_partition [0.005254s] ... ok {29} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_failure_with_nvme [0.005200s] ... ok {12} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_max_is_first_logical [0.003708s] ... ok {0} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_dispatch_to_all_managers_generic_method_only [0.019236s] ... ok {4} ironic_python_agent.tests.unit.test_efi_utils.TestGetEfiBootloaders.test__get_windows_efi_bootloaders [0.002638s] ... ok {16} ironic_python_agent.tests.unit.test_tls_utils.GenerateTestCase.test__generate [0.007459s] ... ok {20} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_mainline_method_only [0.019025s] ... ok {13} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_shred_0_pass_no_zeroize [0.003635s] ... ok {2} ironic_python_agent.tests.unit.test_raid_utils.TestRaidUtils.test_prepare_boot_partitions_for_softraid_uefi_gpt_esp_not_found [0.009128s] ... ok {14} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_write_partition_image [0.006870s] ... ok {28} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_network_interfaces [0.011888s] ... ok {20} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_get_numa_node_id_invalid_format_cores_info [0.002016s] ... 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' {3} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_block_devices_check_skip_list_with_skip_list_non_exist [0.004106s] ... ok {24} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_holder_disks_broken_raid0 [0.001642s] ... ok {22} ironic_python_agent.tests.unit.test_efi_utils.TestManageUefi.test_failure_after_mount [0.010894s] ... ok {0} ironic_python_agent.tests.unit.test_partition_utils.GetConfigdriveTestCase.test_get_configdrive_bad_status_code [0.003790s] ... ok {29} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_ata_success [0.003998s] ... ok {29} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_virtual_media [0.002617s] ... ok {29} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_devices_without_disk [0.003728s] ... ok {4} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_raid_6 [0.007442s] ... ok {13} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_validate_configuration_invalid_no_of_raids [0.002194s] ... ok 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-9.1.0/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-9.1.0/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 {17} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_url_from_mdns_by_default [0.034841s] ... ok {12} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_no_root_device [0.005075s] ... ok {2} ironic_python_agent.tests.unit.test_utils.TestCheckVirtualMedia.test_check_vmedia_device_part [0.002286s] ... ok {27} ironic_python_agent.tests.unit.test_agent.TestAdvertiseAddress.test_advertise_address_provided [0.012808s] ... ok {19} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_nvme_failed [0.002886s] ... ok WARNING [root] Device /dev/sda is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/sda' WARNING [root] Could not find the SCSI address (HCTL) for device /dev/sda. Skipping 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' {2} ironic_python_agent.tests.unit.test_utils.TestUtils.test_boot_mode_from_driver_internal_info [0.001847s] ... ok {16} ironic_python_agent.tests.unit.test_utils.TestCopyConfigFromVmedia.test_copy_mounted [0.007878s] ... ok WARNING [root] Could not find the SCSI address (HCTL) for device /dev/sdb. Skipping 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] Could not find the SCSI address (HCTL) for device /dev/md0. Skipping {19} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_nvme_format_unsupported [0.003049s] ... ok WARNING [root] Can't find field vendor fordevice md0 in device class block {20} ironic_python_agent.tests.unit.test_partition_utils.CreateConfigDriveTestCases.test_create_partition_conf_drive_sz_exceed [0.004574s] ... ok {24} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_raid [0.006741s] ... ok {28} ironic_python_agent.tests.unit.test_inject_files.TestInjectOne.test_url_formatting [0.004441s] ... ok {17} ironic_python_agent.tests.unit.test_base.DontBlockExecuteTestCase.test_no_exception_raised_for_execute [0.002456s] ... ok {16} ironic_python_agent.tests.unit.test_utils.TestUtils.test_boot_mode_invalid_cap [0.001915s] ... ok {3} ironic_python_agent.tests.unit.test_hardware.TestModuleFunctions.test_list_all_block_devices_success_raid [0.006882s] ... ok {29} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_v6address_invalid_enables [0.002427s] ... ok {28} ironic_python_agent.tests.unit.test_inject_files.TestValidateFiles.test_root_without_on [0.001220s] ... ok {4} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_ata_frozen [0.004138s] ... ok {24} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_validate_configuration_valid_raid1_raidN [0.002937s] ... ok {27} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_device_handling_failures_raid5 [0.003174s] ... ok {13} ironic_python_agent.tests.unit.test_hardware.TestModuleFunctions.test_list_all_block_devices_missing [0.006596s] ... ok {21} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bios_given_nic_name_process_exec_err3 [0.010959s] ... ok {17} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_fio_network_writer_w_logfile [0.002337s] ... ok {19} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_validate_configuration_invalid_duplicate_volume_name [0.004207s] ... ok {19} ironic_python_agent.tests.unit.test_hardware.TestProtectedDiskSafetyChecks.test_special_filesystem_guard_node_indicates_skip [0.002350s] ... ok ironic-python-agent: Did not identify any virtual media candidates devices. {22} ironic_python_agent.tests.unit.test_efi_utils.TestManageUefi.test_wholedisk [0.007383s] ... ok {19} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_heartbeat_agent_version_unsupported [0.001410s] ... ok {24} ironic_python_agent.tests.unit.test_inject_files.TestInjectOne.test_plain_content [0.003394s] ... ok {21} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_cpus2 [0.002278s] ... ok {4} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_nosecurity_shred [0.003745s] ... 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 {25} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__install_grub2_uefi [0.017503s] ... ok {12} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_network_interfaces_with_biosdevname [0.007250s] ... ok {22} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_collect_lldp_data [0.002756s] ... ok ironic-python-agent: Device sdh was disqualified as virtual media. Type: other, Transport: usb ERROR [ironic_python_agent.utils] Failed to get list of PCI devices: {24} ironic_python_agent.tests.unit.test_inspector.TestCollectExtraHardware.test_no_benchmarks [0.001815s] ... ok {4} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_notsupported_shred [0.003186s] ... ok {14} ironic_python_agent.tests.unit.test_agent.TestAdvertiseAddress.test_with_network_interface [0.014875s] ... ok {12} ironic_python_agent.tests.unit.test_inject_files.TestFindPartitionWithPath.test_not_found [0.003398s] ... ok {29} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_fails [0.009016s] ... ok {19} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_heartbeat_requests_exception [0.001007s] ... ok {25} ironic_python_agent.tests.unit.extensions.test_poll.TestPollExtension.test_get_hardware_info_success [0.002616s] ... ok {11} ironic_python_agent.tests.unit.extensions.test_base.TestExecuteCommandMixin.test_execute_unknown_extension [0.006270s] ... ok {24} ironic_python_agent.tests.unit.test_inspector.TestMisc.test_default_collector_loadable [0.003186s] ... ok {21} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_hardware_info [0.004407s] ... ok {19} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_lookup_node_retries [0.003754s] ... ok {22} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_skip_list_existing_device_does_not_match [0.003273s] ... ok {22} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_deploy_steps_exist [0.000938s] ... ok {4} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_address_random_error [0.002436s] ... ok {29} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_system_vendor_info [0.002235s] ... ok {17} ironic_python_agent.tests.unit.test_efi_utils.TestManageUefi.test_nvme_device [0.009186s] ... ok {25} ironic_python_agent.tests.unit.hardware_managers.test_mlnx.MlnxHardwareManager.test_get_interface_info_no_mlnx_interface [0.002877s] ... ok {17} ironic_python_agent.tests.unit.test_encoding.TestEncoder.test_encoder [0.001085s] ... ok {13} ironic_python_agent.tests.unit.test_inspector.TestCollectPciDevicesInfo.test_success [0.009854s] ... ok {19} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_get_numa_node_id_invalid_format [0.001196s] ... ok {20} ironic_python_agent.tests.unit.test_partition_utils.CreateConfigDriveTestCases.test_create_partition_part_create_exc [0.014367s] ... ok {18} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_url_from_mdns_explicitly [0.038806s] ... ok {12} ironic_python_agent.tests.unit.test_inject_files.TestInjectOne.test_plain_content_with_modes [0.003617s] ... ok {13} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_do_lookup_bad_response_body [0.001628s] ... ok {29} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_heartbeat_invalid_status_code [0.001668s] ... ok {29} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_successful_heartbeat_ip6 [0.001619s] ... ok {12} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_heartbeat_409_status_code [0.001516s] ... ok {19} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test_get_agent_params_from_cache [0.005267s] ... ok GET: /v1/commands None GOT: {11} ironic_python_agent.tests.unit.extensions.test_clean.TestCleanExtension.test_execute_clean_step [0.006139s] ... ok {20} ironic_python_agent.tests.unit.test_partition_utils.TestGetPartition.test_label [0.003597s] ... ok GET: /v1/commands/abc123 None GOT: {13} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_do_lookup_bad_response_data [0.001229s] ... ok GET: /v1 None GOT: {24} ironic_python_agent.tests.unit.test_partition_utils.CreateConfigDriveTestCases.test__create_partition_mbr_disk_exceeds_2TB [0.008102s] ... ok {21} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_network_interfaces_with_bond [0.014231s] ... ok {20} ironic_python_agent.tests.unit.test_raid_utils.TestGetNextFreeRaidDevice.test_no_device [0.006732s] ... ok {22} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_v6address_ipmitool_invalid_stdout_format [0.013186s] ... ok {4} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device [0.012997s] ... ok {18} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_execute_agent_command_validation [0.010493s] ... ok {29} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_get_nodes_memory_info [0.008592s] ... ok {13} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_do_lookup_unknown_exception_fallback [0.009272s] ... ok {28} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_dispatch_to_all_managers_both_succeed [0.022483s] ... ok {19} ironic_python_agent.tests.unit.test_utils.TestCheckEarlyLogging.test_early_logging_goes_to_logger [0.009089s] ... ok {24} ironic_python_agent.tests.unit.test_raid_utils.TestRaidUtils.test_get_volume_name_of_raid_device [0.005258s] ... ok {13} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_get_agent_url_ipv6 [0.001045s] ... ok {15} ironic_python_agent.tests.unit.test_agent.TestHeartbeater.test_heartbeat [0.033520s] ... ok {18} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_stress_ng_vm_default [0.002437s] ... ok {25} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_async_command_failure [0.014482s] ... ok {22} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_by_path [0.005290s] ... ok {24} ironic_python_agent.tests.unit.test_tls_utils.GenerateTestCase.test_generate [0.005574s] ... ok {12} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_method_fails [0.015420s] ... ok {15} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_fio_disk_smart_test [0.005357s] ... ok {17} ironic_python_agent.tests.unit.test_hardware.TestEvaluateHardwareSupport.test_evaluate_hw_waits_for_disks_nonconfigured [0.016402s] ... ok {20} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test__find_vmedia_device_by_labels_handles_exec_error [0.005381s] ... ok {21} ironic_python_agent.tests.unit.test_hardware.TestMultipathEnabled.test_enable_multipath_mpathconf [0.005473s] ... ok {19} ironic_python_agent.tests.unit.test_utils.TestCheckVirtualMedia.test_check_vmedia_device_too_large [0.003742s] ... ok {21} ironic_python_agent.tests.unit.test_hardware.TestProtectedDiskSafetyChecks.test_special_filesystem_guard_not_enabled [0.003473s] ... ok {11} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_prepare_image_no_hexdump [0.013125s] ... ok {0} ironic_python_agent.tests.unit.test_partition_utils.GetConfigdriveTestCase.test_get_configdrive_insecure [0.033205s] ... ok {13} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_get_lldp_info_malformed [0.007049s] ... ok {19} ironic_python_agent.tests.unit.test_utils.TestClockSyncUtils.test_sync_clock_ntp_server_is_none [0.003363s] ... ok {4} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_network_vlan_interfaces [0.008952s] ... ok {17} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__find_pstore_mount_point [0.004957s] ... ok {18} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_collect_lldp_data_netutils_exception [0.006130s] ... ok {15} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__get_md_uuid [0.003111s] ... ok {26} ironic_python_agent.tests.unit.extensions.test_base.TestExtensionDecorators.test_wait_async_command_execution_failure [0.005650s] ... ok {20} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test__get_vmedia_params_by_device [0.005837s] ... ok {15} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__is_virtual_media_device_exists [0.003729s] ... ok {22} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_name [0.006630s] ... ok {12} ironic_python_agent.tests.unit.test_partition_utils.CreateConfigDriveTestCases.test_create_partition_conf_drive_error_counting [0.007520s] ... ok {27} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_devices_no_parallel_by_default [0.034596s] ... ok {13} ironic_python_agent.tests.unit.test_raid_utils.TestRaidUtils.test_create_raid_device_with_volume_name [0.003217s] ... ok {21} ironic_python_agent.tests.unit.test_hardware.TestVersions.test_get_current_versions [0.002012s] ... ok {17} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__is_virtual_media_device_exists_no_match [0.003206s] ... ok {14} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_run_agent_token [0.030559s] ... ok {11} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_prepare_image_raw_stream_true [0.008591s] ... ok {0} ironic_python_agent.tests.unit.test_partition_utils.WorkOnDiskTestCase.test_convert_to_sparse [0.008300s] ... ok {4} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_lookup_node [0.004072s] ... ok {13} ironic_python_agent.tests.unit.test_utils.TestUtils.test_boot_mode_from_properties_str [0.002007s] ... ok {18} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_delete_configuration [0.007981s] ... ok {28} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_mainline_fails [0.016864s] ... ok {27} ironic_python_agent.tests.unit.test_hardware.TestModuleFunctions.test_list_all_block_devices_partuuid_success [0.006299s] ... ok {20} ironic_python_agent.tests.unit.test_utils.TestCopyConfigFromVmedia.test_vmedia_found_not_booted_from_vmedia [0.005882s] ... ok {25} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_execute_agent_command_success_with_false_wait [0.014134s] ... ok {0} ironic_python_agent.tests.unit.test_partition_utils.WorkOnDiskTestCase.test_without_image [0.005335s] ... ok {21} ironic_python_agent.tests.unit.test_inject_files.TestInjectOne.test_plain_content_with_owner_and_group [0.005409s] ... ok {21} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_get_agent_url_ipv4 [0.001308s] ... ok {12} ironic_python_agent.tests.unit.test_partition_utils.TestGetPartition.test_no_device_found [0.005746s] ... ok {21} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_wrap_ipv6 [0.001060s] ... ok {4} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_get_lldp_info_empty [0.006944s] ... ok {26} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__uefi_bootloader_given_partition [0.008415s] ... ok {18} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_holder_disks_with_whole_device [0.004148s] ... ok {27} ironic_python_agent.tests.unit.test_inject_files.TestFindAndMountPath.test_with_on_as_path [0.003031s] ... ok {14} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_address_iterate_channels [0.002884s] ... ok {14} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_v6address_virt [0.003407s] ... ok {22} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_all_block_device [0.008829s] ... ok {12} ironic_python_agent.tests.unit.test_raid_utils.TestGetNextFreeRaidDevice.test_ok [0.001793s] ... ok {0} ironic_python_agent.tests.unit.test_raid_utils.TestRaidUtils.test_create_raid_device [0.003203s] ... ok {3} ironic_python_agent.tests.unit.test_inspector.TestCallInspector.test_inspector_retries [0.044378s] ... ok {13} ironic_python_agent.tests.unit.test_utils.TestUtils.test_collect_system_logs_non_journald [0.005693s] ... ok {14} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_boot_info_pxe_interface [0.002218s] ... ok {3} ironic_python_agent.tests.unit.test_inspector.TestCollectExtraHardware.test_parsing_failed [0.003023s] ... ok {21} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_wrap_ipv6_with_ipv4 [0.001012s] ... ok {21} ironic_python_agent.tests.unit.test_partition_utils.GetLabelledPartitionTestCases.test_get_partition_DeployFail_exc [0.002685s] ... ok {29} ironic_python_agent.tests.unit.test_partition_utils.GetConfigdriveTestCase.test_get_configdrive [0.025301s] ... ok {25} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_get_agent_status [0.008303s] ... ok {13} ironic_python_agent.tests.unit.test_utils.TestUtils.test_get_journalctl_output_with_lines [0.002378s] ... ok {11} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_write_partition_image_no_node_uuid [0.009394s] ... ok {12} ironic_python_agent.tests.unit.test_raid_utils.TestRaidUtils.test_get_volume_name_of_raid_device_invalid [0.001573s] ... ok {26} ironic_python_agent.tests.unit.extensions.test_standby.TestImageDownload.test_download_image_retries_success [0.007310s] ... ok {18} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_memory_psutil_bank_size [0.005698s] ... ok {12} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test__get_vmedia_device [0.004049s] ... ok {4} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_nodes_invalid_memory_unit [0.004678s] ... ok {14} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_holder_disks [0.002623s] ... ok {13} ironic_python_agent.tests.unit.test_utils.TestUtils.test_is_journalctl_present_false [0.002192s] ... ok {0} ironic_python_agent.tests.unit.test_utils.TestCheckVirtualMedia.test_check_vmedia_device_sata [0.002443s] ... ok {4} ironic_python_agent.tests.unit.test_partition_utils.GetConfigdriveTestCase.test_get_configdrive_base64_error [0.002391s] ... ok {27} ironic_python_agent.tests.unit.test_inject_files.TestInjectOne.test_delete [0.004612s] ... ok {17} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_with_hints [0.018324s] ... ok {26} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_cache_and_write_image [0.004201s] ... ok {29} ironic_python_agent.tests.unit.test_raid_utils.TestRaidUtils.test_prepare_boot_partitions_for_softraid_bios_msdos [0.006279s] ... ok {12} ironic_python_agent.tests.unit.test_utils.TestUtils.test_extract_capability_from_dict [0.004896s] ... ok {4} ironic_python_agent.tests.unit.test_partition_utils.WorkOnDiskTestCase.test_no_swap_partition [0.003766s] ... ok {4} ironic_python_agent.tests.unit.test_utils.TestUtils.test_guess_root_disk_disks_too_small [0.001721s] ... ok {21} ironic_python_agent.tests.unit.test_partition_utils.WorkOnDiskTestCase.test_no_root_partition [0.007963s] ... ok {15} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_mismatching_hints [0.021283s] ... ok {27} ironic_python_agent.tests.unit.test_inject_files.TestValidateFiles.test_unknown_fields [0.004731s] ... ok {28} ironic_python_agent.tests.unit.test_partition_utils.RealFilePartitioningTestCase.test_different_sizes ... SKIPPED: parted utility was not found: [Errno 2] No such file or directory: 'parted' {21} ironic_python_agent.tests.unit.test_raid_utils.TestRaidUtils.test_create_raid_device_missing_device [0.003452s] ... ok {27} ironic_python_agent.tests.unit.test_inspector.TestCollectExtraHardware.test_benchmarks [0.003143s] ... ok {25} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_stress_ng_cpu_non_default [0.006192s] ... ok {30} ironic_python_agent.tests.unit.extensions.test_deploy.TestDeployExtension.test_execute_deploy_step_exception [0.009878s] ... ok {30} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_no_hash_value [0.002651s] ... ok {27} ironic_python_agent.tests.unit.test_inspector.TestWaitForDhcp.test_disabled [0.002149s] ... ok {28} ironic_python_agent.tests.unit.test_raid_utils.TestRaidUtils.test_prepare_boot_partitions_for_softraid_bios_gpt [0.005575s] ... ok {28} ironic_python_agent.tests.unit.test_utils.TestClockSyncUtils.test_sync_clock_chrony_failure [0.003781s] ... ok {29} ironic_python_agent.tests.unit.test_raid_utils.TestRaidUtils.test_prepare_boot_partitions_for_softraid_uefi_gpt_efi_provided [0.004808s] ... ok {18} ironic_python_agent.tests.unit.test_hardware.TestModuleFunctions.test_list_all_block_devices_success [0.007772s] ... ok {14} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_network_vlan_interfaces_using_lldp_all [0.012119s] ... ok {21} ironic_python_agent.tests.unit.test_utils.TestUtils.test_boot_mode_fallback_bios [0.001929s] ... ok {17} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_ata_security_enabled_unlock_attempt [0.004583s] ... ok ironic-python-agent: Device sdh was disqualified as virtual media. Type: other, Transport: scsi {17} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_address [0.002168s] ... ok {29} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test__read_params_from_file [0.003130s] ... ok {26} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_power_off_with_ntp_server [0.007692s] ... ok {15} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_devices_metadata_safety_check [0.006768s] ... ok {18} ironic_python_agent.tests.unit.test_inject_files.TestInjectOne.test_plain_content_with_modes_exists [0.005728s] ... ok {14} ironic_python_agent.tests.unit.test_hardware.TestModuleFunctions.test__check_for_iscsi_no_iscsi [0.002595s] ... ok {22} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_network_vlan_invalid_int [0.020346s] ... ok {21} ironic_python_agent.tests.unit.test_utils.TestUtils.test_get_journalctl_output_fail [0.002167s] ... ok {17} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_v6address_invalid_get_address [0.003356s] ... ok {31} ironic_python_agent.tests.unit.extensions.test_image.TestImageExtension.test__is_bootloader_loaded_uefi_mode [0.004991s] ... ok {15} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_cpus [0.002430s] ... ok {31} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_cache_image_force [0.006257s] ... ok {31} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_no_hash_algo [0.001853s] ... ok {3} ironic_python_agent.tests.unit.test_inspector.TestInspect.test_extensions_failed [0.020286s] ... ok {26} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_run_shutdown_command_valid [0.004698s] ... ok {17} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_boot_info_bios [0.002208s] ... ok {28} ironic_python_agent.tests.unit.test_utils.TestUtils.test_collect_system_logs_journald [0.009456s] ... ok {14} ironic_python_agent.tests.unit.test_inject_files.TestInjectOne.test_delete_not_exists [0.003885s] ... ok {18} ironic_python_agent.tests.unit.test_inject_files.TestInjectOne.test_url [0.004729s] ... ok {3} ironic_python_agent.tests.unit.test_inspector.TestMisc.test_raise_on_wrong_collector [0.001283s] ... ok {30} ironic_python_agent.tests.unit.hardware_managers.test_cna.TestIntelCnaHardwareManager.test_disable_embedded_lldp_agent_wrong_dir_path [0.010103s] ... ok {27} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_raw_promiscuous_sockets_exception [0.008750s] ... ok {25} ironic_python_agent.tests.unit.test_hardware.TestEvaluateHardwareSupport.test_evaluate_hw_waits_for_disks_configured [0.015320s] ... ok {3} ironic_python_agent.tests.unit.test_partition_utils.GetLabelledPartitionTestCases.test_get_partition_present [0.002513s] ... ok {26} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_validate_image_info_empty_checksum [0.002128s] ... ok {26} ironic_python_agent.tests.unit.test_dmi_inspector.TestCollectDmidecodeInfo.test_save_data_error_handle [0.001426s] ... ok {17} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_system_vendor_info_lshw_list [0.002222s] ... ok {30} ironic_python_agent.tests.unit.test_hardware.TestAPIClientSaveAndUse.test_update_node_cache [0.003346s] ... ok {17} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_block_devices_check_skip_list_no_skip_list [0.002025s] ... ok {15} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_memory_lshw_exception [0.004035s] ... ok {18} ironic_python_agent.tests.unit.test_inspector.TestCollectDefault.test_cache_hardware_info [0.004712s] ... ok POST: /v1/commands {'name': 'do_things', 'params': []} GOT: {25} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_ata_success_no_smartctl [0.004217s] ... ok {30} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__find_pstore_mount_point_no_pstore [0.004207s] ... ok {22} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_do_lookup_transient_exceptions [0.012058s] ... ok {31} ironic_python_agent.tests.unit.hardware_managers.test_cna.TestIntelCnaHardwareManager.test_evaluate_hardware_support_with_collect_lldp_enabled [0.008738s] ... ok {27} ironic_python_agent.tests.unit.test_numa_inspector.TestCollectNumaTopologyInfo.test_collect_failure [0.005929s] ... ok POST: /v1/commands?wait=true {'name': 'do_things', 'params': {'key': 'value'}} GOT: {18} ironic_python_agent.tests.unit.test_inspector.TestCollectDefault.test_no_root_disk [0.005001s] ... ok {25} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_holder_disks_with_nvme [0.002620s] ... ok {26} ironic_python_agent.tests.unit.test_hardware.TestEvaluateHardwareSupport.test_evaluate_hw_disks_timeout [0.007318s] ... ok {30} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__get_device_info [0.003789s] ... ok {3} ironic_python_agent.tests.unit.test_partition_utils.WorkOnDiskTestCase.test_uefi [0.008477s] ... ok {7} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_fio_network_dynamic_find_pair_2nd [0.210236s] ... ok {15} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_multipath [0.010425s] ... ok {27} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_bad_nodes_nics_info [0.006415s] ... ok {3} ironic_python_agent.tests.unit.test_utils.TestUtils.test_is_journalctl_present [0.002361s] ... ok {22} ironic_python_agent.tests.unit.test_partition_utils.WorkOnDiskTestCase.test_no_configdrive_partition [0.006501s] ... ok {7} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_fio_network_dynamic_pairing_no_defaults [0.002522s] ... ok {11} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_run_with_inspection [0.037703s] ... ok {26} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_no_max [0.005357s] ... ok {27} ironic_python_agent.tests.unit.test_utils.TestCheckVirtualMedia.test_check_vmedia_device_rom [0.002360s] ... ok {30} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_ata_erase_disabled [0.005228s] ... ok {7} ironic_python_agent.tests.unit.test_encoding.TestSerializableComparable.test_childclass_equal [0.000917s] ... ok {22} ironic_python_agent.tests.unit.test_utils.ExecuteTestCase.test_execute [0.002283s] ... ok {7} ironic_python_agent.tests.unit.test_encoding.TestSerializableComparable.test_childclass_hash [0.000799s] ... ok {27} ironic_python_agent.tests.unit.test_utils.TestFailures.test_raise [0.000350s] ... ok {18} ironic_python_agent.tests.unit.test_inspector.TestCollectPciDevicesInfo.test_bad_pci_device_info [0.007872s] ... ok {15} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_model [0.006095s] ... ok {31} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_execute_agent_command_with_token [0.011317s] ... ok {7} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__is_linux_raid_member [0.001579s] ... ok {25} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_network_interfaces_no_carrier [0.010169s] ... ok {27} ironic_python_agent.tests.unit.test_utils.TestUtils.test_boot_mode_from_properties_dict [0.001970s] ... ok {26} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_smartctl_fails_security_fallback_to_shred [0.003708s] ... ok {14} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_dispatch_to_all_managers_method_fails [0.019773s] ... ok {15} ironic_python_agent.tests.unit.test_hardware.TestVersions.test_check_versions [0.002393s] ... ok {31} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_fio_network_no_partner [0.002333s] ... ok {22} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test_get_agent_params_kernel_cmdline [0.004154s] ... ok {27} ironic_python_agent.tests.unit.test_utils.TestUtils.test_extract_capability_from_old_format_caps [0.002615s] ... ok {17} ironic_python_agent.tests.unit.test_inspector.TestInspect.test_mdns [0.018023s] ... ok {26} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_mac_virt [0.002376s] ... ok {14} ironic_python_agent.tests.unit.test_numa_inspector.TestCollectNumaTopologyInfo.test_collect_no_numa_dirs [0.002979s] ... ok {7} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_with_skip_list [0.004744s] ... ok {22} ironic_python_agent.tests.unit.test_utils.TestClockSyncUtils.test_determine_time_method_none [0.002106s] ... ok {11} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_not_found [0.008280s] ... ok {14} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_get_numa_node_id_valid_format [0.000949s] ... ok {18} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_raw_promiscuous_sockets [0.005865s] ... ok {15} ironic_python_agent.tests.unit.test_inject_files.TestFindPartitionWithPath.test_found_with_dev [0.004461s] ... ok {22} ironic_python_agent.tests.unit.test_utils.TestUtils.test_guess_root_disk_secondary_sort [0.002156s] ... ok {30} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_devices_concurrency [0.008240s] ... ok {14} ironic_python_agent.tests.unit.test_partition_utils.TestGetPartition.test [0.002907s] ... ok {26} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_cpus_illegal_flags [0.002352s] ... ok {26} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_block_devices_including_partitions [0.001803s] ... ok {11} ironic_python_agent.tests.unit.test_encoding.TestSerializableComparable.test_childclass_notequal [0.001029s] ... ok {7} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_ata_failed_continued [0.004235s] ... ok {15} ironic_python_agent.tests.unit.test_inject_files.TestInjectFiles.test_empty [0.002197s] ... ok {31} ironic_python_agent.tests.unit.test_efi_utils.TestManageUefi.test_empty_partition_by_uuid [0.007401s] ... ok {26} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_validate_configuration_valid_raid1 [0.001834s] ... ok {30} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_devices_express [0.005853s] ... ok {14} ironic_python_agent.tests.unit.test_partition_utils.WorkOnDiskTestCase.test_gpt_disk_label [0.003646s] ... ok {31} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_device_handling_failures_raid6 [0.002653s] ... ok {18} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_bad_nodes_cores_info [0.007465s] ... ok {25} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_network_vlan_interfaces_using_lldp [0.013417s] ... ok {26} ironic_python_agent.tests.unit.test_hardware.TestMultipathEnabled.test_enable_multipath_lacking_support [0.002534s] ... ok {31} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_empty_target_raid_config [0.001155s] ... ok {26} ironic_python_agent.tests.unit.test_inject_files.TestInjectFiles.test_invalid_type_in_param [0.002022s] ... ok {18} ironic_python_agent.tests.unit.test_partition_utils.IsDiskLargerThanMaxSizeTestCases.test_is_disk_larger_than_max_size_exc [0.003124s] ... ok {15} ironic_python_agent.tests.unit.test_inject_files.TestInjectOne.test_plain_content_with_on [0.004056s] ... ok ERROR [root] 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 {14} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test_get_agent_params_vmedia [0.004006s] ... ok {14} ironic_python_agent.tests.unit.test_utils.TestFailures.test_get_error [0.000439s] ... ok {31} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_mac_iterate_channels [0.002510s] ... ok {11} ironic_python_agent.tests.unit.test_hardware.TestEvaluateHardwareSupport.test_evaluate_hw_no_wait_for_disks [0.011826s] ... ok {30} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_devices_metadata [0.006086s] ... ok {18} ironic_python_agent.tests.unit.test_partition_utils.IsDiskLargerThanMaxSizeTestCases.test_is_disk_larger_than_max_size_false [0.001990s] ... ok {15} ironic_python_agent.tests.unit.test_inspector.TestCollectDefault.test_ok [0.004701s] ... ok {14} ironic_python_agent.tests.unit.test_utils.TestUtils.test_specified_partition_table_type_disk_label_ignored_with_uefi [0.001755s] ... ok {17} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_dispatch_to_all_managers_mainline_only [0.015824s] ... ok {30} ironic_python_agent.tests.unit.test_hardware.TestMultipathEnabled.test_enable_multipath_not_found_mpath_config [0.003374s] ... ok {25} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_normal_vs_enhanced_security_erase [0.009766s] ... ok {30} ironic_python_agent.tests.unit.test_inspector.TestCollectLogs.test [0.002064s] ... ok {15} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_get_lldp_info_multiple [0.006154s] ... ok {11} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_invalid_raid_config [0.007538s] ... ok {30} ironic_python_agent.tests.unit.test_inspector.TestNormalizeMac.test_pxelinux_mac [0.000932s] ... ok {30} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test__get_ironic_api_version_already_set [0.001726s] ... ok {18} ironic_python_agent.tests.unit.test_partition_utils.RealFilePartitioningTestCase.test_whole_disk ... SKIPPED: parted utility was not found: [Errno 2] No such file or directory: 'parted' {31} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_not_multipath [0.012679s] ... ok {25} ironic_python_agent.tests.unit.test_hardware.TestModuleFunctions.test_list_all_block_devices_wrong_block_type [0.006527s] ... ok {31} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_skip_list_from_node_block_devices_no_skip_list [0.001055s] ... ok {30} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test__get_ironic_api_version_error [0.003952s] ... ok {7} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_devices_no_parallel_by_default_protected_device [0.023930s] ... ok {15} ironic_python_agent.tests.unit.test_partition_utils.CreateConfigDriveTestCases.test_create_partition_gpt [0.007953s] ... ok {11} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_delete_configuration_failure_blocks_remaining [0.009257s] ... ok {18} ironic_python_agent.tests.unit.test_raid_utils.TestRaidUtils.test_prepare_boot_partitions_for_softraid_uefi_gpt [0.006446s] ... ok {30} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_do_lookup_no_heartbeat_timeout [0.003679s] ... ok {7} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_mac_zeroed [0.002405s] ... ok {25} ironic_python_agent.tests.unit.test_inspector.TestCallInspector.test_send_failure [0.004565s] ... ok WARNING [ironic_python_agent.utils] Device /dev/fake1 is inaccessible, skipping... Error: nope {17} ironic_python_agent.tests.unit.test_multi_hardware.TestNoHardwareManagerLoading.test_no_managers_found [0.017422s] ... ok {25} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test__get_ironic_api_version_fresh [0.002144s] ... ok {11} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bios_given_nic_name_ok [0.002445s] ... ok {30} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_heartbeat_requests_connection_error [0.003723s] ... ok {15} ironic_python_agent.tests.unit.test_utils.TestStreamingClient.test_ok [0.006660s] ... ok {15} ironic_python_agent.tests.unit.test_utils.TestUtils.test_specified_partition_table_type_with_disk_label [0.002098s] ... ok {17} ironic_python_agent.tests.unit.test_partition_utils.GetLabelledPartitionTestCases.test_get_partition_exc [0.004178s] ... ok {11} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_memory_arm64_lshw [0.004063s] ... ok {31} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_all_block_device_with_udev [0.009413s] ... ok {18} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test__get_vmedia_params [0.008153s] ... ok {7} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_memory_lshw_list [0.010968s] ... ok {18} ironic_python_agent.tests.unit.test_utils.TestClockSyncUtils.test_sync_clock_chrony [0.002749s] ... ok {17} ironic_python_agent.tests.unit.test_utils.TestCopyConfigFromVmedia.test_no_vmedia [0.006014s] ... ok POST: /v1/commands {} GOT: {31} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_block_devices_check_skip_list_with_complete_skip_list [0.010089s] ... ok {7} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_size [0.007552s] ... ok {11} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_rotational [0.012443s] ... ok {7} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_skip_list_from_node_block_devices_just_raids [0.001240s] ... ok {30} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_dispatch_to_all_managers_manager_method_not_found [0.016533s] ... ok {31} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_block_devices_check_skip_list_with_skip_list [0.005880s] ... ok {25} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_both_succeed [0.019265s] ... ok {7} ironic_python_agent.tests.unit.test_hardware.TestMultipathEnabled.test_enable_multipath_no_multipath [0.003559s] ... ok {7} ironic_python_agent.tests.unit.test_inject_files.TestInjectFiles.test_invalid_type_on_node [0.002724s] ... ok {30} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_get_lldp_info_socket_recv_error [0.007242s] ... ok {11} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_validate_configuration_invalid_MAX_MAX [0.009023s] ... ok {25} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_nodes_invalid_threaddir_format_cores_info [0.007518s] ... ok {30} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_bad_nodes_thread_dirs [0.004252s] ... ok {25} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test__find_vmedia_device_by_labels_not_found [0.002571s] ... ok {11} ironic_python_agent.tests.unit.test_inject_files.TestFindAndMountPath.test_with_on_as_number [0.003430s] ... ok {7} ironic_python_agent.tests.unit.test_inject_files.TestInjectOne.test_plain_content_with_owner [0.006244s] ... ok {31} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_network_interfaces_with_lldp_error [0.011933s] ... ok {25} ironic_python_agent.tests.unit.test_utils.TestUtils.test_boot_mode_from_properties_json_str [0.002019s] ... ok {30} ironic_python_agent.tests.unit.test_partition_utils.TestGetPartition.test_partuuid [0.003302s] ... ok {31} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_validate_configuration_no_configuration [0.002176s] ... ok {11} ironic_python_agent.tests.unit.test_inject_files.TestInjectFiles.test_verify_false [0.002974s] ... ok {7} ironic_python_agent.tests.unit.test_inspector.TestCollectExtraHardware.test_execute_failed [0.003054s] ... ok {25} ironic_python_agent.tests.unit.test_utils.TestUtils.test_device_extractor [0.001069s] ... ok {31} ironic_python_agent.tests.unit.test_hardware.TestProtectedDiskSafetyChecks.test_special_filesystem_guard_enabled_no_results [0.002197s] ... ok {30} ironic_python_agent.tests.unit.test_utils.TestCheckVirtualMedia.test_check_vmedia_device_other [0.002174s] ... ok {25} ironic_python_agent.tests.unit.test_utils.TestUtils.test_get_journalctl_output_with_units [0.001703s] ... ok {30} ironic_python_agent.tests.unit.test_utils.TestRemoveKeys.test_remove_keys [0.000368s] ... ok {11} ironic_python_agent.tests.unit.test_inspector.TestCollectPciDevicesInfo.test_wrong_path [0.002906s] ... ok {25} ironic_python_agent.tests.unit.test_utils.TestUtils.test_specified_partition_table_type_gpt [0.001533s] ... ok {31} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_successful_heartbeat_with_token [0.001724s] ... ok {30} ironic_python_agent.tests.unit.test_utils.TestUtils.test_collect_system_logs_non_journald_with_logfile [0.005564s] ... ok {31} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_nodes_invalid_numa_format_memory_info [0.007461s] ... ok {11} ironic_python_agent.tests.unit.test_inspector.TestInspect.test_ok [0.016811s] ... ok {7} ironic_python_agent.tests.unit.test_multi_hardware_clean_steps.TestMultipleHardwareManagerCleanSteps.test_clean_step_ordering [0.019590s] ... ok POST: /v1/commands?wait=false {'name': 'do_things', 'params': {'key': 'value'}} GOT: GET: /v1/status None GOT: {7} ironic_python_agent.tests.unit.test_partition_utils.CreateConfigDriveTestCases.test__create_partition_mbr_disk_under_2TB [0.013875s] ... ok {11} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_dispatch_to_all_managers_mainline_fails [0.016008s] ... ok {31} ironic_python_agent.tests.unit.test_partition_utils.GetConfigdriveTestCase.test_get_configdrive_gzip_error [0.024351s] ... ok {31} ironic_python_agent.tests.unit.test_partition_utils.WorkOnDiskTestCase.test_no_ephemeral_partition [0.004396s] ... ok {31} ironic_python_agent.tests.unit.test_utils.TestCheckVirtualMedia.test_check_vmedia_device_scsi [0.003897s] ... ok {26} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_lookup_timeout [0.104315s] ... ok {7} ironic_python_agent.tests.unit.test_partition_utils.CreateConfigDriveTestCases.test__create_partition_mbr_disk_under_2TB_nvme [0.012971s] ... ok {31} ironic_python_agent.tests.unit.test_utils.TestUtils.test_extract_capability_from_json_string [0.002545s] ... ok {26} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_successful_heartbeat [0.001862s] ... ok {11} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_generic_method_only [0.016858s] ... ok {11} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_bad_nodes_memory_info [0.006377s] ... ok {7} ironic_python_agent.tests.unit.test_partition_utils.CreateConfigDriveTestCases.test_create_partition_part_create_fail [0.014363s] ... ok {7} ironic_python_agent.tests.unit.test_utils.TestClockSyncUtils.test_determine_time_method_chronyd [0.002601s] ... ok {26} ironic_python_agent.tests.unit.test_multi_hardware.TestMultipleHardwareManagerLoading.test_manager_method_not_found [0.017179s] ... ok {11} ironic_python_agent.tests.unit.test_numa_inspector.TestGetNumaTopologyInfo.test_get_nodes_cores_info [0.007769s] ... ok {7} ironic_python_agent.tests.unit.test_utils.TestUtils.test_gzip_and_b64encode [0.002620s] ... ok {11} ironic_python_agent.tests.unit.test_utils.TestUtils.test_guess_root_disk_primary_sort [0.002642s] ... ok {26} ironic_python_agent.tests.unit.test_partition_utils.TestGetPartition.test_command_fail [0.004813s] ... ok POST: /v1/commands?wait=false?agent_token=0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 {'name': 'do_things', 'params': {'key': 'value', 'wait': False, 'agent_token': '0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789'}} GOT: {11} ironic_python_agent.tests.unit.test_utils.TestUtils.test_specified_partition_table_type_with_instance_disk_label [0.002489s] ... ok {26} ironic_python_agent.tests.unit.test_utils.TestClockSyncUtils.test_determine_time_method_ntpdate [0.002876s] ... ok {26} ironic_python_agent.tests.unit.test_utils.TestUtils.test_boot_mode_override_with_instance_info [0.002236s] ... ok {26} ironic_python_agent.tests.unit.test_utils.TestUtils.test_collect_udev [0.003479s] ... ok GET: /v1/foo None GOT: 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 {5} ironic_python_agent.tests.unit.test_agent.TestAgentStandalone.test_run [1.023621s] ... ok {5} ironic_python_agent.tests.unit.test_efi_utils.TestManageUefi.test_ok [0.005502s] ... ok {1} ironic_python_agent.tests.unit.test_agent.TestAgentStandalone.test_run_no_tls [1.022718s] ... ok WARNING [root] The root device was not detected in 27 seconds {5} ironic_python_agent.tests.unit.test_hardware.TestEvaluateHardwareSupport.test_evaluate_hw_disks_timeout_unconfigured [0.004862s] ... ok {5} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__ata_erase_security_enabled_unlock_exception [0.001529s] ... ok {1} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test__wait_for_interface_expired [0.007432s] ... ok {1} ironic_python_agent.tests.unit.test_api.TestIronicAPI.test_root [0.005087s] ... ok {1} ironic_python_agent.tests.unit.test_dmi_inspector.TestCollectDmidecodeInfo.test_parse_dmi_bios [0.000622s] ... ok WARNING [ironic_python_agent.dmi_inspector] Failed to process memory dmi data: 'Number Of Devices' {1} ironic_python_agent.tests.unit.test_dmi_inspector.TestCollectDmidecodeInfo.test_save_data_error_number_of_devices [0.000792s] ... ok WARNING [root] Could not determine if /dev/sdfake is aread-only device. Error: {1} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__is_read_only_device_error [0.001378s] ... ok {1} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_mac_random_error [0.001336s] ... ok {1} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_v6address_channel_7 [0.002633s] ... ok {1} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_v6address_dynamic_address [0.002506s] ... ok WARNING [root] Using hint {'vendor': 'fake-vendor'} skipping devices: /dev/sdb WARNING [ironic_lib.utils] No device found that matches the root device hints {'wwn': 'fake-wwn'} {5} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_devices_concurrency_pool_size [0.022761s] ... ok {1} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_skip_list [0.005722s] ... ok {1} ironic_python_agent.tests.unit.test_hardware.TestListHardwareInfo.test_caching [0.001315s] ... ok {5} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_devices_express_stops_on_safety_failure [0.003545s] ... ok {5} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_list_network_interfaces_with_vendor_info [0.007694s] ... ok {5} ironic_python_agent.tests.unit.test_inject_files.TestFindAndMountPath.test_without_on_wrong_path [0.000674s] ... ok WARNING [ironic_python_agent.inspector] failed to get system journal {5} ironic_python_agent.tests.unit.test_inspector.TestCollectLogs.test_fail [0.001267s] ... ok {5} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_get_agent_url_protocol [0.000694s] ... ok {5} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_get_lldp_info [0.004187s] ... ok {1} ironic_python_agent.tests.unit.test_partition_utils.GetConfigdriveTestCase.test_get_configdrive_ssl [0.017512s] ... ok {1} ironic_python_agent.tests.unit.test_raid_utils.TestRaidUtils.test_create_raid_device_fail_create_device [0.001480s] ... ok {1} ironic_python_agent.tests.unit.test_utils.TestUtils.test_collect_system_logs_journald_with_logfile [0.003837s] ... ok GET: / None GOT: {5} ironic_python_agent.tests.unit.test_partition_utils.GetConfigdriveTestCase.test_get_configdrive_base64_string [0.016002s] ... ok 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. {5} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test__find_vmedia_device_by_labels [0.001938s] ... ok {5} ironic_python_agent.tests.unit.test_utils.TestCheckVirtualMedia.test_check_vmedia_device [0.001346s] ... ok 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.test_utils.TestClockSyncUtils.test_sync_clock_ntp_raises_exception [0.002007s] ... ok {24} ironic_python_agent.tests.unit.test_utils.TestStreamingClient.test_retries [1.002284s] ... ok {24} ironic_python_agent.tests.unit.test_utils.TestUtils.test_boot_mode_implicit_with_secure_boot [0.001229s] ... ok {24} ironic_python_agent.tests.unit.test_utils.TestUtils.test_get_journalctl_output [0.001219s] ... ok POST: /v1/commands {'name': 'do_things', 'params': {'key': 'value'}} GOT: 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 {23} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_fio_network_dynamic_find_timeout [2.012097s] ... ok {23} ironic_python_agent.tests.unit.test_efi_utils.TestGetEfiBootloaders.test__no_efi_bootloaders [0.001645s] ... ok {23} ironic_python_agent.tests.unit.test_errors.TestErrors.test_error_classes [0.000981s] ... ok {23} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_raid_5 [0.003298s] ... ok {23} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_nvme_userdata_success [0.001874s] ... ok ERROR [root] Erasing block device /dev/sda failed with error Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None {23} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_shred_fail_processerror [0.001332s] ... ok WARNING [root] Cannot get BMC address: Unexpected error while running command. Command: None Exit code: - Stdout: None Stderr: None {23} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_address_virt [0.001488s] ... ok {23} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_holder_disks_unexpected_devices [0.001462s] ... ok {23} ironic_python_agent.tests.unit.test_hardware.TestModuleFunctions.test__udev_settle [0.001202s] ... ok {23} ironic_python_agent.tests.unit.test_inspector.TestWaitForDhcp.test_boot_only [0.002146s] ... ok {23} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_heartbeat_error_format_1 [0.001025s] ... ok WARNING [ironic_python_agent.netutils] LLDP timed out, remaining interfaces: [('eth1', )] {23} ironic_python_agent.tests.unit.test_netutils.TestNetutils.test_get_lldp_info_one_empty_interface [0.004713s] ... ok {23} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test__get_vmedia_params_by_device_device_invalid [0.004606s] ... ok ironic-python-agent: Copying configuration from /tmp/tmpoz_1dyhj/etc/ironic-python-agent to /etc/ironic-python-agent ironic-python-agent: Copying configuration from /tmp/tmpoz_1dyhj/etc/ironic-python-agent.d to /etc/ironic-python-agent.d {23} ironic_python_agent.tests.unit.test_utils.TestCopyConfigFromVmedia.test_copy [0.005021s] ... ok {23} ironic_python_agent.tests.unit.test_utils.TestUtils.test_boot_mode_fallback_uefi [0.001147s] ... ok {23} ironic_python_agent.tests.unit.test_utils.TestUtils.test_secure_boot_overriden_with_instance_info_caps [0.001002s] ... ok ERROR [ironic_python_agent.extensions.standby] Timeout reached waiting for a chunk of data from a remote server. {6} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_stream_raw_image_onto_device_socket_read_timeout [3.015770s] ... ok {6} ironic_python_agent.tests.unit.extensions.test_standby.TestStandbyExtension.test_verify_image_success_without_md5 [0.005672s] ... ok {6} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_get_route_source_indexerror [0.015896s] ... ok {6} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_get_route_source_ipv4 [0.005700s] ... ok {6} ironic_python_agent.tests.unit.test_agent.TestBaseAgent.test_get_status [0.006407s] ... 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/dns/resolver.py", line 992, in read_resolv_conf cm: contextlib.AbstractContextManager = open(f) ^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/etc/resolv.conf' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 456, in resolve return _proxy.query(name, rdtype, raise_on_no_answer=raises, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 400, in query step(self._resolver.query, qname, rdtype, rdclass, tcp, source, raise_on_no_answer=False) ^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 340, in _resolver self.clear() File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 348, in clear self._resolver = dns.resolver.Resolver(filename=self._filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/dns/resolver.py", line 944, in __init__ self.read_resolv_conf(filename) File "/usr/lib/python3.11/site-packages/dns/resolver.py", line 995, in read_resolv_conf raise NoResolverConfiguration(f"cannot open {f}") dns.resolver.NoResolverConfiguration: cannot open /etc/resolv.conf During handling of the above exception, another exception occurred: 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/lib/python3.11/site-packages/eventlet/support/greendns.py", line 549, in getaddrinfo qname, addrs = _getaddrinfo_lookup(host, family, flags) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 522, in _getaddrinfo_lookup raise err File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 511, in _getaddrinfo_lookup answer = resolve(host, qfamily, False, use_network=use_network) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 466, in resolve raise EAI_NODATA_ERROR File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 511, in _getaddrinfo_lookup answer = resolve(host, qfamily, False, use_network=use_network) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/eventlet/support/greendns.py", line 466, in resolve raise EAI_NODATA_ERROR socket.gaierror: [Errno -2] Name or service not known 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 714, in urlopen httplib_response = self._make_request( ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 403, in _make_request self._validate_conn(conn) File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1053, in _validate_conn conn.connect() File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 363, 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 -2] Name or service not known 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 798, 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 -2] Name or service not known')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/ironic_api_client.py", line 106, in _get_ironic_api_version response = self._request('GET', '/') ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/ironic_api_client.py", line 77, in _request return self.session.request(method, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 703, 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 -2] Name or service not known')) {6} ironic_python_agent.tests.unit.test_agent.TestBaseAgentVMediaToken.test_run_agent_token_vmedia [0.018864s] ... ok {6} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_fio_network_no_fio [0.002725s] ... ok WARNING [ironic_python_agent.agent] Ironic does not support automated TLS ERROR [ironic_python_agent.burnin] fio (network) failed with error Unexpected error while running command. Command: None Exit code: - Stdout: 'boom' Stderr: None {6} ironic_python_agent.tests.unit.test_efi_utils.TestGetEfiBootloaders.test__get_efi_bootloaders_no_csv [0.001983s] ... ok {6} ironic_python_agent.tests.unit.test_efi_utils.TestManageUefi.test_software_raid [0.008104s] ... ok {6} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_force_gpt_with_disk_label [0.004914s] ... ok WARNING [root] Executable 'biosdevname' not found {6} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bios_given_nic_name_oserror [0.001528s] ... ok {6} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_bmc_v6address_not_enabled [0.002402s] ... ok {9} ironic_python_agent.tests.unit.test_burnin.TestBurnin.test_fio_network_dynamic_find_pair_1st [3.008814s] ... ok {9} ironic_python_agent.tests.unit.test_efi_utils.TestGetEfiBootloaders.test__get_efi_bootloaders [0.001728s] ... ok {9} ironic_python_agent.tests.unit.test_errors.TestErrors.test_error_string [0.000699s] ... ok {9} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test__is_linux_raid_member_false [0.001334s] ... ok {6} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_serial [0.005359s] ... ok {9} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_create_configuration_partitions_detected [0.002576s] ... ok {6} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_size_not_int [0.002339s] ... 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 [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 {9} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_erase_block_device_ata_security_enabled [0.003004s] ... ok {6} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_os_install_device_root_device_hints_size_str [0.003615s] ... 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' ERROR [root] Cannot fetch total memory size using psutil version 5 Traceback (most recent call last): File "/builddir/build/BUILD/ironic-python-agent-9.1.0/ironic_python_agent/hardware.py", line 1375, 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 {9} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_get_memory_psutil_exception_v1 [0.003364s] ... ok WARNING [root] Device /dev/sda is inaccessible, skipping... Error: [Errno 2] No such file or directory: '/dev/sda' WARNING [root] Could not find the SCSI address (HCTL) for device /dev/sda. Skipping 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] Could not find the SCSI address (HCTL) for device /dev/sdb. Skipping 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] Could not find the SCSI address (HCTL) for device /dev/md0. Skipping WARNING [root] Can't find field vendor fordevice md0 in device class block {6} ironic_python_agent.tests.unit.test_hardware.TestGenericHardwareManager.test_validate_configuration_invalid_raid_level [0.003655s] ... ok {6} ironic_python_agent.tests.unit.test_hardware.TestModuleFunctions.test__check_for_iscsi [0.002285s] ... ok {9} ironic_python_agent.tests.unit.test_inject_files.TestFindPartitionWithPath.test_found [0.003813s] ... ok {6} ironic_python_agent.tests.unit.test_inject_files.TestValidateFiles.test_missing_path [0.000705s] ... ok {9} ironic_python_agent.tests.unit.test_inject_files.TestValidateFiles.test_numeric_fields [0.000896s] ... ok {9} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test__get_ironic_api_version_set_via_conf [0.001352s] ... ok ERROR [ironic_python_agent.inspector] inspector url error 400: , proceeding with lookup {6} ironic_python_agent.tests.unit.test_inspector.TestCallInspector.test_inspector_error [0.002313s] ... ok {9} ironic_python_agent.tests.unit.test_partition_utils.CreateConfigDriveTestCases.test_create_partition_exists [0.005188s] ... ok {9} ironic_python_agent.tests.unit.test_partition_utils.CreateConfigDriveTestCases.test_create_partition_num_parts_exceed [0.005507s] ... ok {6} ironic_python_agent.tests.unit.test_inspector.TestInspect.test_collectors_option [0.012529s] ... ok {9} ironic_python_agent.tests.unit.test_partition_utils.TestGetPartition.test_fallback_partuuid [0.002218s] ... ok {6} ironic_python_agent.tests.unit.test_inspector.TestNormalizeMac.test_correct_mac [0.000592s] ... ok WARNING [ironic_python_agent.raid_utils] Found /dev/sdb1 to be missing from /dev/md0 ... re-adding! {9} ironic_python_agent.tests.unit.test_raid_utils.TestRaidUtils.test_create_raid_device_fail_read_device [0.002055s] ... ok {9} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test__get_vmedia_params_cannot_find_dev [0.001943s] ... ok ERROR [ironic_python_agent.utils] Unable to sync clock, available methods of 'ntpdate' or 'chrony' not found. {9} ironic_python_agent.tests.unit.test_utils.TestClockSyncUtils.test_sync_clock_none [0.001856s] ... ok {6} ironic_python_agent.tests.unit.test_ironic_api_client.TestBaseIronicPythonAgent.test_do_lookup_unknown_exception [0.006147s] ... ok ironic-python-agent: /some/path/etc/ironic-python-agent not found ironic-python-agent: /some/path/etc/ironic-python-agent.d not found {9} ironic_python_agent.tests.unit.test_utils.TestCopyConfigFromVmedia.test_mounted_no_files [0.003423s] ... ok {6} ironic_python_agent.tests.unit.test_partition_utils.WorkOnDiskTestCase.test_preserve_ephemeral [0.005380s] ... ok ironic-python-agent: /tmp/tmpamndwrb0/etc/ironic-python-agent not found ironic-python-agent: /tmp/tmpamndwrb0/etc/ironic-python-agent.d not found {9} ironic_python_agent.tests.unit.test_utils.TestCopyConfigFromVmedia.test_no_files [0.004838s] ... ok {6} ironic_python_agent.tests.unit.test_utils.GetAgentParamsTestCase.test__read_params_from_file_fail [0.003368s] ... ok {9} ironic_python_agent.tests.unit.test_utils.TestUtils.test_get_command_output [0.001347s] ... ok {6} ironic_python_agent.tests.unit.test_utils.TestClockSyncUtils.test_sync_clock_ntp [0.001844s] ... ok {9} ironic_python_agent.tests.unit.test_utils.TestUtils.test_get_ssl_client_options [0.002473s] ... ok POST: /v1/commands?wait=false?agent_token=0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789 {'name': 'do_things', 'params': {'key': 'value', 'wait': False, 'agent_token': '0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789'}} GOT: ====== Totals ====== Ran: 790 tests in 3.1697 sec. - Passed: 788 - Skipped: 2 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 16.5524 sec. ============== Worker Balance ============== - Worker 0 (25 tests) => 0:00:00.199509 - Worker 1 (25 tests) => 0:00:01.202874 - Worker 2 (25 tests) => 0:00:00.170296 - Worker 3 (25 tests) => 0:00:00.288994 - Worker 4 (25 tests) => 0:00:00.192074 - Worker 5 (25 tests) => 0:00:01.206010 - Worker 6 (25 tests) => 0:00:03.143967 - Worker 7 (25 tests) => 0:00:00.410913 - Worker 8 (25 tests) => 0:00:00.156993 - Worker 9 (25 tests) => 0:00:03.088107 - Worker 10 (25 tests) => 0:00:00.148264 - Worker 11 (25 tests) => 0:00:00.234184 - Worker 12 (25 tests) => 0:00:00.142759 - Worker 13 (25 tests) => 0:00:00.168597 - Worker 14 (25 tests) => 0:00:00.193160 - Worker 15 (25 tests) => 0:00:00.213041 - Worker 16 (25 tests) => 0:00:00.134684 - Worker 17 (25 tests) => 0:00:00.241950 - Worker 18 (25 tests) => 0:00:00.198722 - Worker 19 (25 tests) => 0:00:00.157815 - Worker 20 (25 tests) => 0:00:00.163065 - Worker 21 (25 tests) => 0:00:00.154187 - Worker 22 (24 tests) => 0:00:00.177387 - Worker 23 (24 tests) => 0:00:02.112382 - Worker 24 (24 tests) => 0:00:01.128276 - Worker 25 (24 tests) => 0:00:00.191357 - Worker 26 (24 tests) => 0:00:00.214684 - Worker 27 (24 tests) => 0:00:00.161749 - Worker 28 (24 tests) => 0:00:00.158397 - Worker 29 (24 tests) => 0:00:00.127041 - Worker 30 (24 tests) => 0:00:00.124649 - Worker 31 (24 tests) => 0:00:00.156288 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: openstack-ironic-python-agent-9.1.0-1.ocs23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Ct4nvG + umask 022 + cd /builddir/build/BUILD + cd ironic-python-agent-9.1.0 + DOCDIR=/builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/share/doc/openstack-ironic-python-agent + cp -pr README.rst /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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.Cr8NAQ + umask 022 + cd /builddir/build/BUILD + cd ironic-python-agent-9.1.0 + LICENSEDIR=/builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/share/licenses/openstack-ironic-python-agent + cp -pr LICENSE /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.ocs23.noarch/usr/share/licenses/openstack-ironic-python-agent + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(openstack-ironic-python-agent) = 9.1.0-1.ocs23 openstack-ironic-python-agent = 9.1.0-1.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-9.1.0-1.ocs23.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.JtTWno + umask 022 + cd /builddir/build/BUILD + cd ironic-python-agent-9.1.0 + LICENSEDIR=/builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.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-9.1.0-1.ocs23.noarch/usr/share/licenses/python3-ironic-python-agent + cp -pr LICENSE /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.ocs23.noarch/usr/share/licenses/python3-ironic-python-agent + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-ironic-python-agent = 9.1.0-1.ocs23 python3-ironic-python-agent = 9.1.0-1.ocs23 python3.11-ironic-python-agent = 9.1.0-1.ocs23 python3.11dist(ironic-python-agent) = 9.1 python3dist(ironic-python-agent) = 9.1 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: python(abi) = 3.11 Obsoletes: python3.11-ironic-python-agent < 9.1.0-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/openstack-ironic-python-agent-9.1.0-1.ocs23.noarch Wrote: /builddir/build/RPMS/openstack-ironic-python-agent-9.1.0-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/python3-ironic-python-agent-9.1.0-1.ocs23.noarch.rpm Child return code was: 0