# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Run playbook 'playbooks/tests_eth_dns_support.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* Tuesday 31 May 2022 00:25:55 +0000 (0:00:00.028) 0:00:00.028 *********** ok: [sut] TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 00:25:56 +0000 (0:00:00.834) 0:00:00.863 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/tasks/el_repo_setup.yml for sut TASK [Fix CentOS6 Base repo] *************************************************** Tuesday 31 May 2022 00:25:56 +0000 (0:00:00.028) 0:00:00.891 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 00:25:56 +0000 (0:00:00.041) 0:00:00.932 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 34] ********************************************************** Tuesday 31 May 2022 00:25:56 +0000 (0:00:00.047) 0:00:00.980 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Tuesday 31 May 2022 00:25:56 +0000 (0:00:00.024) 0:00:01.005 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Tuesday 31 May 2022 00:25:56 +0000 (0:00:00.025) 0:00:01.030 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Tuesday 31 May 2022 00:25:56 +0000 (0:00:00.026) 0:00:01.057 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Tuesday 31 May 2022 00:25:56 +0000 (0:00:00.026) 0:00:01.083 *********** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Tuesday 31 May 2022 00:25:56 +0000 (0:00:00.030) 0:00:01.114 *********** ok: [sut] PLAY [Test configuring ethernet devices] *************************************** TASK [Gathering Facts] ********************************************************* Tuesday 31 May 2022 00:25:56 +0000 (0:00:00.554) 0:00:01.668 *********** ok: [sut] TASK [set type=veth and interface=ethtest0] ************************************ Tuesday 31 May 2022 00:25:57 +0000 (0:00:00.555) 0:00:02.224 *********** ok: [sut] => { "ansible_facts": { "interface": "ethtest0", "type": "veth" }, "changed": false } TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 00:25:57 +0000 (0:00:00.038) 0:00:02.262 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include] ***************************************************************** Tuesday 31 May 2022 00:25:57 +0000 (0:00:00.047) 0:00:02.310 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Tuesday 31 May 2022 00:25:57 +0000 (0:00:00.042) 0:00:02.353 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003667", "end": "2022-05-31 00:25:57.241352", "rc": 0, "start": "2022-05-31 00:25:57.237685" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Tuesday 31 May 2022 00:25:57 +0000 (0:00:00.353) 0:00:02.706 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Tuesday 31 May 2022 00:25:57 +0000 (0:00:00.032) 0:00:02.739 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 00:25:57 +0000 (0:00:00.030) 0:00:02.770 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/manage_test_interface.yml for sut TASK [Ensure state in ["present", "absent"]] *********************************** Tuesday 31 May 2022 00:25:57 +0000 (0:00:00.049) 0:00:02.819 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure type in ["dummy", "tap", "veth"]] ********************************* Tuesday 31 May 2022 00:25:58 +0000 (0:00:00.028) 0:00:02.848 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include] ***************************************************************** Tuesday 31 May 2022 00:25:58 +0000 (0:00:00.028) 0:00:02.877 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/show_interfaces.yml for sut TASK [include] ***************************************************************** Tuesday 31 May 2022 00:25:58 +0000 (0:00:00.040) 0:00:02.917 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* Tuesday 31 May 2022 00:25:58 +0000 (0:00:00.037) 0:00:02.955 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003671", "end": "2022-05-31 00:25:57.739348", "rc": 0, "start": "2022-05-31 00:25:57.735677" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** Tuesday 31 May 2022 00:25:58 +0000 (0:00:00.246) 0:00:03.201 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* Tuesday 31 May 2022 00:25:58 +0000 (0:00:00.031) 0:00:03.233 *********** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Install iproute] ********************************************************* Tuesday 31 May 2022 00:25:58 +0000 (0:00:00.030) 0:00:03.263 *********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [Create veth interface ethtest0] ****************************************** Tuesday 31 May 2022 00:26:01 +0000 (0:00:03.072) 0:00:06.335 *********** changed: [sut] => (item=ip link add ethtest0 type veth peer name peerethtest0) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "add", "ethtest0", "type", "veth", "peer", "name", "peerethtest0" ], "delta": "0:00:00.079607", "end": "2022-05-31 00:26:01.206922", "item": "ip link add ethtest0 type veth peer name peerethtest0", "rc": 0, "start": "2022-05-31 00:26:01.127315" } changed: [sut] => (item=ip link set peerethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "peerethtest0", "up" ], "delta": "0:00:00.004402", "end": "2022-05-31 00:26:01.474418", "item": "ip link set peerethtest0 up", "rc": 0, "start": "2022-05-31 00:26:01.470016" } changed: [sut] => (item=ip link set ethtest0 up) => { "ansible_loop_var": "item", "changed": true, "cmd": [ "ip", "link", "set", "ethtest0", "up" ], "delta": "0:00:00.006100", "end": "2022-05-31 00:26:01.712835", "item": "ip link set ethtest0 up", "rc": 0, "start": "2022-05-31 00:26:01.706735" } TASK [Set up veth as managed by NetworkManager] ******************************** Tuesday 31 May 2022 00:26:02 +0000 (0:00:00.846) 0:00:07.181 *********** changed: [sut] => { "changed": true, "cmd": [ "nmcli", "d", "set", "ethtest0", "managed", "true" ], "delta": "0:00:00.133294", "end": "2022-05-31 00:26:02.105694", "rc": 0, "start": "2022-05-31 00:26:01.972400" } TASK [Delete veth interface ethtest0] ****************************************** Tuesday 31 May 2022 00:26:02 +0000 (0:00:00.391) 0:00:07.573 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create dummy interface ethtest0] ***************************************** Tuesday 31 May 2022 00:26:02 +0000 (0:00:00.031) 0:00:07.605 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete dummy interface ethtest0] ***************************************** Tuesday 31 May 2022 00:26:02 +0000 (0:00:00.042) 0:00:07.647 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create tap interface ethtest0] ******************************************* Tuesday 31 May 2022 00:26:02 +0000 (0:00:00.034) 0:00:07.681 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Delete tap interface ethtest0] ******************************************* Tuesday 31 May 2022 00:26:02 +0000 (0:00:00.030) 0:00:07.712 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 00:26:02 +0000 (0:00:00.038) 0:00:07.751 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/assert_device_present.yml for sut TASK [include] ***************************************************************** Tuesday 31 May 2022 00:26:02 +0000 (0:00:00.049) 0:00:07.800 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** Tuesday 31 May 2022 00:26:03 +0000 (0:00:00.039) 0:00:07.840 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1653956761.2001822, "block_size": 4096, "blocks": 0, "ctime": 1653956761.2001822, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 24614, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/ethtest0", "lnk_target": "../../devices/virtual/net/ethtest0", "mode": "0777", "mtime": 1653956761.2001822, "nlink": 1, "path": "/sys/class/net/ethtest0", "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 ethtest0 is present] ******************************* Tuesday 31 May 2022 00:26:03 +0000 (0:00:00.380) 0:00:08.220 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Tuesday 31 May 2022 00:26:03 +0000 (0:00:00.035) 0:00:08.256 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** Tuesday 31 May 2022 00:26:03 +0000 (0:00:00.169) 0:00:08.425 *********** 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 services are running] *********** Tuesday 31 May 2022 00:26:03 +0000 (0:00:00.404) 0:00:08.830 *********** 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] ********* Tuesday 31 May 2022 00:26:06 +0000 (0:00:02.102) 0:00:10.933 *********** 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] ********************* Tuesday 31 May 2022 00:26:07 +0000 (0:00:01.132) 0:00:12.065 *********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Tuesday 31 May 2022 00:26:07 +0000 (0:00:00.071) 0:00:12.136 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Tuesday 31 May 2022 00:26:07 +0000 (0:00:00.134) 0:00:12.271 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Tuesday 31 May 2022 00:26:07 +0000 (0:00:00.079) 0:00:12.351 *********** 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] ************ Tuesday 31 May 2022 00:26:08 +0000 (0:00:00.770) 0:00:13.122 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Tuesday 31 May 2022 00:26:08 +0000 (0:00:00.080) 0:00:13.203 *********** 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] *** Tuesday 31 May 2022 00:26:08 +0000 (0:00:00.068) 0:00:13.271 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Tuesday 31 May 2022 00:26:08 +0000 (0:00:00.068) 0:00:13.339 *********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "192.0.2.3/24", "198.51.100.3/26", "2001:db8::80/7" ], "auto6": false, "dhcp4": false, "dns": [ "192.0.2.2", "198.51.100.5", "2001:db8::20" ], "dns_options": [ "rotate", "timeout:1" ], "dns_search": [ "example.com", "example.org" ], "gateway4": "192.0.2.1", "gateway6": "2001:db8::1", "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26 }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26 } ], "route_append_only": false, "route_metric4": 100, "route_metric6": -1, "rule_append_only": true }, "name": "ethtest0", "state": "up", "type": "ethernet" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, c91bbae7-1279-4d6b-88ab-a985f8d610b2 [004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, c91bbae7-1279-4d6b-88ab-a985f8d610b2 (not-active) TASK [linux-system-roles.network : Show stderr messages] *********************** Tuesday 31 May 2022 00:26:09 +0000 (0:00:00.976) 0:00:14.316 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, c91bbae7-1279-4d6b-88ab-a985f8d610b2", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, c91bbae7-1279-4d6b-88ab-a985f8d610b2 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Tuesday 31 May 2022 00:26:09 +0000 (0:00:00.074) 0:00:14.390 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": true, "interface_name": "ethtest0", "ip": { "address": [ "192.0.2.3/24", "198.51.100.3/26", "2001:db8::80/7" ], "auto6": false, "dhcp4": false, "dns": [ "192.0.2.2", "198.51.100.5", "2001:db8::20" ], "dns_options": [ "rotate", "timeout:1" ], "dns_search": [ "example.com", "example.org" ], "gateway4": "192.0.2.1", "gateway6": "2001:db8::1", "route": [ { "gateway": "198.51.100.1", "metric": 2, "network": "198.51.100.128", "prefix": 26 }, { "gateway": "198.51.100.6", "metric": 4, "network": "198.51.100.64", "prefix": 26 } ], "route_append_only": false, "route_metric4": 100, "route_metric6": -1, "rule_append_only": true }, "name": "ethtest0", "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, 'ethtest0': add connection ethtest0, c91bbae7-1279-4d6b-88ab-a985f8d610b2\n[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, c91bbae7-1279-4d6b-88ab-a985f8d610b2 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'ethtest0': add connection ethtest0, c91bbae7-1279-4d6b-88ab-a985f8d610b2", "[004] #0, state:up persistent_state:present, 'ethtest0': up connection ethtest0, c91bbae7-1279-4d6b-88ab-a985f8d610b2 (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Tuesday 31 May 2022 00:26:09 +0000 (0:00:00.077) 0:00:14.467 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Verify nmcli connection DNS entry for IPv4] ****************************** Tuesday 31 May 2022 00:26:10 +0000 (0:00:00.442) 0:00:14.909 *********** ok: [sut] => { "changed": false, "cmd": "set -euxo pipefail\nnmcli connection show ethtest0 | grep ipv4.dns\n", "delta": "0:00:00.025842", "end": "2022-05-31 00:26:09.714271", "rc": 0, "start": "2022-05-31 00:26:09.688429" } STDOUT: ipv4.dns: 192.0.2.2,198.51.100.5 ipv4.dns-search: example.com,example.org ipv4.dns-options: rotate,timeout:1 ipv4.dns-priority: 0 STDERR: + nmcli connection show ethtest0 + grep ipv4.dns TASK [Verify nmcli connection DNS entry for IPv6] ****************************** Tuesday 31 May 2022 00:26:10 +0000 (0:00:00.314) 0:00:15.224 *********** ok: [sut] => { "changed": false, "cmd": "set -euxo pipefail\nnmcli connection show ethtest0 | grep ipv6.dns\n", "delta": "0:00:00.025087", "end": "2022-05-31 00:26:10.033174", "rc": 0, "start": "2022-05-31 00:26:10.008087" } STDOUT: ipv6.dns: 2001:db8::20 ipv6.dns-search: example.com,example.org ipv6.dns-options: rotate,timeout:1 ipv6.dns-priority: 0 STDERR: + nmcli connection show ethtest0 + grep ipv6.dns TASK [Assert that DNS addresses are configured correctly] ********************** Tuesday 31 May 2022 00:26:10 +0000 (0:00:00.318) 0:00:15.542 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that DNS search domains are configured correctly] ***************** Tuesday 31 May 2022 00:26:10 +0000 (0:00:00.081) 0:00:15.623 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that DNS options are configured correctly] ************************ Tuesday 31 May 2022 00:26:10 +0000 (0:00:00.102) 0:00:15.725 *********** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* Tuesday 31 May 2022 00:26:11 +0000 (0:00:00.123) 0:00:15.849 *********** ok: [sut] TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Tuesday 31 May 2022 00:26:11 +0000 (0:00:00.647) 0:00:16.497 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** Tuesday 31 May 2022 00:26:11 +0000 (0:00:00.132) 0:00:16.629 *********** 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 services are running] *********** Tuesday 31 May 2022 00:26:12 +0000 (0:00:00.475) 0:00:17.105 *********** 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] ********* Tuesday 31 May 2022 00:26:14 +0000 (0:00:02.011) 0:00:19.117 *********** 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] ********************* Tuesday 31 May 2022 00:26:15 +0000 (0:00:00.842) 0:00:19.959 *********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Tuesday 31 May 2022 00:26:15 +0000 (0:00:00.081) 0:00:20.040 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Tuesday 31 May 2022 00:26:15 +0000 (0:00:00.142) 0:00:20.183 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Tuesday 31 May 2022 00:26:15 +0000 (0:00:00.094) 0:00:20.277 *********** 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] ************ Tuesday 31 May 2022 00:26:16 +0000 (0:00:00.836) 0:00:21.114 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Tuesday 31 May 2022 00:26:16 +0000 (0:00:00.131) 0:00:21.245 *********** 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] *** Tuesday 31 May 2022 00:26:16 +0000 (0:00:00.086) 0:00:21.331 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Tuesday 31 May 2022 00:26:16 +0000 (0:00:00.078) 0:00:21.410 *********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Show stderr messages] *********************** Tuesday 31 May 2022 00:26:17 +0000 (0:00:01.087) 0:00:22.497 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Tuesday 31 May 2022 00:26:17 +0000 (0:00:00.245) 0:00:22.743 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "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] *********************** Tuesday 31 May 2022 00:26:18 +0000 (0:00:00.107) 0:00:22.850 *********** ok: [sut] => { "changed": false, "ping": "pong" } PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* Tuesday 31 May 2022 00:26:18 +0000 (0:00:00.384) 0:00:23.234 *********** ok: [sut] TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 00:26:19 +0000 (0:00:00.626) 0:00:23.861 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/delete_interface.yml for sut TASK [remove test interface if necessary] ************************************** Tuesday 31 May 2022 00:26:19 +0000 (0:00:00.139) 0:00:24.000 *********** ok: [sut] => { "changed": false, "cmd": [ "ip", "link", "del", "ethtest0" ], "delta": "0:00:00.012587", "end": "2022-05-31 00:26:18.804022", "rc": 0, "start": "2022-05-31 00:26:18.791435" } PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* Tuesday 31 May 2022 00:26:19 +0000 (0:00:00.386) 0:00:24.386 *********** ok: [sut] TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Tuesday 31 May 2022 00:26:20 +0000 (0:00:00.642) 0:00:25.029 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** Tuesday 31 May 2022 00:26:20 +0000 (0:00:00.144) 0:00:25.173 *********** 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 services are running] *********** Tuesday 31 May 2022 00:26:20 +0000 (0:00:00.531) 0:00:25.704 *********** 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] ********* Tuesday 31 May 2022 00:26:22 +0000 (0:00:01.998) 0:00:27.703 *********** 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] ********************* Tuesday 31 May 2022 00:26:24 +0000 (0:00:01.272) 0:00:28.975 *********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Tuesday 31 May 2022 00:26:24 +0000 (0:00:00.077) 0:00:29.053 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Tuesday 31 May 2022 00:26:24 +0000 (0:00:00.131) 0:00:29.184 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Tuesday 31 May 2022 00:26:24 +0000 (0:00:00.086) 0:00:29.271 *********** 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] ************ Tuesday 31 May 2022 00:26:24 +0000 (0:00:00.534) 0:00:29.805 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Tuesday 31 May 2022 00:26:25 +0000 (0:00:00.097) 0:00:29.902 *********** 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] *** Tuesday 31 May 2022 00:26:25 +0000 (0:00:00.085) 0:00:29.987 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Tuesday 31 May 2022 00:26:25 +0000 (0:00:00.088) 0:00:30.076 *********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Show stderr messages] *********************** Tuesday 31 May 2022 00:26:25 +0000 (0:00:00.560) 0:00:30.636 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Tuesday 31 May 2022 00:26:25 +0000 (0:00:00.079) 0:00:30.715 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "ethtest0", "persistent_state": "absent" } ], "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] *********************** Tuesday 31 May 2022 00:26:26 +0000 (0:00:00.120) 0:00:30.836 *********** ok: [sut] => { "changed": false, "ping": "pong" } PLAY [Assert profile and device are absent] ************************************ TASK [Gathering Facts] ********************************************************* Tuesday 31 May 2022 00:26:26 +0000 (0:00:00.293) 0:00:31.129 *********** ok: [sut] TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 00:26:26 +0000 (0:00:00.605) 0:00:31.734 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [include] ***************************************************************** Tuesday 31 May 2022 00:26:27 +0000 (0:00:00.129) 0:00:31.864 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ Tuesday 31 May 2022 00:26:27 +0000 (0:00:00.147) 0:00:32.012 *********** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* Tuesday 31 May 2022 00:26:27 +0000 (0:00:00.084) 0:00:32.096 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** Tuesday 31 May 2022 00:26:27 +0000 (0:00:00.292) 0:00:32.389 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** Tuesday 31 May 2022 00:26:27 +0000 (0:00:00.082) 0:00:32.471 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep ethtest0 | grep /etc", "delta": "0:00:00.021178", "end": "2022-05-31 00:26:27.297818", "rc": 1, "start": "2022-05-31 00:26:27.276640" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** Tuesday 31 May 2022 00:26:27 +0000 (0:00:00.335) 0:00:32.806 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-ethtest0] *********************** Tuesday 31 May 2022 00:26:28 +0000 (0:00:00.086) 0:00:32.893 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-ethtest0] ******************** Tuesday 31 May 2022 00:26:28 +0000 (0:00:00.091) 0:00:32.984 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'ethtest0' is absent] ******************************** Tuesday 31 May 2022 00:26:28 +0000 (0:00:00.090) 0:00:33.075 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 00:26:28 +0000 (0:00:00.129) 0:00:33.204 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [include] ***************************************************************** Tuesday 31 May 2022 00:26:28 +0000 (0:00:00.134) 0:00:33.339 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface ethtest0] ***************************************** Tuesday 31 May 2022 00:26:28 +0000 (0:00:00.132) 0:00:33.472 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface ethtest0 is absent] ******************************** Tuesday 31 May 2022 00:26:28 +0000 (0:00:00.302) 0:00:33.775 *********** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=76 changed=5 unreachable=0 failed=0 skipped=31 rescued=0 ignored=1 Tuesday 31 May 2022 00:26:28 +0000 (0:00:00.040) 0:00:33.816 *********** =============================================================================== Install iproute --------------------------------------------------------- 3.07s linux-system-roles.network : Check which services are running ----------- 2.10s linux-system-roles.network : Check which services are running ----------- 2.01s linux-system-roles.network : Check which services are running ----------- 2.00s linux-system-roles.network : Check which packages are installed --------- 1.27s linux-system-roles.network : Check which packages are installed --------- 1.13s linux-system-roles.network : Configure networking connection profiles --- 1.09s linux-system-roles.network : Configure networking connection profiles --- 0.98s Create veth interface ethtest0 ------------------------------------------ 0.85s linux-system-roles.network : Check which packages are installed --------- 0.84s linux-system-roles.network : Enable and start NetworkManager ------------ 0.84s Gathering Facts --------------------------------------------------------- 0.84s linux-system-roles.network : Enable and start NetworkManager ------------ 0.77s Gathering Facts --------------------------------------------------------- 0.65s Gathering Facts --------------------------------------------------------- 0.64s Gathering Facts --------------------------------------------------------- 0.63s Gathering Facts --------------------------------------------------------- 0.61s linux-system-roles.network : Configure networking connection profiles --- 0.56s Gathering Facts --------------------------------------------------------- 0.56s Gathering Facts --------------------------------------------------------- 0.55s ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- /opt/ansible-2.9/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release. from cryptography.exceptions import InvalidSignature ---^---^---^---^---^---