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-yoga-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=1031gid=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.6.4-0.20230904082450.f890ade.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-yoga-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=1031gid=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.6.4-0.20230904082450.f890ade.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-yoga-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=1031gid=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.bl8L0k + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf metalsmith-1.6.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/metalsmith-1.6.4-0.20230904082450.f890ade.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd metalsmith-1.6.4 + /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.6.4 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.XAOu1D + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.6.4 + 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: 2.2.6 [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.6.4/doc/source/reference/api/metalsmith.rst. Creating file /builddir/build/BUILD/metalsmith-1.6.4/doc/source/reference/api/metalsmith.exceptions.rst. Creating file /builddir/build/BUILD/metalsmith-1.6.4/doc/source/reference/api/metalsmith.instance_config.rst. Creating file /builddir/build/BUILD/metalsmith-1.6.4/doc/source/reference/api/metalsmith.sources.rst. Creating file /builddir/build/BUILD/metalsmith-1.6.4/doc/source/reference/api/metalsmith.version.rst. Creating file /builddir/build/BUILD/metalsmith-1.6.4/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.6.4/.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 looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... /builddir/build/BUILD/metalsmith-1.6.4/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 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.aq7ysn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64 + cd metalsmith-1.6.4 + 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.6.4-0.20230904082450.f890ade.el9.x86_64 running install [pbr] Writing ChangeLog [pbr] Generating ChangeLog [pbr] ChangeLog complete (0.0s) [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running install_lib creating /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr creating /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith creating /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test copying build/lib/metalsmith/test/__init__.py -> /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/test copying build/lib/metalsmith/__init__.py -> /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/_cmd.py -> /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/_format.py -> /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/_instance.py -> /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/_network_metadata.py -> /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/_nics.py -> /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/_provisioner.py -> /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/_scheduler.py -> /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/_utils.py -> /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/exceptions.py -> /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/instance_config.py -> /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/sources.py -> /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith copying build/lib/metalsmith/version.py -> /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith/version.py to version.cpython-39.pyc writing byte-compilation script '/tmp/tmpfpwlmkwy.py' /usr/bin/python3 /tmp/tmpfpwlmkwy.py removing /tmp/tmpfpwlmkwy.py running install_data creating /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share creating /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/ansible creating /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/ansible/plugins creating /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/ansible/plugins/modules copying metalsmith_ansible/ansible_plugins/modules/metalsmith_instances.py -> /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/ansible/plugins/modules copying metalsmith_ansible/ansible_plugins/modules/metalsmith_deployment_defaults.py -> /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/ansible/plugins/modules creating /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/ansible/roles creating /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/ansible/roles/metalsmith_deployment copying metalsmith_ansible/roles/metalsmith_deployment/README.rst -> /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/ansible/roles/metalsmith_deployment creating /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/ansible/roles/metalsmith_deployment/defaults creating /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/ansible/roles/metalsmith_deployment/meta creating /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.el9.x86_64/usr/lib/python3.9/site-packages/metalsmith-1.6.4-py3.9.egg-info running install_scripts Installing metalsmith script to /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/bin + rm -rfv /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/bin/__pycache__ + '[' '!' -d /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/ansible/plugins ']' + ln -s metalsmith /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/bin/metalsmith-3 + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.6.4-0.20230904082450.f890ade.el9 --unique-debug-suffix -1.6.4-0.20230904082450.f890ade.el9.x86_64 --unique-debug-src-base python-metalsmith-1.6.4-0.20230904082450.f890ade.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.6.4 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.6.4-0.20230904082450.f890ade.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.5ZKE7Q + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.6.4 + rm metalsmith/test/test_metalsmith_instances.py + PYTHON=/usr/bin/python3 + stestr-3 run {0} metalsmith.test.test_cmd.TestDeploy.test_args_capabilities [0.059569s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_args_conductor_group [0.064545s] ... ok 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 {1} metalsmith.test.test_cmd.TestDeploy.test_args_bad_ip [0.090230s] ... ok {3} metalsmith.test.test_cmd.TestDeploy.test_args_file_partition_disk_image [0.075908s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_args_debug [0.094214s] ... ok {3} metalsmith.test.test_cmd.TestDeploy.test_args_hostname [0.073952s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_args_custom_wait [0.154305s] ... ok {3} metalsmith.test.test_cmd.TestDeploy.test_args_ips [0.057190s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_args_default_format [0.066976s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_args_dry_run [0.056863s] ... ok {1} metalsmith.test.test_cmd.TestDeploy.test_args_configdrive [0.310861s] ... ok {3} metalsmith.test.test_cmd.TestDeploy.test_args_no_wait [0.107564s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_args_file_image_with_incorrect_kernel [0.242551s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_args_http_image_with_checksum_url [0.072117s] ... ok {3} metalsmith.test.test_cmd.TestDeploy.test_args_traits [0.070773s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_args_http_image_without_checksum [0.049531s] ... ok {3} metalsmith.test.test_cmd.TestDeploy.test_args_user_name [0.052531s] ... ok {1} metalsmith.test.test_cmd.TestDeploy.test_args_file_whole_disk_image [0.106231s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_args_no_nics [0.110449s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_args_http_partition_image [0.052695s] ... ok {1} metalsmith.test.test_cmd.TestDeploy.test_args_http_image_with_checksum [0.057369s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_args_networks_and_ports [0.055828s] ... ok {3} metalsmith.test.test_cmd.TestDeploy.test_no_logs_not_deployed [0.107921s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_args_subnet [0.095986s] ... ok {1} metalsmith.test.test_cmd.TestDeploy.test_args_json_format [0.065212s] ... ok {3} metalsmith.test.test_cmd.TestDeploy.test_not_deployed_no_ips [0.059188s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_deploy_failure [0.073576s] ... ok {1} metalsmith.test.test_cmd.TestDeploy.test_args_quiet [0.082334s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_args_ok [0.123075s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_no_ips [0.082156s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_args_port [0.088552s] ... ok {2} metalsmith.test.test_cmd.TestShowWait.test_list_json [0.069478s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_args_user_name_with_sudo [0.072449s] ... ok {2} metalsmith.test.test_cmd.TestShowWait.test_list_sort [0.060547s] ... ok {1} metalsmith.test.test_cmd.TestDeploy.test_args_verbose_1 [0.220147s] ... ok {3} metalsmith.test.test_cmd.TestShowWait.test_list_empty [0.276406s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_args_with_candidates [0.075990s] ... ok {2} metalsmith.test.test_cmd.TestShowWait.test_list_two_columns [0.068498s] ... ok {2} metalsmith.test.test_cmd.TestShowWait.test_wait [0.063580s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_invalid_hostname [0.160309s] ... ok {1} metalsmith.test.test_cmd.TestDeploy.test_args_verbose_2 [0.293545s] ... ok {3} metalsmith.test.test_cmd.TestShowWait.test_list_table_empty [0.303047s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_reservation_failure [0.182845s] ... ok {1} metalsmith.test.test_cmd.TestDeploy.test_args_verbose_3 [0.155866s] ... ok {1} metalsmith.test.test_cmd.TestDeploy.test_no_clean_up [0.073640s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_with_root_size [0.165789s] ... ok {2} metalsmith.test.test_cmd.TestUndeploy.test_dry_run [0.426154s] ... ok {1} metalsmith.test.test_cmd.TestDeploy.test_with_swap_size [0.085414s] ... ok {1} metalsmith.test.test_cmd.TestShowWait.test_list [0.057489s] ... ok {2} metalsmith.test.test_instance.TestInstanceIPAddresses.test_ip_addresses [0.127345s] ... ok {2} metalsmith.test.test_instance.TestInstanceStates.test_state_deploying_when_available [0.004365s] ... ok {2} metalsmith.test.test_instance.TestInstanceStates.test_state_maintenance [0.004707s] ... ok {2} metalsmith.test.test_instance.TestInstanceStates.test_state_unknown [0.004842s] ... ok {2} metalsmith.test.test_instance_config.TestCloudInitConfig.test_add_user [0.000287s] ... ok {2} metalsmith.test.test_instance_config.TestCloudInitConfig.test_add_user_sudo [0.000358s] ... ok {2} metalsmith.test.test_instance_config.TestCloudInitConfig.test_custom_network_data [0.000410s] ... ok {2} metalsmith.test.test_instance_config.TestCloudInitConfig.test_ssh_keys [0.001123s] ... ok {2} metalsmith.test.test_instance_config.TestGenericConfig.test_custom_metadata [0.000617s] ... ok {2} metalsmith.test.test_instance_config.TestGenericConfig.test_custom_network_data [0.000152s] ... ok {2} metalsmith.test.test_instance_config.TestGenericConfig.test_custom_user_data [0.000809s] ... ok {2} metalsmith.test.test_instance_config.TestGenericConfig.test_explicit_hostname [0.001509s] ... ok {2} metalsmith.test.test_instance_config.TestGenericConfig.test_ssh_keys [0.001040s] ... ok {2} metalsmith.test.test_nics.TestNICs.test_detach_and_delete_ports [0.001510s] ... ok {2} metalsmith.test.test_nics.TestNICs.test_get_network_and_subnet_not_found [0.004685s] ... ok {2} metalsmith.test.test_nics.TestNICs.test_get_network_fixed_ip [0.003024s] ... ok {2} metalsmith.test.test_nics.TestNICs.test_nics_detach_and_delete_ports [0.004274s] ... ok {2} metalsmith.test.test_nics.TestNICs.test_validate [0.007973s] ... ok {2} metalsmith.test.test_provisioner.TestGetFindNode.test__find_node_and_allocation_by_hostname_node_in_allocation [0.011724s] ... ok {2} metalsmith.test.test_provisioner.TestInit.test_missing_auth [0.000176s] ... ok {0} metalsmith.test.test_cmd.TestShowWait.test_show_table [0.213056s] ... ok {1} metalsmith.test.test_cmd.TestShowWait.test_list_one_column [0.145093s] ... ok {3} metalsmith.test.test_cmd.TestShowWait.test_show [0.518911s] ... ok {3} metalsmith.test.test_cmd.TestShowWait.test_wait_custom_timeout [0.085270s] ... ok {1} metalsmith.test.test_cmd.TestShowWait.test_list_table [0.122874s] ... ok {0} metalsmith.test.test_cmd.TestUndeploy.test_json [0.270246s] ... ok {0} metalsmith.test.test_instance.TestInstanceStates.test_state_active [0.003819s] ... ok {3} metalsmith.test.test_cmd.TestShowWait.test_wait_json [0.109084s] ... ok {0} metalsmith.test.test_instance.TestInstanceStates.test_state_deploying [0.008632s] ... ok {0} metalsmith.test.test_instance.TestInstanceStates.test_to_dict [0.006239s] ... ok {0} metalsmith.test.test_instance_config.TestCloudInitConfig.test_custom_user_data [0.000203s] ... ok {0} metalsmith.test.test_instance_config.TestCloudInitConfig.test_custom_user_data_with_users [0.000182s] ... ok {0} metalsmith.test.test_instance_config.TestCloudInitConfig.test_name_as_hostname [0.000150s] ... ok {0} metalsmith.test.test_instance_config.TestGenericConfig.test_custom_metadata_not_dict [0.000178s] ... ok {0} metalsmith.test.test_network_metadata.TestMetadataAdd.test_metadata_add_links [0.000370s] ... ok {0} metalsmith.test.test_nics.TestNICs.test_create_and_attach_ports [0.005793s] ... ok {1} metalsmith.test.test_cmd.TestShowWait.test_show_json [0.108577s] ... ok {0} metalsmith.test.test_nics.TestNICs.test_get_network [0.010566s] ... ok {0} metalsmith.test.test_nics.TestNICs.test_get_network_and_subnet [0.001211s] ... ok {0} metalsmith.test.test_nics.TestNICs.test_get_port_unexpected_fields [0.000698s] ... ok {0} metalsmith.test.test_provisioner.TestGetFindNode.test__find_node_and_allocation_by_hostname [0.002926s] ... ok {0} metalsmith.test.test_provisioner.TestGetFindNode.test__get_node_with_node [0.018514s] ... ok [2023-09-04 08:28:44,719] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_provisioner.py", line 441, 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 {0} metalsmith.test.test_provisioner.TestProvisionNode.test_deallocation_failed_after_deploy_failure [0.061514s] ... ok {0} metalsmith.test.test_provisioner.TestProvisionNode.test_existing_hostname_mismatch [0.018537s] ... ok {0} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_hostname [0.047201s] ... ok [2023-09-04 08:28:44,831] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/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.6.4/metalsmith/_provisioner.py", line 395, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_nics.py", line 60, in validate result.append(('network', self._get_network(nic))) File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_nics.py", line 143, in _get_network raise exceptions.InvalidNIC( metalsmith.exceptions.InvalidNIC: Cannot find network network: Not found {0} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_network [0.020231s] ... ok [2023-09-04 08:28:44,887] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_provisioner.py", line 395, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.6.4/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'} {0} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_nic_type [0.055858s] ... ok {3} metalsmith.test.test_cmd.TestUndeploy.test_custom_wait [0.274287s] ... ok {3} metalsmith.test.test_instance.TestInstanceIPAddresses.test_missing_ip [0.004456s] ... ok {0} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_nics [0.017327s] ... ok {3} metalsmith.test.test_instance.TestInstanceIPAddresses.test_missing_port [0.006887s] ... ok {1} metalsmith.test.test_cmd.TestUndeploy.test_ok [0.274445s] ... ok {3} metalsmith.test.test_instance.TestInstanceStates.test_state_error [0.008454s] ... ok {3} metalsmith.test.test_instance.TestInstanceStates.test_state_unknown_when_available [0.006086s] ... ok {0} metalsmith.test.test_provisioner.TestProvisionNode.test_name_not_valid_hostname [0.039173s] ... ok {0} metalsmith.test.test_provisioner.TestProvisionNode.test_node_not_found [0.040627s] ... ok {0} metalsmith.test.test_provisioner.TestProvisionNode.test_ok [0.016451s] ... ok [2023-09-04 08:28:45,024] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_provisioner.py", line 405, in provision_node nics.create_and_attach_ports() File "/builddir/build/BUILD/metalsmith-1.6.4/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 {0} metalsmith.test.test_provisioner.TestProvisionNode.test_port_attach_failure [0.023072s] ... ok {3} metalsmith.test.test_instance.TestInstanceStates.test_to_dict_with_allocation [0.103609s] ... ok {3} metalsmith.test.test_instance_config.TestCloudInitConfig.test_add_user_admin [0.000238s] ... ok {3} metalsmith.test.test_instance_config.TestCloudInitConfig.test_add_user_with_keys [0.000216s] ... ok {3} metalsmith.test.test_instance_config.TestCloudInitConfig.test_default [0.000153s] ... ok {3} metalsmith.test.test_instance_config.TestCloudInitConfig.test_explicit_hostname [0.000146s] ... ok {3} metalsmith.test.test_instance_config.TestCloudInitConfig.test_ssh_keys_as_dict [0.000146s] ... ok {3} metalsmith.test.test_instance_config.TestCloudInitConfig.test_user_data_not_dict [0.000158s] ... ok {3} metalsmith.test.test_instance_config.TestGenericConfig.test_name_as_hostname [0.000152s] ... ok {3} metalsmith.test.test_network_metadata.TestMetadataAdd.test_metadata_add_network_ipv4_dhcp [0.000381s] ... ok {3} metalsmith.test.test_nics.TestNICs.test_get_network_unexpected_fields [0.000486s] ... ok {3} metalsmith.test.test_nics.TestNICs.test_get_subnet [0.002429s] ... ok {3} metalsmith.test.test_nics.TestNICs.test_init_wrong_type [0.000547s] ... ok {3} metalsmith.test.test_provisioner.TestGetFindNode.test__find_node_and_allocation_by_hostname_bad_allocation [0.005753s] ... ok {3} metalsmith.test.test_provisioner.TestGetFindNode.test__find_node_and_allocation_by_node [0.002211s] ... ok {3} metalsmith.test.test_provisioner.TestGetFindNode.test__get_node_with_instance [0.001999s] ... ok {3} metalsmith.test.test_provisioner.TestGetFindNode.test__get_node_with_string [0.005926s] ... ok {3} metalsmith.test.test_provisioner.TestInit.test_both_provided [0.000269s] ... ok {0} metalsmith.test.test_provisioner.TestProvisionNode.test_unreserved_without_resource_class [0.031169s] ... ok {3} metalsmith.test.test_provisioner.TestListInstances.test_list [0.011037s] ... ok [2023-09-04 08:28:45,079] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_provisioner.py", line 441, 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 {3} metalsmith.test.test_provisioner.TestProvisionNode.test_deploy_failure [0.011294s] ... ok {0} metalsmith.test.test_provisioner.TestProvisionNode.test_with_capabilities [0.055255s] ... ok [2023-09-04 08:28:45,108] Dry run, not provisioning node control-0 (UUID 000) {3} metalsmith.test.test_provisioner.TestProvisionNode.test_dry_run [0.012229s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_duplicate_hostname [0.009029s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_existing_hostname [0.007505s] ... ok [2023-09-04 08:28:45,134] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/sources.py", line 137, in _validate checksums = _utils.parse_checksums(checksums) File "/builddir/build/BUILD/metalsmith-1.6.4/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.6.4/metalsmith/_provisioner.py", line 393, in provision_node image._validate(self.connection, root_size_gb) File "/builddir/build/BUILD/metalsmith-1.6.4/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_cmd.TestUndeploy.test_quiet [0.201538s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_malformed_checksum_with_http_image [0.010921s] ... ok {1} metalsmith.test.test_instance.TestInstanceStates.test_state_deploying_maintenance [0.009755s] ... ok {1} metalsmith.test.test_instance_config.TestCloudInitConfig.test_add_user_passwd [0.002384s] ... ok {1} metalsmith.test.test_instance_config.TestCloudInitConfig.test_custom_metadata [0.000164s] ... ok {1} metalsmith.test.test_instance_config.TestCloudInitConfig.test_custom_metadata_not_dict [0.000156s] ... ok {1} metalsmith.test.test_instance_config.TestGenericConfig.test_default [0.000150s] ... ok {1} metalsmith.test.test_instance_config.TestGenericConfig.test_ssh_keys_as_dict [0.000146s] ... ok {0} metalsmith.test.test_provisioner.TestProvisionNode.test_with_file_partition [0.030016s] ... ok [2023-09-04 08:28:45,151] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/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.6.4/metalsmith/_provisioner.py", line 393, in provision_node image._validate(self.connection, root_size_gb) File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/sources.py", line 147, in _validate raise exceptions.InvalidImage( metalsmith.exceptions.InvalidImage: There is no image checksum for image in https://host/checksums {3} metalsmith.test.test_provisioner.TestProvisionNode.test_no_checksum_with_http_image [0.015109s] ... ok {0} metalsmith.test.test_provisioner.TestProvisionNode.test_with_hostname_override [0.026347s] ... ok [2023-09-04 08:28:45,163] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_provisioner.py", line 393, in provision_node image._validate(self.connection, root_size_gb) File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/sources.py", line 70, in _validate raise exceptions.UnknownRootDiskSize( metalsmith.exceptions.UnknownRootDiskSize: Partition images require root partition size {3} metalsmith.test.test_provisioner.TestProvisionNode.test_no_local_gb [0.012077s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_node_with_external_instance_id [0.005551s] ... ok {1} metalsmith.test.test_network_metadata.TestMetadataAdd.test_metadata_add_network_ipv6_stateful [0.030655s] ... ok {1} metalsmith.test.test_network_metadata.TestMetadataAdd.test_metadata_add_services [0.000229s] ... ok {1} metalsmith.test.test_nics.TestNICs.test_get_network_resource_not_found [0.000813s] ... ok {1} metalsmith.test.test_nics.TestNICs.test_get_port [0.000558s] ... ok {1} metalsmith.test.test_nics.TestNICs.test_get_port_resource_not_found [0.000608s] ... ok {1} metalsmith.test.test_nics.TestNICs.test_get_subnet_resource_not_found [0.000581s] ... ok {1} metalsmith.test.test_nics.TestNICs.test_get_subnet_unexpected_fields [0.000408s] ... ok {1} metalsmith.test.test_nics.TestNICs.test_init [0.000296s] ... ok {1} metalsmith.test.test_provisioner.TestGetFindNode.test__find_node_and_allocation_by_node_id [0.002459s] ... ok {1} metalsmith.test.test_provisioner.TestGetFindNode.test__find_node_and_allocation_by_node_not_found [0.008680s] ... ok {1} metalsmith.test.test_provisioner.TestGetFindNode.test__get_node_with_instance_refresh [0.006021s] ... ok {1} metalsmith.test.test_provisioner.TestGetFindNode.test__get_node_with_node_refresh [0.003242s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_ok_without_nics [0.058633s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_old_style_reservation [0.010210s] ... ok [2023-09-04 08:28:45,255] Dry run, not provisioning node control-0 (UUID 000) {3} metalsmith.test.test_provisioner.TestProvisionNode.test_unreserve_dry_run [0.017104s] ... ok [2023-09-04 08:28:45,288] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_provisioner.py", line 441, 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 {3} metalsmith.test.test_provisioner.TestProvisionNode.test_update_failed_after_deploy_failure [0.032765s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_with_swap_size [0.017451s] ... ok {3} metalsmith.test.test_provisioner.TestReserveNode.test_create_allocation_failed [0.012376s] ... ok {3} metalsmith.test.test_provisioner.TestReserveNode.test_node_update_failed [0.008143s] ... ok [2023-09-04 08:28:45,327] Processing allocation (UUID ) for node 000 failed: boom; deleting allocation {3} metalsmith.test.test_provisioner.TestReserveNode.test_provided_nodes [0.004752s] ... ok {3} metalsmith.test.test_provisioner.TestReserveNode.test_with_hostname [0.005332s] ... ok {3} metalsmith.test.test_provisioner.TestUnprovisionNode.test_ok [0.004344s] ... ok {3} metalsmith.test.test_provisioner.TestUnprovisionNode.test_with_wait_failed [0.005414s] ... ok [2023-09-04 08:28:45,352] Malformed capabilities on node (UUID ): foo,profile:control Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_scheduler.py", line 124, in __call__ caps = _utils.get_capabilities(node) File "/builddir/build/BUILD/metalsmith-1.6.4/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 [2023-09-04 08:28:45,352] Malformed capabilities on node (UUID ): 42 Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_scheduler.py", line 124, in __call__ caps = _utils.get_capabilities(node) File "/builddir/build/BUILD/metalsmith-1.6.4/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.TestWaitForProvisioning.test_success [0.004177s] ... ok {3} metalsmith.test.test_scheduler.TestCapabilitiesFilter.test_malformed_capabilities [0.001501s] ... ok {3} metalsmith.test.test_scheduler.TestCapabilitiesFilter.test_not_matching_node [0.000356s] ... ok {3} metalsmith.test.test_scheduler.TestRunFilters.test_all_nodes_filtered [0.001626s] ... ok {3} metalsmith.test.test_sources.TestDetect.test_file_partition_disk_missing_root [0.000170s] ... ok {3} metalsmith.test.test_sources.TestDetect.test_glance_partition [0.000431s] ... ok {3} metalsmith.test.test_sources.TestDetect.test_glance_partition_missing_root [0.000406s] ... ok {3} metalsmith.test.test_sources.TestDetect.test_http_partition_disk [0.000143s] ... ok {3} metalsmith.test.test_sources.TestDetect.test_http_partition_disk_missing_root [0.000143s] ... ok {3} metalsmith.test.test_sources.TestDetect.test_https_partition_disk [0.000059s] ... ok {3} metalsmith.test.test_utils.TestIsHostnameSafe.test_valid [0.000069s] ... ok {2} metalsmith.test.test_provisioner.TestInit.test_session_only [1.169648s] ... ok [2023-09-04 08:28:45,509] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/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.6.4/metalsmith/_provisioner.py", line 393, in provision_node image._validate(self.connection, root_size_gb) File "/builddir/build/BUILD/metalsmith-1.6.4/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_cannot_download_checksum_with_http_image [0.008736s] ... ok {2} metalsmith.test.test_provisioner.TestProvisionNode.test_deploy_failure_no_cleanup [0.007353s] ... ok {0} metalsmith.test.test_provisioner.TestProvisionNode.test_with_http_and_checksum_whole_disk [0.350392s] ... ok [2023-09-04 08:28:45,527] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_provisioner.py", line 441, 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 [2023-09-04 08:28:45,527] Failed to delete neutron port : {2} metalsmith.test.test_provisioner.TestProvisionNode.test_failure_during_port_deletion [0.009163s] ... ok {2} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_http_source [0.005298s] ... ok [2023-09-04 08:28:45,538] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/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.6.4/metalsmith/_provisioner.py", line 391, in provision_node root_size_gb = _utils.get_root_disk(root_size_gb, node) File "/builddir/build/BUILD/metalsmith-1.6.4/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 [2023-09-04 08:28:45,539] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/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.6.4/metalsmith/_provisioner.py", line 391, in provision_node root_size_gb = _utils.get_root_disk(root_size_gb, node) File "/builddir/build/BUILD/metalsmith-1.6.4/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 [2023-09-04 08:28:45,539] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/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.6.4/metalsmith/_provisioner.py", line 391, in provision_node root_size_gb = _utils.get_root_disk(root_size_gb, node) File "/builddir/build/BUILD/metalsmith-1.6.4/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 [2023-09-04 08:28:45,540] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/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.6.4/metalsmith/_provisioner.py", line 391, in provision_node root_size_gb = _utils.get_root_disk(root_size_gb, node) File "/builddir/build/BUILD/metalsmith-1.6.4/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 [] {2} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_local_gb [0.007073s] ... ok [2023-09-04 08:28:45,546] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/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.6.4/metalsmith/_provisioner.py", line 395, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_nics.py", line 62, in validate result.append(('subnet', self._get_subnet(nic))) File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_nics.py", line 193, in _get_subnet raise exceptions.InvalidNIC( metalsmith.exceptions.InvalidNIC: Cannot find network for subnet subnet: Not found {2} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_network_of_subnet [0.006640s] ... ok [2023-09-04 08:28:45,552] 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.6.4/metalsmith/_provisioner.py", line 168, 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.6.4/metalsmith/_provisioner.py", line 172, in _reserve_node raise exceptions.ReservationFailed( metalsmith.exceptions.ReservationFailed: Failed to reserve a node: boom {2} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_nic [0.006140s] ... ok {0} metalsmith.test.test_provisioner.TestReserveNode.test_allocation_failed_clean_up_failed [0.020568s] ... ok {0} metalsmith.test.test_provisioner.TestReserveNode.test_no_nodes [0.004498s] ... ok [2023-09-04 08:28:45,562] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_provisioner.py", line 395, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_nics.py", line 58, in validate result.append(('port', self._get_port(nic))) File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_nics.py", line 114, in _get_port raise exceptions.InvalidNIC( metalsmith.exceptions.InvalidNIC: Unexpected fields for a port: foo [2023-09-04 08:28:45,562] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_provisioner.py", line 395, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_nics.py", line 58, in validate result.append(('port', self._get_port(nic))) File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_nics.py", line 114, in _get_port raise exceptions.InvalidNIC( metalsmith.exceptions.InvalidNIC: Unexpected fields for a port: network [2023-09-04 08:28:45,563] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_provisioner.py", line 395, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_nics.py", line 60, in validate result.append(('network', self._get_network(nic))) File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_nics.py", line 136, in _get_network raise exceptions.InvalidNIC( metalsmith.exceptions.InvalidNIC: Unexpected fields for a network: foo [2023-09-04 08:28:45,563] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_provisioner.py", line 395, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_nics.py", line 62, in validate result.append(('subnet', self._get_subnet(nic))) File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_nics.py", line 179, in _get_subnet raise exceptions.InvalidNIC( metalsmith.exceptions.InvalidNIC: Unexpected fields for a subnet: foo {2} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_nic_type_fields [0.010339s] ... ok {2} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_subnet [0.006282s] ... ok [2023-09-04 08:28:45,569] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/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.6.4/metalsmith/_provisioner.py", line 395, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_nics.py", line 62, in validate result.append(('subnet', self._get_subnet(nic))) File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_nics.py", line 186, in _get_subnet raise exceptions.InvalidNIC( metalsmith.exceptions.InvalidNIC: Cannot find subnet subnet: Not found [2023-09-04 08:28:45,576] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/sources.py", line 60, in _validate self._image_obj = connection.image.find_image(self.image, 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.ResourceNotFound: Not found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_provisioner.py", line 393, in provision_node image._validate(self.connection, root_size_gb) File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/sources.py", line 63, in _validate raise exceptions.InvalidImage( metalsmith.exceptions.InvalidImage: Cannot find image image: Not found {2} metalsmith.test.test_provisioner.TestProvisionNode.test_missing_image [0.006583s] ... ok {0} metalsmith.test.test_provisioner.TestReserveNode.test_node_update_unexpected_exception [0.023553s] ... ok {2} metalsmith.test.test_provisioner.TestProvisionNode.test_node_name_as_hostname [0.007124s] ... ok {2} metalsmith.test.test_provisioner.TestProvisionNode.test_override_existing_traits [0.006566s] ... ok [2023-09-04 08:28:45,574] Processing allocation (UUID ) for node 000 failed: boom; deleting allocation Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_provisioner.py", line 180, in _reserve_node node = self._patch_reserved_node(node, allocation, hostname, File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_provisioner.py", line 203, 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.TestReserveNode.test_nodes_filtered [0.010920s] ... ok [2023-09-04 08:28:45,605] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.6.4/metalsmith/_provisioner.py", line 405, in provision_node nics.create_and_attach_ports() File "/builddir/build/BUILD/metalsmith-1.6.4/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 {2} metalsmith.test.test_provisioner.TestProvisionNode.test_port_creation_failure [0.015520s] ... ok {2} metalsmith.test.test_provisioner.TestProvisionNode.test_unreserved_with_hostname [0.007816s] ... ok {2} metalsmith.test.test_provisioner.TestProvisionNode.test_whole_disk [0.012724s] ... ok {2} metalsmith.test.test_provisioner.TestProvisionNode.test_with_existing_capabilities [0.007720s] ... ok {2} metalsmith.test.test_provisioner.TestProvisionNode.test_with_root_size [0.007705s] ... ok {2} metalsmith.test.test_provisioner.TestProvisionNode.test_with_traits [0.007661s] ... ok {0} metalsmith.test.test_provisioner.TestReserveNode.test_nodes_filtered_by_conductor_group [0.056262s] ... ok {0} metalsmith.test.test_provisioner.TestReserveNode.test_provided_node [0.013459s] ... ok [2023-09-04 08:28:45,699] 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.6.4/metalsmith/_provisioner.py", line 168, 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.6.4/metalsmith/_provisioner.py", line 172, in _reserve_node raise exceptions.ReservationFailed( metalsmith.exceptions.ReservationFailed: Failed to reserve a node: boom {2} metalsmith.test.test_provisioner.TestReserveNode.test_allocation_failed [0.049919s] ... ok {2} metalsmith.test.test_provisioner.TestReserveNode.test_custom_predicate [0.005822s] ... ok {2} metalsmith.test.test_provisioner.TestReserveNode.test_custom_predicate_false [0.004125s] ... ok {2} metalsmith.test.test_provisioner.TestReserveNode.test_simple_ok [0.003982s] ... ok {2} metalsmith.test.test_provisioner.TestShowInstance.test_show_instance_invalid_state [0.002248s] ... ok {2} metalsmith.test.test_provisioner.TestWaitForProvisioning.test_exceptions [0.003629s] ... ok {2} metalsmith.test.test_scheduler.TestCapabilitiesFilter.test_fail_no_capabilities [0.000279s] ... ok {2} metalsmith.test.test_scheduler.TestRunFilters.test_all_filters_pass [0.001660s] ... ok {2} metalsmith.test.test_scheduler.TestRunFilters.test_no_filters [0.000256s] ... ok {2} metalsmith.test.test_scheduler.TestRunFilters.test_one_node_filtered [0.001677s] ... ok {2} metalsmith.test.test_sources.TestDetect.test_checksum_required [0.000155s] ... ok {2} metalsmith.test.test_sources.TestDetect.test_file_partition_inconsistency [0.000153s] ... ok {2} metalsmith.test.test_sources.TestDetect.test_http_partition_disk_raw [0.000159s] ... ok {2} metalsmith.test.test_sources.TestDetect.test_http_partition_inconsistency [0.000165s] ... ok {2} metalsmith.test.test_sources.TestDetect.test_https_whole_disk [0.000144s] ... ok {2} metalsmith.test.test_utils.TestIsHostnameSafe.test_not_none [0.000052s] ... ok {0} metalsmith.test.test_provisioner.TestReserveNode.test_with_traits [0.072037s] ... ok {0} metalsmith.test.test_provisioner.TestShowInstance.test_show_instance [0.002467s] ... ok {0} metalsmith.test.test_provisioner.TestShowInstance.test_show_instance_with_allocation [0.005619s] ... ok {0} metalsmith.test.test_provisioner.TestUnprovisionNode.test_delete_allocation [0.009885s] ... ok [2023-09-04 08:28:45,777] Dry run, not unprovisioning {0} metalsmith.test.test_provisioner.TestUnprovisionNode.test_dry_run [0.098381s] ... ok {0} metalsmith.test.test_scheduler.TestCapabilitiesFilter.test_fail_message [0.000840s] ... ok {0} metalsmith.test.test_scheduler.TestCapabilitiesFilter.test_matching_node [0.000368s] ... ok {0} metalsmith.test.test_sources.TestDetect.test_file_partition_disk [0.000156s] ... ok {0} metalsmith.test.test_sources.TestDetect.test_glance_invalid_arguments [0.000151s] ... ok {0} metalsmith.test.test_sources.TestDetect.test_http_whole_disk [0.000153s] ... ok {0} metalsmith.test.test_sources.TestDetect.test_http_whole_disk_raw [0.000151s] ... ok {0} metalsmith.test.test_sources.TestDetect.test_https_partition_disk_checksum [0.000064s] ... ok {0} metalsmith.test.test_sources.TestDetect.test_https_whole_disk_checksum [0.000054s] ... ok {1} metalsmith.test.test_provisioner.TestInit.test_cloud_region_only [2.473758s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_deploy_failure_without_allocation [0.107814s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_detach_failed_after_deploy_failure [0.020783s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_existing_hostname_match [0.013292s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_port [0.011756s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_root_size_gb [0.011243s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_node_in_maintenance [0.006681s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_ok_with_source [0.013821s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_old_style_reservation_with_override [0.007992s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_override_existing_capabilities [0.009924s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_unreserved [0.009832s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_wait_failure [0.018128s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_with_config [0.012293s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_with_file_whole_disk [0.009716s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_with_http_and_checksum_partition [0.006996s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_with_http_and_checksum_url [0.015172s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_with_ip [0.020507s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_with_ports [0.008214s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_with_subnet [0.013999s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_with_wait [0.008201s] ... ok {1} metalsmith.test.test_provisioner.TestReserveNode.test_provided_node_not_found [0.003970s] ... ok {1} metalsmith.test.test_provisioner.TestReserveNode.test_provided_nodes_no_match [0.006133s] ... ok {1} metalsmith.test.test_provisioner.TestReserveNode.test_with_capabilities [0.010019s] ... ok {1} metalsmith.test.test_provisioner.TestShowInstance.test_show_instances [0.002604s] ... ok {1} metalsmith.test.test_provisioner.TestUnprovisionNode.test_with_attached [0.005702s] ... ok {1} metalsmith.test.test_provisioner.TestUnprovisionNode.test_with_wait [0.004059s] ... ok {1} metalsmith.test.test_provisioner.TestUnprovisionNode.test_without_allocation [0.004863s] ... ok {1} metalsmith.test.test_scheduler.TestCapabilitiesFilter.test_nothing_requested_nothing_found [0.000195s] ... ok {1} metalsmith.test.test_sources.TestDetect.test_file_whole_disk [0.000157s] ... ok {1} metalsmith.test.test_sources.TestDetect.test_glance_whole_disk [0.000427s] ... ok {1} metalsmith.test.test_utils.TestIsHostnameSafe.test_invalid [0.000089s] ... ok ====== Totals ====== Ran: 264 tests in 5.4052 sec. - Passed: 264 - Skipped: 0 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 14.1152 sec. ============== Worker Balance ============== - Worker 0 (66 tests) => 0:00:03.230883 - Worker 1 (66 tests) => 0:00:05.365492 - Worker 2 (66 tests) => 0:00:02.978880 - Worker 3 (66 tests) => 0:00:02.624557 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-metalsmith-1.6.4-0.20230904082450.f890ade.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8ZUYKa + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.6.4 + LICENSEDIR=/builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/licenses/python3-metalsmith + cp -pr LICENSE /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/licenses/python3-metalsmith + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-metalsmith = 1.6.4-0.20230904082450.f890ade.el9 python3-metalsmith = 1.6.4-0.20230904082450.f890ade.el9 python3.9-metalsmith = 1.6.4-0.20230904082450.f890ade.el9 python3.9dist(metalsmith) = 1.6.4 python3dist(metalsmith) = 1.6.4 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.6.4-0.20230904082450.f890ade.el9 python2-metalsmith < 1.6.4-0.20230904082450.f890ade.el9 python39-metalsmith < 1.6.4-0.20230904082450.f890ade.el9 Processing files: python3-metalsmith-tests-1.6.4-0.20230904082450.f890ade.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1nL9BC + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.6.4 + LICENSEDIR=/builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/licenses/python3-metalsmith-tests + cp -pr LICENSE /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/licenses/python3-metalsmith-tests + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-metalsmith-tests = 1.6.4-0.20230904082450.f890ade.el9 python3-metalsmith-tests = 1.6.4-0.20230904082450.f890ade.el9 python3.9-metalsmith-tests = 1.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.el9 Processing files: python-metalsmith-doc-1.6.4-0.20230904082450.f890ade.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pNw0SZ + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.6.4 + DOCDIR=/builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/doc/python-metalsmith-doc + cp -pr doc/build/html /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/doc/python-metalsmith-doc + cp -pr README.rst /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.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.b3dk5V + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.6.4 + LICENSEDIR=/builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/licenses/python-metalsmith-doc + cp -pr LICENSE /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/licenses/python-metalsmith-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-metalsmith-doc = 1.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KCTxLo + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.6.4 + DOCDIR=/builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/doc/ansible-role-metalsmith-deployment + cp -pr README.rst /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.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.RdgKeM + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.6.4 + LICENSEDIR=/builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/licenses/ansible-role-metalsmith-deployment + cp -pr LICENSE /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64/usr/share/licenses/ansible-role-metalsmith-deployment + RPM_EC=0 ++ jobs -p + exit 0 Provides: ansible-role-metalsmith-deployment = 1.6.4-0.20230904082450.f890ade.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.6.4-0.20230904082450.f890ade.el9.x86_64 Wrote: /builddir/build/RPMS/ansible-role-metalsmith-deployment-1.6.4-0.20230904082450.f890ade.el9.noarch.rpm Wrote: /builddir/build/RPMS/python3-metalsmith-1.6.4-0.20230904082450.f890ade.el9.noarch.rpm Wrote: /builddir/build/RPMS/python3-metalsmith-tests-1.6.4-0.20230904082450.f890ade.el9.noarch.rpm Wrote: /builddir/build/RPMS/python-metalsmith-doc-1.6.4-0.20230904082450.f890ade.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.E17HaT + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.6.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-metalsmith-1.6.4-0.20230904082450.f890ade.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0