Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-metalsmith.spec'], chrootPath='/var/lib/mock/dlrn-centos9-zed-x86_64-5/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=0uid=1034gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-metalsmith.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-metalsmith.spec'], chrootPath='/var/lib/mock/dlrn-centos9-zed-x86_64-5/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=0uid=1034gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-metalsmith.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-metalsmith.spec'], chrootPath='/var/lib/mock/dlrn-centos9-zed-x86_64-5/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=0uid=1034gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-metalsmith.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KHZ3Om + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf metalsmith-1.8.1 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/metalsmith-1.8.1-0.20240212133040.47f5953.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd metalsmith-1.8.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'python-metalsmith-1.8.1 base' + sed -i /ansible-autodoc/d doc/source/conf.py + sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg + rm -rf requirements.txt test-requirements.txt + '[' -f metalsmith_ansible/ansible_plugins/modules/metalsmith_instances.py ']' + sed -i '1{/^#!/d}' metalsmith_ansible/ansible_plugins/modules/metalsmith_instances.py + chmod u=rw,go=r metalsmith_ansible/ansible_plugins/modules/metalsmith_instances.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fYFsdq + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.8.1 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/metalsmith copying metalsmith/version.py -> build/lib/metalsmith copying metalsmith/sources.py -> build/lib/metalsmith copying metalsmith/instance_config.py -> build/lib/metalsmith copying metalsmith/exceptions.py -> build/lib/metalsmith copying metalsmith/_utils.py -> build/lib/metalsmith copying metalsmith/_scheduler.py -> build/lib/metalsmith copying metalsmith/_provisioner.py -> build/lib/metalsmith copying metalsmith/_nics.py -> build/lib/metalsmith copying metalsmith/_network_metadata.py -> build/lib/metalsmith copying metalsmith/_instance.py -> build/lib/metalsmith copying metalsmith/_format.py -> build/lib/metalsmith copying metalsmith/_cmd.py -> build/lib/metalsmith copying metalsmith/__init__.py -> build/lib/metalsmith creating build/lib/metalsmith/test copying metalsmith/test/test_utils.py -> build/lib/metalsmith/test copying metalsmith/test/test_sources.py -> build/lib/metalsmith/test copying metalsmith/test/test_scheduler.py -> build/lib/metalsmith/test copying metalsmith/test/test_provisioner.py -> build/lib/metalsmith/test copying metalsmith/test/test_nics.py -> build/lib/metalsmith/test copying metalsmith/test/test_network_metadata.py -> build/lib/metalsmith/test copying metalsmith/test/test_metalsmith_instances.py -> build/lib/metalsmith/test copying metalsmith/test/test_instance_config.py -> build/lib/metalsmith/test copying metalsmith/test/test_instance.py -> build/lib/metalsmith/test copying metalsmith/test/test_cmd.py -> build/lib/metalsmith/test copying metalsmith/test/__init__.py -> build/lib/metalsmith/test running egg_info writing metalsmith.egg-info/PKG-INFO writing dependency_links to metalsmith.egg-info/dependency_links.txt writing entry points to metalsmith.egg-info/entry_points.txt deleting metalsmith.egg-info/requires.txt writing top-level names to metalsmith.egg-info/top_level.txt writing pbr to metalsmith.egg-info/pbr.json [pbr] Processing SOURCES.txt [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'metalsmith.egg-info/SOURCES.txt' + sphinx-build-3 -b html doc/source doc/build/html Running Sphinx v3.4.3 [openstackdocstheme] version: 3.0.0 [openstackdocstheme] connecting html-page-context event handler making output directory... done [openstackdocstheme] overriding configured project name (Python) with name extracted from the package (metalsmith); you can disable this behavior with the 'openstackdocs_auto_name' option Creating file /builddir/build/BUILD/metalsmith-1.8.1/doc/source/reference/api/metalsmith.rst. Creating file /builddir/build/BUILD/metalsmith-1.8.1/doc/source/reference/api/metalsmith.exceptions.rst. Creating file /builddir/build/BUILD/metalsmith-1.8.1/doc/source/reference/api/metalsmith.instance_config.rst. Creating file /builddir/build/BUILD/metalsmith-1.8.1/doc/source/reference/api/metalsmith.sources.rst. Creating file /builddir/build/BUILD/metalsmith-1.8.1/doc/source/reference/api/metalsmith.version.rst. Creating file /builddir/build/BUILD/metalsmith-1.8.1/doc/source/reference/api/modules.rst. [openstackdocstheme] using theme from /usr/lib/python3.9/site-packages/openstackdocstheme/theme [openstackdocstheme] no /builddir/build/BUILD/metalsmith-1.8.1/.gitreview found building [mo]: targets for 0 po files that are out of date building [html]: targets for 3 source files that are out of date updating environment: [new config] 9 added, 0 changed, 0 removed reading sources... [ 11%] cli/index reading sources... [ 22%] index reading sources... [ 33%] reference/api/metalsmith reading sources... [ 44%] reference/api/metalsmith.exceptions reading sources... [ 55%] reference/api/metalsmith.instance_config reading sources... [ 66%] reference/api/metalsmith.sources reading sources... [ 77%] reference/api/metalsmith.version reading sources... [ 88%] reference/api/modules reading sources... [100%] user/ansible /builddir/build/BUILD/metalsmith-1.8.1/doc/source/user/ansible.rst:6: WARNING: Unknown directive type "ansibleautoplugin". .. ansibleautoplugin:: :module: metalsmith_ansible/ansible_plugins/modules/metalsmith_instances.py :documentation: true :examples: true looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 11%] cli/index writing output... [ 22%] index writing output... [ 33%] reference/api/metalsmith [openstackdocstheme] could not determine last_updated for 'reference/api/metalsmith' writing output... [ 44%] reference/api/metalsmith.exceptions [openstackdocstheme] could not determine last_updated for 'reference/api/metalsmith.exceptions' writing output... [ 55%] reference/api/metalsmith.instance_config [openstackdocstheme] could not determine last_updated for 'reference/api/metalsmith.instance_config' writing output... [ 66%] reference/api/metalsmith.sources [openstackdocstheme] could not determine last_updated for 'reference/api/metalsmith.sources' writing output... [ 77%] reference/api/metalsmith.version [openstackdocstheme] could not determine last_updated for 'reference/api/metalsmith.version' writing output... [ 88%] reference/api/modules [openstackdocstheme] could not determine last_updated for 'reference/api/modules' writing output... [100%] user/ansible generating indices... genindex py-modindex [openstackdocstheme] could not determine last_updated for 'py-modindex' done writing additional pages... search done copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 1 warning. The HTML pages are in doc/build/html. + rm -rf doc/build/html/.doctrees doc/build/html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mBICvu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64 + cd metalsmith-1.8.1 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64 running install [pbr] Writing ChangeLog [pbr] Generating ChangeLog [pbr] ChangeLog complete (0.2s) [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.2s) running install_lib creating /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr creating /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith creating /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test copying build/lib/metalsmith/test/__init__.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test copying build/lib/metalsmith/test/test_cmd.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test copying build/lib/metalsmith/test/test_instance.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test copying build/lib/metalsmith/test/test_instance_config.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test copying build/lib/metalsmith/test/test_metalsmith_instances.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test copying build/lib/metalsmith/test/test_network_metadata.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test copying build/lib/metalsmith/test/test_nics.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test copying build/lib/metalsmith/test/test_provisioner.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test copying build/lib/metalsmith/test/test_scheduler.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test copying build/lib/metalsmith/test/test_sources.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test copying build/lib/metalsmith/test/test_utils.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test copying build/lib/metalsmith/__init__.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/_cmd.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/_format.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/_instance.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/_network_metadata.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/_nics.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/_provisioner.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/_scheduler.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/_utils.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/exceptions.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/instance_config.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/sources.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/version.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test/test_cmd.py to test_cmd.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test/test_instance.py to test_instance.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test/test_instance_config.py to test_instance_config.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test/test_metalsmith_instances.py to test_metalsmith_instances.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test/test_network_metadata.py to test_network_metadata.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test/test_nics.py to test_nics.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test/test_provisioner.py to test_provisioner.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test/test_scheduler.py to test_scheduler.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test/test_sources.py to test_sources.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test/test_utils.py to test_utils.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/_cmd.py to _cmd.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/_format.py to _format.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/_instance.py to _instance.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/_network_metadata.py to _network_metadata.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/_nics.py to _nics.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/_provisioner.py to _provisioner.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/_scheduler.py to _scheduler.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/_utils.py to _utils.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/exceptions.py to exceptions.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/instance_config.py to instance_config.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/sources.py to sources.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/version.py to version.cpython-39.pyc writing byte-compilation script '/tmp/tmp_ko5mwdf.py' /usr/bin/python3 /tmp/tmp_ko5mwdf.py removing /tmp/tmp_ko5mwdf.py running install_data creating /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share creating /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/ansible creating /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/ansible/plugins creating /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/ansible/plugins/modules copying metalsmith_ansible/ansible_plugins/modules/metalsmith_instances.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/ansible/plugins/modules copying metalsmith_ansible/ansible_plugins/modules/metalsmith_deployment_defaults.py -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/ansible/plugins/modules creating /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/ansible/roles creating /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/ansible/roles/metalsmith_deployment copying metalsmith_ansible/roles/metalsmith_deployment/README.rst -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/ansible/roles/metalsmith_deployment creating /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/ansible/roles/metalsmith_deployment/defaults copying metalsmith_ansible/roles/metalsmith_deployment/defaults/main.yml -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/ansible/roles/metalsmith_deployment/defaults creating /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/ansible/roles/metalsmith_deployment/meta copying metalsmith_ansible/roles/metalsmith_deployment/meta/main.yml -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/ansible/roles/metalsmith_deployment/meta creating /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/ansible/roles/metalsmith_deployment/tasks copying metalsmith_ansible/roles/metalsmith_deployment/tasks/main.yml -> /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/ansible/roles/metalsmith_deployment/tasks running install_egg_info running egg_info writing metalsmith.egg-info/PKG-INFO writing dependency_links to metalsmith.egg-info/dependency_links.txt writing entry points to metalsmith.egg-info/entry_points.txt writing top-level names to metalsmith.egg-info/top_level.txt writing pbr to metalsmith.egg-info/pbr.json [pbr] Processing SOURCES.txt [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'metalsmith.egg-info/SOURCES.txt' Copying metalsmith.egg-info to /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith-1.8.1-py3.9.egg-info running install_scripts Installing metalsmith script to /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/bin + rm -rfv /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/bin/__pycache__ + '[' '!' -d /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/ansible/plugins ']' + ln -s metalsmith /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/bin/metalsmith-3 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.8.1-0.20240212133040.47f5953.el9 --unique-debug-suffix -1.8.1-0.20240212133040.47f5953.el9.x86_64 --unique-debug-src-base python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/metalsmith-1.8.1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/lib/python3.9 using python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.brAYPb + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.8.1 + rm metalsmith/test/test_metalsmith_instances.py + PYTHON=/usr/bin/python3 + stestr-3 run usage: run.py deploy [-h] [--wait WAIT | --no-wait] --image IMAGE [--image-checksum IMAGE_CHECKSUM] [--image-kernel IMAGE_KERNEL] [--image-ramdisk IMAGE_RAMDISK] [--network NICS] [--subnet NICS] [--port NICS] [--ip NETWORK:IP] [--netboot] [--root-size ROOT_SIZE] [--swap-size SWAP_SIZE] [--capability NAME=VALUE] [--trait TRAIT] [--ssh-public-key SSH_PUBLIC_KEY] [--hostname HOSTNAME] --resource-class RESOURCE_CLASS [--conductor-group CONDUCTOR_GROUP] [--candidate CANDIDATE] [--user-name USER_NAME] [--passwordless-sudo] [--no-clean-up] run.py deploy: error: argument --ip: --ip format is NETWORK:IP, got public {2} metalsmith.test.test_cmd.TestDeploy.test_args_bad_ip [0.071630s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_args_capabilities [0.061166s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_args_debug [0.066285s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_args_file_partition_disk_image [0.054362s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_args_dry_run [0.060947s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_args_hostname [0.071114s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_args_ips [0.052200s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_args_json_format [0.077010s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_args_http_image_with_checksum_url [0.164590s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_args_port [0.291075s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_args_quiet [0.274254s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_args_subnet [0.242428s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_deploy_failure [0.305976s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_args_traits [0.258776s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_args_user_name_with_sudo [0.096526s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_args_verbose_1 [0.153736s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_with_swap_size [0.536316s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_args_verbose_2 [0.275666s] ... ok {0} metalsmith.test.test_cmd.TestShowWait.test_list [0.543044s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_args_with_candidates [0.364796s] ... ok {0} metalsmith.test.test_cmd.TestShowWait.test_list_table_empty [0.323618s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_invalid_hostname [0.360116s] ... ok {1} metalsmith.test.test_cmd.TestDeploy.test_args_custom_wait [0.307605s] ... ok {0} metalsmith.test.test_cmd.TestShowWait.test_list_two_columns [0.358446s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_no_ips [0.276996s] ... ok {3} metalsmith.test.test_cmd.TestDeploy.test_args_conductor_group [0.426539s] ... ok {1} metalsmith.test.test_cmd.TestDeploy.test_args_file_image_with_incorrect_kernel [0.421033s] ... ok {0} metalsmith.test.test_cmd.TestShowWait.test_show [0.313622s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_reservation_failure [0.287145s] ... ok {3} metalsmith.test.test_cmd.TestDeploy.test_args_configdrive [0.240869s] ... ok {2} metalsmith.test.test_cmd.TestShowWait.test_show_table [0.323924s] ... ok {2} metalsmith.test.test_instance.TestInstanceStates.test_state_deploying_when_available [0.008591s] ... ok {2} metalsmith.test.test_instance.TestInstanceStates.test_to_dict [0.009126s] ... ok {2} metalsmith.test.test_instance.TestInstanceStates.test_to_dict_with_allocation [0.021868s] ... ok {2} metalsmith.test.test_instance_config.TestCloudInitConfig.test_add_user_sudo [0.000371s] ... ok {2} metalsmith.test.test_instance_config.TestCloudInitConfig.test_custom_user_data_with_users [0.000315s] ... ok {2} metalsmith.test.test_instance_config.TestGenericConfig.test_custom_network_data [0.000423s] ... ok {2} metalsmith.test.test_instance_config.TestGenericConfig.test_custom_user_data [0.000193s] ... ok {2} metalsmith.test.test_instance_config.TestGenericConfig.test_ssh_keys_as_dict [0.000340s] ... ok {2} metalsmith.test.test_nics.TestNICs.test_detach_and_delete_ports [0.002770s] ... ok {2} metalsmith.test.test_nics.TestNICs.test_get_subnet_resource_not_found [0.001007s] ... ok {2} metalsmith.test.test_nics.TestNICs.test_init_wrong_type [0.007303s] ... ok {1} metalsmith.test.test_cmd.TestDeploy.test_args_http_partition_image [0.468626s] ... ok {2} metalsmith.test.test_nics.TestNICs.test_validate [0.016461s] ... ok {0} metalsmith.test.test_cmd.TestShowWait.test_wait_json [0.538768s] ... ok {3} metalsmith.test.test_cmd.TestDeploy.test_args_default_format [0.439549s] ... ok {3} metalsmith.test.test_cmd.TestDeploy.test_args_file_whole_disk_image [0.240187s] ... ok {0} metalsmith.test.test_cmd.TestUndeploy.test_custom_wait [0.278329s] ... ok {1} metalsmith.test.test_cmd.TestDeploy.test_args_no_nics [0.527156s] ... ok {3} metalsmith.test.test_cmd.TestDeploy.test_args_http_image_with_checksum [0.201751s] ... ok {1} metalsmith.test.test_cmd.TestDeploy.test_args_no_wait [0.339338s] ... ok {3} metalsmith.test.test_cmd.TestDeploy.test_args_http_image_without_checksum [0.309330s] ... ok {0} metalsmith.test.test_cmd.TestUndeploy.test_json [0.518536s] ... ok {1} metalsmith.test.test_cmd.TestDeploy.test_args_ok [0.290255s] ... ok {3} metalsmith.test.test_cmd.TestDeploy.test_args_networks_and_ports [0.295113s] ... ok {0} metalsmith.test.test_cmd.TestUndeploy.test_ok [0.315639s] ... ok {1} metalsmith.test.test_cmd.TestDeploy.test_no_clean_up [0.151837s] ... ok {3} metalsmith.test.test_cmd.TestDeploy.test_args_user_name [0.154553s] ... ok {1} metalsmith.test.test_cmd.TestDeploy.test_no_logs_not_deployed [0.199989s] ... ok {0} metalsmith.test.test_cmd.TestUndeploy.test_quiet [0.288988s] ... ok {2} metalsmith.test.test_provisioner.TestInit.test_cloud_region_only [1.560360s] ... ok {3} metalsmith.test.test_cmd.TestDeploy.test_args_verbose_3 [0.236125s] ... ok {0} metalsmith.test.test_instance.TestInstanceIPAddresses.test_ip_addresses [0.095999s] ... ok {0} metalsmith.test.test_instance.TestInstanceStates.test_state_deploying [0.003476s] ... ok {0} metalsmith.test.test_instance.TestInstanceStates.test_state_error [0.007902s] ... ok {0} metalsmith.test.test_instance.TestInstanceStates.test_state_unknown [0.004138s] ... ok {0} metalsmith.test.test_instance_config.TestCloudInitConfig.test_add_user_with_keys [0.000234s] ... ok {0} metalsmith.test.test_instance_config.TestCloudInitConfig.test_custom_metadata_not_dict [0.000159s] ... ok {0} metalsmith.test.test_instance_config.TestCloudInitConfig.test_custom_network_data [0.000148s] ... ok {0} metalsmith.test.test_instance_config.TestCloudInitConfig.test_default [0.000153s] ... ok {0} metalsmith.test.test_instance_config.TestCloudInitConfig.test_ssh_keys [0.000143s] ... ok {0} metalsmith.test.test_instance_config.TestCloudInitConfig.test_ssh_keys_as_dict [0.000139s] ... ok {0} metalsmith.test.test_instance_config.TestGenericConfig.test_custom_metadata [0.000143s] ... ok {0} metalsmith.test.test_instance_config.TestGenericConfig.test_custom_metadata_not_dict [0.015755s] ... ok {0} metalsmith.test.test_instance_config.TestGenericConfig.test_explicit_hostname [0.000169s] ... ok {0} metalsmith.test.test_instance_config.TestGenericConfig.test_name_as_hostname [0.000170s] ... ok {0} metalsmith.test.test_network_metadata.TestMetadataAdd.test_metadata_add_links [0.000209s] ... ok {0} metalsmith.test.test_nics.TestNICs.test_get_network_resource_not_found [0.000719s] ... ok {0} metalsmith.test.test_nics.TestNICs.test_get_subnet_unexpected_fields [0.001157s] ... ok {1} metalsmith.test.test_cmd.TestShowWait.test_list_empty [0.171889s] ... ok {0} metalsmith.test.test_provisioner.TestGetFindNode.test__find_node_and_allocation_by_hostname_bad_allocation [0.077787s] ... ok {0} metalsmith.test.test_provisioner.TestGetFindNode.test__find_node_and_allocation_by_node [0.002106s] ... ok {0} metalsmith.test.test_provisioner.TestGetFindNode.test__get_node_with_instance [0.002147s] ... ok {0} metalsmith.test.test_provisioner.TestGetFindNode.test__get_node_with_node [0.001981s] ... ok {0} metalsmith.test.test_provisioner.TestGetFindNode.test__get_node_with_string [0.002073s] ... ok {0} metalsmith.test.test_provisioner.TestInit.test_missing_auth [0.000176s] ... ok {0} metalsmith.test.test_provisioner.TestProvisionNode.test_deallocation_failed_after_deploy_failure [0.071557s] ... ok {3} metalsmith.test.test_cmd.TestDeploy.test_not_deployed_no_ips [0.241769s] ... ok {0} metalsmith.test.test_provisioner.TestProvisionNode.test_deploy_failure [0.069379s] ... ok {3} metalsmith.test.test_cmd.TestDeploy.test_with_root_size [0.061613s] ... ok {1} metalsmith.test.test_cmd.TestShowWait.test_list_sort [0.266398s] ... ok {3} metalsmith.test.test_cmd.TestShowWait.test_list_json [0.060669s] ... ok {0} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_http_source [0.110226s] ... ok {0} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_nic [0.005924s] ... ok {0} metalsmith.test.test_provisioner.TestProvisionNode.test_missing_image [0.008006s] ... ok {3} metalsmith.test.test_cmd.TestShowWait.test_list_one_column [0.068091s] ... ok {1} metalsmith.test.test_cmd.TestShowWait.test_wait [0.098829s] ... ok {3} metalsmith.test.test_cmd.TestShowWait.test_list_table [0.054279s] ... ok {1} metalsmith.test.test_cmd.TestUndeploy.test_dry_run [0.075625s] ... ok {1} metalsmith.test.test_instance.TestInstanceIPAddresses.test_missing_port [0.005201s] ... ok {1} metalsmith.test.test_instance.TestInstanceStates.test_state_deploying_maintenance [0.004739s] ... ok {1} metalsmith.test.test_instance.TestInstanceStates.test_state_maintenance [0.005231s] ... ok {1} metalsmith.test.test_instance.TestInstanceStates.test_state_unknown_when_available [0.003322s] ... ok {1} metalsmith.test.test_instance_config.TestCloudInitConfig.test_add_user_admin [0.000220s] ... ok {1} metalsmith.test.test_instance_config.TestCloudInitConfig.test_custom_metadata [0.000151s] ... ok {1} metalsmith.test.test_instance_config.TestCloudInitConfig.test_custom_user_data [0.000170s] ... ok {1} metalsmith.test.test_instance_config.TestCloudInitConfig.test_explicit_hostname [0.000140s] ... ok {1} metalsmith.test.test_instance_config.TestCloudInitConfig.test_name_as_hostname [0.000139s] ... ok {1} metalsmith.test.test_instance_config.TestGenericConfig.test_ssh_keys [0.000145s] ... ok {1} metalsmith.test.test_network_metadata.TestMetadataAdd.test_metadata_add_network_ipv4_dhcp [0.000349s] ... ok {1} metalsmith.test.test_network_metadata.TestMetadataAdd.test_metadata_add_network_ipv6_stateful [0.000395s] ... ok {1} metalsmith.test.test_nics.TestNICs.test_get_network [0.000671s] ... ok {3} metalsmith.test.test_cmd.TestShowWait.test_show_json [0.070820s] ... ok {1} metalsmith.test.test_nics.TestNICs.test_get_network_and_subnet [0.004448s] ... ok {1} metalsmith.test.test_nics.TestNICs.test_get_port [0.000555s] ... ok {1} metalsmith.test.test_nics.TestNICs.test_get_port_resource_not_found [0.000654s] ... ok {1} metalsmith.test.test_nics.TestNICs.test_nics_detach_and_delete_ports [0.000930s] ... ok {1} metalsmith.test.test_provisioner.TestGetFindNode.test__find_node_and_allocation_by_hostname [0.002521s] ... ok {1} metalsmith.test.test_provisioner.TestGetFindNode.test__find_node_and_allocation_by_hostname_node_in_allocation [0.003752s] ... ok {1} metalsmith.test.test_provisioner.TestGetFindNode.test__get_node_with_node_refresh [0.002507s] ... ok [2024-02-12 13:35:28,485] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 447, in provision_node self.connection.baremetal.set_node_provision_state( File "/usr/lib64/python3.9/unittest/mock.py", line 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect RuntimeError: boom {1} metalsmith.test.test_provisioner.TestProvisionNode.test_detach_failed_after_deploy_failure [0.025902s] ... ok {0} metalsmith.test.test_provisioner.TestProvisionNode.test_override_existing_capabilities [0.178324s] ... ok {0} metalsmith.test.test_provisioner.TestProvisionNode.test_update_failed_after_deploy_failure [0.007718s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_existing_hostname [0.012703s] ... ok {3} metalsmith.test.test_cmd.TestShowWait.test_wait_custom_timeout [0.055470s] ... ok {3} metalsmith.test.test_instance.TestInstanceIPAddresses.test_missing_ip [0.006795s] ... ok {3} metalsmith.test.test_instance.TestInstanceStates.test_state_active [0.003503s] ... ok {3} metalsmith.test.test_instance_config.TestCloudInitConfig.test_add_user [0.000214s] ... ok {3} metalsmith.test.test_instance_config.TestCloudInitConfig.test_add_user_passwd [0.000170s] ... ok {3} metalsmith.test.test_instance_config.TestCloudInitConfig.test_user_data_not_dict [0.000173s] ... ok {3} metalsmith.test.test_instance_config.TestGenericConfig.test_default [0.000156s] ... ok {3} metalsmith.test.test_network_metadata.TestMetadataAdd.test_metadata_add_services [0.000192s] ... ok {3} metalsmith.test.test_nics.TestNICs.test_create_and_attach_ports [0.004618s] ... ok {3} metalsmith.test.test_nics.TestNICs.test_get_network_and_subnet_not_found [0.001359s] ... ok {3} metalsmith.test.test_nics.TestNICs.test_get_network_fixed_ip [0.000866s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_existing_hostname_match [0.017380s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_existing_hostname_mismatch [0.008358s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_hostname [0.005989s] ... ok {3} metalsmith.test.test_nics.TestNICs.test_get_network_unexpected_fields [0.000529s] ... ok {3} metalsmith.test.test_nics.TestNICs.test_get_port_unexpected_fields [0.000429s] ... ok {3} metalsmith.test.test_nics.TestNICs.test_get_subnet [0.000834s] ... ok {3} metalsmith.test.test_nics.TestNICs.test_init [0.003197s] ... ok {3} metalsmith.test.test_provisioner.TestGetFindNode.test__find_node_and_allocation_by_node_id [0.002363s] ... ok {3} metalsmith.test.test_provisioner.TestGetFindNode.test__find_node_and_allocation_by_node_not_found [0.002063s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_subnet [0.017604s] ... ok [2024-02-12 13:35:28,553] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 183, in _get_subnet subnet = self._connection.network.find_subnet( File "/usr/lib64/python3.9/unittest/mock.py", line 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect openstack.exceptions.SDKException: Not found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 401, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 62, in validate result.append(('subnet', self._get_subnet(nic))) File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 186, in _get_subnet raise exceptions.InvalidNIC( metalsmith.exceptions.InvalidNIC: Cannot find subnet subnet: Not found {3} metalsmith.test.test_provisioner.TestGetFindNode.test__get_node_with_instance_refresh [0.022938s] ... ok {3} metalsmith.test.test_provisioner.TestInit.test_both_provided [0.000311s] ... ok [2024-02-12 13:35:28,572] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/sources.py", line 137, in _validate checksums = _utils.parse_checksums(checksums) File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_utils.py", line 113, in parse_checksums checksum, fname = line.strip().split(None, 1) ValueError: not enough values to unpack (expected 2, got 1) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 399, in provision_node image._validate(self.connection, root_size_gb) File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/sources.py", line 139, in _validate raise exceptions.InvalidImage( metalsmith.exceptions.InvalidImage: Invalid checksum file https://host/checksums: not enough values to unpack (expected 2, got 1) {1} metalsmith.test.test_provisioner.TestProvisionNode.test_malformed_checksum_with_http_image [0.018652s] ... ok {3} metalsmith.test.test_provisioner.TestListInstances.test_list [0.013368s] ... ok [2024-02-12 13:35:28,586] Dry run, not provisioning node control-0 (UUID 000) [2024-02-12 13:35:28,583] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/sources.py", line 145, in _validate self.checksum = checksums[fname] KeyError: 'image' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 399, in provision_node image._validate(self.connection, root_size_gb) File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/sources.py", line 147, in _validate raise exceptions.InvalidImage( metalsmith.exceptions.InvalidImage: There is no image checksum for image in https://host/checksums {1} metalsmith.test.test_provisioner.TestProvisionNode.test_no_checksum_with_http_image [0.014861s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_dry_run [0.014552s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_duplicate_hostname [0.006233s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_network_of_subnet [0.008248s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_node_name_as_hostname [0.018785s] ... ok [2024-02-12 13:35:28,600] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 191, in _get_subnet network = self._connection.network.get_network(subnet.network_id) File "/usr/lib64/python3.9/unittest/mock.py", line 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect openstack.exceptions.SDKException: Not found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 401, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 62, in validate result.append(('subnet', self._get_subnet(nic))) File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 193, in _get_subnet raise exceptions.InvalidNIC( metalsmith.exceptions.InvalidNIC: Cannot find network for subnet subnet: Not found [2024-02-12 13:35:28,608] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 401, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 58, in validate result.append(('port', self._get_port(nic))) File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 114, in _get_port raise exceptions.InvalidNIC( metalsmith.exceptions.InvalidNIC: Unexpected fields for a port: foo [2024-02-12 13:35:28,609] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 401, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 58, in validate result.append(('port', self._get_port(nic))) File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 114, in _get_port raise exceptions.InvalidNIC( metalsmith.exceptions.InvalidNIC: Unexpected fields for a port: network [2024-02-12 13:35:28,609] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 401, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 60, in validate result.append(('network', self._get_network(nic))) File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 136, in _get_network raise exceptions.InvalidNIC( metalsmith.exceptions.InvalidNIC: Unexpected fields for a network: foo [2024-02-12 13:35:28,610] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 401, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 62, in validate result.append(('subnet', self._get_subnet(nic))) File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 179, in _get_subnet raise exceptions.InvalidNIC( metalsmith.exceptions.InvalidNIC: Unexpected fields for a subnet: foo {3} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_nic_type_fields [0.008506s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_nics [0.007553s] ... ok [2024-02-12 13:35:28,625] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 118, in _get_port port = self._connection.network.find_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect openstack.exceptions.SDKException: Not found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 401, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 58, in validate result.append(('port', self._get_port(nic))) File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 121, in _get_port raise exceptions.InvalidNIC( metalsmith.exceptions.InvalidNIC: Cannot find port port1: Not found {1} metalsmith.test.test_provisioner.TestProvisionNode.test_override_existing_traits [0.014793s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_port [0.007745s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_unreserved_with_hostname [0.010037s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_name_not_valid_hostname [0.009057s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_node_in_maintenance [0.006751s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_node_not_found [0.005502s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_whole_disk [0.010093s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_with_capabilities [0.009277s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_node_with_external_instance_id [0.008494s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_with_http_and_checksum_whole_disk [0.008960s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_ok [0.007546s] ... ok {1} metalsmith.test.test_provisioner.TestReserveNode.test_create_allocation_failed [0.004833s] ... ok {1} metalsmith.test.test_provisioner.TestReserveNode.test_no_nodes [0.006808s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_ok_with_source [0.007406s] ... ok [2024-02-12 13:35:28,682] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 411, in provision_node nics.create_and_attach_ports() File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 79, in create_and_attach_ports port = self._connection.network.create_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect RuntimeError: boom {1} metalsmith.test.test_provisioner.TestReserveNode.test_nodes_filtered_by_conductor_group [0.007305s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_port_creation_failure [0.010709s] ... ok {1} metalsmith.test.test_provisioner.TestReserveNode.test_provided_node_not_found [0.005020s] ... ok {1} metalsmith.test.test_provisioner.TestReserveNode.test_with_traits [0.003934s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_unreserved_without_resource_class [0.007099s] ... ok {1} metalsmith.test.test_provisioner.TestShowInstance.test_show_instance_with_allocation [0.004221s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_with_config [0.009234s] ... ok {1} metalsmith.test.test_provisioner.TestUnprovisionNode.test_delete_allocation [0.005946s] ... ok {1} metalsmith.test.test_scheduler.TestCapabilitiesFilter.test_fail_message [0.000805s] ... ok {1} metalsmith.test.test_scheduler.TestRunFilters.test_no_filters [0.000290s] ... ok {1} metalsmith.test.test_sources.TestDetect.test_file_partition_disk [0.000146s] ... ok {1} metalsmith.test.test_sources.TestDetect.test_file_partition_disk_missing_root [0.000144s] ... ok {1} metalsmith.test.test_sources.TestDetect.test_file_partition_inconsistency [0.000154s] ... ok {1} metalsmith.test.test_sources.TestDetect.test_glance_whole_disk [0.000549s] ... ok {1} metalsmith.test.test_sources.TestDetect.test_http_partition_disk [0.000144s] ... ok {1} metalsmith.test.test_sources.TestDetect.test_http_partition_disk_missing_root [0.000131s] ... ok {1} metalsmith.test.test_sources.TestDetect.test_http_partition_disk_raw [0.000144s] ... ok {1} metalsmith.test.test_sources.TestDetect.test_http_partition_inconsistency [0.000171s] ... ok {1} metalsmith.test.test_sources.TestDetect.test_http_whole_disk_raw [0.000133s] ... ok {1} metalsmith.test.test_sources.TestDetect.test_https_whole_disk [0.000122s] ... ok {1} metalsmith.test.test_sources.TestDetect.test_https_whole_disk_checksum [0.000052s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_with_file_whole_disk [0.009008s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_with_hostname_override [0.008506s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_with_http_and_checksum_partition [0.006660s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_with_http_and_checksum_url [0.010131s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_with_ports [0.008701s] ... ok [2024-02-12 13:35:28,754] Processing allocation (UUID ) for node None failed: Failed to reserve a node: boom; deleting allocation Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 169, in _reserve_node allocation = self.connection.baremetal.wait_for_allocation( File "/usr/lib64/python3.9/unittest/mock.py", line 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect openstack.exceptions.SDKException: boom During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 173, in _reserve_node raise exceptions.ReservationFailed( metalsmith.exceptions.ReservationFailed: Failed to reserve a node: boom {3} metalsmith.test.test_provisioner.TestProvisionNode.test_with_subnet [0.007434s] ... ok {0} metalsmith.test.test_provisioner.TestProvisionNode.test_with_existing_capabilities [0.249836s] ... ok {3} metalsmith.test.test_provisioner.TestReserveNode.test_allocation_failed [0.004288s] ... ok [2024-02-12 13:35:28,760] Processing allocation (UUID ) for node None failed: Failed to reserve a node: boom; deleting allocation Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 169, in _reserve_node allocation = self.connection.baremetal.wait_for_allocation( File "/usr/lib64/python3.9/unittest/mock.py", line 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect openstack.exceptions.SDKException: boom During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 173, in _reserve_node raise exceptions.ReservationFailed( metalsmith.exceptions.ReservationFailed: Failed to reserve a node: boom [2024-02-12 13:35:28,769] Processing allocation (UUID ) for node 000 failed: boom; deleting allocation Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 181, in _reserve_node node = self._patch_reserved_node(node, allocation, hostname, File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 204, in _patch_reserved_node return self.connection.baremetal.patch_node(node, patch) File "/usr/lib64/python3.9/unittest/mock.py", line 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect RuntimeError: boom {0} metalsmith.test.test_provisioner.TestProvisionNode.test_with_ip [0.009957s] ... ok {3} metalsmith.test.test_provisioner.TestReserveNode.test_allocation_failed_clean_up_failed [0.005323s] ... ok {3} metalsmith.test.test_provisioner.TestReserveNode.test_custom_predicate_false [0.003969s] ... ok {0} metalsmith.test.test_provisioner.TestProvisionNode.test_with_swap_size [0.007243s] ... ok {3} metalsmith.test.test_provisioner.TestReserveNode.test_node_update_unexpected_exception [0.004726s] ... ok {3} metalsmith.test.test_provisioner.TestReserveNode.test_provided_nodes_no_match [0.004206s] ... ok [2024-02-12 13:35:28,824] Malformed capabilities on node (UUID ): foo,profile:control Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_scheduler.py", line 124, in __call__ caps = _utils.get_capabilities(node) File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_utils.py", line 41, in get_capabilities caps = dict(x.split(':', 1) for x in caps.split(',') if x) ValueError: dictionary update sequence element #0 has length 1; 2 is required [2024-02-12 13:35:28,825] Malformed capabilities on node (UUID ): 42 Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_scheduler.py", line 124, in __call__ caps = _utils.get_capabilities(node) File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_utils.py", line 41, in get_capabilities caps = dict(x.split(':', 1) for x in caps.split(',') if x) AttributeError: 'int' object has no attribute 'split' {3} metalsmith.test.test_provisioner.TestReserveNode.test_simple_ok [0.049471s] ... ok {3} metalsmith.test.test_scheduler.TestCapabilitiesFilter.test_malformed_capabilities [0.002607s] ... ok {3} metalsmith.test.test_scheduler.TestRunFilters.test_one_node_filtered [0.002179s] ... ok {3} metalsmith.test.test_sources.TestDetect.test_file_whole_disk [0.000197s] ... ok {3} metalsmith.test.test_utils.TestIsHostnameSafe.test_invalid [0.000130s] ... ok {2} metalsmith.test.test_provisioner.TestInit.test_session_only [0.996184s] ... ok {2} metalsmith.test.test_provisioner.TestProvisionNode.test_cannot_download_checksum_with_http_image [0.008842s] ... ok [2024-02-12 13:35:28,879] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/sources.py", line 129, in _validate response.raise_for_status() File "/usr/lib64/python3.9/unittest/mock.py", line 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect requests.exceptions.RequestException: boom During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 399, in provision_node image._validate(self.connection, root_size_gb) File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/sources.py", line 132, in _validate raise exceptions.InvalidImage( metalsmith.exceptions.InvalidImage: Cannot download checksum file https://host/checksums: boom {2} metalsmith.test.test_provisioner.TestProvisionNode.test_deploy_failure_no_cleanup [0.011608s] ... ok {0} metalsmith.test.test_provisioner.TestProvisionNode.test_with_wait [0.132944s] ... ok [2024-02-12 13:35:28,905] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 447, in provision_node self.connection.baremetal.set_node_provision_state( File "/usr/lib64/python3.9/unittest/mock.py", line 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect RuntimeError: boom {2} metalsmith.test.test_provisioner.TestProvisionNode.test_deploy_failure_without_allocation [0.013953s] ... ok {0} metalsmith.test.test_provisioner.TestReserveNode.test_node_update_failed [0.007641s] ... ok [2024-02-12 13:35:28,914] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 447, in provision_node self.connection.baremetal.set_node_provision_state( File "/usr/lib64/python3.9/unittest/mock.py", line 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect RuntimeError: boom [2024-02-12 13:35:28,914] Failed to delete neutron port : {2} metalsmith.test.test_provisioner.TestProvisionNode.test_failure_during_port_deletion [0.008673s] ... ok {0} metalsmith.test.test_provisioner.TestReserveNode.test_nodes_filtered [0.007539s] ... ok {2} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_local_gb [0.008181s] ... ok [2024-02-12 13:35:28,922] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_utils.py", line 56, in get_root_disk assert int(node.properties['local_gb']) > 0 TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 397, in provision_node root_size_gb = _utils.get_root_disk(root_size_gb, node) File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_utils.py", line 62, in get_root_disk raise exceptions.UnknownRootDiskSize( metalsmith.exceptions.UnknownRootDiskSize: The local_gb for node control-0 (UUID 000) is invalid: expected positive integer, got None [2024-02-12 13:35:28,922] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_utils.py", line 56, in get_root_disk assert int(node.properties['local_gb']) > 0 ValueError: invalid literal for int() with base 10: 'meow' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 397, in provision_node root_size_gb = _utils.get_root_disk(root_size_gb, node) File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_utils.py", line 62, in get_root_disk raise exceptions.UnknownRootDiskSize( metalsmith.exceptions.UnknownRootDiskSize: The local_gb for node control-0 (UUID 000) is invalid: expected positive integer, got meow [2024-02-12 13:35:28,923] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_utils.py", line 56, in get_root_disk assert int(node.properties['local_gb']) > 0 AssertionError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 397, in provision_node root_size_gb = _utils.get_root_disk(root_size_gb, node) File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_utils.py", line 62, in get_root_disk raise exceptions.UnknownRootDiskSize( metalsmith.exceptions.UnknownRootDiskSize: The local_gb for node control-0 (UUID 000) is invalid: expected positive integer, got -42 [2024-02-12 13:35:28,923] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_utils.py", line 56, in get_root_disk assert int(node.properties['local_gb']) > 0 TypeError: int() argument must be a string, a bytes-like object or a number, not 'list' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 397, in provision_node root_size_gb = _utils.get_root_disk(root_size_gb, node) File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_utils.py", line 62, in get_root_disk raise exceptions.UnknownRootDiskSize( metalsmith.exceptions.UnknownRootDiskSize: The local_gb for node control-0 (UUID 000) is invalid: expected positive integer, got [] [2024-02-12 13:35:28,931] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 140, in _get_network network = self._connection.network.find_network( File "/usr/lib64/python3.9/unittest/mock.py", line 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect openstack.exceptions.SDKException: Not found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 401, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 60, in validate result.append(('network', self._get_network(nic))) File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 143, in _get_network raise exceptions.InvalidNIC( metalsmith.exceptions.InvalidNIC: Cannot find network network: Not found {2} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_network [0.008952s] ... ok [2024-02-12 13:35:28,938] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 401, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 64, in validate raise exceptions.InvalidNIC( metalsmith.exceptions.InvalidNIC: Unknown NIC record type, export "port", "subnet" or "network", got {'foo': 'bar'} {2} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_nic_type [0.006315s] ... ok [2024-02-12 13:35:28,951] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 397, in provision_node root_size_gb = _utils.get_root_disk(root_size_gb, node) File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_utils.py", line 49, in get_root_disk raise TypeError("The root_size_gb argument must be " TypeError: The root_size_gb argument must be a positive integer, got {} [2024-02-12 13:35:28,951] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 397, in provision_node root_size_gb = _utils.get_root_disk(root_size_gb, node) File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_utils.py", line 52, in get_root_disk raise ValueError("The root_size_gb argument must be " ValueError: The root_size_gb argument must be a positive integer, got 0 {2} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_root_size_gb [0.012795s] ... ok [2024-02-12 13:35:28,959] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 399, in provision_node image._validate(self.connection, root_size_gb) File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/sources.py", line 70, in _validate raise exceptions.UnknownRootDiskSize( metalsmith.exceptions.UnknownRootDiskSize: Partition images require root partition size {2} metalsmith.test.test_provisioner.TestProvisionNode.test_no_local_gb [0.007515s] ... ok {2} metalsmith.test.test_provisioner.TestProvisionNode.test_ok_without_nics [0.007383s] ... ok {2} metalsmith.test.test_provisioner.TestProvisionNode.test_old_style_reservation [0.007934s] ... ok {0} metalsmith.test.test_provisioner.TestReserveNode.test_provided_node [0.065984s] ... ok {0} metalsmith.test.test_provisioner.TestReserveNode.test_with_capabilities [0.006063s] ... ok {0} metalsmith.test.test_provisioner.TestShowInstance.test_show_instance [0.003110s] ... ok {0} metalsmith.test.test_provisioner.TestShowInstance.test_show_instances [0.003177s] ... ok {2} metalsmith.test.test_provisioner.TestProvisionNode.test_old_style_reservation_with_override [0.024398s] ... ok [2024-02-12 13:35:29,009] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_provisioner.py", line 411, in provision_node nics.create_and_attach_ports() File "/builddir/build/BUILD/metalsmith-1.8.1/metalsmith/_nics.py", line 94, in create_and_attach_ports self._connection.baremetal.attach_vif_to_node(self._node, File "/usr/lib64/python3.9/unittest/mock.py", line 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect RuntimeError: boom {2} metalsmith.test.test_provisioner.TestProvisionNode.test_port_attach_failure [0.011359s] ... ok {0} metalsmith.test.test_provisioner.TestUnprovisionNode.test_ok [0.057279s] ... ok {0} metalsmith.test.test_provisioner.TestUnprovisionNode.test_with_attached [0.004092s] ... ok {0} metalsmith.test.test_provisioner.TestUnprovisionNode.test_with_wait [0.004786s] ... ok {0} metalsmith.test.test_provisioner.TestUnprovisionNode.test_without_allocation [0.004752s] ... ok {0} metalsmith.test.test_provisioner.TestWaitForProvisioning.test_success [0.004820s] ... ok {0} metalsmith.test.test_scheduler.TestCapabilitiesFilter.test_fail_no_capabilities [0.010499s] ... ok {0} metalsmith.test.test_scheduler.TestCapabilitiesFilter.test_not_matching_node [0.000767s] ... ok {0} metalsmith.test.test_sources.TestDetect.test_glance_invalid_arguments [0.000379s] ... ok {0} metalsmith.test.test_sources.TestDetect.test_glance_partition_missing_root [0.000863s] ... ok {0} metalsmith.test.test_sources.TestDetect.test_http_whole_disk [0.000448s] ... ok {0} metalsmith.test.test_utils.TestIsHostnameSafe.test_valid [0.000273s] ... ok [2024-02-12 13:35:29,253] Dry run, not provisioning node control-0 (UUID 000) {2} metalsmith.test.test_provisioner.TestProvisionNode.test_unreserve_dry_run [0.242952s] ... ok {2} metalsmith.test.test_provisioner.TestProvisionNode.test_unreserved [0.009233s] ... ok {2} metalsmith.test.test_provisioner.TestProvisionNode.test_wait_failure [0.062035s] ... ok {2} metalsmith.test.test_provisioner.TestProvisionNode.test_with_file_partition [0.007252s] ... ok {2} metalsmith.test.test_provisioner.TestProvisionNode.test_with_root_size [0.006682s] ... ok {2} metalsmith.test.test_provisioner.TestProvisionNode.test_with_traits [0.018332s] ... ok {2} metalsmith.test.test_provisioner.TestReserveNode.test_custom_predicate [0.030538s] ... ok {2} metalsmith.test.test_provisioner.TestReserveNode.test_provided_nodes [0.006374s] ... ok {2} metalsmith.test.test_provisioner.TestReserveNode.test_with_hostname [0.017328s] ... ok {2} metalsmith.test.test_provisioner.TestShowInstance.test_show_instance_invalid_state [0.007815s] ... ok [2024-02-12 13:35:29,476] Dry run, not unprovisioning {2} metalsmith.test.test_provisioner.TestUnprovisionNode.test_dry_run [0.044909s] ... ok {2} metalsmith.test.test_provisioner.TestUnprovisionNode.test_with_wait_failed [0.026439s] ... ok {2} metalsmith.test.test_provisioner.TestWaitForProvisioning.test_exceptions [0.005002s] ... ok {2} metalsmith.test.test_scheduler.TestCapabilitiesFilter.test_matching_node [0.000627s] ... ok {2} metalsmith.test.test_scheduler.TestCapabilitiesFilter.test_nothing_requested_nothing_found [0.000168s] ... ok {2} metalsmith.test.test_scheduler.TestRunFilters.test_all_filters_pass [0.001611s] ... ok {2} metalsmith.test.test_scheduler.TestRunFilters.test_all_nodes_filtered [0.001644s] ... ok {2} metalsmith.test.test_sources.TestDetect.test_checksum_required [0.000157s] ... ok {2} metalsmith.test.test_sources.TestDetect.test_glance_partition [0.000436s] ... ok {2} metalsmith.test.test_sources.TestDetect.test_https_partition_disk [0.000069s] ... ok {2} metalsmith.test.test_sources.TestDetect.test_https_partition_disk_checksum [0.000057s] ... ok {2} metalsmith.test.test_utils.TestIsHostnameSafe.test_not_none [0.000056s] ... ok ====== Totals ====== Ran: 264 tests in 6.7430 sec. - Passed: 264 - Skipped: 0 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 19.7719 sec. ============== Worker Balance ============== - Worker 0 (66 tests) => 0:00:06.064893 - Worker 1 (66 tests) => 0:00:03.597476 - Worker 2 (66 tests) => 0:00:06.743013 - Worker 3 (66 tests) => 0:00:03.483275 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-metalsmith-1.8.1-0.20240212133040.47f5953.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.rO3Vc7 + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.8.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/licenses/python3-metalsmith + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/licenses/python3-metalsmith + cp -pr LICENSE /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/licenses/python3-metalsmith + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-metalsmith = 1.8.1-0.20240212133040.47f5953.el9 python3-metalsmith = 1.8.1-0.20240212133040.47f5953.el9 python3.9-metalsmith = 1.8.1-0.20240212133040.47f5953.el9 python3.9dist(metalsmith) = 1.8.1 python3dist(metalsmith) = 1.8.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(pre): shadow-utils Requires: /usr/bin/python3 python(abi) = 3.9 python3.9dist(setuptools) Obsoletes: python-metalsmith < 1.8.1-0.20240212133040.47f5953.el9 python2-metalsmith < 1.8.1-0.20240212133040.47f5953.el9 python39-metalsmith < 1.8.1-0.20240212133040.47f5953.el9 Processing files: python3-metalsmith-tests-1.8.1-0.20240212133040.47f5953.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8SzWuz + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.8.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/licenses/python3-metalsmith-tests + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/licenses/python3-metalsmith-tests + cp -pr LICENSE /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/licenses/python3-metalsmith-tests + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-metalsmith-tests = 1.8.1-0.20240212133040.47f5953.el9 python3-metalsmith-tests = 1.8.1-0.20240212133040.47f5953.el9 python3.9-metalsmith-tests = 1.8.1-0.20240212133040.47f5953.el9 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.9 Obsoletes: python39-metalsmith-tests < 1.8.1-0.20240212133040.47f5953.el9 Processing files: python-metalsmith-doc-1.8.1-0.20240212133040.47f5953.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0It0d5 + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.8.1 + DOCDIR=/builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/doc/python-metalsmith-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/doc/python-metalsmith-doc + cp -pr doc/build/html /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/doc/python-metalsmith-doc + cp -pr README.rst /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/doc/python-metalsmith-doc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7TCFgZ + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.8.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/licenses/python-metalsmith-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/licenses/python-metalsmith-doc + cp -pr LICENSE /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/licenses/python-metalsmith-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-metalsmith-doc = 1.8.1-0.20240212133040.47f5953.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ansible-role-metalsmith-deployment-1.8.1-0.20240212133040.47f5953.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XjPXFH + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.8.1 + DOCDIR=/builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/doc/ansible-role-metalsmith-deployment + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/doc/ansible-role-metalsmith-deployment + cp -pr README.rst /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/doc/ansible-role-metalsmith-deployment + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.xJuoo8 + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.8.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/licenses/ansible-role-metalsmith-deployment + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/licenses/ansible-role-metalsmith-deployment + cp -pr LICENSE /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64/usr/share/licenses/ansible-role-metalsmith-deployment + RPM_EC=0 ++ jobs -p + exit 0 Provides: ansible-role-metalsmith-deployment = 1.8.1-0.20240212133040.47f5953.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64 Wrote: /builddir/build/RPMS/ansible-role-metalsmith-deployment-1.8.1-0.20240212133040.47f5953.el9.noarch.rpm Wrote: /builddir/build/RPMS/python3-metalsmith-1.8.1-0.20240212133040.47f5953.el9.noarch.rpm Wrote: /builddir/build/RPMS/python3-metalsmith-tests-1.8.1-0.20240212133040.47f5953.el9.noarch.rpm Wrote: /builddir/build/RPMS/python-metalsmith-doc-1.8.1-0.20240212133040.47f5953.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zgKeWK + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.8.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-metalsmith-1.8.1-0.20240212133040.47f5953.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0