Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['/usr/bin/rpmbuild', '-bs', '--target', 'noarch', '--nodeps', u'/builddir/build/SPECS/python-metalsmith.spec'], nspawn_args=[]shell=Falseuid=993env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/cloud8-openstack-victoria-el8-build-84761-524403/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f13a0427f7034f168d747d85e8b16a57', '-D', '/var/lib/mock/cloud8-openstack-victoria-el8-build-84761-524403/root', '--setenv=LANG=en_GB.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', '/usr/bin/rpmbuild', '-bs', '--target', 'noarch', '--nodeps', u'/builddir/build/SPECS/python-metalsmith.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-metalsmith-1.2.0-2.el8.src.rpm Child return code was: 0 ENTER ['do'](['/usr/bin/rpmbuild', '-bb', '--target', 'noarch', '--nodeps', u'/builddir/build/SPECS/python-metalsmith.spec'], nspawn_args=['--private-network']shell=Falseuid=993env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/cloud8-openstack-victoria-el8-build-84761-524403/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'fe801a94b751499386f332fe043930c6', '-D', '/var/lib/mock/cloud8-openstack-victoria-el8-build-84761-524403/root', '--private-network', '--setenv=LANG=en_GB.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', '/usr/bin/rpmbuild', '-bb', '--target', 'noarch', '--nodeps', u'/builddir/build/SPECS/python-metalsmith.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JwM9o4 + umask 022 + cd /builddir/build/BUILD + /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/0x2426b928085a020d8a90d0d879ab7008d0896c8a.txt --signature=/builddir/build/SOURCES/metalsmith-1.2.0.tar.gz.asc --data=/builddir/build/SOURCES/metalsmith-1.2.0.tar.gz gpgv: Signature made Fri Sep 4 13:13:23 2020 UTC gpgv: using RSA key BC26D3A8D0665C87F7BEDF2AC12B8E73B30F2FC8 gpgv: Good signature from "OpenStack Infra (Victoria Cycle) " + cd /builddir/build/BUILD + rm -rf metalsmith-1.2.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/metalsmith-1.2.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd metalsmith-1.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'python-metalsmith-1.2.0 base' + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.w0ho1k + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.2.0 ++ '[' -f _current_flavor ']' ++ true + python_flavor= + '[' -z '' ']' + python_flavor=tmp + '[' tmp '!=' python3 ']' + '[' -d build ']' + '[' -d _build.python3 ']' + echo python3 + /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 creating build/lib/metalsmith/test copying metalsmith/test/test_metalsmith_instances.py -> build/lib/metalsmith/test copying metalsmith/test/test_sources.py -> build/lib/metalsmith/test copying metalsmith/test/__init__.py -> build/lib/metalsmith/test copying metalsmith/test/test_utils.py -> build/lib/metalsmith/test copying metalsmith/test/test_scheduler.py -> build/lib/metalsmith/test copying metalsmith/test/test_instance_config.py -> build/lib/metalsmith/test copying metalsmith/test/test_cmd.py -> build/lib/metalsmith/test copying metalsmith/test/test_instance.py -> build/lib/metalsmith/test copying metalsmith/test/test_provisioner.py -> build/lib/metalsmith/test copying metalsmith/version.py -> build/lib/metalsmith copying metalsmith/__init__.py -> build/lib/metalsmith copying metalsmith/_cmd.py -> build/lib/metalsmith copying metalsmith/_instance.py -> build/lib/metalsmith copying metalsmith/_nics.py -> build/lib/metalsmith copying metalsmith/instance_config.py -> build/lib/metalsmith copying metalsmith/_provisioner.py -> build/lib/metalsmith copying metalsmith/_utils.py -> build/lib/metalsmith copying metalsmith/exceptions.py -> build/lib/metalsmith copying metalsmith/_format.py -> build/lib/metalsmith copying metalsmith/_scheduler.py -> build/lib/metalsmith copying metalsmith/sources.py -> build/lib/metalsmith 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 /usr/lib/python3.6/site-packages/pbr/core.py:131: UserWarning: Unknown distribution option: 'requires_python' warnings.warn(msg) 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 writing manifest file 'metalsmith.egg-info/SOURCES.txt' + sphinx-build-3 -b html doc/source doc/build/html Running Sphinx v2.2.2 [openstackdocstheme] version: 2.2.1 [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.2.0/doc/source/reference/api/metalsmith.rst. Creating file /builddir/build/BUILD/metalsmith-1.2.0/doc/source/reference/api/metalsmith.exceptions.rst. Creating file /builddir/build/BUILD/metalsmith-1.2.0/doc/source/reference/api/metalsmith.instance_config.rst. Creating file /builddir/build/BUILD/metalsmith-1.2.0/doc/source/reference/api/metalsmith.sources.rst. Creating file /builddir/build/BUILD/metalsmith-1.2.0/doc/source/reference/api/metalsmith.version.rst. Creating file /builddir/build/BUILD/metalsmith-1.2.0/doc/source/reference/api/modules.rst. [openstackdocstheme] using theme from /usr/lib/python3.6/site-packages/openstackdocstheme/theme [openstackdocstheme] no /builddir/build/BUILD/metalsmith-1.2.0/.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... done writing output... [ 11%] cli/index [openstackdocstheme] pdf_link False 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[openstackdocstheme] could not determine last_updated for 'genindex' py-modindex[openstackdocstheme] could not determine last_updated for 'py-modindex' done writing additional pages... search[openstackdocstheme] could not determine last_updated for 'search' done copying static files... ... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded. The HTML pages are in doc/build/html. /builddir/build/BUILD/metalsmith-1.2.0/doc/source/_exts/ansible-autodoc.py:104: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. docs = DOCYAML.load(module.DOCUMENTATION) /builddir/build/BUILD/metalsmith-1.2.0/doc/source/_exts/ansible-autodoc.py:113: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. examples = DOCYAML.load(module.EXAMPLES) + rm -rf doc/build/html/.doctrees doc/build/html/.buildinfo + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.308a7H + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch ++ dirname /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch + cd metalsmith-1.2.0 ++ '[' -f _current_flavor ']' ++ cat _current_flavor + python_flavor=python3 + '[' -z python3 ']' + '[' python3 '!=' python3 ']' + echo python3 + /usr/bin/python3 setup.py install -O1 --skip-build --force --root /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch --prefix /usr 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.2.0-2.el8.noarch/usr creating /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib creating /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith copying build/lib/metalsmith/version.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith copying build/lib/metalsmith/__init__.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith copying build/lib/metalsmith/_cmd.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith copying build/lib/metalsmith/_instance.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith copying build/lib/metalsmith/_nics.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith copying build/lib/metalsmith/instance_config.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith creating /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/test copying build/lib/metalsmith/test/test_metalsmith_instances.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/test copying build/lib/metalsmith/test/test_sources.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/test copying build/lib/metalsmith/test/__init__.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/test copying build/lib/metalsmith/test/test_utils.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/test copying build/lib/metalsmith/test/test_scheduler.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/test copying build/lib/metalsmith/test/test_instance_config.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/test copying build/lib/metalsmith/test/test_cmd.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/test copying build/lib/metalsmith/test/test_instance.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/test copying build/lib/metalsmith/test/test_provisioner.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/test copying build/lib/metalsmith/_provisioner.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith copying build/lib/metalsmith/_utils.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith copying build/lib/metalsmith/exceptions.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith copying build/lib/metalsmith/_format.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith copying build/lib/metalsmith/_scheduler.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith copying build/lib/metalsmith/sources.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/version.py to version.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/_cmd.py to _cmd.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/_instance.py to _instance.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/_nics.py to _nics.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/instance_config.py to instance_config.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/test/test_metalsmith_instances.py to test_metalsmith_instances.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/test/test_sources.py to test_sources.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/test/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/test/test_utils.py to test_utils.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/test/test_scheduler.py to test_scheduler.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/test/test_instance_config.py to test_instance_config.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/test/test_cmd.py to test_cmd.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/test/test_instance.py to test_instance.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/test/test_provisioner.py to test_provisioner.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/_provisioner.py to _provisioner.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/_utils.py to _utils.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/exceptions.py to exceptions.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/_format.py to _format.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/_scheduler.py to _scheduler.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith/sources.py to sources.cpython-36.pyc writing byte-compilation script '/tmp/tmp31vqj_sf.py' /usr/bin/python3 /tmp/tmp31vqj_sf.py removing /tmp/tmp31vqj_sf.py running install_data creating /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share creating /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/ansible creating /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/ansible/roles creating /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/ansible/roles/metalsmith_deployment copying metalsmith_ansible/roles/metalsmith_deployment/README.rst -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/ansible/roles/metalsmith_deployment creating /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/ansible/roles/metalsmith_deployment/tasks copying metalsmith_ansible/roles/metalsmith_deployment/tasks/main.yml -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/ansible/roles/metalsmith_deployment/tasks creating /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/ansible/roles/metalsmith_deployment/defaults copying metalsmith_ansible/roles/metalsmith_deployment/defaults/main.yml -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/ansible/roles/metalsmith_deployment/defaults creating /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/ansible/roles/metalsmith_deployment/meta copying metalsmith_ansible/roles/metalsmith_deployment/meta/main.yml -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/ansible/roles/metalsmith_deployment/meta creating /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/ansible/plugins creating /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/ansible/plugins/modules copying metalsmith_ansible/ansible_plugins/modules/metalsmith_instances.py -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/ansible/plugins/modules creating /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/ansible/plugins/modules/__pycache__ copying metalsmith_ansible/ansible_plugins/modules/__pycache__/metalsmith_instances.cpython-36.pyc -> /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/ansible/plugins/modules/__pycache__ 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 /usr/lib/python3.6/site-packages/pbr/core.py:131: UserWarning: Unknown distribution option: 'requires_python' warnings.warn(msg) warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' writing manifest file 'metalsmith.egg-info/SOURCES.txt' Copying metalsmith.egg-info to /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6/site-packages/metalsmith-1.2.0-py3.6.egg-info running install_scripts Installing metalsmith script to /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/bin /usr/lib/python3.6/site-packages/pbr/packaging.py:436: EasyInstallDeprecationWarning: Use get_header header = easy_install.get_script_header("", executable) + '[' '!' -d /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/ansible/plugins ']' + ln -s metalsmith /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/bin/metalsmith-3 + /usr/lib/rpm/find-debuginfo.sh -j40 --strict-build-id -m -i --build-id-seed 1.2.0-2.el8 --unique-debug-suffix -1.2.0-2.el8.noarch --unique-debug-src-base python-metalsmith-1.2.0-2.el8.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/metalsmith-1.2.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/lib/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3 + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.d3HqE7 + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.2.0 + PYTHON=/usr/bin/python3 + stestr-3 run {18} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_hostname [0.008241s] ... ok {6} metalsmith.test.test_cmd.TestUndeploy.test_custom_wait [0.142282s] ... ok {6} metalsmith.test.test_instance_config.TestCloudInitConfig.test_add_user_passwd [0.000546s] ... ok {18} metalsmith.test.test_provisioner.TestProvisionNode.test_node_not_found [0.007710s] ... ok {6} metalsmith.test.test_provisioner.TestProvisionNode.test_name_not_valid_hostname [0.010274s] ... ok {18} metalsmith.test.test_provisioner.TestProvisionNode.test_with_ports [0.009910s] ... ok {6} metalsmith.test.test_provisioner.TestProvisionNode.test_old_style_reservation [0.009381s] ... ok {18} metalsmith.test.test_provisioner.TestReserveNode.test_provided_node [0.005702s] ... ok {18} metalsmith.test.test_provisioner.TestUnprovisionNode.test_delete_allocation [0.005927s] ... ok {18} metalsmith.test.test_scheduler.TestCapabilitiesFilter.test_fail_no_capabilities [0.000827s] ... ok {15} metalsmith.test.test_instance.TestInstanceStates.test_state_deploying_maintenance [0.005101s] ... ok {6} metalsmith.test.test_provisioner.TestReserveNode.test_with_capabilities [0.006131s] ... ok {6} metalsmith.test.test_scheduler.TestRunFilters.test_no_filters [0.000359s] ... ok Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_provisioner.py", line 392, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 58, in validate result.append(('port', self._get_port(nic))) File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 106, in _get_port 'Unexpected fields for a port: %s' % ', '.join(unexpected)) metalsmith.exceptions.InvalidNIC: Unexpected fields for a port: foo Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_provisioner.py", line 392, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 58, in validate result.append(('port', self._get_port(nic))) File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 106, in _get_port 'Unexpected fields for a port: %s' % ', '.join(unexpected)) metalsmith.exceptions.InvalidNIC: Unexpected fields for a port: network Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_provisioner.py", line 392, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 60, in validate result.append(('network', self._get_network(nic))) File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 128, in _get_network 'Unexpected fields for a network: %s' % ', '.join(unexpected)) metalsmith.exceptions.InvalidNIC: Unexpected fields for a network: foo {26} metalsmith.test.test_instance.TestInstanceStates.test_state_unknown_when_available [0.005223s] ... ok Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_provisioner.py", line 392, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 62, in validate result.append(('subnet', self._get_subnet(nic))) File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 155, in _get_subnet 'Unexpected fields for a subnet: %s' % ', '.join(unexpected)) metalsmith.exceptions.InvalidNIC: Unexpected fields for a subnet: foo {26} metalsmith.test.test_instance_config.TestGenericConfig.test_custom_user_data [0.000391s] ... ok {26} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_nic_type_fields [0.012894s] ... ok {4} metalsmith.test.test_cmd.TestDeploy.test_reservation_failure [0.142081s] ... ok [2020-10-22 07:29:46,222] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_provisioner.py", line 435, in provision_node node, 'active', config_drive=cd) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect RuntimeError: boom {4} metalsmith.test.test_instance.TestInstanceStates.test_to_dict [0.006753s] ... ok {4} metalsmith.test.test_instance_config.TestCloudInitConfig.test_explicit_hostname [0.000371s] ... ok {26} metalsmith.test.test_provisioner.TestProvisionNode.test_node_name_as_hostname [0.009052s] ... ok {26} metalsmith.test.test_provisioner.TestShowInstance.test_show_instances [0.002684s] ... ok {26} metalsmith.test.test_sources.TestDetect.test_https_whole_disk_checksum [0.000193s] ... ok [2020-10-22 07:29:46,285] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_provisioner.py", line 435, in provision_node node, 'active', config_drive=cd) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect RuntimeError: boom {13} metalsmith.test.test_cmd.TestDeploy.test_args_ips [0.143482s] ... ok {4} metalsmith.test.test_provisioner.TestProvisionNode.test_deallocation_failed_after_deploy_failure [0.015857s] ... ok {4} metalsmith.test.test_provisioner.TestProvisionNode.test_ok_without_nics [0.008882s] ... ok {4} metalsmith.test.test_provisioner.TestProvisionNode.test_with_hostname_override [0.010000s] ... ok [2020-10-22 07:29:46,354] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_provisioner.py", line 435, in provision_node node, 'active', config_drive=cd) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect RuntimeError: boom [2020-10-22 07:29:46,365] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_provisioner.py", line 388, in provision_node root_size_gb = _utils.get_root_disk(root_size_gb, node) File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_utils.py", line 50, in get_root_disk "a positive integer, got %r" % root_size_gb) TypeError: The root_size_gb argument must be a positive integer, got {} [2020-10-22 07:29:46,368] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_provisioner.py", line 388, in provision_node root_size_gb = _utils.get_root_disk(root_size_gb, node) File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_utils.py", line 53, in get_root_disk "a positive integer, got %d" % root_size_gb) ValueError: The root_size_gb argument must be a positive integer, got 0 [2020-10-22 07:29:46,393] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_provisioner.py", line 390, in provision_node image._validate(self.connection, root_size_gb) File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/sources.py", line 71, in _validate 'Partition images require root partition size') metalsmith.exceptions.UnknownRootDiskSize: Partition images require root partition size [2020-10-22 07:29:46,396] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_provisioner.py", line 402, in provision_node nics.create_and_attach_ports() File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 76, in create_and_attach_ports port = self._connection.network.create_port(**nic) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect RuntimeError: boom [2020-10-22 07:29:46,407] 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.2.0/metalsmith/_provisioner.py", line 166, in _reserve_node allocation) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _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.2.0/metalsmith/_provisioner.py", line 170, in _reserve_node 'Failed to reserve a node: %s' % exc) metalsmith.exceptions.ReservationFailed: Failed to reserve a node: boom {1} metalsmith.test.test_cmd.TestShowWait.test_show_table [0.145206s] ... ok {1} metalsmith.test.test_cmd.TestShowWait.test_wait_json [0.131981s] ... ok {1} metalsmith.test.test_instance_config.TestCloudInitConfig.test_add_user_with_keys [0.000501s] ... ok Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_provisioner.py", line 435, in provision_node node, 'active', config_drive=cd) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect RuntimeError: boom Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_provisioner.py", line 435, in provision_node node, 'active', config_drive=cd) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect RuntimeError: boom {1} metalsmith.test.test_provisioner.TestProvisionNode.test_deploy_failure [0.014233s] ... ok {10} metalsmith.test.test_cmd.TestDeploy.test_with_root_size [0.140906s] ... ok {10} metalsmith.test.test_instance_config.TestCloudInitConfig.test_add_user_admin [0.000506s] ... ok {10} metalsmith.test.test_instance_config.TestGenericConfig.test_ssh_keys [0.000338s] ... ok {10} metalsmith.test.test_provisioner.TestProvisionNode.test_deploy_failure_without_allocation [0.015014s] ... ok {10} metalsmith.test.test_provisioner.TestReserveNode.test_no_nodes [0.005011s] ... ok 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.2.0/metalsmith/_provisioner.py", line 166, in _reserve_node allocation) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _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.2.0/metalsmith/_provisioner.py", line 170, in _reserve_node 'Failed to reserve a node: %s' % exc) metalsmith.exceptions.ReservationFailed: Failed to reserve a node: boom {10} metalsmith.test.test_provisioner.TestUnprovisionNode.test_ok [0.005347s] ... ok {30} metalsmith.test.test_cmd.TestDeploy.test_args_no_nics [0.131194s] ... ok {24} metalsmith.test.test_cmd.TestDeploy.test_args_http_partition_image [0.117573s] ... ok [2020-10-22 07:29:46,488] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 132, in _get_network nic['network'], ignore_missing=False) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _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.2.0/metalsmith/_provisioner.py", line 392, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 60, in validate result.append(('network', self._get_network(nic))) File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 136, in _get_network {'net': nic['network'], 'error': exc}) metalsmith.exceptions.InvalidNIC: Cannot find network network: Not found {24} metalsmith.test.test_provisioner.TestGetFindNode.test__get_node_with_node [0.001724s] ... ok {24} metalsmith.test.test_provisioner.TestProvisionNode.test_no_local_gb [0.005968s] ... ok {24} metalsmith.test.test_provisioner.TestProvisionNode.test_with_swap_size [0.006174s] ... ok {24} metalsmith.test.test_provisioner.TestShowInstance.test_show_instance_with_allocation [0.001671s] ... ok {24} metalsmith.test.test_sources.TestDetect.test_http_partition_inconsistency [0.000347s] ... ok [2020-10-22 07:29:46,500] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 159, in _get_subnet nic['subnet'], ignore_missing=False) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _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.2.0/metalsmith/_provisioner.py", line 392, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 62, in validate result.append(('subnet', self._get_subnet(nic))) File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 163, in _get_subnet {'sub': nic['subnet'], 'error': exc}) metalsmith.exceptions.InvalidNIC: Cannot find subnet subnet: Not found {29} metalsmith.test.test_cmd.TestDeploy.test_args_http_image_without_checksum [0.144384s] ... ok {11} metalsmith.test.test_cmd.TestDeploy.test_args_debug [0.178258s] ... ok {28} metalsmith.test.test_cmd.TestDeploy.test_args_user_name [0.113179s] ... ok {12} metalsmith.test.test_cmd.TestShowWait.test_list_table_empty [0.144869s] ... ok {12} metalsmith.test.test_provisioner.TestProvisionNode.test_deploy_failure_no_cleanup [0.010782s] ... ok {12} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_http_source [0.007037s] ... ok {12} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_root_size_gb [0.010426s] ... ok {12} metalsmith.test.test_provisioner.TestProvisionNode.test_with_file_partition [0.009635s] ... ok {12} metalsmith.test.test_provisioner.TestProvisionNode.test_with_wait [0.012076s] ... ok {23} metalsmith.test.test_cmd.TestDeploy.test_args_file_whole_disk_image [0.144632s] ... ok {23} metalsmith.test.test_instance_config.TestGenericConfig.test_name_as_hostname [0.000398s] ... ok {23} metalsmith.test.test_provisioner.TestProvisionNode.test_existing_hostname_match [0.010625s] ... ok {23} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_nics [0.008306s] ... ok {23} metalsmith.test.test_provisioner.TestProvisionNode.test_override_existing_traits [0.009825s] ... ok {23} metalsmith.test.test_sources.TestDetect.test_https_whole_disk [0.000367s] ... ok Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/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.2.0/metalsmith/_provisioner.py", line 388, in provision_node root_size_gb = _utils.get_root_disk(root_size_gb, node) File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_utils.py", line 66, in get_root_disk 'value': node.properties['local_gb']}) metalsmith.exceptions.UnknownRootDiskSize: The local_gb for node control-0 (UUID 000) is invalid: expected positive integer, got None Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/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.2.0/metalsmith/_provisioner.py", line 388, in provision_node root_size_gb = _utils.get_root_disk(root_size_gb, node) File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_utils.py", line 66, in get_root_disk 'value': node.properties['local_gb']}) metalsmith.exceptions.UnknownRootDiskSize: The local_gb for node control-0 (UUID 000) is invalid: expected positive integer, got meow Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/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.2.0/metalsmith/_provisioner.py", line 388, in provision_node root_size_gb = _utils.get_root_disk(root_size_gb, node) File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_utils.py", line 66, in get_root_disk 'value': node.properties['local_gb']}) metalsmith.exceptions.UnknownRootDiskSize: The local_gb for node control-0 (UUID 000) is invalid: expected positive integer, got -42 Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/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.2.0/metalsmith/_provisioner.py", line 388, in provision_node root_size_gb = _utils.get_root_disk(root_size_gb, node) File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_utils.py", line 66, in get_root_disk 'value': node.properties['local_gb']}) metalsmith.exceptions.UnknownRootDiskSize: The local_gb for node control-0 (UUID 000) is invalid: expected positive integer, got [] {17} metalsmith.test.test_cmd.TestDeploy.test_no_clean_up [0.150529s] ... ok {1} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_nic [0.007790s] ... ok {1} metalsmith.test.test_sources.TestDetect.test_https_partition_disk [0.000229s] ... ok {13} metalsmith.test.test_cmd.TestDeploy.test_deploy_failure [0.145616s] ... ok {13} metalsmith.test.test_instance.TestInstanceStates.test_state_error [0.005131s] ... ok {13} metalsmith.test.test_provisioner.TestGetFindNode.test__find_node_and_allocation_by_hostname_bad_allocation [0.002491s] ... ok {13} metalsmith.test.test_provisioner.TestProvisionNode.test_port_creation_failure [0.011935s] ... ok [2020-10-22 07:29:46,535] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_provisioner.py", line 435, in provision_node node, 'active', config_drive=cd) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect RuntimeError: boom [2020-10-22 07:29:46,538] Failed to delete neutron port : {13} metalsmith.test.test_provisioner.TestReserveNode.test_allocation_failed_clean_up_failed [0.008044s] ... ok {25} metalsmith.test.test_cmd.TestDeploy.test_no_ips [0.145697s] ... ok Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_provisioner.py", line 402, in provision_node nics.create_and_attach_ports() File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 86, in create_and_attach_ports port.id) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect RuntimeError: boom {25} metalsmith.test.test_provisioner.TestProvisionNode.test_ok_with_source [0.009950s] ... ok {25} metalsmith.test.test_provisioner.TestProvisionNode.test_with_capabilities [0.007978s] ... ok {25} metalsmith.test.test_provisioner.TestProvisionNode.test_with_http_and_checksum_whole_disk [0.007809s] ... ok {25} metalsmith.test.test_provisioner.TestReserveNode.test_nodes_filtered [0.007720s] ... ok {25} metalsmith.test.test_provisioner.TestReserveNode.test_nodes_filtered_by_conductor_group [0.006258s] ... ok [2020-10-22 07:29:46,550] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/sources.py", line 133, in _validate checksums = _utils.parse_checksums(checksums) File "/builddir/build/BUILD/metalsmith-1.2.0/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.2.0/metalsmith/_provisioner.py", line 390, in provision_node image._validate(self.connection, root_size_gb) File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/sources.py", line 137, in _validate {'url': self.checksum_url, 'err': exc}) metalsmith.exceptions.InvalidImage: Invalid checksum file https://host/checksums: not enough values to unpack (expected 2, got 1) {30} metalsmith.test.test_cmd.TestShowWait.test_list_json [0.125489s] ... ok {30} metalsmith.test.test_metalsmith_instances.TestMetalsmithInstances.test_get_source [0.002454s] ... ok {11} metalsmith.test.test_cmd.TestDeploy.test_args_http_image_with_checksum_url [0.135596s] ... ok {9} metalsmith.test.test_cmd.TestDeploy.test_args_traits [0.145083s] ... ok {27} metalsmith.test.test_cmd.TestDeploy.test_args_conductor_group [0.155374s] ... ok {30} metalsmith.test.test_provisioner.TestProvisionNode.test_duplicate_hostname [0.008376s] ... ok {30} metalsmith.test.test_sources.TestDetect.test_glance_partition [0.000842s] ... ok {30} metalsmith.test.test_utils.TestIsHostnameSafe.test_not_none [0.000188s] ... ok {19} metalsmith.test.test_cmd.TestDeploy.test_args_configdrive [0.147397s] ... ok {7} metalsmith.test.test_cmd.TestDeploy.test_args_user_name_with_sudo [0.146055s] ... ok Malformed capabilities on node (UUID ): foo,profile:control Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_scheduler.py", line 124, in __call__ caps = _utils.get_capabilities(node) File "/builddir/build/BUILD/metalsmith-1.2.0/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 {19} metalsmith.test.test_cmd.TestDeploy.test_args_verbose_2 [0.163468s] ... ok Malformed capabilities on node (UUID ): 42 Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_scheduler.py", line 124, in __call__ caps = _utils.get_capabilities(node) File "/builddir/build/BUILD/metalsmith-1.2.0/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' {20} metalsmith.test.test_provisioner.TestInit.test_both_provided [0.000665s] ... ok {20} metalsmith.test.test_provisioner.TestProvisionNode.test_detach_failed_after_deploy_failure [0.013276s] ... ok {20} metalsmith.test.test_provisioner.TestProvisionNode.test_update_failed_after_deploy_failure [0.010676s] ... ok {20} metalsmith.test.test_provisioner.TestProvisionNode.test_whole_disk [0.009455s] ... ok {0} metalsmith.test.test_cmd.TestDeploy.test_args_capabilities [0.148514s] ... ok {0} metalsmith.test.test_instance_config.TestCloudInitConfig.test_custom_user_data [0.000458s] ... ok {0} metalsmith.test.test_instance_config.TestCloudInitConfig.test_custom_user_data_with_users [0.000412s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_args_networks_and_ports [0.145362s] ... ok {20} metalsmith.test.test_provisioner.TestReserveNode.test_allocation_failed [0.005908s] ... ok {16} metalsmith.test.test_cmd.TestShowWait.test_list_sort [0.113900s] ... ok {0} metalsmith.test.test_provisioner.TestGetFindNode.test__get_node_with_instance [0.002478s] ... ok {0} metalsmith.test.test_provisioner.TestReserveNode.test_create_allocation_failed [0.004901s] ... ok {35} metalsmith.test.test_cmd.TestUndeploy.test_dry_run [0.142673s] ... ok {0} metalsmith.test.test_sources.TestDetect.test_checksum_required [0.000462s] ... ok {28} metalsmith.test.test_cmd.TestUndeploy.test_quiet [0.111277s] ... ok {35} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_network [0.011588s] ... ok {20} metalsmith.test.test_scheduler.TestRunFilters.test_one_node_filtered [0.018704s] ... ok {35} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_subnet [0.008845s] ... ok {35} metalsmith.test.test_scheduler.TestCapabilitiesFilter.test_not_matching_node [0.000646s] ... ok {28} metalsmith.test.test_provisioner.TestProvisionNode.test_existing_hostname [0.006681s] ... ok {28} metalsmith.test.test_provisioner.TestProvisionNode.test_wait_failure [0.005672s] ... ok {9} metalsmith.test.test_cmd.TestDeploy.test_invalid_hostname [0.131091s] ... ok {28} metalsmith.test.test_provisioner.TestReserveNode.test_custom_predicate [0.004195s] ... ok {35} metalsmith.test.test_sources.TestDetect.test_glance_invalid_arguments [0.000482s] ... ok {35} metalsmith.test.test_utils.TestIsHostnameSafe.test_invalid [0.000268s] ... ok {3} metalsmith.test.test_cmd.TestDeploy.test_args_http_image_with_checksum [0.146504s] ... ok {28} metalsmith.test.test_provisioner.TestReserveNode.test_node_update_failed [0.003934s] ... ok {5} metalsmith.test.test_cmd.TestDeploy.test_args_default_format [0.153352s] ... ok {29} metalsmith.test.test_cmd.TestShowWait.test_list_table [0.132550s] ... ok {5} metalsmith.test.test_instance_config.TestCloudInitConfig.test_default [0.000390s] ... ok {17} metalsmith.test.test_cmd.TestShowWait.test_show [0.134830s] ... ok {7} metalsmith.test.test_cmd.TestDeploy.test_args_with_candidates [0.131215s] ... ok {7} metalsmith.test.test_instance_config.TestGenericConfig.test_default [0.000405s] ... ok {5} metalsmith.test.test_provisioner.TestGetFindNode.test__find_node_and_allocation_by_node [0.002390s] ... ok {5} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_local_gb [0.012290s] ... ok {7} metalsmith.test.test_provisioner.TestGetFindNode.test__find_node_and_allocation_by_node_id [0.002860s] ... ok {7} metalsmith.test.test_provisioner.TestProvisionNode.test_old_style_reservation_with_override [0.007632s] ... ok {7} metalsmith.test.test_sources.TestDetect.test_http_whole_disk [0.000324s] ... ok {21} metalsmith.test.test_cmd.TestDeploy.test_args_bad_ip [0.144938s] ... ok {27} metalsmith.test.test_cmd.TestUndeploy.test_ok [0.110253s] ... ok {29} metalsmith.test.test_provisioner.TestProvisionNode.test_failure_during_port_deletion [0.014162s] ... ok {5} metalsmith.test.test_provisioner.TestProvisionNode.test_port_attach_failure [0.013371s] ... ok {5} metalsmith.test.test_provisioner.TestShowInstance.test_show_instance [0.002615s] ... ok {27} metalsmith.test.test_metalsmith_instances.TestMetalsmithInstances.test_provision [0.013433s] ... ok {29} metalsmith.test.test_provisioner.TestProvisionNode.test_malformed_checksum_with_http_image [0.011899s] ... ok {19} metalsmith.test.test_cmd.TestDeploy.test_no_logs_not_deployed [0.137726s] ... ok {38} metalsmith.test.test_provisioner.TestProvisionNode.test_existing_hostname_mismatch [0.007620s] ... ok {27} metalsmith.test.test_provisioner.TestProvisionNode.test_unreserved [0.009872s] ... ok {19} metalsmith.test.test_provisioner.TestGetFindNode.test__get_node_with_node_refresh [0.002915s] ... ok {38} metalsmith.test.test_provisioner.TestProvisionNode.test_with_existing_capabilities [0.009232s] ... ok {27} metalsmith.test.test_scheduler.TestCapabilitiesFilter.test_nothing_requested_nothing_found [0.000209s] ... ok {19} metalsmith.test.test_provisioner.TestGetFindNode.test__get_node_with_string [0.002156s] ... ok {27} metalsmith.test.test_scheduler.TestRunFilters.test_all_nodes_filtered [0.002315s] ... ok {32} metalsmith.test.test_instance_config.TestCloudInitConfig.test_add_user [0.000637s] ... ok {29} metalsmith.test.test_provisioner.TestProvisionNode.test_with_http_and_checksum_url [0.012005s] ... ok {19} metalsmith.test.test_sources.TestDetect.test_https_partition_disk_checksum [0.000246s] ... ok {38} metalsmith.test.test_provisioner.TestReserveNode.test_simple_ok [0.005833s] ... ok {11} metalsmith.test.test_cmd.TestShowWait.test_wait_custom_timeout [0.132440s] ... ok {29} metalsmith.test.test_sources.TestDetect.test_glance_partition_missing_root [0.000764s] ... ok {38} metalsmith.test.test_scheduler.TestCapabilitiesFilter.test_malformed_capabilities [0.002973s] ... ok {11} metalsmith.test.test_instance.TestInstanceStates.test_state_maintenance [0.003059s] ... ok {11} metalsmith.test.test_metalsmith_instances.TestMetalsmithInstances.test_reserve [0.000864s] ... ok {38} metalsmith.test.test_sources.TestDetect.test_glance_whole_disk [0.000727s] ... ok {32} metalsmith.test.test_provisioner.TestReserveNode.test_custom_predicate_false [0.006270s] ... ok {11} metalsmith.test.test_sources.TestDetect.test_file_partition_inconsistency [0.000350s] ... ok {14} metalsmith.test.test_cmd.TestDeploy.test_args_json_format [0.164792s] ... ok {14} metalsmith.test.test_instance_config.TestCloudInitConfig.test_user_data_not_dict [0.000383s] ... ok {32} metalsmith.test.test_provisioner.TestShowInstance.test_show_instance_invalid_state [0.002767s] ... ok {16} metalsmith.test.test_cmd.TestShowWait.test_list_two_columns [0.092472s] ... ok {32} metalsmith.test.test_provisioner.TestUnprovisionNode.test_without_allocation [0.005726s] ... ok {8} metalsmith.test.test_cmd.TestDeploy.test_args_verbose_3 [0.178308s] ... ok [2020-10-22 07:29:46,617] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 166, in _get_subnet network = self._connection.network.get_network(subnet.network_id) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _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.2.0/metalsmith/_provisioner.py", line 392, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 62, in validate result.append(('subnet', self._get_subnet(nic))) File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 170, in _get_subnet {'net': subnet.network_id, 'sub': nic['subnet'], 'error': exc}) metalsmith.exceptions.InvalidNIC: Cannot find network for subnet subnet: Not found {16} metalsmith.test.test_provisioner.TestListInstances.test_list [0.005392s] ... ok {14} metalsmith.test.test_provisioner.TestProvisionNode.test_with_config [0.009914s] ... ok {32} metalsmith.test.test_provisioner.TestWaitForProvisioning.test_success [0.005477s] ... ok {32} metalsmith.test.test_utils.TestIsHostnameSafe.test_valid [0.000251s] ... ok {8} metalsmith.test.test_instance.TestInstanceStates.test_state_deploying_when_available [0.005048s] ... ok {8} metalsmith.test.test_instance_config.TestCloudInitConfig.test_ssh_keys_as_dict [0.000405s] ... ok {16} metalsmith.test.test_provisioner.TestProvisionNode.test_override_existing_capabilities [0.006794s] ... ok {14} metalsmith.test.test_provisioner.TestReserveNode.test_provided_nodes [0.007390s] ... ok {8} metalsmith.test.test_provisioner.TestGetFindNode.test__find_node_and_allocation_by_hostname_node_in_allocation [0.002834s] ... ok {14} metalsmith.test.test_provisioner.TestReserveNode.test_with_hostname [0.004418s] ... ok {16} metalsmith.test.test_provisioner.TestProvisionNode.test_with_root_size [0.006831s] ... ok {16} metalsmith.test.test_scheduler.TestCapabilitiesFilter.test_fail_message [0.000963s] ... ok {14} metalsmith.test.test_provisioner.TestUnprovisionNode.test_with_wait [0.003167s] ... ok {8} metalsmith.test.test_provisioner.TestProvisionNode.test_with_file_whole_disk [0.011175s] ... ok {8} metalsmith.test.test_provisioner.TestUnprovisionNode.test_with_wait_failed [0.005748s] ... ok {31} metalsmith.test.test_cmd.TestDeploy.test_args_subnet [0.133506s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_args_ok [0.160960s] ... ok {3} metalsmith.test.test_cmd.TestShowWait.test_show_json [0.115955s] ... ok [2020-10-22 07:29:46,637] Processing allocation (UUID ) for node 000 failed: boom; deleting allocation Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_provisioner.py", line 178, in _reserve_node capabilities) File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_provisioner.py", line 200, in _patch_reserved_node return self.connection.baremetal.patch_node(node, patch) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect RuntimeError: boom {31} metalsmith.test.test_provisioner.TestGetFindNode.test__find_node_and_allocation_by_node_not_found [0.001790s] ... ok {3} metalsmith.test.test_instance.TestInstanceStates.test_to_dict_with_allocation [0.004068s] ... ok {3} metalsmith.test.test_instance_config.TestCloudInitConfig.test_add_user_sudo [0.000327s] ... ok {31} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_network_of_subnet [0.006922s] ... ok {9} metalsmith.test.test_cmd.TestShowWait.test_list [0.123919s] ... ok {9} metalsmith.test.test_provisioner.TestInit.test_missing_auth [0.000439s] ... ok {3} metalsmith.test.test_provisioner.TestProvisionNode.test_node_in_maintenance [0.004323s] ... ok {3} metalsmith.test.test_provisioner.TestReserveNode.test_provided_nodes_no_match [0.002994s] ... ok {31} metalsmith.test.test_provisioner.TestProvisionNode.test_ok [0.005460s] ... ok {9} metalsmith.test.test_provisioner.TestReserveNode.test_provided_node_not_found [0.004840s] ... ok {31} metalsmith.test.test_provisioner.TestProvisionNode.test_with_http_and_checksum_partition [0.005325s] ... ok {9} metalsmith.test.test_sources.TestDetect.test_http_partition_disk_missing_root [0.000310s] ... ok {39} metalsmith.test.test_cmd.TestDeploy.test_args_file_partition_disk_image [0.149230s] ... ok {31} metalsmith.test.test_provisioner.TestReserveNode.test_node_update_unexpected_exception [0.005882s] ... ok {17} metalsmith.test.test_cmd.TestShowWait.test_wait [0.125786s] ... ok {17} metalsmith.test.test_instance_config.TestCloudInitConfig.test_ssh_keys [0.000378s] ... ok {37} metalsmith.test.test_cmd.TestDeploy.test_args_no_wait [0.110707s] ... ok {17} metalsmith.test.test_provisioner.TestGetFindNode.test__find_node_and_allocation_by_hostname [0.002917s] ... ok {17} metalsmith.test.test_sources.TestDetect.test_file_partition_disk_missing_root [0.000493s] ... ok {21} metalsmith.test.test_cmd.TestShowWait.test_list_empty [0.133781s] ... ok {34} metalsmith.test.test_cmd.TestDeploy.test_args_dry_run [0.124202s] ... ok {34} metalsmith.test.test_instance_config.TestGenericConfig.test_ssh_keys_as_dict [0.000247s] ... ok {34} metalsmith.test.test_provisioner.TestGetFindNode.test__get_node_with_instance_refresh [0.001805s] ... ok {33} metalsmith.test.test_cmd.TestDeploy.test_args_custom_wait [0.083076s] ... 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 [2020-10-22 07:29:46,678] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/sources.py", line 125, in _validate response.raise_for_status() File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _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.2.0/metalsmith/_provisioner.py", line 390, in provision_node image._validate(self.connection, root_size_gb) File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/sources.py", line 130, in _validate {'url': self.checksum_url, 'err': exc}) metalsmith.exceptions.InvalidImage: Cannot download checksum file https://host/checksums: boom {21} metalsmith.test.test_provisioner.TestProvisionNode.test_cannot_download_checksum_with_http_image [0.013923s] ... ok {21} metalsmith.test.test_provisioner.TestProvisionNode.test_with_ip [0.009702s] ... ok {21} metalsmith.test.test_provisioner.TestProvisionNode.test_with_subnet [0.009841s] ... ok {2} metalsmith.test.test_cmd.TestDeploy.test_args_port [0.095051s] ... ok {21} metalsmith.test.test_provisioner.TestProvisionNode.test_with_traits [0.005993s] ... ok {22} metalsmith.test.test_cmd.TestDeploy.test_args_file_image_with_incorrect_kernel [0.131371s] ... ok {39} metalsmith.test.test_cmd.TestDeploy.test_args_quiet [0.091601s] ... ok {37} metalsmith.test.test_cmd.TestShowWait.test_list_one_column [0.081617s] ... ok {39} metalsmith.test.test_instance.TestInstanceIPAddresses.test_ip_addresses [0.003436s] ... ok {37} metalsmith.test.test_provisioner.TestReserveNode.test_with_traits [0.003330s] ... ok {37} metalsmith.test.test_provisioner.TestWaitForProvisioning.test_exceptions [0.002769s] ... ok {37} metalsmith.test.test_sources.TestDetect.test_file_whole_disk [0.000187s] ... ok {39} metalsmith.test.test_provisioner.TestProvisionNode.test_unreserved_with_hostname [0.005909s] ... ok {39} metalsmith.test.test_scheduler.TestRunFilters.test_all_filters_pass [0.002000s] ... ok {33} metalsmith.test.test_cmd.TestDeploy.test_args_hostname [0.077256s] ... ok {33} metalsmith.test.test_instance.TestInstanceStates.test_state_active [0.002817s] ... ok {33} metalsmith.test.test_provisioner.TestProvisionNode.test_node_with_external_instance_id [0.003922s] ... ok [2020-10-22 07:29:46,767] Dry run, not unprovisioning {33} metalsmith.test.test_provisioner.TestUnprovisionNode.test_dry_run [0.002574s] ... ok {33} metalsmith.test.test_sources.TestDetect.test_file_partition_disk [0.000177s] ... ok {36} metalsmith.test.test_cmd.TestDeploy.test_with_swap_size [0.092780s] ... ok {36} metalsmith.test.test_instance.TestInstanceIPAddresses.test_missing_ip [0.003429s] ... ok {36} metalsmith.test.test_instance_config.TestCloudInitConfig.test_name_as_hostname [0.000228s] ... ok {2} metalsmith.test.test_cmd.TestUndeploy.test_json [0.071530s] ... ok {36} metalsmith.test.test_provisioner.TestProvisionNode.test_unreserved_without_resource_class [0.004176s] ... ok {36} metalsmith.test.test_scheduler.TestCapabilitiesFilter.test_matching_node [0.000366s] ... ok {2} metalsmith.test.test_instance.TestInstanceStates.test_state_unknown [0.002894s] ... ok {2} metalsmith.test.test_instance_config.TestGenericConfig.test_explicit_hostname [0.000186s] ... ok {22} metalsmith.test.test_cmd.TestDeploy.test_args_verbose_1 [0.087368s] ... ok {22} metalsmith.test.test_cmd.TestDeploy.test_not_deployed_no_ips [0.063670s] ... ok {22} metalsmith.test.test_instance.TestInstanceStates.test_state_deploying [0.002458s] ... ok [2020-10-22 07:29:46,871] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/sources.py", line 61, in _validate ignore_missing=False) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _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.2.0/metalsmith/_provisioner.py", line 390, in provision_node image._validate(self.connection, root_size_gb) File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/sources.py", line 65, in _validate {'image': self.image, 'error': exc}) metalsmith.exceptions.InvalidImage: Cannot find image image: Not found {22} metalsmith.test.test_provisioner.TestProvisionNode.test_missing_image [0.004910s] ... ok {22} metalsmith.test.test_sources.TestDetect.test_http_partition_disk [0.000183s] ... ok {15} metalsmith.test.test_provisioner.TestInit.test_cloud_region_only [0.814163s] ... ok Dry run, not provisioning node control-0 (UUID 000) {15} metalsmith.test.test_provisioner.TestProvisionNode.test_dry_run [0.005679s] ... ok Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/sources.py", line 141, 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.2.0/metalsmith/_provisioner.py", line 390, in provision_node image._validate(self.connection, root_size_gb) File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/sources.py", line 145, in _validate {'fname': fname, 'url': self.checksum_url}) metalsmith.exceptions.InvalidImage: There is no image checksum for image in https://host/checksums {15} metalsmith.test.test_provisioner.TestProvisionNode.test_no_checksum_with_http_image [0.005694s] ... ok Dry run, not provisioning node control-0 (UUID 000) {15} metalsmith.test.test_provisioner.TestProvisionNode.test_unreserve_dry_run [0.003828s] ... ok {15} metalsmith.test.test_provisioner.TestUnprovisionNode.test_with_attached [0.002609s] ... ok {34} metalsmith.test.test_provisioner.TestInit.test_session_only [0.539514s] ... ok [2020-10-22 07:29:47,215] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_provisioner.py", line 392, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 66, in validate '"network", got %s' % nic) metalsmith.exceptions.InvalidNIC: Unknown NIC record type, export "port", "subnet" or "network", got {'foo': 'bar'} {34} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_nic_type [0.005736s] ... ok [2020-10-22 07:29:47,220] Deploy attempt failed on node control-0 (UUID 000), cleaning up Traceback (most recent call last): File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 110, in _get_port nic['port'], ignore_missing=False) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _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.2.0/metalsmith/_provisioner.py", line 392, in provision_node nics.validate() File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 58, in validate result.append(('port', self._get_port(nic))) File "/builddir/build/BUILD/metalsmith-1.2.0/metalsmith/_nics.py", line 114, in _get_port {'port': nic['port'], 'error': exc}) metalsmith.exceptions.InvalidNIC: Cannot find port port1: Not found {34} metalsmith.test.test_provisioner.TestProvisionNode.test_invalid_port [0.004274s] ... ok ====== Totals ====== Ran: 236 tests in 1.2647 sec. - Passed: 236 - Skipped: 0 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 10.0114 sec. ============== Worker Balance ============== - Worker 0 (6 tests) => 0:00:00.160603 - Worker 1 (6 tests) => 0:00:00.303213 - Worker 2 (6 tests) => 0:00:00.477571 - Worker 3 (6 tests) => 0:00:00.276433 - Worker 4 (6 tests) => 0:00:00.186836 - Worker 5 (6 tests) => 0:00:00.187632 - Worker 6 (6 tests) => 0:00:00.172324 - Worker 7 (6 tests) => 0:00:00.291874 - Worker 8 (6 tests) => 0:00:00.206669 - Worker 9 (6 tests) => 0:00:00.408972 - Worker 10 (6 tests) => 0:00:00.170070 - Worker 11 (6 tests) => 0:00:00.453170 - Worker 12 (6 tests) => 0:00:00.197537 - Worker 13 (6 tests) => 0:00:00.319995 - Worker 14 (6 tests) => 0:00:00.192937 - Worker 15 (6 tests) => 0:00:00.838923 - Worker 16 (6 tests) => 0:00:00.228864 - Worker 17 (6 tests) => 0:00:00.418265 - Worker 18 (6 tests) => 0:00:00.040648 - Worker 19 (6 tests) => 0:00:00.457659 - Worker 20 (6 tests) => 0:00:00.060991 - Worker 21 (6 tests) => 0:00:00.321494 - Worker 22 (6 tests) => 0:00:00.291904 - Worker 23 (6 tests) => 0:00:00.178015 - Worker 24 (6 tests) => 0:00:00.135579 - Worker 25 (6 tests) => 0:00:00.188463 - Worker 26 (6 tests) => 0:00:00.033296 - Worker 27 (6 tests) => 0:00:00.294375 - Worker 28 (6 tests) => 0:00:00.247331 - Worker 29 (6 tests) => 0:00:00.319657 - Worker 30 (6 tests) => 0:00:00.272329 - Worker 31 (6 tests) => 0:00:00.160839 - Worker 32 (6 tests) => 0:00:00.024317 - Worker 33 (6 tests) => 0:00:00.171869 - Worker 34 (6 tests) => 0:00:00.677319 - Worker 35 (6 tests) => 0:00:00.167621 - Worker 36 (5 tests) => 0:00:00.102641 - Worker 37 (5 tests) => 0:00:00.200560 - Worker 38 (5 tests) => 0:00:00.028622 - Worker 39 (5 tests) => 0:00:00.254221 + exit 0 Processing files: python3-metalsmith-1.2.0-2.el8.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.QVGstE + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.2.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/licenses/python3-metalsmith + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/licenses/python3-metalsmith + cp -pr LICENSE /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/licenses/python3-metalsmith + exit 0 Provides: python3-metalsmith = 1.2.0-2.el8 python3.6dist(metalsmith) = 1.2.0 python3dist(metalsmith) = 1.2.0 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.6 Obsoletes: python2-metalsmith < 1.2.0-2.el8 Processing files: python3-metalsmith-tests-1.2.0-2.el8.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HY6sJi + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.2.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/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.2.0-2.el8.noarch/usr/share/licenses/python3-metalsmith-tests + cp -pr LICENSE /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/licenses/python3-metalsmith-tests + exit 0 Provides: python3-metalsmith-tests = 1.2.0-2.el8 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.6 Processing files: python-metalsmith-doc-1.2.0-2.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.0DqxVZ + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.2.0 + DOCDIR=/builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/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.2.0-2.el8.noarch/usr/share/doc/python-metalsmith-doc + cp -pr doc/build/html /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/doc/python-metalsmith-doc + cp -pr README.rst /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/doc/python-metalsmith-doc + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.xQu39G + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.2.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/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.2.0-2.el8.noarch/usr/share/licenses/python-metalsmith-doc + cp -pr LICENSE /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/licenses/python-metalsmith-doc + exit 0 Provides: python-metalsmith-doc = 1.2.0-2.el8 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.2.0-2.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TGJi2o + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.2.0 + DOCDIR=/builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/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.2.0-2.el8.noarch/usr/share/doc/ansible-role-metalsmith-deployment + cp -pr README.rst /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/doc/ansible-role-metalsmith-deployment + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.sYXPV6 + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.2.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/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.2.0-2.el8.noarch/usr/share/licenses/ansible-role-metalsmith-deployment + cp -pr LICENSE /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch/usr/share/licenses/ansible-role-metalsmith-deployment + exit 0 Provides: ansible-role-metalsmith-deployment = 1.2.0-2.el8 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.2.0-2.el8.noarch Wrote: /builddir/build/RPMS/python3-metalsmith-1.2.0-2.el8.noarch.rpm Wrote: /builddir/build/RPMS/python3-metalsmith-tests-1.2.0-2.el8.noarch.rpm Wrote: /builddir/build/RPMS/python-metalsmith-doc-1.2.0-2.el8.noarch.rpm Wrote: /builddir/build/RPMS/ansible-role-metalsmith-deployment-1.2.0-2.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dW84JQ + umask 022 + cd /builddir/build/BUILD + cd metalsmith-1.2.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-metalsmith-1.2.0-2.el8.noarch + exit 0 Child return code was: 0