# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Run playbook 'playbooks/tests_ipv6.yml' with nm as provider] ************* TASK [Gathering Facts] ********************************************************* ok: [sut] TASK [include_tasks] *********************************************************** included: /WORKDIR/dist-git-network-test-tox-lsr-2.12-N4tA_l/tests/tasks/el_repo_setup.yml for sut TASK [Fix CentOS6 Base repo] *************************************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** included: /WORKDIR/dist-git-network-test-tox-lsr-2.12-N4tA_l/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 7] *********************************************************** changed: [sut] => { "changed": true, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" ], "delta": "0:00:01.692719", "end": "2021-11-09 01:42:12.832918", "rc": 0, "start": "2021-11-09 01:42:11.140199" } STDOUT: Loaded plugins: product-id, search-disabled-repos, subscription-manager This system is not registered with an entitlement server. You can use subscription-manager to register. Examining /var/tmp/yum-root-Tls05k/epel-release-latest-7.noarch.rpm: epel-release-7-14.noarch Marking /var/tmp/yum-root-Tls05k/epel-release-latest-7.noarch.rpm to be installed Resolving Dependencies --> Running transaction check ---> Package epel-release.noarch 0:7-14 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: epel-release noarch 7-14 /epel-release-latest-7.noarch 25 k Transaction Summary ================================================================================ Install 1 Package Total size: 25 k Installed size: 25 k Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : epel-release-7-14.noarch 1/1 Verifying : epel-release-7-14.noarch 1/1 Installed: epel-release.noarch 0:7-14 Complete! TASK [Enable EPEL 7] *********************************************************** changed: [sut] => { "changed": true, "cmd": [ "yum-config-manager", "--enable", "epel" ], "delta": "0:00:00.302025", "end": "2021-11-09 01:42:13.355947", "rc": 0, "start": "2021-11-09 01:42:13.053922" } STDOUT: Loaded plugins: product-id, subscription-manager This system is not registered with an entitlement server. You can use subscription-manager to register. ================================== repo: epel ================================== [epel] async = True bandwidth = 0 base_persistdir = /var/lib/yum/repos/x86_64/7Server baseurl = cache = 0 cachedir = /var/cache/yum/x86_64/7Server/epel check_config_file_age = True compare_providers_priority = 80 cost = 1000 deltarpm_metadata_percentage = 100 deltarpm_percentage = enabled = True enablegroups = True exclude = failovermethod = priority ftp_disable_epsv = False gpgcadir = /var/lib/yum/repos/x86_64/7Server/epel/gpgcadir gpgcakey = gpgcheck = True gpgdir = /var/lib/yum/repos/x86_64/7Server/epel/gpgdir gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 hdrdir = /var/cache/yum/x86_64/7Server/epel/headers http_caching = all includepkgs = ip_resolve = keepalive = True keepcache = False mddownloadpolicy = sqlite mdpolicy = group:small mediaid = metadata_expire = 21600 metadata_expire_filter = read-only:present metalink = https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=$infra&content=$contentdir minrate = 0 mirrorlist = mirrorlist_expire = 86400 name = Extra Packages for Enterprise Linux 7 - x86_64 old_base_cache_dir = password = persistdir = /var/lib/yum/repos/x86_64/7Server/epel pkgdir = /var/cache/yum/x86_64/7Server/epel/packages proxy = False proxy_dict = proxy_password = proxy_username = repo_gpgcheck = False retries = 10 skip_if_unavailable = False ssl_check_cert_permissions = True sslcacert = sslclientcert = sslclientkey = sslverify = True throttle = 0 timeout = 30.0 ui_id = epel/x86_64 ui_repoid_vars = releasever, basearch username = TASK [Enable EPEL 8] *********************************************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* ok: [sut] TASK [include_tasks] *********************************************************** included: /WORKDIR/dist-git-network-test-tox-lsr-2.12-N4tA_l/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include] ***************************************************************** included: /WORKDIR/dist-git-network-test-tox-lsr-2.12-N4tA_l/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003796", "end": "2021-11-09 01:42:14.451475", "rc": 0, "start": "2021-11-09 01:42:14.447679" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* ok: [sut] => {} MSG: current_interfaces: [u'eth0', u'lo'] TASK [include_tasks] *********************************************************** included: /WORKDIR/dist-git-network-test-tox-lsr-2.12-N4tA_l/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include] ***************************************************************** included: /WORKDIR/dist-git-network-test-tox-lsr-2.12-N4tA_l/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include] ***************************************************************** included: /WORKDIR/dist-git-network-test-tox-lsr-2.12-N4tA_l/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003755", "end": "2021-11-09 01:42:15.087552", "rc": 0, "start": "2021-11-09 01:42:15.083797" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* ok: [sut] => {} MSG: current_interfaces: [u'eth0', u'lo'] TASK [Install iproute] ********************************************************* ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* changed: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "veth0", "type", "veth", "peer", "name", "peerveth0" ], "delta": "0:00:00.018652", "end": "2021-11-09 01:42:16.344966", "item": "ip link add veth0 type veth peer name peerveth0", "rc": 0, "start": "2021-11-09 01:42:16.326314" } changed: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerveth0", "up" ], "delta": "0:00:00.003683", "end": "2021-11-09 01:42:16.527222", "item": "ip link set peerveth0 up", "rc": 0, "start": "2021-11-09 01:42:16.523539" } changed: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "veth0", "up" ], "delta": "0:00:00.004666", "end": "2021-11-09 01:42:16.701517", "item": "ip link set veth0 up", "rc": 0, "start": "2021-11-09 01:42:16.696851" } TASK [Set up veth as managed by NetworkManager] ******************************** changed: [sut] => { "changed": true, "cmd": [ "nmcli", "d", "set", "veth0", "managed", "true" ], "delta": "0:00:00.030177", "end": "2021-11-09 01:42:16.939999", "rc": 0, "start": "2021-11-09 01:42:16.909822" } TASK [Delete veth interface veth0] ********************************************* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface veth0] ******************************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set up gateway ip on veth peer] ****************************************** changed: [sut] => { "changed": true, "cmd": "ip netns add ns1\nip link set peerveth0 netns ns1\nip netns exec ns1 ip -6 addr add 2001:db8::1/32 dev peerveth0\nip netns exec ns1 ip link set peerveth0 up\n", "delta": "0:00:00.034409", "end": "2021-11-09 01:42:17.441380", "rc": 0, "start": "2021-11-09 01:42:17.406971" } TASK [TEST: I can configure an interface with static ipv6 config] ************** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Check which services are running] *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "address": [ "2001:db8::2/32", "2001:db8::3/32", "2001:db8::4/32" ], "auto6": false, "dhcp4": false, "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 7d94e8b8-427c-4ec2-8a98-d69555cc526c [004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7d94e8b8-427c-4ec2-8a98-d69555cc526c (is-modified) TASK [linux-system-roles.network : Show stderr messages] *********************** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 7d94e8b8-427c-4ec2-8a98-d69555cc526c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7d94e8b8-427c-4ec2-8a98-d69555cc526c (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "ip": { "address": [ "2001:db8::2/32", "2001:db8::3/32", "2001:db8::4/32" ], "auto6": false, "dhcp4": false, "gateway6": "2001:db8::1" }, "name": "veth0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 7d94e8b8-427c-4ec2-8a98-d69555cc526c\n[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7d94e8b8-427c-4ec2-8a98-d69555cc526c (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'veth0': add connection veth0, 7d94e8b8-427c-4ec2-8a98-d69555cc526c", "[004] #0, state:up persistent_state:present, 'veth0': up connection veth0, 7d94e8b8-427c-4ec2-8a98-d69555cc526c (is-modified)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** ok: [sut] => { "changed": false, "ping": "pong" } TASK [include_tasks] *********************************************************** included: /WORKDIR/dist-git-network-test-tox-lsr-2.12-N4tA_l/tests/playbooks/tasks/assert_device_present.yml for sut TASK [include] ***************************************************************** included: /WORKDIR/dist-git-network-test-tox-lsr-2.12-N4tA_l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface veth0] ******************************************** ok: [sut] => { "changed": false, "stat": { "atime": 1636422143.307082, "block_size": 4096, "blocks": 0, "ctime": 1636422136.3421385, "dev": 17, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 17503, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/veth0", "lnk_target": "../../devices/virtual/net/veth0", "mode": "0777", "mtime": 1636422136.3421385, "nlink": 1, "path": "/sys/class/net/veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface veth0 is present] ********************************** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** included: /WORKDIR/dist-git-network-test-tox-lsr-2.12-N4tA_l/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [include] ***************************************************************** included: /WORKDIR/dist-git-network-test-tox-lsr-2.12-N4tA_l/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist flag] **************************************** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* ok: [sut] => { "changed": false, "stat": { "atime": 1636422143.4230812, "block_size": 4096, "blocks": 8, "ctime": 1636422143.3350818, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4277562, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1636422143.3350818, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-veth0", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 333, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep veth0 | grep /etc", "delta": "0:00:00.028217", "end": "2021-11-09 01:42:30.025379", "rc": 0, "start": "2021-11-09 01:42:29.997162" } STDOUT: veth0 /etc/sysconfig/network-scripts/ifcfg-veth0 TASK [Set NM profile exist flag based on the nmcli output] ********************* ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [assert that profile 'veth0' is present] ********************************** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ip address information] ********************************************** changed: [sut] => { "changed": true, "cmd": [ "ip", "addr", "show", "veth0" ], "delta": "0:00:00.004149", "end": "2021-11-09 01:42:30.884412", "rc": 0, "start": "2021-11-09 01:42:30.880263" } STDOUT: 4: veth0@if3: mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether d2:a6:36:b3:13:8c brd ff:ff:ff:ff:ff:ff link-netnsid 0 inet6 2001:db8::4/32 scope global noprefixroute valid_lft forever preferred_lft forever inet6 2001:db8::3/32 scope global noprefixroute valid_lft forever preferred_lft forever inet6 2001:db8::2/32 scope global noprefixroute valid_lft forever preferred_lft forever inet6 fe80::d325:2acc:b31b:ad67/64 scope link noprefixroute valid_lft forever preferred_lft forever TASK [Show ip_addr] ************************************************************ ok: [sut] => { "ip_addr.stdout": "4: veth0@if3: mtu 1500 qdisc noqueue state UP group default qlen 1000\n link/ether d2:a6:36:b3:13:8c brd ff:ff:ff:ff:ff:ff link-netnsid 0\n inet6 2001:db8::4/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 2001:db8::3/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 2001:db8::2/32 scope global noprefixroute \n valid_lft forever preferred_lft forever\n inet6 fe80::d325:2acc:b31b:ad67/64 scope link noprefixroute \n valid_lft forever preferred_lft forever" } TASK [Assert ipv6 addresses are correctly set] ********************************* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get ipv6 routes] ********************************************************* changed: [sut] => { "changed": true, "cmd": [ "ip", "-6", "route" ], "delta": "0:00:00.003915", "end": "2021-11-09 01:42:31.854930", "rc": 0, "start": "2021-11-09 01:42:31.851015" } STDOUT: unreachable ::/96 dev lo metric 1024 error -113 pref medium unreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium 2001:db8::/32 dev veth0 proto kernel metric 101 pref medium unreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium unreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium unreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium unreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium unreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium fe80::/64 dev veth0 proto kernel metric 101 pref medium fe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium default via 2001:db8::1 dev veth0 proto static metric 101 pref medium TASK [Show ipv6_route] ********************************************************* ok: [sut] => { "ipv6_route.stdout": "unreachable ::/96 dev lo metric 1024 error -113 pref medium\nunreachable ::ffff:0.0.0.0/96 dev lo metric 1024 error -113 pref medium\n2001:db8::/32 dev veth0 proto kernel metric 101 pref medium\nunreachable 2002:a00::/24 dev lo metric 1024 error -113 pref medium\nunreachable 2002:7f00::/24 dev lo metric 1024 error -113 pref medium\nunreachable 2002:a9fe::/32 dev lo metric 1024 error -113 pref medium\nunreachable 2002:ac10::/28 dev lo metric 1024 error -113 pref medium\nunreachable 2002:c0a8::/32 dev lo metric 1024 error -113 pref medium\nunreachable 2002:e000::/19 dev lo metric 1024 error -113 pref medium\nunreachable 3ffe:ffff::/32 dev lo metric 1024 error -113 pref medium\nfe80::/64 dev veth0 proto kernel metric 101 pref medium\nfe80::/64 dev eth0 proto kernel metric 256 mtu 9001 pref medium\ndefault via 2001:db8::1 dev veth0 proto static metric 101 pref medium" } TASK [Assert default ipv6 route is set] **************************************** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test gateway can be pinged] ********************************************** changed: [sut] => { "changed": true, "cmd": [ "ping6", "-c1", "2001:db8::1" ], "delta": "0:00:00.011144", "end": "2021-11-09 01:42:32.659123", "rc": 0, "start": "2021-11-09 01:42:32.647979" } STDOUT: PING 2001:db8::1(2001:db8::1) 56 data bytes 64 bytes from 2001:db8::1: icmp_seq=1 ttl=64 time=0.083 ms --- 2001:db8::1 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.083/0.083/0.083/0.000 ms TASK [TEARDOWN: remove profiles.] ********************************************** ok: [sut] => {} MSG: ################################################## TASK [linux-system-roles.network : Check which services are running] *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Show stderr messages] *********************** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "connections": [ { "name": "veth0", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** ok: [sut] => { "changed": false, "ping": "pong" } TASK [include_tasks] *********************************************************** included: /WORKDIR/dist-git-network-test-tox-lsr-2.12-N4tA_l/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include] ***************************************************************** included: /WORKDIR/dist-git-network-test-tox-lsr-2.12-N4tA_l/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include] ***************************************************************** included: /WORKDIR/dist-git-network-test-tox-lsr-2.12-N4tA_l/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003985", "end": "2021-11-09 01:42:40.161861", "rc": 0, "start": "2021-11-09 01:42:40.157876" } STDOUT: eth0 lo veth0 TASK [Set current_interfaces] ************************************************** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo", "veth0" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* ok: [sut] => {} MSG: current_interfaces: [u'eth0', u'lo', u'veth0'] TASK [Install iproute] ********************************************************* ok: [sut] => { "changed": false, "rc": 0, "results": [ "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed" ] } TASK [Create veth interface veth0] ********************************************* skipping: [sut] => (item=ip link add veth0 type veth peer name peerveth0) => { "ansible_loop_var": "item", "changed": false, "item": "ip link add veth0 type veth peer name peerveth0", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set peerveth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set peerveth0 up", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=ip link set veth0 up) => { "ansible_loop_var": "item", "changed": false, "item": "ip link set veth0 up", "skip_reason": "Conditional result was False" } TASK [Set up veth as managed by NetworkManager] ******************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete veth interface veth0] ********************************************* changed: [sut] => { "changed": true, "cmd": [ "ip", "link", "del", "veth0", "type", "veth" ], "delta": "0:00:00.012923", "end": "2021-11-09 01:42:42.187504", "rc": 0, "start": "2021-11-09 01:42:42.174581" } TASK [Create dummy interface veth0] ******************************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface veth0] ******************************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface veth0] ********************************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface veth0] ********************************************** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up namespace] ****************************************************** changed: [sut] => { "changed": true, "cmd": [ "ip", "netns", "delete", "ns1" ], "delta": "0:00:00.007581", "end": "2021-11-09 01:42:43.389548", "rc": 0, "start": "2021-11-09 01:42:43.381967" } PLAY RECAP ********************************************************************* sut : ok=68 changed=12 unreachable=0 failed=0 skipped=28 rescued=0 ignored=0 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- /opt/gluetool/lib/python2.7/site-packages/ansible/parsing/vault/__init__.py:41: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release. from cryptography.exceptions import InvalidSignature ---^---^---^---^---^---