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-yoga-x86_64-5/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1031gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-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.20220411093343.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-yoga-x86_64-5/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1031gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-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.20220411093343.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-yoga-x86_64-5/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1031gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-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.FTuwAf + 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.20220411093343.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.OQZk3K + 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 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 copying networking_ansible/tests/__init__.py -> build/lib/networking_ansible/tests 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 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 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 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.0s) [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) 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.vqyOWj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.b82d349.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.b82d349.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.b82d349.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.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.20220411093343.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.0s) running install_lib creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.b82d349.el9.x86_64/usr creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.b82d349.el9.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.b82d349.el9.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.b82d349.el9.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.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.20220411093343.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.20220411093343.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.20220411093343.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/ml2 copying build/lib/networking_ansible/__init__.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.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.20220411093343.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.20220411093343.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.20220411093343.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests copying build/lib/networking_ansible/tests/__init__.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.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.20220411093343.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.20220411093343.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.20220411093343.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.20220411093343.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.20220411093343.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.20220411093343.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.20220411093343.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests/unit byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.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.20220411093343.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.20220411093343.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.20220411093343.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.20220411093343.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.20220411093343.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.20220411093343.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.20220411093343.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.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.20220411093343.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.20220411093343.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.20220411093343.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.20220411093343.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.20220411093343.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests/unit/test_config.py to test_config.cpython-39.pyc writing byte-compilation script '/tmp/tmpwp4ole2j.py' /usr/bin/python3 /tmp/tmpwp4ole2j.py removing /tmp/tmpwp4ole2j.py running install_data creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.b82d349.el9.x86_64/usr/etc creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.b82d349.el9.x86_64/usr/etc/neutron creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.b82d349.el9.x86_64/usr/etc/neutron/plugins creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.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.20220411093343.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.20220411093343.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.20220411093343.b82d349.el9.x86_64/usr/bin/__pycache__ + rm -rf /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.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.20220411093343.b82d349.el9 --unique-debug-suffix -5.0.1-0.20220411093343.b82d349.el9.x86_64 --unique-debug-src-base python-networking-ansible-5.0.1-0.20220411093343.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.20220411093343.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.my0AKs + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + PYTHON=/usr/bin/python3 + stestr-3 run {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestBindPort.test_bind_port_supported [1.056048s] ... ok Failed to create network 37 on ansible host: testhost, reason: {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_fails [0.632523s] ... ok Port 26973284-f2e5-40f0-9f79-57231fc1735b 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.961353s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit [1.725332s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_manage_vlans_false [1.151220s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_not_vlan [1.085879s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_not_vlan [0.825983s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_manage_vlans_false [0.945834s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeletePortPostCommit.test_delete_port_postcommit_bound [0.634619s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_segment_was_deleted [0.815287s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_not_segmentation_id [1.196415s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_not_segmentation_id [1.261769s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_was_deleted [0.885710s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeletePortPostCommit.test_delete_port_postcommit_not_bound [1.093041s] ... ok Failed to delete network 37 on ansible host: testhost, reason: {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_fails [1.179500s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_direct_port_delete_true [0.878941s] ... 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 [0.717805s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit [1.288579s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_host [1.013661s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteSwitchPort.test_delete_switch_port [1.446400s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_different_segment [0.801787s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_delete_w_active_ports_vm [1.511826s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_port_delete [1.075665s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_normal_port_delete_true [1.301840s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_set_port_state_binding [0.642987s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_recreated_segment [1.101373s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsureSubports.test_ensure_subports_invalid [0.632247s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_set_port_state [0.679125s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_delete_w_active_ports_dt [0.789650s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestInit.test_intialize_w_extra_params [1.446152s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_no_ports [0.953251s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsureSubports.test_ensure_subports_deleted [0.955563s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_one_port_no_binding [0.756299s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_port_keep [1.214307s] ... ok multiple ports matching ironic port mac: 2 {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_two_port_virtnet_and_physnet [0.824187s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestInit.test_intialize [0.840443s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_normal_port_delete_false [0.906033s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBaremetal.test_is_port_baremetal_device_owner [1.122182s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBaremetal.test_is_port_baremetal [1.066527s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_one_port [1.177618s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_set_port_state_no_binding [0.906260s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBaremetal.test_is_port_baremetal_vm [0.622682s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_one_port_no_lli [0.569863s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBound.test_is_port_bound_normal [1.321785s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBound.test_is_port_bound [0.816237s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsureSubports.test_ensure_subports_valid [1.194250s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBound.test_is_port_bound_direct [1.220838s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBound.test_is_port_bound_port_not_supported [0.796857s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBound.test_is_port_bound_not_other [0.729109s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestInit.test_intialize_w_custom_params [0.924556s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortSupported.test_is_port_supported_normal [0.849773s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_context_no_name [1.731041s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_context_net [0.567522s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_context_no_lli [0.743826s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_one_port_no_net [1.324070s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_obj_net [0.944581s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_obj_no_net [1.030816s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_context_no_net [1.086081s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_one_port_virtnet [0.664583s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_access [0.972617s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortSupported.test_is_port_supported_baremetal [0.802110s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_network [0.936856s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestML2PluginIntegration.test_create_network [2.003676s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortSupported.test_is_port_supported_direct [1.265292s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortSupported.test_is_port_supported_invalid [0.675533s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_switch_name [1.514095s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_link_info_from_port_port_not_supported [1.180582s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestUpdatePortPostCommit.test_update_port_postcommit_port_bound_curr [1.007281s] ... ok Failed to plug port e7fd6c11-f2b8-4237-a826-75cd386691b7 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 e7fd6c11-f2b8-4237-a826-75cd386691b7 on host foo for vnic_type baremetal using segments [{'id': 'ccaecff8-9a3d-471b-b518-491e835b9915', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '5c2d12fa-ba2d-4a23-b100-6edb699c7b47'}] Failed to plug port e7fd6c11-f2b8-4237-a826-75cd386691b7 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 e7fd6c11-f2b8-4237-a826-75cd386691b7 on host foo for vnic_type baremetal using segments [{'id': 'ccaecff8-9a3d-471b-b518-491e835b9915', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '5c2d12fa-ba2d-4a23-b100-6edb699c7b47'}] {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestUpdatePortPostCommit.test_update_port_postcommit_port_w_direct_port [0.976265s] ... ok Failed to plug port e7fd6c11-f2b8-4237-a826-75cd386691b7 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 e7fd6c11-f2b8-4237-a826-75cd386691b7 on host foo for vnic_type baremetal using segments [{'id': 'ccaecff8-9a3d-471b-b518-491e835b9915', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '5c2d12fa-ba2d-4a23-b100-6edb699c7b47'}] {3} networking_ansible.tests.unit.ml2.test_trunk_driver.NetAnsibleTrunkDriverTestCase.test_driver_creation [0.250962s] ... ok {3} networking_ansible.tests.unit.ml2.test_trunk_driver.NetAnsibleTrunkDriverTestCase.test_driver_is_loaded [0.077301s] ... ok Failed to plug port e7fd6c11-f2b8-4237-a826-75cd386691b7 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 e7fd6c11-f2b8-4237-a826-75cd386691b7 on host foo for vnic_type baremetal using segments [{'id': 'ccaecff8-9a3d-471b-b518-491e835b9915', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '5c2d12fa-ba2d-4a23-b100-6edb699c7b47'}] {3} networking_ansible.tests.unit.ml2.test_trunk_driver.NetAnsibleTrunkHandlerTestCase.test_subports_deleted [0.130832s] ... 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. {3} networking_ansible.tests.unit.test_config.TestConfig.test_config_w_invalid_port_mapping [0.008790s] ... ok Failed to plug port e7fd6c11-f2b8-4237-a826-75cd386691b7 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 e7fd6c11-f2b8-4237-a826-75cd386691b7 on host foo for vnic_type baremetal using segments [{'id': 'ccaecff8-9a3d-471b-b518-491e835b9915', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '5c2d12fa-ba2d-4a23-b100-6edb699c7b47'}] Failed to plug port e7fd6c11-f2b8-4237-a826-75cd386691b7 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 e7fd6c11-f2b8-4237-a826-75cd386691b7 on host foo for vnic_type baremetal using segments [{'id': 'ccaecff8-9a3d-471b-b518-491e835b9915', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '5c2d12fa-ba2d-4a23-b100-6edb699c7b47'}] PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* Failed to plug port e7fd6c11-f2b8-4237-a826-75cd386691b7 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 e7fd6c11-f2b8-4237-a826-75cd386691b7 on host foo for vnic_type baremetal using segments [{'id': 'ccaecff8-9a3d-471b-b518-491e835b9915', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '5c2d12fa-ba2d-4a23-b100-6edb699c7b47'}] 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 Failed to plug port e7fd6c11-f2b8-4237-a826-75cd386691b7 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 e7fd6c11-f2b8-4237-a826-75cd386691b7 on host foo for vnic_type baremetal using segments [{'id': 'ccaecff8-9a3d-471b-b518-491e835b9915', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '5c2d12fa-ba2d-4a23-b100-6edb699c7b47'}] Failed to plug port e7a8faae-6a99-4ae3-9e25-ef82eb3529e1 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 e7a8faae-6a99-4ae3-9e25-ef82eb3529e1 on host foo for vnic_type baremetal using segments [{'id': '58df917e-8311-4acc-8b75-8c39b558debc', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '6f66b5d1-a94d-4389-86e4-2fa72080a426'}] Failed to plug port e7fd6c11-f2b8-4237-a826-75cd386691b7 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 e7fd6c11-f2b8-4237-a826-75cd386691b7 on host foo for vnic_type baremetal using segments [{'id': 'ccaecff8-9a3d-471b-b518-491e835b9915', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '5c2d12fa-ba2d-4a23-b100-6edb699c7b47'}] Failed to plug port e7fd6c11-f2b8-4237-a826-75cd386691b7 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 1092, in __call__ return self._mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1096, in _mock_call return self._execute_mock_call(*args, **kwargs) File "/usr/lib64/python3.9/unittest/mock.py", line 1151, in _execute_mock_call raise effect 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 e7fd6c11-f2b8-4237-a826-75cd386691b7 on host foo for vnic_type baremetal using segments [{'id': 'ccaecff8-9a3d-471b-b518-491e835b9915', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '5c2d12fa-ba2d-4a23-b100-6edb699c7b47'}] {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestML2PluginIntegration.test_delete_network [2.978568s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestML2PluginIntegration.test_update_port_error [5.137239s] ... ok PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** Failed to plug port 1ac11513-3552-43c6-a15a-e01752f62e14 into switch port: switchportid on device: testhost reason: {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_access_failure [0.981551s] ... 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 Failed to plug port e7a8faae-6a99-4ae3-9e25-ef82eb3529e1 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 e7a8faae-6a99-4ae3-9e25-ef82eb3529e1 on host foo for vnic_type baremetal using segments [{'id': '58df917e-8311-4acc-8b75-8c39b558debc', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '6f66b5d1-a94d-4389-86e4-2fa72080a426'}] {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_switch_port_or_name [1.488900s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestUpdatePortPostCommit.test_update_port_postcommit_port_bound_orig [1.039537s] ... ok {0} networking_ansible.tests.unit.test_config.TestConfig.test_config_empty_hosts [0.002685s] ... ok {0} networking_ansible.tests.unit.test_config.TestConfig.test_config_from_file [0.002926s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_trunk [0.935272s] ... ok {2} networking_ansible.tests.unit.ml2.test_trunk_driver.NetAnsibleTrunkHandlerTestCase.test_subports_added [0.071287s] ... ok {2} networking_ansible.tests.unit.test_config.TestConfig.test_config_w_hosts [0.008626s] ... 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 Failed to plug port e7a8faae-6a99-4ae3-9e25-ef82eb3529e1 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 e7a8faae-6a99-4ae3-9e25-ef82eb3529e1 on host foo for vnic_type baremetal using segments [{'id': '58df917e-8311-4acc-8b75-8c39b558debc', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '6f66b5d1-a94d-4389-86e4-2fa72080a426'}] 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 Failed to plug port e7a8faae-6a99-4ae3-9e25-ef82eb3529e1 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 e7a8faae-6a99-4ae3-9e25-ef82eb3529e1 on host foo for vnic_type baremetal using segments [{'id': '58df917e-8311-4acc-8b75-8c39b558debc', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '6f66b5d1-a94d-4389-86e4-2fa72080a426'}] 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 Failed to plug port e7a8faae-6a99-4ae3-9e25-ef82eb3529e1 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 e7a8faae-6a99-4ae3-9e25-ef82eb3529e1 on host foo for vnic_type baremetal using segments [{'id': '58df917e-8311-4acc-8b75-8c39b558debc', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '6f66b5d1-a94d-4389-86e4-2fa72080a426'}] 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 Failed to plug port e7a8faae-6a99-4ae3-9e25-ef82eb3529e1 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 e7a8faae-6a99-4ae3-9e25-ef82eb3529e1 on host foo for vnic_type baremetal using segments [{'id': '58df917e-8311-4acc-8b75-8c39b558debc', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '6f66b5d1-a94d-4389-86e4-2fa72080a426'}] 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 Failed to plug port e7a8faae-6a99-4ae3-9e25-ef82eb3529e1 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 e7a8faae-6a99-4ae3-9e25-ef82eb3529e1 on host foo for vnic_type baremetal using segments [{'id': '58df917e-8311-4acc-8b75-8c39b558debc', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '6f66b5d1-a94d-4389-86e4-2fa72080a426'}] 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 Failed to plug port e7a8faae-6a99-4ae3-9e25-ef82eb3529e1 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 e7a8faae-6a99-4ae3-9e25-ef82eb3529e1 on host foo for vnic_type baremetal using segments [{'id': '58df917e-8311-4acc-8b75-8c39b558debc', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '6f66b5d1-a94d-4389-86e4-2fa72080a426'}] 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 Failed to plug port e7a8faae-6a99-4ae3-9e25-ef82eb3529e1 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 e7a8faae-6a99-4ae3-9e25-ef82eb3529e1 on host foo for vnic_type baremetal using segments [{'id': '58df917e-8311-4acc-8b75-8c39b558debc', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '6f66b5d1-a94d-4389-86e4-2fa72080a426'}] 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 Failed to plug port e7a8faae-6a99-4ae3-9e25-ef82eb3529e1 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 e7a8faae-6a99-4ae3-9e25-ef82eb3529e1 on host foo for vnic_type baremetal using segments [{'id': '58df917e-8311-4acc-8b75-8c39b558debc', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '6f66b5d1-a94d-4389-86e4-2fa72080a426'}] {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestML2PluginIntegration.test_delete_port [22.654650s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestML2PluginIntegration.test_update_port_unbound [1.494935s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_inventory_switch [0.534423s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_port [0.586543s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_switch_port [1.355663s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_normal [0.788610s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestUpdatePortPostCommit.test_update_port_postcommit_port_not_bound [0.790780s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestUpdatePortPostCommit.test_update_port_postcommit_port_w_normal_port [1.403238s] ... ok {1} networking_ansible.tests.unit.ml2.test_trunk_driver.NetAnsibleTrunkDriverTestCase.test_register [0.137100s] ... ok {1} networking_ansible.tests.unit.test_config.TestConfig.test_config_parser_error [0.025699s] ... ok ====== Totals ====== Ran: 93 tests in 45.7166 sec. - Passed: 93 - Skipped: 0 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 112.8601 sec. ============== Worker Balance ============== - Worker 0 (24 tests) => 0:00:23.803280 - Worker 1 (23 tests) => 0:00:42.927085 - Worker 2 (23 tests) => 0:00:25.836731 - Worker 3 (23 tests) => 0:00:20.548966 + RPM_EC=0 ++ jobs -p Processing files: python3-networking-ansible-5.0.1-0.20220411093343.b82d349.el9.noarch + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.m0YmF6 + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + LICENSEDIR=/builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.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.20220411093343.b82d349.el9.x86_64/usr/share/licenses/python3-networking-ansible + cp -pr LICENSE /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.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.20220411093343.b82d349.el9 python3-networking-ansible = 5.0.1-0.20220411093343.b82d349.el9 python3.9-networking-ansible = 5.0.1-0.20220411093343.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.20220411093343.b82d349.el9 python39-networking-ansible < 5.0.1-0.20220411093343.b82d349.el9 Processing files: python3-networking-ansible-tests-5.0.1-0.20220411093343.b82d349.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vjY9Zw + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + LICENSEDIR=/builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.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.20220411093343.b82d349.el9.x86_64/usr/share/licenses/python3-networking-ansible-tests + cp -pr LICENSE /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.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.20220411093343.b82d349.el9 python3-networking-ansible-tests = 5.0.1-0.20220411093343.b82d349.el9 python3.9-networking-ansible-tests = 5.0.1-0.20220411093343.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 Obsoletes: python39-networking-ansible-tests < 5.0.1-0.20220411093343.b82d349.el9 Processing files: python3-networking-ansible-doc-5.0.1-0.20220411093343.b82d349.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KVUGqb + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + DOCDIR=/builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.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.20220411093343.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.20220411093343.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.20220411093343.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.RDyesI + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + LICENSEDIR=/builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.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.20220411093343.b82d349.el9.x86_64/usr/share/licenses/python3-networking-ansible-doc + cp -pr LICENSE /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.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.20220411093343.b82d349.el9 python3-networking-ansible-doc = 5.0.1-0.20220411093343.b82d349.el9 python3.9-networking-ansible-doc = 5.0.1-0.20220411093343.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.20220411093343.b82d349.el9 python39-networking-ansible-doc < 5.0.1-0.20220411093343.b82d349.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093343.b82d349.el9.x86_64 Wrote: /builddir/build/RPMS/python3-networking-ansible-5.0.1-0.20220411093343.b82d349.el9.noarch.rpm Wrote: /builddir/build/RPMS/python3-networking-ansible-tests-5.0.1-0.20220411093343.b82d349.el9.noarch.rpm Wrote: /builddir/build/RPMS/python3-networking-ansible-doc-5.0.1-0.20220411093343.b82d349.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.olmxO5 + 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.20220411093343.b82d349.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0