# STDOUT: ---v---v---v---v---v--- Using /etc/ansible/ansible.cfg as config file PLAY [Run playbook 'playbooks/tests_ipv6_dns_search.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* Tuesday 31 May 2022 01:24:44 +0000 (0:00:00.030) 0:00:00.030 *********** ok: [sut] TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 01:24:45 +0000 (0:00:01.027) 0:00:01.057 *********** 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 01:24:45 +0000 (0:00:00.049) 0:00:01.107 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Tuesday 31 May 2022 01:24:45 +0000 (0:00:00.084) 0:00:01.191 *********** included: /WORKDIR/dist-git-network-bond_fix-RiXHNB/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 34] ********************************************************** Tuesday 31 May 2022 01:24:45 +0000 (0:00:00.060) 0:00:01.252 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Tuesday 31 May 2022 01:24:45 +0000 (0:00:00.025) 0:00:01.277 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Tuesday 31 May 2022 01:24:45 +0000 (0:00:00.026) 0:00:01.304 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Tuesday 31 May 2022 01:24:45 +0000 (0:00:00.060) 0:00:01.365 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Tuesday 31 May 2022 01:24:45 +0000 (0:00:00.047) 0:00:01.413 *********** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Tuesday 31 May 2022 01:24:45 +0000 (0:00:00.130) 0:00:01.543 *********** ok: [sut] TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Tuesday 31 May 2022 01:24:46 +0000 (0:00:00.639) 0:00:02.182 *********** 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 01:24:46 +0000 (0:00:00.317) 0:00:02.500 *********** 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 01:24:47 +0000 (0:00:00.454) 0:00:02.954 *********** 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 01:24:49 +0000 (0:00:02.119) 0:00:05.074 *********** 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 01:24:50 +0000 (0:00:01.339) 0:00:06.413 *********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Tuesday 31 May 2022 01:24:50 +0000 (0:00:00.202) 0:00:06.616 *********** 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 01:24:51 +0000 (0:00:00.179) 0:00:06.795 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Tuesday 31 May 2022 01:24:51 +0000 (0:00:00.161) 0:00:06.957 *********** 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 01:24:52 +0000 (0:00:01.301) 0:00:08.259 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Tuesday 31 May 2022 01:24:52 +0000 (0:00:00.123) 0:00:08.382 *********** 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 01:24:52 +0000 (0:00:00.100) 0:00:08.482 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Tuesday 31 May 2022 01:24:52 +0000 (0:00:00.085) 0:00:08.568 *********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.1/24" ], "auto6": false, "dhcp4": false, "dns": "203.0.113.113", "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d (not-active) TASK [linux-system-roles.network : Show stderr messages] *********************** Tuesday 31 May 2022 01:24:54 +0000 (0:00:01.376) 0:00:09.944 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d (not-active)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Tuesday 31 May 2022 01:24:54 +0000 (0:00:00.077) 0:00:10.022 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.1/24" ], "auto6": false, "dhcp4": false, "dns": "203.0.113.113", "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d (not-active)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Tuesday 31 May 2022 01:24:54 +0000 (0:00:00.080) 0:00:10.102 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* Tuesday 31 May 2022 01:24:54 +0000 (0:00:00.443) 0:00:10.545 *********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.085790", "end": "2022-05-31 01:24:54.672688", "rc": 0, "start": "2022-05-31 01:24:54.586898" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* Tuesday 31 May 2022 01:24:55 +0000 (0:00:00.581) 0:00:11.127 *********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.019540", "end": "2022-05-31 01:24:55.036681", "rc": 0, "start": "2022-05-31 01:24:55.017141" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** Tuesday 31 May 2022 01:24:55 +0000 (0:00:00.327) 0:00:11.454 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that DNS search setting for IPv6 is not configured when IPv6 address is not configured] *** Tuesday 31 May 2022 01:24:55 +0000 (0:00:00.086) 0:00:11.540 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Tuesday 31 May 2022 01:24:55 +0000 (0:00:00.080) 0:00:11.621 *********** 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 01:24:56 +0000 (0:00:00.125) 0:00:11.747 *********** 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 01:24:56 +0000 (0:00:00.470) 0:00:12.217 *********** 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 01:24:58 +0000 (0:00:01.957) 0:00:14.174 *********** 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 01:24:59 +0000 (0:00:00.809) 0:00:14.984 *********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Tuesday 31 May 2022 01:24:59 +0000 (0:00:00.073) 0:00:15.058 *********** 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 01:24:59 +0000 (0:00:00.126) 0:00:15.185 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Tuesday 31 May 2022 01:24:59 +0000 (0:00:00.118) 0:00:15.303 *********** 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 01:25:00 +0000 (0:00:00.501) 0:00:15.805 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Tuesday 31 May 2022 01:25:00 +0000 (0:00:00.087) 0:00:15.892 *********** 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 01:25:00 +0000 (0:00:00.069) 0:00:15.962 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Tuesday 31 May 2022 01:25:00 +0000 (0:00:00.069) 0:00:16.031 *********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.1/24", "2001:db8::2/32" ], "auto6": false, "dhcp4": false, "dns": [ "203.0.113.113", "2001:db8::20" ], "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [linux-system-roles.network : Show stderr messages] *********************** Tuesday 31 May 2022 01:25:00 +0000 (0:00:00.543) 0:00:16.575 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Tuesday 31 May 2022 01:25:00 +0000 (0:00:00.077) 0:00:16.653 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "192.0.2.1/24", "2001:db8::2/32" ], "auto6": false, "dhcp4": false, "dns": [ "203.0.113.113", "2001:db8::20" ], "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d (is-modified)\n[005] #0, state:up persistent_state:present, 'br-example': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Tuesday 31 May 2022 01:25:00 +0000 (0:00:00.077) 0:00:16.730 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* Tuesday 31 May 2022 01:25:01 +0000 (0:00:00.308) 0:00:17.038 *********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.020016", "end": "2022-05-31 01:25:00.950668", "rc": 0, "start": "2022-05-31 01:25:00.930652" } STDOUT: ipv6.dns-search: example.com TASK [Assert that DNS search setting for IPv6 is configured when the static IPv6 address is configured] *** Tuesday 31 May 2022 01:25:01 +0000 (0:00:00.325) 0:00:17.364 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Tuesday 31 May 2022 01:25:01 +0000 (0:00:00.086) 0:00:17.450 *********** 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 01:25:01 +0000 (0:00:00.137) 0:00:17.588 *********** 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 01:25:02 +0000 (0:00:00.538) 0:00:18.127 *********** 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 01:25:04 +0000 (0:00:01.999) 0:00:20.126 *********** 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 01:25:05 +0000 (0:00:00.829) 0:00:20.956 *********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Tuesday 31 May 2022 01:25:05 +0000 (0:00:00.074) 0:00:21.031 *********** 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 01:25:05 +0000 (0:00:00.124) 0:00:21.156 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Tuesday 31 May 2022 01:25:05 +0000 (0:00:00.080) 0:00:21.236 *********** 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 01:25:06 +0000 (0:00:00.512) 0:00:21.749 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Tuesday 31 May 2022 01:25:06 +0000 (0:00:00.080) 0:00:21.830 *********** 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 01:25:06 +0000 (0:00:00.073) 0:00:21.903 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Tuesday 31 May 2022 01:25:06 +0000 (0:00:00.074) 0:00:21.978 *********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/32" ], "auto6": false, "dhcp4": false, "dns": [ "2001:db8::20" ], "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [linux-system-roles.network : Show stderr messages] *********************** Tuesday 31 May 2022 01:25:06 +0000 (0:00:00.552) 0:00:22.530 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Tuesday 31 May 2022 01:25:06 +0000 (0:00:00.084) 0:00:22.615 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "address": [ "2001:db8::2/32" ], "auto6": false, "dhcp4": false, "dns": [ "2001:db8::20" ], "dns_search": "example.com" }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d (is-modified)\n[005] #0, state:up persistent_state:present, 'br-example': connection reapplied\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 768ec784-f471-4af2-9197-9bad516aae8d (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Tuesday 31 May 2022 01:25:06 +0000 (0:00:00.084) 0:00:22.699 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* Tuesday 31 May 2022 01:25:07 +0000 (0:00:00.279) 0:00:22.979 *********** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.019678", "end": "2022-05-31 01:25:06.878895", "rc": 0, "start": "2022-05-31 01:25:06.859217" } STDOUT: ipv6.dns-search: example.com TASK [Assert that DNS search setting for IPv6 is configured when only the static IPv6 address is configured] *** Tuesday 31 May 2022 01:25:07 +0000 (0:00:00.307) 0:00:23.286 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Tuesday 31 May 2022 01:25:07 +0000 (0:00:00.088) 0:00:23.375 *********** 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 01:25:07 +0000 (0:00:00.132) 0:00:23.507 *********** 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 01:25:08 +0000 (0:00:00.526) 0:00:24.033 *********** 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 01:25:10 +0000 (0:00:01.985) 0:00:26.019 *********** 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 01:25:11 +0000 (0:00:00.896) 0:00:26.916 *********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Tuesday 31 May 2022 01:25:11 +0000 (0:00:00.086) 0:00:27.002 *********** 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 01:25:11 +0000 (0:00:00.137) 0:00:27.139 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Tuesday 31 May 2022 01:25:11 +0000 (0:00:00.087) 0:00:27.227 *********** 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 01:25:12 +0000 (0:00:00.515) 0:00:27.742 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Tuesday 31 May 2022 01:25:12 +0000 (0:00:00.090) 0:00:27.833 *********** 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 01:25:12 +0000 (0:00:00.075) 0:00:27.909 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Tuesday 31 May 2022 01:25:12 +0000 (0:00:00.081) 0:00:27.990 *********** fatal: [sut]: FAILED! => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "dhcp4": false, "dns_search": "example.com", "ipv6_disabled": true }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled. MSG: error: connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled. ...ignoring TASK [linux-system-roles.network : Show stderr messages] *********************** Tuesday 31 May 2022 01:25:12 +0000 (0:00:00.479) 0:00:28.469 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled." ] } TASK [linux-system-roles.network : Show debug messages] ************************ Tuesday 31 May 2022 01:25:12 +0000 (0:00:00.079) 0:00:28.549 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "dhcp4": false, "dns_search": "example.com", "ipv6_disabled": true }, "name": "br-example", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": true, "msg": "error: connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled.", "stderr": "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled.\n", "stderr_lines": [ "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled." ], "warnings": [ "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled." ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Tuesday 31 May 2022 01:25:12 +0000 (0:00:00.081) 0:00:28.630 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert that reconfiguring network connection is failed] ****************** Tuesday 31 May 2022 01:25:13 +0000 (0:00:00.285) 0:00:28.916 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that configuring DNS search setting is not allowed when both IPv4 and IPv6 are disabled] *** Tuesday 31 May 2022 01:25:13 +0000 (0:00:00.074) 0:00:28.991 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Tuesday 31 May 2022 01:25:13 +0000 (0:00:00.079) 0:00:29.070 *********** 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 01:25:13 +0000 (0:00:00.135) 0:00:29.206 *********** 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 01:25:13 +0000 (0:00:00.458) 0:00:29.665 *********** 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 01:25:15 +0000 (0:00:01.967) 0:00:31.633 *********** 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 01:25:16 +0000 (0:00:00.819) 0:00:32.452 *********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Tuesday 31 May 2022 01:25:16 +0000 (0:00:00.076) 0:00:32.528 *********** 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 01:25:16 +0000 (0:00:00.120) 0:00:32.648 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Tuesday 31 May 2022 01:25:16 +0000 (0:00:00.077) 0:00:32.725 *********** 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 01:25:17 +0000 (0:00:00.503) 0:00:33.229 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Tuesday 31 May 2022 01:25:17 +0000 (0:00:00.129) 0:00:33.358 *********** 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 01:25:17 +0000 (0:00:00.079) 0:00:33.438 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Tuesday 31 May 2022 01:25:17 +0000 (0:00:00.090) 0:00:33.529 *********** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "br-example", "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] *********************** Tuesday 31 May 2022 01:25:18 +0000 (0:00:00.645) 0:00:34.174 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Tuesday 31 May 2022 01:25:18 +0000 (0:00:00.076) 0:00:34.251 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "br-example", "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] *********************** Tuesday 31 May 2022 01:25:18 +0000 (0:00:00.078) 0:00:34.329 *********** ok: [sut] => { "changed": false, "ping": "pong" } PLAY RECAP ********************************************************************* sut : ok=65 changed=4 unreachable=0 failed=0 skipped=30 rescued=0 ignored=1 Tuesday 31 May 2022 01:25:18 +0000 (0:00:00.234) 0:00:34.564 *********** =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.12s linux-system-roles.network : Check which services are running ----------- 2.00s linux-system-roles.network : Check which services are running ----------- 1.99s linux-system-roles.network : Check which services are running ----------- 1.97s linux-system-roles.network : Check which services are running ----------- 1.96s linux-system-roles.network : Configure networking connection profiles --- 1.38s linux-system-roles.network : Check which packages are installed --------- 1.34s linux-system-roles.network : Enable and start NetworkManager ------------ 1.30s Gathering Facts --------------------------------------------------------- 1.03s linux-system-roles.network : Check which packages are installed --------- 0.90s linux-system-roles.network : Check which packages are installed --------- 0.83s linux-system-roles.network : Check which packages are installed --------- 0.82s linux-system-roles.network : Check which packages are installed --------- 0.81s linux-system-roles.network : Configure networking connection profiles --- 0.65s Gathering Facts --------------------------------------------------------- 0.64s Get DNS search entry for IPv4 ------------------------------------------- 0.58s linux-system-roles.network : Configure networking connection profiles --- 0.55s linux-system-roles.network : Configure networking connection profiles --- 0.54s linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.54s linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.53s ---^---^---^---^---^--- # 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 [WARNING]: [001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search' or 'dns_options' is not allowed when both IPv4 and IPv6 are disabled. ---^---^---^---^---^---