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-centos8-yoga-x86_64-5/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1030gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._wypcs79:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._wypcs79:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '00c8a7bb33144bf5b49fab6ab5c3b92a', '-D', '/var/lib/mock/dlrn-centos8-yoga-x86_64-5/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv._wypcs79:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.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-centos8-yoga-x86_64-5/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1030gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.geb7yniu:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.geb7yniu:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1df0277aa8f1499d9e7739ac4d488936', '-D', '/var/lib/mock/dlrn-centos8-yoga-x86_64-5/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.geb7yniu:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.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-centos8-yoga-x86_64-5/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1030gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.geb7yniu:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.geb7yniu:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '44c5a8c63865414694684bca322db6f9', '-D', '/var/lib/mock/dlrn-centos8-yoga-x86_64-5/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.geb7yniu:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BIsgdv + 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.20220411093345.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 add . + /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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fNhDYw + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py build '--executable=/usr/libexec/platform-python -s' running build running build_py creating build creating build/lib creating build/lib/networking_ansible creating build/lib/networking_ansible/ml2 copying networking_ansible/ml2/__init__.py -> build/lib/networking_ansible/ml2 copying networking_ansible/ml2/mech_driver.py -> build/lib/networking_ansible/ml2 copying networking_ansible/ml2/trunk_driver.py -> build/lib/networking_ansible/ml2 creating build/lib/networking_ansible/tests copying networking_ansible/tests/__init__.py -> build/lib/networking_ansible/tests copying networking_ansible/__init__.py -> build/lib/networking_ansible copying networking_ansible/config.py -> build/lib/networking_ansible copying networking_ansible/constants.py -> build/lib/networking_ansible copying networking_ansible/exceptions.py -> build/lib/networking_ansible creating build/lib/networking_ansible/tests/unit creating build/lib/networking_ansible/tests/unit/ml2 copying networking_ansible/tests/unit/ml2/__init__.py -> build/lib/networking_ansible/tests/unit/ml2 copying networking_ansible/tests/unit/ml2/test_mech_driver.py -> 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/__init__.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/test_config.py -> build/lib/networking_ansible/tests/unit running egg_info writing networking_ansible.egg-info/PKG-INFO writing dependency_links to networking_ansible.egg-info/dependency_links.txt writing entry points to networking_ansible.egg-info/entry_points.txt deleting networking_ansible.egg-info/requires.txt writing top-level names to networking_ansible.egg-info/top_level.txt writing pbr to networking_ansible.egg-info/pbr.json [pbr] Processing SOURCES.txt [pbr] In git context, generating filelist from git warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.gitreview' warning: no previously-included files matching '*.pyc' found anywhere in distribution writing manifest file 'networking_ansible.egg-info/SOURCES.txt' + sleep 1 + /usr/libexec/platform-python setup.py build_sphinx -b html running build_sphinx [pbr] Writing ChangeLog [pbr] Generating ChangeLog [pbr] ChangeLog complete (0.0s) [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.1s) Running Sphinx v2.2.2 [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.6/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... genindexdone writing additional pages... searchdone 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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Bpb4Vu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64 + cd networking-ansible-5.0.1.dev13 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64 running install [pbr] Writing ChangeLog [pbr] Generating ChangeLog [pbr] ChangeLog complete (0.0s) [pbr] Generating AUTHORS [pbr] AUTHORS complete (0.0s) running install_lib creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible copying build/lib/networking_ansible/exceptions.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible copying build/lib/networking_ansible/constants.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible copying build/lib/networking_ansible/config.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible copying build/lib/networking_ansible/__init__.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/tests creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/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.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/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.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/tests/unit copying build/lib/networking_ansible/tests/unit/__init__.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/tests/unit creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/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.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/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.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/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.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/tests/unit/ml2 copying build/lib/networking_ansible/tests/__init__.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/tests creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/ml2 copying build/lib/networking_ansible/ml2/trunk_driver.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/ml2 copying build/lib/networking_ansible/ml2/mech_driver.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/ml2 copying build/lib/networking_ansible/ml2/__init__.py -> /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/ml2 byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/exceptions.py to exceptions.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/constants.py to constants.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/config.py to config.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/tests/unit/test_config.py to test_config.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/tests/unit/base.py to base.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/tests/unit/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/tests/unit/ml2/test_trunk_driver.py to test_trunk_driver.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/tests/unit/ml2/test_mech_driver.py to test_mech_driver.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/tests/unit/ml2/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/tests/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/ml2/trunk_driver.py to trunk_driver.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/ml2/mech_driver.py to mech_driver.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible/ml2/__init__.py to __init__.cpython-36.pyc writing byte-compilation script '/tmp/tmp6l3dmrjk.py' /usr/libexec/platform-python /tmp/tmp6l3dmrjk.py removing /tmp/tmp6l3dmrjk.py running install_data creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/etc creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/etc/neutron creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/etc/neutron/plugins creating /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.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.20220411093345.b82d349.el8.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 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.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6/site-packages/networking_ansible-5.0.1.dev13-py3.6.egg-info running install_scripts + rm -rf /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/etc/neutron + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 5.0.1-0.20220411093345.b82d349.el8 --unique-debug-suffix -5.0.1-0.20220411093345.b82d349.el8.x86_64 --unique-debug-src-base python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.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 /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/lib/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.cFANnw + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + PYTHON=/usr/libexec/platform-python + stestr-3 run {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_manage_vlans_false [1.560383s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestBindPort.test_bind_port_supported [1.749968s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_was_deleted [1.227104s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_not_segmentation_id [2.847386s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit [1.566432s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_fails [1.600223s] ... 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_manage_vlans_false [1.748770s] ... ok Port 28fa7f0c-ce38-4b6d-b0e2-e033f22c4b6c has vnic_type: baremetal which is not supported by networking-ansible, ignoring. {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestBindPort.test_bind_port_not_supported [2.331426s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_fails [1.343120s] ... ok Failed to create network 37 on ansible host: testhost, reason: Failed to uplug port 2 on 1 reason: 1 {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteSwitchPort.test_delete_switch_port_fails [1.716085s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_not_vlan [1.922467s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_not_vlan [2.390291s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit [2.516828s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_host [1.316233s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_recreated_segment [0.906778s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestCreateNetworkPostCommit.test_create_network_postcommit_segment_was_deleted [1.207040s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_different_segment [1.437258s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeletePortPostCommit.test_delete_port_postcommit_bound [1.451962s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestInit.test_intialize_w_extra_params [1.869634s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeletePortPostCommit.test_delete_port_postcommit_not_bound [2.548544s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteNetworkPostCommit.test_delete_network_postcommit_not_segmentation_id [1.652502s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_delete_w_active_ports_dt [1.622839s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.6/unittest/mock.py", line 1175, in patched arg = patching.__enter__() File "/usr/lib64/python3.6/unittest/mock.py", line 1247, in __enter__ original, local = self.get_original() File "/usr/lib64/python3.6/unittest/mock.py", line 1221, in get_original "%s does not have the attribute %r" % (target, name) AttributeError: does not have the attribute 'delete_trunk_vlan' {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestDeleteSwitchPort.test_delete_switch_port [0.950694s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_one_port_no_binding [2.150140s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_normal_port_delete_false [1.330309s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_delete_w_active_ports_vm [1.724827s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.6/unittest/mock.py", line 1175, in patched arg = patching.__enter__() File "/usr/lib64/python3.6/unittest/mock.py", line 1247, in __enter__ original, local = self.get_original() File "/usr/lib64/python3.6/unittest/mock.py", line 1221, in get_original "%s does not have the attribute %r" % (target, name) AttributeError: does not have the attribute 'delete_trunk_vlan' {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_direct_port_delete_true [1.077146s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.6/unittest/mock.py", line 1175, in patched arg = patching.__enter__() File "/usr/lib64/python3.6/unittest/mock.py", line 1247, in __enter__ original, local = self.get_original() File "/usr/lib64/python3.6/unittest/mock.py", line 1221, in get_original "%s does not have the attribute %r" % (target, name) AttributeError: does not have the attribute 'delete_trunk_vlan' {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_one_port_no_lli [2.121161s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_port_delete [1.946839s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_port_keep [2.315438s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBaremetal.test_is_port_baremetal [1.828929s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_normal_port_delete_true [3.617598s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.6/unittest/mock.py", line 1175, in patched arg = patching.__enter__() File "/usr/lib64/python3.6/unittest/mock.py", line 1247, in __enter__ original, local = self.get_original() File "/usr/lib64/python3.6/unittest/mock.py", line 1221, in get_original "%s does not have the attribute %r" % (target, name) AttributeError: does not have the attribute 'delete_trunk_vlan' {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsureSubports.test_ensure_subports_invalid [1.399083s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_set_port_state [1.791094s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsureSubports.test_ensure_subports_deleted [1.554664s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_set_port_state_binding [1.088106s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsureSubports.test_ensure_subports_valid [1.526813s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBaremetal.test_is_port_baremetal_vm [2.174704s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBaremetal.test_is_port_baremetal_device_owner [1.313701s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_set_port_state_no_binding [1.270801s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBound.test_is_port_bound [1.161007s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestInit.test_intialize [1.722251s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBound.test_is_port_bound_direct [1.179178s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestInit.test_intialize_w_custom_params [1.257818s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBound.test_is_port_bound_not_other [1.193657s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_no_ports [1.669545s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBound.test_is_port_bound_normal [1.057356s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_one_port_no_net [1.524996s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_link_info_from_port_port_not_supported [1.514557s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_one_port_virtnet [0.768104s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortBound.test_is_port_bound_port_not_supported [1.537209s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_one_port [1.671216s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_context_net [0.757630s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_context_no_net [1.542794s] ... ok multiple ports matching ironic port mac: 2 {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortSupported.test_is_port_supported_baremetal [1.387606s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsDeletedPortInUse.test_is_in_use_two_port_virtnet_and_physnet [1.149747s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_obj_no_net [1.568515s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortSupported.test_is_port_supported_invalid [1.400205s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortSupported.test_is_port_supported_direct [2.188889s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_context_no_lli [1.713068s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestML2PluginIntegration.test_create_network [3.972582s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestIsPortSupported.test_is_port_supported_normal [1.403200s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestML2PluginIntegration.test_delete_network [3.097280s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_inventory_switch [0.964201s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_obj_net [2.023592s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_network [0.792292s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestLinkInfo.test_switch_meta_from_link_info_context_no_name [1.650442s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_port [1.817983s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_switch_port_or_name [0.888099s] ... ok {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_trunk [0.774321s] ... ok PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestUpdatePortPostCommit.test_update_port_postcommit_port_w_direct_port [2.276150s] ... ok 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] ********************** Failed to plug port dd0744fb-a3b1-4e58-a282-d1dd1f1f2eaf into switch port: bar on device: testinghost reason: foo ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* 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 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect Exception: foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 395, in bind_port segmentation_id) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 583, in ensure_port switch_name, switch_port): 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 dd0744fb-a3b1-4e58-a282-d1dd1f1f2eaf on host foo for vnic_type baremetal using segments [{'id': 'ce892dc3-bb0a-43d3-bb80-b6fff1cd9bdc', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '86206c89-3cf6-4ec5-9fa8-08a53c8558b2'}] Failed to plug port dd0744fb-a3b1-4e58-a282-d1dd1f1f2eaf 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 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect Exception: foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 395, in bind_port segmentation_id) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 583, in ensure_port switch_name, switch_port): 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 dd0744fb-a3b1-4e58-a282-d1dd1f1f2eaf on host foo for vnic_type baremetal using segments [{'id': 'ce892dc3-bb0a-43d3-bb80-b6fff1cd9bdc', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '86206c89-3cf6-4ec5-9fa8-08a53c8558b2'}] {1} networking_ansible.tests.unit.ml2.test_mech_driver.TestUpdatePortPostCommit.test_update_port_postcommit_port_w_normal_port [1.196628s] ... ok included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* {1} networking_ansible.tests.unit.ml2.test_trunk_driver.NetAnsibleTrunkDriverTestCase.test_driver_creation [0.318395s] ... ok {1} networking_ansible.tests.unit.test_config.TestConfig.test_config_empty_hosts [0.002320s] ... ok {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestML2PluginIntegration.test_update_port_unbound [7.377807s] ... ok fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 skipped=2 rescued=0 ignored=0 /usr/lib/python3.6/site-packages/network_runner/api.py:81: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp9des_qps/tmp_xbz_pfu/artifacts/3a96b603-2df4-4381-af7a-7c96223571d9/stdout' mode='r' encoding='UTF-8'> raise exceptions.NetworkRunnerException(' '.join(result.stdout)) Failed to plug port ac04a4d4-7a44-454e-9c9a-60e2aa69a148 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 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 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 140, in conf_access_port return self.play('conf_access_port', hostname, variables) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 108, in play return self.run(pb) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 81, 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 skipped=2 rescued=0 ignored=0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 395, in bind_port segmentation_id) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 583, in ensure_port switch_name, switch_port): 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 ac04a4d4-7a44-454e-9c9a-60e2aa69a148 on host foo for vnic_type baremetal using segments [{'id': '7434c8d0-38d9-4c83-845c-f47e2e32009c', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '7ff217e4-3b72-42aa-a0c6-8c9ecb079e8f'}] Failed to plug port dd0744fb-a3b1-4e58-a282-d1dd1f1f2eaf 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 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect Exception: foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 395, in bind_port segmentation_id) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 583, in ensure_port switch_name, switch_port): 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 dd0744fb-a3b1-4e58-a282-d1dd1f1f2eaf on host foo for vnic_type baremetal using segments [{'id': 'ce892dc3-bb0a-43d3-bb80-b6fff1cd9bdc', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '86206c89-3cf6-4ec5-9fa8-08a53c8558b2'}] {0} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_normal [1.055916s] ... FAILED Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.6/unittest/mock.py", line 1175, in patched arg = patching.__enter__() File "/usr/lib64/python3.6/unittest/mock.py", line 1247, in __enter__ original, local = self.get_original() File "/usr/lib64/python3.6/unittest/mock.py", line 1221, in get_original "%s does not have the attribute %r" % (target, name) AttributeError: does not have the attribute 'add_trunk_vlan' Failed to plug port dd0744fb-a3b1-4e58-a282-d1dd1f1f2eaf 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 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect Exception: foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 395, in bind_port segmentation_id) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 583, in ensure_port switch_name, switch_port): 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 dd0744fb-a3b1-4e58-a282-d1dd1f1f2eaf on host foo for vnic_type baremetal using segments [{'id': 'ce892dc3-bb0a-43d3-bb80-b6fff1cd9bdc', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '86206c89-3cf6-4ec5-9fa8-08a53c8558b2'}] {0} networking_ansible.tests.unit.ml2.test_trunk_driver.NetAnsibleTrunkHandlerTestCase.test_subports_added [0.127448s] ... ok {0} networking_ansible.tests.unit.test_config.TestConfig.test_config_from_file [0.006149s] ... ok {0} networking_ansible.tests.unit.test_config.TestConfig.test_config_parser_error [0.007889s] ... 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.004298s] ... ok Failed to plug port dd0744fb-a3b1-4e58-a282-d1dd1f1f2eaf 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 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect Exception: foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 395, in bind_port segmentation_id) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 583, in ensure_port switch_name, switch_port): 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 dd0744fb-a3b1-4e58-a282-d1dd1f1f2eaf on host foo for vnic_type baremetal using segments [{'id': 'ce892dc3-bb0a-43d3-bb80-b6fff1cd9bdc', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '86206c89-3cf6-4ec5-9fa8-08a53c8558b2'}] Failed to plug port dd0744fb-a3b1-4e58-a282-d1dd1f1f2eaf 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 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect Exception: foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 395, in bind_port segmentation_id) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 583, in ensure_port switch_name, switch_port): 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 dd0744fb-a3b1-4e58-a282-d1dd1f1f2eaf on host foo for vnic_type baremetal using segments [{'id': 'ce892dc3-bb0a-43d3-bb80-b6fff1cd9bdc', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '86206c89-3cf6-4ec5-9fa8-08a53c8558b2'}] Failed to plug port dd0744fb-a3b1-4e58-a282-d1dd1f1f2eaf 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 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect Exception: foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 395, in bind_port segmentation_id) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 583, in ensure_port switch_name, switch_port): 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 dd0744fb-a3b1-4e58-a282-d1dd1f1f2eaf on host foo for vnic_type baremetal using segments [{'id': 'ce892dc3-bb0a-43d3-bb80-b6fff1cd9bdc', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '86206c89-3cf6-4ec5-9fa8-08a53c8558b2'}] Failed to plug port dd0744fb-a3b1-4e58-a282-d1dd1f1f2eaf 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 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect Exception: foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 395, in bind_port segmentation_id) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 583, in ensure_port switch_name, switch_port): 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 dd0744fb-a3b1-4e58-a282-d1dd1f1f2eaf on host foo for vnic_type baremetal using segments [{'id': 'ce892dc3-bb0a-43d3-bb80-b6fff1cd9bdc', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '86206c89-3cf6-4ec5-9fa8-08a53c8558b2'}] Failed to plug port dd0744fb-a3b1-4e58-a282-d1dd1f1f2eaf 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 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect Exception: foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 395, in bind_port segmentation_id) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 583, in ensure_port switch_name, switch_port): 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 dd0744fb-a3b1-4e58-a282-d1dd1f1f2eaf on host foo for vnic_type baremetal using segments [{'id': 'ce892dc3-bb0a-43d3-bb80-b6fff1cd9bdc', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '86206c89-3cf6-4ec5-9fa8-08a53c8558b2'}] Failed to plug port dd0744fb-a3b1-4e58-a282-d1dd1f1f2eaf 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 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib64/python3.6/unittest/mock.py", line 939, in __call__ return _mock_self._mock_call(*args, **kwargs) File "/usr/lib64/python3.6/unittest/mock.py", line 999, in _mock_call raise effect Exception: foo During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 395, in bind_port segmentation_id) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 583, in ensure_port switch_name, switch_port): 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 dd0744fb-a3b1-4e58-a282-d1dd1f1f2eaf on host foo for vnic_type baremetal using segments [{'id': 'ce892dc3-bb0a-43d3-bb80-b6fff1cd9bdc', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '86206c89-3cf6-4ec5-9fa8-08a53c8558b2'}] {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestML2PluginIntegration.test_update_port_error [11.336650s] ... 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] ********************* {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_access [0.970601s] ... ok included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 skipped=2 rescued=0 ignored=0 /usr/lib/python3.6/site-packages/network_runner/api.py:81: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp9des_qps/tmp69c82691/artifacts/3a96b603-2df4-4381-af7a-7c96223571d9/stdout' mode='r' encoding='UTF-8'> raise exceptions.NetworkRunnerException(' '.join(result.stdout)) Failed to plug port ac04a4d4-7a44-454e-9c9a-60e2aa69a148 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 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 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 140, in conf_access_port return self.play('conf_access_port', hostname, variables) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 108, in play return self.run(pb) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 81, 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 skipped=2 rescued=0 ignored=0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 395, in bind_port segmentation_id) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 583, in ensure_port switch_name, switch_port): 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 ac04a4d4-7a44-454e-9c9a-60e2aa69a148 on host foo for vnic_type baremetal using segments [{'id': '7434c8d0-38d9-4c83-845c-f47e2e32009c', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '7ff217e4-3b72-42aa-a0c6-8c9ecb079e8f'}] {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_switch_port [0.706122s] ... ok {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestUpdatePortPostCommit.test_update_port_postcommit_port_bound_orig [1.010283s] ... ok PLAY [testinghost] ************************************************************* TASK [network-runner : check for required fact: port_name] ********************* {3} networking_ansible.tests.unit.ml2.test_mech_driver.TestUpdatePortPostCommit.test_update_port_postcommit_port_not_bound [0.881935s] ... ok skipping: [testinghost] TASK [network-runner : check for required fact: port_description] ************** {3} networking_ansible.tests.unit.ml2.test_trunk_driver.NetAnsibleTrunkDriverTestCase.test_driver_is_loaded [0.205987s] ... 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] ********************** {3} networking_ansible.tests.unit.ml2.test_trunk_driver.NetAnsibleTrunkHandlerTestCase.test_subports_deleted [0.151275s] ... ok ok: [testinghost] => (item=/etc/ansible/roles/network-runner/providers/openvswitch/defaults.yaml) TASK [network-runner : include device role specific tasks] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 skipped=2 rescued=0 ignored=0 /usr/lib/python3.6/site-packages/network_runner/api.py:81: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp9des_qps/tmpqe4p7tsd/artifacts/3a96b603-2df4-4381-af7a-7c96223571d9/stdout' mode='r' encoding='UTF-8'> raise exceptions.NetworkRunnerException(' '.join(result.stdout)) Failed to plug port ac04a4d4-7a44-454e-9c9a-60e2aa69a148 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 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 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 140, in conf_access_port return self.play('conf_access_port', hostname, variables) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 108, in play return self.run(pb) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 81, 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 skipped=2 rescued=0 ignored=0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 395, in bind_port segmentation_id) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 583, in ensure_port switch_name, switch_port): 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 ac04a4d4-7a44-454e-9c9a-60e2aa69a148 on host foo for vnic_type baremetal using segments [{'id': '7434c8d0-38d9-4c83-845c-f47e2e32009c', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '7ff217e4-3b72-42aa-a0c6-8c9ecb079e8f'}] 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 skipped=2 rescued=0 ignored=0 /usr/lib/python3.6/site-packages/network_runner/api.py:81: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp9des_qps/tmp_l6869g5/artifacts/3a96b603-2df4-4381-af7a-7c96223571d9/stdout' mode='r' encoding='UTF-8'> raise exceptions.NetworkRunnerException(' '.join(result.stdout)) Failed to plug port ac04a4d4-7a44-454e-9c9a-60e2aa69a148 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 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 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 140, in conf_access_port return self.play('conf_access_port', hostname, variables) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 108, in play return self.run(pb) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 81, 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 skipped=2 rescued=0 ignored=0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 395, in bind_port segmentation_id) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 583, in ensure_port switch_name, switch_port): 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 ac04a4d4-7a44-454e-9c9a-60e2aa69a148 on host foo for vnic_type baremetal using segments [{'id': '7434c8d0-38d9-4c83-845c-f47e2e32009c', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '7ff217e4-3b72-42aa-a0c6-8c9ecb079e8f'}] 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 skipped=2 rescued=0 ignored=0 /usr/lib/python3.6/site-packages/network_runner/api.py:81: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp9des_qps/tmpwnaidmgo/artifacts/3a96b603-2df4-4381-af7a-7c96223571d9/stdout' mode='r' encoding='UTF-8'> raise exceptions.NetworkRunnerException(' '.join(result.stdout)) Failed to plug port ac04a4d4-7a44-454e-9c9a-60e2aa69a148 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 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 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 140, in conf_access_port return self.play('conf_access_port', hostname, variables) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 108, in play return self.run(pb) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 81, 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 skipped=2 rescued=0 ignored=0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 395, in bind_port segmentation_id) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 583, in ensure_port switch_name, switch_port): 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 ac04a4d4-7a44-454e-9c9a-60e2aa69a148 on host foo for vnic_type baremetal using segments [{'id': '7434c8d0-38d9-4c83-845c-f47e2e32009c', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '7ff217e4-3b72-42aa-a0c6-8c9ecb079e8f'}] 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 skipped=2 rescued=0 ignored=0 /usr/lib/python3.6/site-packages/network_runner/api.py:81: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp9des_qps/tmpjt58gb2s/artifacts/3a96b603-2df4-4381-af7a-7c96223571d9/stdout' mode='r' encoding='UTF-8'> raise exceptions.NetworkRunnerException(' '.join(result.stdout)) Failed to plug port ac04a4d4-7a44-454e-9c9a-60e2aa69a148 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 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 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 140, in conf_access_port return self.play('conf_access_port', hostname, variables) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 108, in play return self.run(pb) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 81, 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 skipped=2 rescued=0 ignored=0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 395, in bind_port segmentation_id) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 583, in ensure_port switch_name, switch_port): 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 ac04a4d4-7a44-454e-9c9a-60e2aa69a148 on host foo for vnic_type baremetal using segments [{'id': '7434c8d0-38d9-4c83-845c-f47e2e32009c', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '7ff217e4-3b72-42aa-a0c6-8c9ecb079e8f'}] 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 skipped=2 rescued=0 ignored=0 /usr/lib/python3.6/site-packages/network_runner/api.py:81: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp9des_qps/tmpsye5gpvl/artifacts/3a96b603-2df4-4381-af7a-7c96223571d9/stdout' mode='r' encoding='UTF-8'> raise exceptions.NetworkRunnerException(' '.join(result.stdout)) Failed to plug port ac04a4d4-7a44-454e-9c9a-60e2aa69a148 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 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 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 140, in conf_access_port return self.play('conf_access_port', hostname, variables) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 108, in play return self.run(pb) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 81, 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 skipped=2 rescued=0 ignored=0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 395, in bind_port segmentation_id) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 583, in ensure_port switch_name, switch_port): 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 ac04a4d4-7a44-454e-9c9a-60e2aa69a148 on host foo for vnic_type baremetal using segments [{'id': '7434c8d0-38d9-4c83-845c-f47e2e32009c', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '7ff217e4-3b72-42aa-a0c6-8c9ecb079e8f'}] 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 skipped=2 rescued=0 ignored=0 /usr/lib/python3.6/site-packages/network_runner/api.py:81: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp9des_qps/tmpq6mm3hy1/artifacts/3a96b603-2df4-4381-af7a-7c96223571d9/stdout' mode='r' encoding='UTF-8'> raise exceptions.NetworkRunnerException(' '.join(result.stdout)) Failed to plug port ac04a4d4-7a44-454e-9c9a-60e2aa69a148 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 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 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 140, in conf_access_port return self.play('conf_access_port', hostname, variables) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 108, in play return self.run(pb) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 81, 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 skipped=2 rescued=0 ignored=0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 395, in bind_port segmentation_id) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 583, in ensure_port switch_name, switch_port): 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 ac04a4d4-7a44-454e-9c9a-60e2aa69a148 on host foo for vnic_type baremetal using segments [{'id': '7434c8d0-38d9-4c83-845c-f47e2e32009c', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '7ff217e4-3b72-42aa-a0c6-8c9ecb079e8f'}] 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 skipped=2 rescued=0 ignored=0 /usr/lib/python3.6/site-packages/network_runner/api.py:81: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp9des_qps/tmpyccwviti/artifacts/3a96b603-2df4-4381-af7a-7c96223571d9/stdout' mode='r' encoding='UTF-8'> raise exceptions.NetworkRunnerException(' '.join(result.stdout)) Failed to plug port ac04a4d4-7a44-454e-9c9a-60e2aa69a148 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 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 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 140, in conf_access_port return self.play('conf_access_port', hostname, variables) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 108, in play return self.run(pb) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 81, 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 skipped=2 rescued=0 ignored=0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 395, in bind_port segmentation_id) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 583, in ensure_port switch_name, switch_port): 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 ac04a4d4-7a44-454e-9c9a-60e2aa69a148 on host foo for vnic_type baremetal using segments [{'id': '7434c8d0-38d9-4c83-845c-f47e2e32009c', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '7ff217e4-3b72-42aa-a0c6-8c9ecb079e8f'}] 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 skipped=2 rescued=0 ignored=0 /usr/lib/python3.6/site-packages/network_runner/api.py:81: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp9des_qps/tmphpd19fqw/artifacts/3a96b603-2df4-4381-af7a-7c96223571d9/stdout' mode='r' encoding='UTF-8'> raise exceptions.NetworkRunnerException(' '.join(result.stdout)) Failed to plug port ac04a4d4-7a44-454e-9c9a-60e2aa69a148 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 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 656, in _set_port_state **self.kwargs[switch_name]) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 140, in conf_access_port return self.play('conf_access_port', hostname, variables) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 108, in play return self.run(pb) File "/usr/lib/python3.6/site-packages/network_runner/api.py", line 81, 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] ********************* included: /etc/ansible/roles/network-runner/providers/openvswitch/conf_access_port.yaml for testinghost TASK [network-runner : openvswitch: configure access port] ********************* fatal: [testinghost]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: ssh: Could not resolve hostname host_ip: Name or service not known", "unreachable": true} PLAY RECAP ********************************************************************* testinghost : ok=3 changed=0 unreachable=1 failed=0 skipped=2 rescued=0 ignored=0 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/neutron/plugins/ml2/managers.py", line 851, in _bind_port_level driver.obj.bind_port(context) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 395, in bind_port segmentation_id) File "/builddir/build/BUILD/networking-ansible-5.0.1.dev13/networking_ansible/ml2/mech_driver.py", line 583, in ensure_port switch_name, switch_port): 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 ac04a4d4-7a44-454e-9c9a-60e2aa69a148 on host foo for vnic_type baremetal using segments [{'id': '7434c8d0-38d9-4c83-845c-f47e2e32009c', 'network_type': 'vlan', 'physical_network': 'physnet1', 'segmentation_id': 1, 'network_id': '7ff217e4-3b72-42aa-a0c6-8c9ecb079e8f'}] {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestML2PluginIntegration.test_delete_port [35.326827s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_access_failure [0.269675s] ... ok Failed to plug port 7012d417-8194-4894-9d7e-c2e450564702 into switch port: switchportid on device: testhost reason: {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_no_switch_name [0.466802s] ... ok {2} networking_ansible.tests.unit.ml2.test_mech_driver.TestUpdatePortPostCommit.test_update_port_postcommit_port_bound_curr [0.330396s] ... ok {2} networking_ansible.tests.unit.ml2.test_trunk_driver.NetAnsibleTrunkDriverTestCase.test_register [0.050585s] ... ok {2} networking_ansible.tests.unit.test_config.TestConfig.test_config_w_hosts [0.002941s] ... ok ============================== Failed 5 tests - output below: ============================== networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_delete_w_active_ports_dt -------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.6/unittest/mock.py", line 1175, in patched arg = patching.__enter__() File "/usr/lib64/python3.6/unittest/mock.py", line 1247, in __enter__ original, local = self.get_original() File "/usr/lib64/python3.6/unittest/mock.py", line 1221, in get_original "%s does not have the attribute %r" % (target, name) AttributeError: does not have the attribute 'delete_trunk_vlan' networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_no_delete_w_active_ports_vm -------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.6/unittest/mock.py", line 1175, in patched arg = patching.__enter__() File "/usr/lib64/python3.6/unittest/mock.py", line 1247, in __enter__ original, local = self.get_original() File "/usr/lib64/python3.6/unittest/mock.py", line 1221, in get_original "%s does not have the attribute %r" % (target, name) AttributeError: does not have the attribute 'delete_trunk_vlan' networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_direct_port_delete_true ---------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.6/unittest/mock.py", line 1175, in patched arg = patching.__enter__() File "/usr/lib64/python3.6/unittest/mock.py", line 1247, in __enter__ original, local = self.get_original() File "/usr/lib64/python3.6/unittest/mock.py", line 1221, in get_original "%s does not have the attribute %r" % (target, name) AttributeError: does not have the attribute 'delete_trunk_vlan' networking_ansible.tests.unit.ml2.test_mech_driver.TestEnsurePort.test_ensure_port_normal_port_delete_true ---------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.6/unittest/mock.py", line 1175, in patched arg = patching.__enter__() File "/usr/lib64/python3.6/unittest/mock.py", line 1247, in __enter__ original, local = self.get_original() File "/usr/lib64/python3.6/unittest/mock.py", line 1221, in get_original "%s does not have the attribute %r" % (target, name) AttributeError: does not have the attribute 'delete_trunk_vlan' networking_ansible.tests.unit.ml2.test_mech_driver.TestSetPortState.test_set_port_state_normal ---------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/usr/lib64/python3.6/unittest/mock.py", line 1175, in patched arg = patching.__enter__() File "/usr/lib64/python3.6/unittest/mock.py", line 1247, in __enter__ original, local = self.get_original() File "/usr/lib64/python3.6/unittest/mock.py", line 1221, in get_original "%s does not have the attribute %r" % (target, name) AttributeError: does not have the attribute 'add_trunk_vlan' ====== Totals ====== Ran: 93 tests in 64.2667 sec. - Passed: 88 - Skipped: 0 - Expected Fail: 0 - Unexpected Success: 0 - Failed: 5 Sum of execute time for each test: 179.1477 sec. ============== Worker Balance ============== - Worker 0 (24 tests) => 0:00:37.210712 - Worker 1 (23 tests) => 0:00:36.192764 - Worker 2 (23 tests) => 0:01:04.243835 - Worker 3 (23 tests) => 0:00:41.573425 + true + exit 0 Processing files: python3-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.xaVdQw + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + LICENSEDIR=/builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.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.20220411093345.b82d349.el8.x86_64/usr/share/licenses/python3-networking-ansible + cp -pr LICENSE /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/share/licenses/python3-networking-ansible + exit 0 Provides: python3-networking-ansible = 5.0.1-0.20220411093345.b82d349.el8 python3.6dist(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.6 Processing files: python3-networking-ansible-tests-5.0.1-0.20220411093345.b82d349.el8.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.YTDcXv + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + LICENSEDIR=/builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.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.20220411093345.b82d349.el8.x86_64/usr/share/licenses/python3-networking-ansible-tests + cp -pr LICENSE /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/share/licenses/python3-networking-ansible-tests + exit 0 Provides: python3-networking-ansible-tests = 5.0.1-0.20220411093345.b82d349.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.6 Processing files: python3-networking-ansible-doc-5.0.1-0.20220411093345.b82d349.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.v8h0Cw + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + DOCDIR=/builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.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.20220411093345.b82d349.el8.x86_64/usr/share/doc/python3-networking-ansible-doc + cp -pr doc/build/html /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/share/doc/python3-networking-ansible-doc + cp -pr README.rst /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/share/doc/python3-networking-ansible-doc + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Qgtx5s + umask 022 + cd /builddir/build/BUILD + cd networking-ansible-5.0.1.dev13 + LICENSEDIR=/builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.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.20220411093345.b82d349.el8.x86_64/usr/share/licenses/python3-networking-ansible-doc + cp -pr LICENSE /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64/usr/share/licenses/python3-networking-ansible-doc + exit 0 Provides: python3-networking-ansible-doc = 5.0.1-0.20220411093345.b82d349.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.x86_64 Wrote: /builddir/build/RPMS/python3-networking-ansible-5.0.1-0.20220411093345.b82d349.el8.noarch.rpm Wrote: /builddir/build/RPMS/python3-networking-ansible-tests-5.0.1-0.20220411093345.b82d349.el8.noarch.rpm Wrote: /builddir/build/RPMS/python3-networking-ansible-doc-5.0.1-0.20220411093345.b82d349.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Eng1dv + 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.20220411093345.b82d349.el8.x86_64 + exit 0 Child return code was: 0