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-wallaby-x86_64-1/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=1029gid=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.20211217115600.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-wallaby-x86_64-1/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=1029gid=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.20211217115600.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-wallaby-x86_64-1/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=1029gid=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.7uuDo9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf networking-ansible-5.0.1.dev13 + /usr/bin/gzip -dc /builddir/build/SOURCES/networking-ansible-5.0.1.dev13-0.20211217115600.b82d349.tar.gz + /usr/bin/tar -xof - + 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.wbSPGv + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead warnings.warn( /usr/lib/python3.9/site-packages/setuptools/dist.py:697: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead warnings.warn( running build running build_py creating build creating build/lib creating build/lib/networking_ansible creating build/lib/networking_ansible/tests copying networking_ansible/tests/__init__.py -> build/lib/networking_ansible/tests creating build/lib/networking_ansible/tests/unit copying networking_ansible/tests/unit/test_config.py -> build/lib/networking_ansible/tests/unit copying networking_ansible/tests/unit/base.py -> build/lib/networking_ansible/tests/unit copying networking_ansible/tests/unit/__init__.py -> build/lib/networking_ansible/tests/unit creating build/lib/networking_ansible/ml2 copying networking_ansible/ml2/trunk_driver.py -> build/lib/networking_ansible/ml2 copying networking_ansible/ml2/mech_driver.py -> build/lib/networking_ansible/ml2 copying networking_ansible/ml2/__init__.py -> build/lib/networking_ansible/ml2 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 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 adding license file 'LICENSE' adding license file 'AUTHORS' writing manifest file 'networking_ansible.egg-info/SOURCES.txt' 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 + /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.DxAuDb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.b82d349.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.b82d349.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.b82d349.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.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.20211217115600.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.20211217115600.b82d349.el9.x86_64/usr creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.b82d349.el9.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.b82d349.el9.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.b82d349.el9.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible copying build/lib/networking_ansible/__init__.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.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.20211217115600.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.20211217115600.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.20211217115600.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.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.20211217115600.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.20211217115600.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.20211217115600.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/ml2 creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.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.20211217115600.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.20211217115600.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.20211217115600.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.20211217115600.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.20211217115600.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.20211217115600.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.20211217115600.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests/unit copying build/lib/networking_ansible/tests/__init__.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.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.20211217115600.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.20211217115600.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.20211217115600.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.20211217115600.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.20211217115600.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.20211217115600.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.20211217115600.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.20211217115600.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.20211217115600.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.20211217115600.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.20211217115600.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.20211217115600.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests/unit/test_config.py to test_config.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.b82d349.el9.x86_64/usr/lib/python3.9/site-packages/networking_ansible/tests/__init__.py to __init__.cpython-39.pyc writing byte-compilation script '/tmp/tmpnck81g3_.py' /usr/bin/python3 /tmp/tmpnck81g3_.py removing /tmp/tmpnck81g3_.py running install_data creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.b82d349.el9.x86_64/usr/etc creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.b82d349.el9.x86_64/usr/etc/neutron creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.b82d349.el9.x86_64/usr/etc/neutron/plugins creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.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.20211217115600.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.20211217115600.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.20211217115600.b82d349.el9.x86_64/usr/bin/__pycache__ + rm -rf /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.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.20211217115600.b82d349.el9 --unique-debug-suffix -5.0.1-0.20211217115600.b82d349.el9.x86_64 --unique-debug-src-base python-networking-ansible-5.0.1-0.20211217115600.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.20211217115600.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.vUdyVQ + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + PYTHON=/usr/bin/python3 + stestr-3 run Could not load 'oslo_cache.etcd3gw': No module named 'etcd3gw' Could not load 'oslo_cache.etcd3gw': No module named 'etcd3gw' Could not load 'oslo_cache.etcd3gw': No module named 'etcd3gw' Could not load 'oslo_cache.etcd3gw': No module named 'etcd3gw' {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit [0.765097s] ... ok Could not load 'oslo_cache.etcd3gw': No module named 'etcd3gw' {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_different_segment [0.563079s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestBindPort.test_bind_port_supported [0.887101s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_manage_vlans_false [0.774540s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_not_vlan [1.077247s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_fails [0.563290s] ... ok Failed to create network 37 on ansible host: testhost, reason: {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_recreated_segment [0.423740s] ... ok Port 5df86ee1-cb43-44a7-b044-1329d6844730 has vnic_type: baremetal which is not supported by networking-ansible, ignoring. {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestBindPort.test_bind_port_not_supported [1.084184s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_was_deleted [0.750835s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_normal_port_delete_false [0.550793s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_manage_vlans_false [0.860285s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_segment_was_deleted [0.754123s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsureSubports.test_ensure_subports_deleted [0.775186s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_not_segmentation_id [0.616750s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit [1.179268s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_no_ports [0.518609s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_not_segmentation_id [0.916890s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_host [0.793824s] ... ok Failed to delete network 37 on ansible host: testhost, reason: {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_fails [0.655684s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeletePortPostCommit.test_delete_port_postcommit_not_bound [0.632427s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_one_port_no_lli [0.830730s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_not_vlan [0.495506s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_port_keep [0.911819s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_one_port_virtnet [0.480555s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteSwitchPort.test_delete_switch_port [0.559750s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_set_port_state_binding [0.551391s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeletePortPostCommit.test_delete_port_postcommit_bound [0.956141s] ... 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.894940s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_delete_w_active_ports_dt [0.579395s] ... ok multiple ports matching ironic port mac: 2 {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_two_port_virtnet_and_physnet [1.116042s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_direct_port_delete_true [0.606974s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsureSubports.test_ensure_subports_valid [1.091305s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBaremetal.test_is_port_baremetal_vm [0.727691s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_normal_port_delete_true [1.137914s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestInit.test_intialize [0.762448s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBound.test_is_port_bound_not_other [0.515906s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_delete_w_active_ports_vm [0.863365s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestInit.test_intialize_w_extra_params [0.604573s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_port_delete [0.632189s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_one_port_no_net [0.787025s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortSupported.test_is_port_supported_baremetal [1.017630s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBound.test_is_port_bound_direct [0.618531s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBaremetal.test_is_port_baremetal [0.930535s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortSupported.test_is_port_supported_invalid [0.611013s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_set_port_state [1.234828s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBound.test_is_port_bound_normal [0.672635s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBaremetal.test_is_port_baremetal_device_owner [0.771982s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBound.test_is_port_bound_port_not_supported [0.576139s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_context_no_name [0.761270s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_set_port_state_no_binding [0.910468s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortSupported.test_is_port_supported_normal [1.294269s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_context_no_net [0.509176s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsureSubports.test_ensure_subports_invalid [0.797632s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_context_net [0.928062s] ... ok /usr/lib64/python3.9/site-packages/sqlalchemy/orm/relationships.py:1994: SAWarning: Setting backref / back_populates on relationship QosNetworkPolicyBinding.port to refer to viewonly relationship Port.qos_network_policy_binding should include sync_backref=False set on the QosNetworkPolicyBinding.port relationship. (this warning may be suppressed after 10 occurrences) util.warn_limited( /usr/lib64/python3.9/site-packages/sqlalchemy/orm/relationships.py:1994: SAWarning: Setting backref / back_populates on relationship Tag.standard_attr to refer to viewonly relationship StandardAttribute.tags should include sync_backref=False set on the Tag.standard_attr relationship. (this warning may be suppressed after 10 occurrences) util.warn_limited( /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_obj_no_net [1.023185s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_context_no_lli [0.725439s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestInit.test_intialize_w_custom_params [1.011585s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_one_port [0.524961s] ... ok Failed to plug port d8deb4e1-815a-40e9-b9d7-e7f41ea76636 into switch port: switchportid on device: testhost reason: {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_access_failure [1.118597s] ... ok /usr/lib64/python3.9/site-packages/sqlalchemy/orm/relationships.py:1994: SAWarning: Setting backref / back_populates on relationship QosNetworkPolicyBinding.port to refer to viewonly relationship Port.qos_network_policy_binding should include sync_backref=False set on the QosNetworkPolicyBinding.port relationship. (this warning may be suppressed after 10 occurrences) util.warn_limited( /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' /usr/lib64/python3.9/site-packages/sqlalchemy/orm/relationships.py:1994: SAWarning: Setting backref / back_populates on relationship Tag.standard_attr to refer to viewonly relationship StandardAttribute.tags should include sync_backref=False set on the Tag.standard_attr relationship. (this warning may be suppressed after 10 occurrences) util.warn_limited( {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_one_port_no_binding [0.757243s] ... ok /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_switch_port [0.953985s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBound.test_is_port_bound [0.570007s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestML2PluginIntegration.test_create_network [2.362471s] ... ok PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortSupported.test_is_port_supported_direct [0.546723s] ... ok skipping: [testinghost] TASK [network-runner : include and run device provider specific tasks] ********* included: /etc/ansible/roles/network-runner/tasks/run.yaml for testinghost /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' 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 252b39e1-5736-4b4b-9d12-fec3cae7e961 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 846, 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 252b39e1-5736-4b4b-9d12-fec3cae7e961 on host foo for vnic_type baremetal using segments [{'id': '59c0dec6-e985-442e-b795-e5037288cbf8', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '3284eaf0-2572-4e96-ae9b-523b2df33ad5'}] /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_normal [1.241268s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestML2PluginIntegration.test_delete_network [1.416206s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_link_info_from_port_port_not_supported [1.243509s] ... ok /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestUpdatePortPostCommit.test_update_port_postcommit_port_not_bound [0.866135s] ... 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] ********************** {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_obj_net [0.789625s] ... ok 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 {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestUpdatePortPostCommit.test_update_port_postcommit_port_w_direct_port [0.769024s] ... ok Failed to plug port 252b39e1-5736-4b4b-9d12-fec3cae7e961 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 846, 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 252b39e1-5736-4b4b-9d12-fec3cae7e961 on host foo for vnic_type baremetal using segments [{'id': '59c0dec6-e985-442e-b795-e5037288cbf8', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '3284eaf0-2572-4e96-ae9b-523b2df33ad5'}] {0} networking_ansible.tests.unit.ml2.test_trunk_driver.NetAnsibleTrunkDriverTestCase.test_driver_creation [0.157903s] ... ok /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' {0} networking_ansible.tests.unit.ml2.test_trunk_driver.NetAnsibleTrunkHandlerTestCase.test_subports_deleted [0.086889s] ... ok {0} networking_ansible.tests.unit.test_config.TestConfig.test_config_empty_hosts [0.002235s] ... 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. {0} networking_ansible.tests.unit.test_config.TestConfig.test_config_w_invalid_port_mapping [0.013271s] ... ok /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' Failed to plug port f569501a-01b8-48e7-adcb-5ac9fb8aa1f4 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 846, 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 f569501a-01b8-48e7-adcb-5ac9fb8aa1f4 on host foo for vnic_type baremetal using segments [{'id': 'a4d93284-f52a-4757-9622-94ab2519c3c6', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '52cc2492-34f8-483f-8432-d48fa7ca4cd5'}] /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' Failed to plug port f569501a-01b8-48e7-adcb-5ac9fb8aa1f4 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 846, 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 f569501a-01b8-48e7-adcb-5ac9fb8aa1f4 on host foo for vnic_type baremetal using segments [{'id': 'a4d93284-f52a-4757-9622-94ab2519c3c6', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '52cc2492-34f8-483f-8432-d48fa7ca4cd5'}] {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestUpdatePortPostCommit.test_update_port_postcommit_port_bound_curr [1.057136s] ... ok /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' Failed to plug port f569501a-01b8-48e7-adcb-5ac9fb8aa1f4 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 846, 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 f569501a-01b8-48e7-adcb-5ac9fb8aa1f4 on host foo for vnic_type baremetal using segments [{'id': 'a4d93284-f52a-4757-9622-94ab2519c3c6', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '52cc2492-34f8-483f-8432-d48fa7ca4cd5'}] /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' Failed to plug port f569501a-01b8-48e7-adcb-5ac9fb8aa1f4 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 846, 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 f569501a-01b8-48e7-adcb-5ac9fb8aa1f4 on host foo for vnic_type baremetal using segments [{'id': 'a4d93284-f52a-4757-9622-94ab2519c3c6', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '52cc2492-34f8-483f-8432-d48fa7ca4cd5'}] /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' Failed to plug port f569501a-01b8-48e7-adcb-5ac9fb8aa1f4 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 846, 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 f569501a-01b8-48e7-adcb-5ac9fb8aa1f4 on host foo for vnic_type baremetal using segments [{'id': 'a4d93284-f52a-4757-9622-94ab2519c3c6', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '52cc2492-34f8-483f-8432-d48fa7ca4cd5'}] /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' Failed to plug port f569501a-01b8-48e7-adcb-5ac9fb8aa1f4 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 846, 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 f569501a-01b8-48e7-adcb-5ac9fb8aa1f4 on host foo for vnic_type baremetal using segments [{'id': 'a4d93284-f52a-4757-9622-94ab2519c3c6', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '52cc2492-34f8-483f-8432-d48fa7ca4cd5'}] /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' Failed to plug port f569501a-01b8-48e7-adcb-5ac9fb8aa1f4 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 846, 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 f569501a-01b8-48e7-adcb-5ac9fb8aa1f4 on host foo for vnic_type baremetal using segments [{'id': 'a4d93284-f52a-4757-9622-94ab2519c3c6', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '52cc2492-34f8-483f-8432-d48fa7ca4cd5'}] PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestUpdatePortPostCommit.test_update_port_postcommit_port_w_normal_port [0.984725s] ... 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] ********************** Failed to plug port f569501a-01b8-48e7-adcb-5ac9fb8aa1f4 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 846, 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 f569501a-01b8-48e7-adcb-5ac9fb8aa1f4 on host foo for vnic_type baremetal using segments [{'id': 'a4d93284-f52a-4757-9622-94ab2519c3c6', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '52cc2492-34f8-483f-8432-d48fa7ca4cd5'}] ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' 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 {2} networking_ansible.tests.unit.ml2.test_trunk_driver.NetAnsibleTrunkDriverTestCase.test_register [0.215880s] ... ok Failed to plug port f569501a-01b8-48e7-adcb-5ac9fb8aa1f4 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 846, 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 f569501a-01b8-48e7-adcb-5ac9fb8aa1f4 on host foo for vnic_type baremetal using segments [{'id': 'a4d93284-f52a-4757-9622-94ab2519c3c6', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '52cc2492-34f8-483f-8432-d48fa7ca4cd5'}] {2} networking_ansible.tests.unit.ml2.test_trunk_driver.NetAnsibleTrunkHandlerTestCase.test_subports_added [0.055081s] ... ok /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' Failed to plug port 252b39e1-5736-4b4b-9d12-fec3cae7e961 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 846, 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 252b39e1-5736-4b4b-9d12-fec3cae7e961 on host foo for vnic_type baremetal using segments [{'id': '59c0dec6-e985-442e-b795-e5037288cbf8', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '3284eaf0-2572-4e96-ae9b-523b2df33ad5'}] Failed to plug port f569501a-01b8-48e7-adcb-5ac9fb8aa1f4 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 846, 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 f569501a-01b8-48e7-adcb-5ac9fb8aa1f4 on host foo for vnic_type baremetal using segments [{'id': 'a4d93284-f52a-4757-9622-94ab2519c3c6', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '52cc2492-34f8-483f-8432-d48fa7ca4cd5'}] /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestML2PluginIntegration.test_update_port_error [3.478575s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_inventory_switch [0.765315s] ... 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 {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_port [0.480395s] ... ok Failed to plug port 252b39e1-5736-4b4b-9d12-fec3cae7e961 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 846, 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 252b39e1-5736-4b4b-9d12-fec3cae7e961 on host foo for vnic_type baremetal using segments [{'id': '59c0dec6-e985-442e-b795-e5037288cbf8', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '3284eaf0-2572-4e96-ae9b-523b2df33ad5'}] /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_switch_port_or_name [0.517993s] ... ok PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestUpdatePortPostCommit.test_update_port_postcommit_port_bound_orig [0.702409s] ... 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] ********************** {1} networking_ansible.tests.unit.ml2.test_trunk_driver.NetAnsibleTrunkDriverTestCase.test_driver_is_loaded [0.066448s] ... ok {1} networking_ansible.tests.unit.test_config.TestConfig.test_config_from_file [0.004050s] ... ok 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 252b39e1-5736-4b4b-9d12-fec3cae7e961 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 846, 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 252b39e1-5736-4b4b-9d12-fec3cae7e961 on host foo for vnic_type baremetal using segments [{'id': '59c0dec6-e985-442e-b795-e5037288cbf8', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '3284eaf0-2572-4e96-ae9b-523b2df33ad5'}] /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' 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 252b39e1-5736-4b4b-9d12-fec3cae7e961 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 846, 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 252b39e1-5736-4b4b-9d12-fec3cae7e961 on host foo for vnic_type baremetal using segments [{'id': '59c0dec6-e985-442e-b795-e5037288cbf8', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '3284eaf0-2572-4e96-ae9b-523b2df33ad5'}] /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' 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 252b39e1-5736-4b4b-9d12-fec3cae7e961 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 846, 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 252b39e1-5736-4b4b-9d12-fec3cae7e961 on host foo for vnic_type baremetal using segments [{'id': '59c0dec6-e985-442e-b795-e5037288cbf8', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '3284eaf0-2572-4e96-ae9b-523b2df33ad5'}] /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' 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 252b39e1-5736-4b4b-9d12-fec3cae7e961 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 846, 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 252b39e1-5736-4b4b-9d12-fec3cae7e961 on host foo for vnic_type baremetal using segments [{'id': '59c0dec6-e985-442e-b795-e5037288cbf8', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '3284eaf0-2572-4e96-ae9b-523b2df33ad5'}] /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' 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 252b39e1-5736-4b4b-9d12-fec3cae7e961 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 846, 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 252b39e1-5736-4b4b-9d12-fec3cae7e961 on host foo for vnic_type baremetal using segments [{'id': '59c0dec6-e985-442e-b795-e5037288cbf8', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '3284eaf0-2572-4e96-ae9b-523b2df33ad5'}] /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' 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 252b39e1-5736-4b4b-9d12-fec3cae7e961 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 846, 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 252b39e1-5736-4b4b-9d12-fec3cae7e961 on host foo for vnic_type baremetal using segments [{'id': '59c0dec6-e985-442e-b795-e5037288cbf8', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '3284eaf0-2572-4e96-ae9b-523b2df33ad5'}] /usr/lib/python3.9/site-packages/neutron/objects/base.py:284: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working if not isinstance(objects, collections.Sequence): {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestML2PluginIntegration.test_delete_port [18.372380s] ... ok /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' /usr/lib/python3.9/site-packages/neutron_lib/context.py:151: DeprecationWarning: context.session is used with and without new enginefacade. Please update the code to use new enginefacede consistently. warnings.warn('context.session is used with and without ' {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestML2PluginIntegration.test_update_port_unbound [0.870115s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_access [0.514839s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_network [0.257927s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_switch_name [0.413721s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_trunk [0.259366s] ... ok {3} networking_ansible.tests.unit.test_config.TestConfig.test_config_parser_error [0.006129s] ... ok {3} networking_ansible.tests.unit.test_config.TestConfig.test_config_w_hosts [0.003079s] ... ok ====== Totals ====== Ran: 93 tests in 31.6764 sec. - Passed: 93 - Skipped: 0 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 0 Sum of execute time for each test: 87.0886 sec. ============== Worker Balance ============== - Worker 0 (24 tests) => 0:00:16.655634 - Worker 1 (23 tests) => 0:00:21.201763 - Worker 2 (23 tests) => 0:00:17.672320 - Worker 3 (23 tests) => 0:00:31.676419 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-networking-ansible-5.0.1-0.20211217115600.b82d349.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.9OqTYW + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + LICENSEDIR=/builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.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.20211217115600.b82d349.el9.x86_64/usr/share/licenses/python3-networking-ansible + cp -pr LICENSE /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.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.20211217115600.b82d349.el9 python3-networking-ansible = 5.0.1-0.20211217115600.b82d349.el9 python3.9-networking-ansible = 5.0.1-0.20211217115600.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.20211217115600.b82d349.el9 Processing files: python3-networking-ansible-tests-5.0.1-0.20211217115600.b82d349.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.o6Ohpe + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + LICENSEDIR=/builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.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.20211217115600.b82d349.el9.x86_64/usr/share/licenses/python3-networking-ansible-tests + cp -pr LICENSE /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.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.20211217115600.b82d349.el9 python3-networking-ansible-tests = 5.0.1-0.20211217115600.b82d349.el9 python3.9-networking-ansible-tests = 5.0.1-0.20211217115600.b82d349.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.9 Processing files: python3-networking-ansible-doc-5.0.1-0.20211217115600.b82d349.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lrvqfE + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + DOCDIR=/builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.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.20211217115600.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.20211217115600.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.20211217115600.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.tY2Knj + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + LICENSEDIR=/builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.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.20211217115600.b82d349.el9.x86_64/usr/share/licenses/python3-networking-ansible-doc + cp -pr LICENSE /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.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.20211217115600.b82d349.el9 python3-networking-ansible-doc = 5.0.1-0.20211217115600.b82d349.el9 python3.9-networking-ansible-doc = 5.0.1-0.20211217115600.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.20211217115600.b82d349.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20211217115600.b82d349.el9.x86_64 Wrote: /builddir/build/RPMS/python3-networking-ansible-5.0.1-0.20211217115600.b82d349.el9.noarch.rpm Wrote: /builddir/build/RPMS/python3-networking-ansible-tests-5.0.1-0.20211217115600.b82d349.el9.noarch.rpm Wrote: /builddir/build/RPMS/python3-networking-ansible-doc-5.0.1-0.20211217115600.b82d349.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vGvXQu + 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.20211217115600.b82d349.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0