Mock Version: 2.10 Mock Version: 2.10 Mock Version: 2.10 Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-networking-ansible.spec'], chrootPath='/var/lib/mock/dlrn-centos9-master-uc-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=1026gid=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-networking-ansible.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-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.src.rpm Child return code was: 0 Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-networking-ansible.spec'], chrootPath='/var/lib/mock/dlrn-centos9-master-uc-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=1026gid=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-networking-ansible.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-networking-ansible-5.0.1-0.20211101130415.b82d349.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-networking-ansible.spec'], chrootPath='/var/lib/mock/dlrn-centos9-master-uc-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=1026gid=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-networking-ansible.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.bOTWoM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf networking-ansible-5.0.1.dev13 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/networking-ansible-5.0.1.dev13-0.20211101130415.b82d349.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd networking-ansible-5.0.1.dev13 + /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-networking-ansible-5.0.1 base' + sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg + rm -rf requirements.txt test-requirements.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yFAlgh + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + 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' /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( running build running build_py creating build creating build/lib creating build/lib/networking_ansible creating build/lib/networking_ansible/tests copying networking_ansible/tests/__init__.py -> build/lib/networking_ansible/tests creating build/lib/networking_ansible/tests/unit copying networking_ansible/tests/unit/test_config.py -> build/lib/networking_ansible/tests/unit copying networking_ansible/tests/unit/base.py -> build/lib/networking_ansible/tests/unit copying networking_ansible/tests/unit/__init__.py -> build/lib/networking_ansible/tests/unit creating build/lib/networking_ansible/ml2 copying networking_ansible/ml2/trunk_driver.py -> build/lib/networking_ansible/ml2 copying networking_ansible/ml2/mech_driver.py -> build/lib/networking_ansible/ml2 copying networking_ansible/ml2/__init__.py -> build/lib/networking_ansible/ml2 creating build/lib/networking_ansible/tests/unit/ml2 copying networking_ansible/tests/unit/ml2/test_trunk_driver.py -> build/lib/networking_ansible/tests/unit/ml2 copying networking_ansible/tests/unit/ml2/test_mech_driver.py -> build/lib/networking_ansible/tests/unit/ml2 copying networking_ansible/tests/unit/ml2/__init__.py -> build/lib/networking_ansible/tests/unit/ml2 copying networking_ansible/exceptions.py -> build/lib/networking_ansible copying networking_ansible/constants.py -> build/lib/networking_ansible copying networking_ansible/config.py -> build/lib/networking_ansible copying networking_ansible/__init__.py -> build/lib/networking_ansible running egg_info writing networking_ansible.egg-info/PKG-INFO writing dependency_links to networking_ansible.egg-info/dependency_links.txt writing entry points to networking_ansible.egg-info/entry_points.txt deleting networking_ansible.egg-info/requires.txt writing top-level names to networking_ansible.egg-info/top_level.txt writing pbr to networking_ansible.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 'networking_ansible.egg-info/SOURCES.txt' + /usr/bin/python3 setup.py build_sphinx -b html /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( running build_sphinx [pbr] Writing ChangeLog [pbr] Generating ChangeLog [pbr] ChangeLog complete (0.1s) [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.1s) 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 (networking-ansible) with name extracted from the package (networking-ansible); you can disable this behavior with the 'openstackdocs_auto_name' option [openstackdocstheme] using theme from /usr/lib/python3.9/site-packages/openstackdocstheme/theme [openstackdocstheme] no /builddir/build/BUILD/networking-ansible-5.0.1.dev13/.gitreview found building [mo]: all of 0 po files building [html]: all source files updating environment: [new config] 19 added, 0 changed, 0 removed reading sources... [ 5%] contributor/contributing reading sources... [ 10%] contributor/coordination reading sources... [ 15%] contributor/index reading sources... [ 21%] contributor/provider reading sources... [ 26%] index reading sources... [ 31%] install/configure reading sources... [ 36%] install/index reading sources... [ 42%] install/install reading sources... [ 47%] install/install-obs reading sources... [ 52%] install/install-pip reading sources... [ 57%] install/install-rdo reading sources... [ 63%] install/install-ubuntu reading sources... [ 68%] install/next-steps reading sources... [ 73%] install/prerequisites reading sources... [ 78%] install/verify reading sources... [ 84%] readme reading sources... [ 89%] reference/index reading sources... [ 94%] user/index reading sources... [100%] user/ironic looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 5%] contributor/contributing [openstackdocstheme] the 'repository_name' config option has been deprecated and replaced by the 'openstackdocs_repo_name' option; support for the former will be dropped in a future release [openstackdocstheme] the 'bug_project' config option has been deprecated and replaced by the 'openstackdocs_bug_project' option; support for the former will be dropped in a future release [openstackdocstheme] the 'bug_tag' config option has been deprecated and replaced by the 'openstackdocs_bug_tag' option; support for the former will be dropped in a future release writing output... [ 10%] contributor/coordination writing output... [ 15%] contributor/index writing output... [ 21%] contributor/provider writing output... [ 26%] index writing output... [ 31%] install/configure writing output... [ 36%] install/index writing output... [ 42%] install/install writing output... [ 47%] install/install-obs writing output... [ 52%] install/install-pip writing output... [ 57%] install/install-rdo writing output... [ 63%] install/install-ubuntu writing output... [ 68%] install/next-steps writing output... [ 73%] install/prerequisites writing output... [ 78%] install/verify writing output... [ 84%] readme writing output... [ 89%] reference/index writing output... [ 94%] user/index writing output... [100%] user/ironic generating indices... genindex 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. 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.anH4CK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64 + cd networking-ansible-5.0.1.dev13 + 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-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64 /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( running install [pbr] Writing ChangeLog [pbr] Generating ChangeLog [pbr] ChangeLog complete (0.0s) [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.1s) running install_lib creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible copying build/lib/networking_ansible/__init__.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible copying build/lib/networking_ansible/config.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible copying build/lib/networking_ansible/constants.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible copying build/lib/networking_ansible/exceptions.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/ml2 copying build/lib/networking_ansible/ml2/__init__.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/ml2 copying build/lib/networking_ansible/ml2/mech_driver.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/ml2 copying build/lib/networking_ansible/ml2/trunk_driver.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/ml2 creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests/unit creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests/unit/ml2 copying build/lib/networking_ansible/tests/unit/ml2/__init__.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests/unit/ml2 copying build/lib/networking_ansible/tests/unit/ml2/test_mech_driver.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests/unit/ml2 copying build/lib/networking_ansible/tests/unit/ml2/test_trunk_driver.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests/unit/ml2 copying build/lib/networking_ansible/tests/unit/__init__.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests/unit copying build/lib/networking_ansible/tests/unit/base.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests/unit copying build/lib/networking_ansible/tests/unit/test_config.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests/unit copying build/lib/networking_ansible/tests/__init__.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/config.py to config.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/constants.py to constants.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/exceptions.py to exceptions.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/ml2/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/ml2/mech_driver.py to mech_driver.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/ml2/trunk_driver.py to trunk_driver.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests/unit/ml2/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests/unit/ml2/test_mech_driver.py to test_mech_driver.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests/unit/ml2/test_trunk_driver.py to test_trunk_driver.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests/unit/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests/unit/base.py to base.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests/unit/test_config.py to test_config.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests/__init__.py to __init__.cpython-39.pyc writing byte-compilation script '/tmp/tmpau4azubu.py' /usr/bin/python3 /tmp/tmpau4azubu.py removing /tmp/tmpau4azubu.py running install_data creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/etc creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/etc/neutron creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/etc/neutron/plugins creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/etc/neutron/plugins/ml2 copying etc/neutron/plugins/ml2/ml2_conf_ansible.ini.sample -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/etc/neutron/plugins/ml2 running install_egg_info running egg_info writing networking_ansible.egg-info/PKG-INFO writing dependency_links to networking_ansible.egg-info/dependency_links.txt writing entry points to networking_ansible.egg-info/entry_points.txt writing top-level names to networking_ansible.egg-info/top_level.txt writing pbr to networking_ansible.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 'networking_ansible.egg-info/SOURCES.txt' Copying networking_ansible.egg-info to /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible-5.0.1.dev13-py3.9.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/bin/__pycache__ + rm -rf /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/etc/neutron + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 5.0.1-0.20211101130415.b82d349.el9 --unique-debug-suffix -5.0.1-0.20211101130415.b82d349.el9.x86_64 --unique-debug-src-base python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/networking-ansible-5.0.1.dev13 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-networking-ansible-5.0.1-0.20211101130415.b82d349.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.0orodY + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + PYTHON=/usr/bin/python3 + stestr-3 run Port e0225927-76dc-49f0-9be1-536b2c22daf5 has vnic_type: baremetal which is not supported by networking-ansible, ignoring. {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestBindPort.test_bind_port_not_supported [0.736310s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit [0.371493s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_not_segmentation_id [0.530072s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_segment_was_deleted [0.441390s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_was_deleted [0.685161s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_different_segment [0.896764s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_not_segmentation_id [0.735740s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestBindPort.test_bind_port_supported [1.016929s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_manage_vlans_false [0.972287s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeletePortPostCommit.test_delete_port_postcommit_bound [0.717533s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_not_vlan [0.724356s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteSwitchPort.test_delete_switch_port [1.039310s] ... ok Failed to create network 37 on ansible host: testhost, reason: {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_fails [0.997981s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit [0.540385s] ... ok Failed to uplug port 2 on 1 reason: 1 {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteSwitchPort.test_delete_switch_port_fails [1.186215s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_host [0.390603s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_manage_vlans_false [0.544469s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_direct_port_delete_true [1.105098s] ... ok Failed to delete network 37 on ansible host: testhost, reason: {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_fails [1.110312s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_port_keep [0.562676s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_delete_w_active_ports_dt [0.999774s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_delete_w_active_ports_vm [0.777699s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_not_vlan [0.766889s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_normal_port_delete_false [0.592588s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_normal_port_delete_true [0.528503s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_set_port_state [0.519023s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_set_port_state_no_binding [0.505795s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsureSubports.test_ensure_subports_invalid [1.083737s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_recreated_segment [1.068597s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsureSubports.test_ensure_subports_deleted [0.612473s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestInit.test_intialize [0.418166s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeletePortPostCommit.test_delete_port_postcommit_not_bound [0.751434s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsureSubports.test_ensure_subports_valid [0.943832s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestInit.test_intialize_w_extra_params [0.915802s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_port_delete [0.410746s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_no_ports [0.706677s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_one_port_no_lli [0.405152s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestInit.test_intialize_w_custom_params [0.547245s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBound.test_is_port_bound_direct [0.631215s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_set_port_state_binding [1.158826s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_one_port_no_net [1.137289s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_one_port [1.209792s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortSupported.test_is_port_supported_invalid [0.791094s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_one_port_virtnet [0.834748s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBaremetal.test_is_port_baremetal_device_owner [0.836612s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_one_port_no_binding [0.921771s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortSupported.test_is_port_supported_normal [1.363478s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBound.test_is_port_bound_normal [0.901452s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBound.test_is_port_bound [1.231318s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_link_info_from_port_port_not_supported [0.578076s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBound.test_is_port_bound_not_other [0.469805s] ... ok multiple ports matching ironic port mac: 2 {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_two_port_virtnet_and_physnet [1.462174s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_obj_no_net [0.699030s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortSupported.test_is_port_supported_baremetal [0.586577s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_context_net [0.418559s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBaremetal.test_is_port_baremetal [0.662912s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_context_no_lli [1.271833s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_context_no_net [0.435180s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBaremetal.test_is_port_baremetal_vm [0.725389s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_context_no_name [0.772550s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_obj_net [0.795111s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestML2PluginIntegration.test_create_network [2.087266s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_switch_name [0.476609s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBound.test_is_port_bound_port_not_supported [1.262296s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortSupported.test_is_port_supported_direct [0.497027s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_trunk [0.820023s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_inventory_switch [0.553155s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestUpdatePortPostCommit.test_update_port_postcommit_port_bound_orig [0.665396s] ... ok {0} networking_ansible.tests.unit.test_config.TestConfig.test_config_parser_error [0.010359s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestML2PluginIntegration.test_delete_network [2.332879s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_switch_port [0.611572s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_normal [0.431133s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_access [0.818583s] ... ok {3} networking_ansible.tests.unit.ml2.test_trunk_driver.NetAnsibleTrunkDriverTestCase.test_driver_creation [0.352960s] ... ok {3} networking_ansible.tests.unit.ml2.test_trunk_driver.NetAnsibleTrunkDriverTestCase.test_driver_is_loaded [0.053321s] ... ok Failed to plug port 7aedf095-96b9-4b9a-915a-8948d33615cb into switch port: switchportid on device: testhost reason: {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_access_failure [0.430605s] ... ok {3} networking_ansible.tests.unit.ml2.test_trunk_driver.NetAnsibleTrunkHandlerTestCase.test_subports_deleted [0.062362s] ... ok {3} networking_ansible.tests.unit.test_config.TestConfig.test_config_w_hosts [0.004645s] ... ok PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_network [0.400503s] ... ok skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 /usr/lib/python3.9/site-packages/network_runner/api.py:90: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp0_n3op1m/tmpa83o9x58/artifacts/e5bf0ce9-6ff3-4055-9711-4823afa53500/stdout' mode='r' encoding='UTF-8'> raise exceptions.NetworkRunnerException(' '.join(result.stdout)) ResourceWarning: Enable tracemalloc to get the object allocation traceback Failed to plug port 61dee615-0ca4-4f2f-bca7-72b88f861c7f into switch port: bar on device: testinghost reason: PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Mechanism driver ansible failed in bind_port Traceback (most recent call last): File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 165, in conf_access_port return self.play(CONF_ACCESS_PORT, hostname, variables) File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 117, in play return self.run(pb) File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 90, in run raise exceptions.NetworkRunnerException(' '.join(result.stdout)) network_runner.exceptions.NetworkRunnerException: PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 392, in bind_port self.ensure_port(port, context._plugin_context, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 582, in ensure_port if self._set_port_state(updated_port, db, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 672, in _set_port_state raise exceptions.NetworkingAnsibleMechException(e) networking_ansible.exceptions.NetworkingAnsibleMechException Failed to bind port 61dee615-0ca4-4f2f-bca7-72b88f861c7f on host foo for vnic_type baremetal using segments [{'id': '72d9cd3e-1781-419d-bf5b-49b9c3c5ff74', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': 'e8d06c1d-00a1-48b6-8800-47c89c5d311a'}] {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestUpdatePortPostCommit.test_update_port_postcommit_port_w_direct_port [0.625817s] ... ok ('localhost', ['invalid']) is not a valid switch_name::port_name formated mapping. It will not be available for look up. Double check that it is using a double colon :: as a separator. {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestUpdatePortPostCommit.test_update_port_postcommit_port_w_normal_port [0.406016s] ... ok {2} networking_ansible.tests.unit.test_config.TestConfig.test_config_w_invalid_port_mapping [0.002641s] ... ok PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 /usr/lib/python3.9/site-packages/network_runner/api.py:90: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp0_n3op1m/tmpgcu50_pt/artifacts/67486f5c-6bc9-4056-ba73-a14fc43e6786/stdout' mode='r' encoding='UTF-8'> raise exceptions.NetworkRunnerException(' '.join(result.stdout)) ResourceWarning: Enable tracemalloc to get the object allocation traceback Failed to plug port 61dee615-0ca4-4f2f-bca7-72b88f861c7f into switch port: bar on device: testinghost reason: PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Mechanism driver ansible failed in bind_port Traceback (most recent call last): File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 165, in conf_access_port return self.play(CONF_ACCESS_PORT, hostname, variables) File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 117, in play return self.run(pb) File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 90, in run raise exceptions.NetworkRunnerException(' '.join(result.stdout)) network_runner.exceptions.NetworkRunnerException: PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 392, in bind_port self.ensure_port(port, context._plugin_context, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 582, in ensure_port if self._set_port_state(updated_port, db, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 672, in _set_port_state raise exceptions.NetworkingAnsibleMechException(e) networking_ansible.exceptions.NetworkingAnsibleMechException Failed to bind port 61dee615-0ca4-4f2f-bca7-72b88f861c7f on host foo for vnic_type baremetal using segments [{'id': '72d9cd3e-1781-419d-bf5b-49b9c3c5ff74', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': 'e8d06c1d-00a1-48b6-8800-47c89c5d311a'}] PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 /usr/lib/python3.9/site-packages/network_runner/api.py:90: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp0_n3op1m/tmpqf7bitl2/artifacts/66fcfb9f-6cc1-4638-814a-a50dd8185d10/stdout' mode='r' encoding='UTF-8'> raise exceptions.NetworkRunnerException(' '.join(result.stdout)) ResourceWarning: Enable tracemalloc to get the object allocation traceback Failed to plug port 61dee615-0ca4-4f2f-bca7-72b88f861c7f into switch port: bar on device: testinghost reason: PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Mechanism driver ansible failed in bind_port Traceback (most recent call last): File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 165, in conf_access_port return self.play(CONF_ACCESS_PORT, hostname, variables) File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 117, in play return self.run(pb) File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 90, in run raise exceptions.NetworkRunnerException(' '.join(result.stdout)) network_runner.exceptions.NetworkRunnerException: PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 392, in bind_port self.ensure_port(port, context._plugin_context, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 582, in ensure_port if self._set_port_state(updated_port, db, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 672, in _set_port_state raise exceptions.NetworkingAnsibleMechException(e) networking_ansible.exceptions.NetworkingAnsibleMechException Failed to bind port 61dee615-0ca4-4f2f-bca7-72b88f861c7f on host foo for vnic_type baremetal using segments [{'id': '72d9cd3e-1781-419d-bf5b-49b9c3c5ff74', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': 'e8d06c1d-00a1-48b6-8800-47c89c5d311a'}] PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 /usr/lib/python3.9/site-packages/network_runner/api.py:90: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp0_n3op1m/tmpmtx4x42w/artifacts/662e1869-acb5-4507-951e-b834f0b4eaf5/stdout' mode='r' encoding='UTF-8'> raise exceptions.NetworkRunnerException(' '.join(result.stdout)) ResourceWarning: Enable tracemalloc to get the object allocation traceback Failed to plug port 61dee615-0ca4-4f2f-bca7-72b88f861c7f into switch port: bar on device: testinghost reason: PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Mechanism driver ansible failed in bind_port Traceback (most recent call last): File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 165, in conf_access_port return self.play(CONF_ACCESS_PORT, hostname, variables) File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 117, in play return self.run(pb) File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 90, in run raise exceptions.NetworkRunnerException(' '.join(result.stdout)) network_runner.exceptions.NetworkRunnerException: PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 392, in bind_port self.ensure_port(port, context._plugin_context, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 582, in ensure_port if self._set_port_state(updated_port, db, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 672, in _set_port_state raise exceptions.NetworkingAnsibleMechException(e) networking_ansible.exceptions.NetworkingAnsibleMechException Failed to bind port 61dee615-0ca4-4f2f-bca7-72b88f861c7f on host foo for vnic_type baremetal using segments [{'id': '72d9cd3e-1781-419d-bf5b-49b9c3c5ff74', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': 'e8d06c1d-00a1-48b6-8800-47c89c5d311a'}] PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 /usr/lib/python3.9/site-packages/network_runner/api.py:90: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp0_n3op1m/tmpp4lpdny5/artifacts/90706443-f856-470b-8372-95010a45c467/stdout' mode='r' encoding='UTF-8'> raise exceptions.NetworkRunnerException(' '.join(result.stdout)) ResourceWarning: Enable tracemalloc to get the object allocation traceback Failed to plug port 61dee615-0ca4-4f2f-bca7-72b88f861c7f into switch port: bar on device: testinghost reason: PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Mechanism driver ansible failed in bind_port Traceback (most recent call last): File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 165, in conf_access_port return self.play(CONF_ACCESS_PORT, hostname, variables) File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 117, in play return self.run(pb) File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 90, in run raise exceptions.NetworkRunnerException(' '.join(result.stdout)) network_runner.exceptions.NetworkRunnerException: PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 392, in bind_port self.ensure_port(port, context._plugin_context, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 582, in ensure_port if self._set_port_state(updated_port, db, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 672, in _set_port_state raise exceptions.NetworkingAnsibleMechException(e) networking_ansible.exceptions.NetworkingAnsibleMechException Failed to bind port 61dee615-0ca4-4f2f-bca7-72b88f861c7f on host foo for vnic_type baremetal using segments [{'id': '72d9cd3e-1781-419d-bf5b-49b9c3c5ff74', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': 'e8d06c1d-00a1-48b6-8800-47c89c5d311a'}] PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 /usr/lib/python3.9/site-packages/network_runner/api.py:90: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp0_n3op1m/tmpm8cb29u4/artifacts/42607275-58bc-4ba0-b7fc-e19142e5890b/stdout' mode='r' encoding='UTF-8'> raise exceptions.NetworkRunnerException(' '.join(result.stdout)) ResourceWarning: Enable tracemalloc to get the object allocation traceback Failed to plug port 61dee615-0ca4-4f2f-bca7-72b88f861c7f into switch port: bar on device: testinghost reason: PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Mechanism driver ansible failed in bind_port Traceback (most recent call last): File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 165, in conf_access_port return self.play(CONF_ACCESS_PORT, hostname, variables) File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 117, in play return self.run(pb) File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 90, in run raise exceptions.NetworkRunnerException(' '.join(result.stdout)) network_runner.exceptions.NetworkRunnerException: PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 392, in bind_port self.ensure_port(port, context._plugin_context, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 582, in ensure_port if self._set_port_state(updated_port, db, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 672, in _set_port_state raise exceptions.NetworkingAnsibleMechException(e) networking_ansible.exceptions.NetworkingAnsibleMechException Failed to bind port 61dee615-0ca4-4f2f-bca7-72b88f861c7f on host foo for vnic_type baremetal using segments [{'id': '72d9cd3e-1781-419d-bf5b-49b9c3c5ff74', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': 'e8d06c1d-00a1-48b6-8800-47c89c5d311a'}] PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 /usr/lib/python3.9/site-packages/network_runner/api.py:90: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp0_n3op1m/tmpwzp92bz6/artifacts/040bc86f-5ace-4c0c-963e-33b6bb8cb022/stdout' mode='r' encoding='UTF-8'> raise exceptions.NetworkRunnerException(' '.join(result.stdout)) ResourceWarning: Enable tracemalloc to get the object allocation traceback Failed to plug port 61dee615-0ca4-4f2f-bca7-72b88f861c7f into switch port: bar on device: testinghost reason: PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Mechanism driver ansible failed in bind_port Traceback (most recent call last): File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 165, in conf_access_port return self.play(CONF_ACCESS_PORT, hostname, variables) File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 117, in play return self.run(pb) File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 90, in run raise exceptions.NetworkRunnerException(' '.join(result.stdout)) network_runner.exceptions.NetworkRunnerException: PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 392, in bind_port self.ensure_port(port, context._plugin_context, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 582, in ensure_port if self._set_port_state(updated_port, db, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 672, in _set_port_state raise exceptions.NetworkingAnsibleMechException(e) networking_ansible.exceptions.NetworkingAnsibleMechException Failed to bind port 61dee615-0ca4-4f2f-bca7-72b88f861c7f on host foo for vnic_type baremetal using segments [{'id': '72d9cd3e-1781-419d-bf5b-49b9c3c5ff74', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': 'e8d06c1d-00a1-48b6-8800-47c89c5d311a'}] PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 /usr/lib/python3.9/site-packages/network_runner/api.py:90: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp0_n3op1m/tmprchymtqj/artifacts/6fb0a4f2-de99-4979-a581-401a31a42422/stdout' mode='r' encoding='UTF-8'> raise exceptions.NetworkRunnerException(' '.join(result.stdout)) ResourceWarning: Enable tracemalloc to get the object allocation traceback Failed to plug port 61dee615-0ca4-4f2f-bca7-72b88f861c7f into switch port: bar on device: testinghost reason: PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Mechanism driver ansible failed in bind_port Traceback (most recent call last): File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 165, in conf_access_port return self.play(CONF_ACCESS_PORT, hostname, variables) File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 117, in play return self.run(pb) File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 90, in run raise exceptions.NetworkRunnerException(' '.join(result.stdout)) network_runner.exceptions.NetworkRunnerException: PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 392, in bind_port self.ensure_port(port, context._plugin_context, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 582, in ensure_port if self._set_port_state(updated_port, db, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 672, in _set_port_state raise exceptions.NetworkingAnsibleMechException(e) networking_ansible.exceptions.NetworkingAnsibleMechException Failed to bind port 61dee615-0ca4-4f2f-bca7-72b88f861c7f on host foo for vnic_type baremetal using segments [{'id': '72d9cd3e-1781-419d-bf5b-49b9c3c5ff74', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': 'e8d06c1d-00a1-48b6-8800-47c89c5d311a'}] PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 /usr/lib/python3.9/site-packages/network_runner/api.py:90: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp0_n3op1m/tmp_4jwwhg_/artifacts/7908a311-8fa2-47c0-baa8-76f0c285610d/stdout' mode='r' encoding='UTF-8'> raise exceptions.NetworkRunnerException(' '.join(result.stdout)) ResourceWarning: Enable tracemalloc to get the object allocation traceback Failed to plug port 61dee615-0ca4-4f2f-bca7-72b88f861c7f into switch port: bar on device: testinghost reason: PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Mechanism driver ansible failed in bind_port Traceback (most recent call last): File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 165, in conf_access_port return self.play(CONF_ACCESS_PORT, hostname, variables) File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 117, in play return self.run(pb) File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 90, in run raise exceptions.NetworkRunnerException(' '.join(result.stdout)) network_runner.exceptions.NetworkRunnerException: PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 392, in bind_port self.ensure_port(port, context._plugin_context, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 582, in ensure_port if self._set_port_state(updated_port, db, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 672, in _set_port_state raise exceptions.NetworkingAnsibleMechException(e) networking_ansible.exceptions.NetworkingAnsibleMechException Failed to bind port 61dee615-0ca4-4f2f-bca7-72b88f861c7f on host foo for vnic_type baremetal using segments [{'id': '72d9cd3e-1781-419d-bf5b-49b9c3c5ff74', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': 'e8d06c1d-00a1-48b6-8800-47c89c5d311a'}] PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 /usr/lib/python3.9/site-packages/network_runner/api.py:90: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp0_n3op1m/tmplmlan_bb/artifacts/506b179c-2824-448f-b2bd-d138ce27e6ab/stdout' mode='r' encoding='UTF-8'> raise exceptions.NetworkRunnerException(' '.join(result.stdout)) ResourceWarning: Enable tracemalloc to get the object allocation traceback Failed to plug port 61dee615-0ca4-4f2f-bca7-72b88f861c7f into switch port: bar on device: testinghost reason: PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 Mechanism driver ansible failed in bind_port Traceback (most recent call last): File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 165, in conf_access_port return self.play(CONF_ACCESS_PORT, hostname, variables) File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 117, in play return self.run(pb) File "/usr/lib/python3.9/site-packages/network_runner/api.py", line 90, in run raise exceptions.NetworkRunnerException(' '.join(result.stdout)) network_runner.exceptions.NetworkRunnerException: PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost TASK [network-runner : include device role specific vars] ********************** ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* fatal: [testinghost]: FAILED! => {"reason": "couldn't resolve module/action 'openvswitch_db'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: \"openvswitch: configure access port\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"} PLAY RECAP ********************************************************************* testinghost : ok=2 changed=0 unreachable=0 failed=1 skipped=2 rescued=0 ignored=0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 392, in bind_port self.ensure_port(port, context._plugin_context, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 582, in ensure_port if self._set_port_state(updated_port, db, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 672, in _set_port_state raise exceptions.NetworkingAnsibleMechException(e) networking_ansible.exceptions.NetworkingAnsibleMechException Failed to bind port 61dee615-0ca4-4f2f-bca7-72b88f861c7f on host foo for vnic_type baremetal using segments [{'id': '72d9cd3e-1781-419d-bf5b-49b9c3c5ff74', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': 'e8d06c1d-00a1-48b6-8800-47c89c5d311a'}] {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestML2PluginIntegration.test_delete_port [15.562735s] ... ok Failed to plug port 628a413a-916b-4813-a02c-28abce248358 into switch port: bar on device: testinghost reason: foo Mechanism driver ansible failed in bind_port Traceback (most recent call last): File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect Exception: foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 392, in bind_port self.ensure_port(port, context._plugin_context, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 582, in ensure_port if self._set_port_state(updated_port, db, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 672, in _set_port_state raise exceptions.NetworkingAnsibleMechException(e) networking_ansible.exceptions.NetworkingAnsibleMechException Failed to bind port 628a413a-916b-4813-a02c-28abce248358 on host foo for vnic_type baremetal using segments [{'id': '1bcf91f5-375b-44c2-af0f-4ae4b6fa2dac', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '36d3029c-bb4f-4a32-9cef-d30edd2cef57'}] Failed to plug port 628a413a-916b-4813-a02c-28abce248358 into switch port: bar on device: testinghost reason: foo Mechanism driver ansible failed in bind_port Traceback (most recent call last): File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect Exception: foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 392, in bind_port self.ensure_port(port, context._plugin_context, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 582, in ensure_port if self._set_port_state(updated_port, db, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 672, in _set_port_state raise exceptions.NetworkingAnsibleMechException(e) networking_ansible.exceptions.NetworkingAnsibleMechException Failed to bind port 628a413a-916b-4813-a02c-28abce248358 on host foo for vnic_type baremetal using segments [{'id': '1bcf91f5-375b-44c2-af0f-4ae4b6fa2dac', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '36d3029c-bb4f-4a32-9cef-d30edd2cef57'}] Failed to plug port 628a413a-916b-4813-a02c-28abce248358 into switch port: bar on device: testinghost reason: foo Mechanism driver ansible failed in bind_port Traceback (most recent call last): File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect Exception: foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 392, in bind_port self.ensure_port(port, context._plugin_context, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 582, in ensure_port if self._set_port_state(updated_port, db, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 672, in _set_port_state raise exceptions.NetworkingAnsibleMechException(e) networking_ansible.exceptions.NetworkingAnsibleMechException Failed to bind port 628a413a-916b-4813-a02c-28abce248358 on host foo for vnic_type baremetal using segments [{'id': '1bcf91f5-375b-44c2-af0f-4ae4b6fa2dac', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '36d3029c-bb4f-4a32-9cef-d30edd2cef57'}] Failed to plug port 628a413a-916b-4813-a02c-28abce248358 into switch port: bar on device: testinghost reason: foo Mechanism driver ansible failed in bind_port Traceback (most recent call last): File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect Exception: foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 392, in bind_port self.ensure_port(port, context._plugin_context, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 582, in ensure_port if self._set_port_state(updated_port, db, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 672, in _set_port_state raise exceptions.NetworkingAnsibleMechException(e) networking_ansible.exceptions.NetworkingAnsibleMechException Failed to bind port 628a413a-916b-4813-a02c-28abce248358 on host foo for vnic_type baremetal using segments [{'id': '1bcf91f5-375b-44c2-af0f-4ae4b6fa2dac', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '36d3029c-bb4f-4a32-9cef-d30edd2cef57'}] Failed to plug port 628a413a-916b-4813-a02c-28abce248358 into switch port: bar on device: testinghost reason: foo Mechanism driver ansible failed in bind_port Traceback (most recent call last): File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect Exception: foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 392, in bind_port self.ensure_port(port, context._plugin_context, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 582, in ensure_port if self._set_port_state(updated_port, db, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 672, in _set_port_state raise exceptions.NetworkingAnsibleMechException(e) networking_ansible.exceptions.NetworkingAnsibleMechException Failed to bind port 628a413a-916b-4813-a02c-28abce248358 on host foo for vnic_type baremetal using segments [{'id': '1bcf91f5-375b-44c2-af0f-4ae4b6fa2dac', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '36d3029c-bb4f-4a32-9cef-d30edd2cef57'}] Failed to plug port 628a413a-916b-4813-a02c-28abce248358 into switch port: bar on device: testinghost reason: foo Mechanism driver ansible failed in bind_port Traceback (most recent call last): File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect Exception: foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 392, in bind_port self.ensure_port(port, context._plugin_context, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 582, in ensure_port if self._set_port_state(updated_port, db, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 672, in _set_port_state raise exceptions.NetworkingAnsibleMechException(e) networking_ansible.exceptions.NetworkingAnsibleMechException Failed to bind port 628a413a-916b-4813-a02c-28abce248358 on host foo for vnic_type baremetal using segments [{'id': '1bcf91f5-375b-44c2-af0f-4ae4b6fa2dac', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '36d3029c-bb4f-4a32-9cef-d30edd2cef57'}] Failed to plug port 628a413a-916b-4813-a02c-28abce248358 into switch port: bar on device: testinghost reason: foo Mechanism driver ansible failed in bind_port Traceback (most recent call last): File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect Exception: foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 392, in bind_port self.ensure_port(port, context._plugin_context, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 582, in ensure_port if self._set_port_state(updated_port, db, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 672, in _set_port_state raise exceptions.NetworkingAnsibleMechException(e) networking_ansible.exceptions.NetworkingAnsibleMechException Failed to bind port 628a413a-916b-4813-a02c-28abce248358 on host foo for vnic_type baremetal using segments [{'id': '1bcf91f5-375b-44c2-af0f-4ae4b6fa2dac', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '36d3029c-bb4f-4a32-9cef-d30edd2cef57'}] Failed to plug port 628a413a-916b-4813-a02c-28abce248358 into switch port: bar on device: testinghost reason: foo Mechanism driver ansible failed in bind_port Traceback (most recent call last): File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect Exception: foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 392, in bind_port self.ensure_port(port, context._plugin_context, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 582, in ensure_port if self._set_port_state(updated_port, db, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 672, in _set_port_state raise exceptions.NetworkingAnsibleMechException(e) networking_ansible.exceptions.NetworkingAnsibleMechException Failed to bind port 628a413a-916b-4813-a02c-28abce248358 on host foo for vnic_type baremetal using segments [{'id': '1bcf91f5-375b-44c2-af0f-4ae4b6fa2dac', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '36d3029c-bb4f-4a32-9cef-d30edd2cef57'}] Failed to plug port 628a413a-916b-4813-a02c-28abce248358 into switch port: bar on device: testinghost reason: foo Mechanism driver ansible failed in bind_port Traceback (most recent call last): File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect Exception: foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 392, in bind_port self.ensure_port(port, context._plugin_context, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 582, in ensure_port if self._set_port_state(updated_port, db, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 672, in _set_port_state raise exceptions.NetworkingAnsibleMechException(e) networking_ansible.exceptions.NetworkingAnsibleMechException Failed to bind port 628a413a-916b-4813-a02c-28abce248358 on host foo for vnic_type baremetal using segments [{'id': '1bcf91f5-375b-44c2-af0f-4ae4b6fa2dac', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '36d3029c-bb4f-4a32-9cef-d30edd2cef57'}] Failed to plug port 628a413a-916b-4813-a02c-28abce248358 into switch port: bar on device: testinghost reason: foo Mechanism driver ansible failed in bind_port Traceback (most recent call last): File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 652, in _set_port_state self.net_runr.conf_access_port( File "/usr/lib64/python3.9/unittest/mock.py", line 1093, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1097, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1152, in _execute_mock_call raise effect Exception: foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 392, in bind_port self.ensure_port(port, context._plugin_context, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 582, in ensure_port if self._set_port_state(updated_port, db, File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 672, in _set_port_state raise exceptions.NetworkingAnsibleMechException(e) networking_ansible.exceptions.NetworkingAnsibleMechException Failed to bind port 628a413a-916b-4813-a02c-28abce248358 on host foo for vnic_type baremetal using segments [{'id': '1bcf91f5-375b-44c2-af0f-4ae4b6fa2dac', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '36d3029c-bb4f-4a32-9cef-d30edd2cef57'}] {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestML2PluginIntegration.test_update_port_error [1.094982s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestML2PluginIntegration.test_update_port_unbound [1.074287s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_port [0.374406s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_switch_port_or_name [0.349221s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestUpdatePortPostCommit.test_update_port_postcommit_port_bound_curr [0.527930s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestUpdatePortPostCommit.test_update_port_postcommit_port_not_bound [0.296430s] ... ok {1} networking_ansible.tests.unit.ml2.test_trunk_driver.NetAnsibleTrunkDriverTestCase.test_register [0.042524s] ... ok {1} networking_ansible.tests.unit.ml2.test_trunk_driver.NetAnsibleTrunkHandlerTestCase.test_subports_added [0.052059s] ... ok {1} networking_ansible.tests.unit.test_config.TestConfig.test_config_empty_hosts [0.002235s] ... ok {1} networking_ansible.tests.unit.test_config.TestConfig.test_config_from_file [0.002251s] ... ok ====== Totals ====== Ran: 93 tests in 34.0824 sec. - Passed: 93 - Skipped: 0 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 80.0382 sec. ============== Worker Balance ============== - Worker 0 (24 tests) => 0:00:16.391046 - Worker 1 (23 tests) => 0:00:31.529376 - Worker 2 (23 tests) => 0:00:17.033661 - Worker 3 (23 tests) => 0:00:15.168093 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.VJnD16 + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + LICENSEDIR=/builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/share/licenses/python3-networking-ansible + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/share/licenses/python3-networking-ansible + cp -pr LICENSE /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/share/licenses/python3-networking-ansible + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-networking-ansible = 5.0.1-0.20211101130415.b82d349.el9 python3-networking-ansible = 5.0.1-0.20211101130415.b82d349.el9 python3.9-networking-ansible = 5.0.1-0.20211101130415.b82d349.el9 python3.9dist(networking-ansible) = 5.0.1~~dev13 python3dist(networking-ansible) = 5.0.1~~dev13 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: python-networking-ansible < 5.0.1-0.20211101130415.b82d349.el9 Processing files: python3-networking-ansible-tests-5.0.1-0.20211101130415.b82d349.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.j0zUpR + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + LICENSEDIR=/builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/share/licenses/python3-networking-ansible-tests + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/share/licenses/python3-networking-ansible-tests + cp -pr LICENSE /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/share/licenses/python3-networking-ansible-tests + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-networking-ansible-tests = 5.0.1-0.20211101130415.b82d349.el9 python3-networking-ansible-tests = 5.0.1-0.20211101130415.b82d349.el9 python3.9-networking-ansible-tests = 5.0.1-0.20211101130415.b82d349.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 Processing files: python3-networking-ansible-doc-5.0.1-0.20211101130415.b82d349.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.FwYRvR + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + DOCDIR=/builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/share/doc/python3-networking-ansible-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/share/doc/python3-networking-ansible-doc + cp -pr doc/build/html /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/share/doc/python3-networking-ansible-doc + cp -pr README.rst /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/share/doc/python3-networking-ansible-doc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.uiBd5p + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + LICENSEDIR=/builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/share/licenses/python3-networking-ansible-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/share/licenses/python3-networking-ansible-doc + cp -pr LICENSE /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64/usr/share/licenses/python3-networking-ansible-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-networking-ansible-doc = 5.0.1-0.20211101130415.b82d349.el9 python3-networking-ansible-doc = 5.0.1-0.20211101130415.b82d349.el9 python3.9-networking-ansible-doc = 5.0.1-0.20211101130415.b82d349.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Obsoletes: python-networking-ansible-doc < 5.0.1-0.20211101130415.b82d349.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64 Wrote: /builddir/build/RPMS/python3-networking-ansible-tests-5.0.1-0.20211101130415.b82d349.el9.noarch.rpm Wrote: /builddir/build/RPMS/python3-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.noarch.rpm Wrote: /builddir/build/RPMS/python3-networking-ansible-doc-5.0.1-0.20211101130415.b82d349.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QVvmx4 + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211101130415.b82d349.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0