# 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] ********************************************************* Friday 05 August 2022 18:11:45 +0000 (0:00:00.178) 0:00:00.178 ********* ok: [sut] TASK [include_tasks] *********************************************************** Friday 05 August 2022 18:11:51 +0000 (0:00:05.375) 0:00:05.553 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/tasks/el_repo_setup.yml for sut TASK [Fix CentOS6 Base repo] *************************************************** Friday 05 August 2022 18:11:51 +0000 (0:00:00.883) 0:00:06.436 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 05 August 2022 18:11:52 +0000 (0:00:00.595) 0:00:07.032 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** Friday 05 August 2022 18:11:53 +0000 (0:00:00.744) 0:00:07.777 ********* changed: [sut] => { "changed": true, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:02.529686", "end": "2022-08-05 18:11:59.830774", "rc": 0, "start": "2022-08-05 18:11:57.301088" } STDOUT: Last metadata expiration check: 0:01:07 ago on Fri Aug 5 18:10:51 2022. epel-release-latest-8.noarch.rpm 574 kB/s | 24 kB 00:00 Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: epel-release noarch 8-16.el8 @commandline 24 k Transaction Summary ================================================================================ Install 1 Package Total size: 24 k Installed size: 34 k Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : epel-release-8-16.el8.noarch 1/1 Running scriptlet: epel-release-8-16.el8.noarch 1/1 Many EPEL packages require the CodeReady Builder (CRB) repository. It is recommended that you run /usr/bin/crb enable to enable the CRB repository. Verifying : epel-release-8-16.el8.noarch 1/1 Installed: epel-release-8-16.el8.noarch Complete! TASK [Enable EPEL 7] *********************************************************** Friday 05 August 2022 18:12:00 +0000 (0:00:06.996) 0:00:14.774 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Friday 05 August 2022 18:12:01 +0000 (0:00:00.707) 0:00:15.481 ********* changed: [sut] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.605690", "end": "2022-08-05 18:12:02.941728", "rc": 0, "start": "2022-08-05 18:12:02.336038" } TASK [Enable EPEL 6] *********************************************************** Friday 05 August 2022 18:12:03 +0000 (0:00:02.425) 0:00:17.947 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Friday 05 August 2022 18:12:04 +0000 (0:00:00.642) 0:00:18.590 ********* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Friday 05 August 2022 18:12:05 +0000 (0:00:01.250) 0:00:19.841 ********* ok: [sut] TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 18:12:07 +0000 (0:00:02.558) 0:00:22.400 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/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] *** Friday 05 August 2022 18:12:08 +0000 (0:00:00.857) 0:00:23.257 ********* 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] *********** Friday 05 August 2022 18:12:11 +0000 (0:00:02.425) 0:00:25.683 ********* 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] ********* Friday 05 August 2022 18:12:18 +0000 (0:00:07.755) 0:00:33.439 ********* 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] ********************* Friday 05 August 2022 18:12:32 +0000 (0:00:13.508) 0:00:46.947 ********* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Friday 05 August 2022 18:12:33 +0000 (0:00:01.078) 0:00:48.025 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Friday 05 August 2022 18:12:35 +0000 (0:00:01.485) 0:00:49.511 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 18:12:36 +0000 (0:00:01.197) 0:00:50.709 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** Friday 05 August 2022 18:12:37 +0000 (0:00:01.038) 0:00:51.747 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** Friday 05 August 2022 18:12:38 +0000 (0:00:01.002) 0:00:52.750 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 05 August 2022 18:12:39 +0000 (0:00:01.160) 0:00:53.911 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 18:12:41 +0000 (0:00:01.710) 0:00:55.621 ********* 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] ************ Friday 05 August 2022 18:12:53 +0000 (0:00:12.545) 0:01:08.167 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 18:12:55 +0000 (0:00:01.387) 0:01:09.554 ********* 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] *** Friday 05 August 2022 18:12:56 +0000 (0:00:01.336) 0:01:10.891 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 18:12:58 +0000 (0:00:01.634) 0:01:12.525 ********* 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, 263fab27-5cfb-466d-95ea-a73a4d9f763f [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 263fab27-5cfb-466d-95ea-a73a4d9f763f (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** Friday 05 August 2022 18:13:06 +0000 (0:00:08.194) 0:01:20.720 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** Friday 05 August 2022 18:13:07 +0000 (0:00:01.578) 0:01:22.299 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 263fab27-5cfb-466d-95ea-a73a4d9f763f", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 263fab27-5cfb-466d-95ea-a73a4d9f763f (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 18:13:10 +0000 (0:00:02.390) 0:01:24.690 ********* 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, 263fab27-5cfb-466d-95ea-a73a4d9f763f\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 263fab27-5cfb-466d-95ea-a73a4d9f763f (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 263fab27-5cfb-466d-95ea-a73a4d9f763f", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 263fab27-5cfb-466d-95ea-a73a4d9f763f (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** Friday 05 August 2022 18:13:12 +0000 (0:00:01.915) 0:01:26.605 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 18:13:13 +0000 (0:00:01.841) 0:01:28.447 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* Friday 05 August 2022 18:13:21 +0000 (0:00:07.087) 0:01:35.534 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.059953", "end": "2022-08-05 18:13:22.392485", "rc": 0, "start": "2022-08-05 18:13:22.332532" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* Friday 05 August 2022 18:13:23 +0000 (0:00:02.073) 0:01:37.608 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.024757", "end": "2022-08-05 18:13:26.272158", "rc": 0, "start": "2022-08-05 18:13:26.247401" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** Friday 05 August 2022 18:13:28 +0000 (0:00:05.697) 0:01:43.306 ********* 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] *** Friday 05 August 2022 18:13:30 +0000 (0:00:01.557) 0:01:44.864 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 18:13:32 +0000 (0:00:01.783) 0:01:46.648 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/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] *** Friday 05 August 2022 18:13:33 +0000 (0:00:01.340) 0:01:47.988 ********* 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] *********** Friday 05 August 2022 18:13:37 +0000 (0:00:03.797) 0:01:51.785 ********* 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] ********* Friday 05 August 2022 18:13:41 +0000 (0:00:04.453) 0:01:56.239 ********* 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] ********************* Friday 05 August 2022 18:13:46 +0000 (0:00:04.713) 0:02:00.953 ********* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Friday 05 August 2022 18:13:48 +0000 (0:00:01.587) 0:02:02.541 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Friday 05 August 2022 18:13:49 +0000 (0:00:01.265) 0:02:03.806 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 18:13:50 +0000 (0:00:01.392) 0:02:05.199 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** Friday 05 August 2022 18:13:53 +0000 (0:00:02.830) 0:02:08.029 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** Friday 05 August 2022 18:13:54 +0000 (0:00:01.049) 0:02:09.078 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 05 August 2022 18:13:55 +0000 (0:00:00.686) 0:02:09.765 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 18:13:56 +0000 (0:00:01.477) 0:02:11.242 ********* 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] ************ Friday 05 August 2022 18:14:00 +0000 (0:00:03.804) 0:02:15.047 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 18:14:02 +0000 (0:00:01.725) 0:02:16.772 ********* 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] *** Friday 05 August 2022 18:14:03 +0000 (0:00:01.032) 0:02:17.805 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 18:14:04 +0000 (0:00:00.925) 0:02:18.730 ********* 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, 263fab27-5cfb-466d-95ea-a73a4d9f763f [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 263fab27-5cfb-466d-95ea-a73a4d9f763f (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [linux-system-roles.network : Configure networking state] ***************** Friday 05 August 2022 18:14:07 +0000 (0:00:02.832) 0:02:21.562 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** Friday 05 August 2022 18:14:08 +0000 (0:00:01.476) 0:02:23.038 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 263fab27-5cfb-466d-95ea-a73a4d9f763f", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 263fab27-5cfb-466d-95ea-a73a4d9f763f (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 18:14:10 +0000 (0:00:01.595) 0:02:24.633 ********* 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, 263fab27-5cfb-466d-95ea-a73a4d9f763f\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 263fab27-5cfb-466d-95ea-a73a4d9f763f (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, 263fab27-5cfb-466d-95ea-a73a4d9f763f", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 263fab27-5cfb-466d-95ea-a73a4d9f763f (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** Friday 05 August 2022 18:14:11 +0000 (0:00:00.903) 0:02:25.537 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 18:14:12 +0000 (0:00:01.272) 0:02:26.810 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* Friday 05 August 2022 18:14:14 +0000 (0:00:02.418) 0:02:29.229 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.024507", "end": "2022-08-05 18:14:17.091517", "rc": 0, "start": "2022-08-05 18:14:17.067010" } STDOUT: ipv6.dns-search: example.com TASK [Assert that DNS search setting for IPv6 is configured when the static IPv6 address is configured] *** Friday 05 August 2022 18:14:18 +0000 (0:00:03.348) 0:02:32.577 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 18:14:19 +0000 (0:00:01.275) 0:02:33.853 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/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] *** Friday 05 August 2022 18:14:22 +0000 (0:00:02.699) 0:02:36.552 ********* 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] *********** Friday 05 August 2022 18:14:26 +0000 (0:00:04.592) 0:02:41.145 ********* 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] ********* Friday 05 August 2022 18:14:33 +0000 (0:00:06.434) 0:02:47.579 ********* 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] ********************* Friday 05 August 2022 18:14:40 +0000 (0:00:07.018) 0:02:54.597 ********* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Friday 05 August 2022 18:14:41 +0000 (0:00:00.973) 0:02:55.571 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Friday 05 August 2022 18:14:42 +0000 (0:00:01.814) 0:02:57.386 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 18:14:44 +0000 (0:00:02.042) 0:02:59.429 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** Friday 05 August 2022 18:14:50 +0000 (0:00:05.880) 0:03:05.309 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** Friday 05 August 2022 18:14:52 +0000 (0:00:01.647) 0:03:06.956 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 05 August 2022 18:14:54 +0000 (0:00:02.225) 0:03:09.182 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 18:14:57 +0000 (0:00:02.818) 0:03:12.001 ********* 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] ************ Friday 05 August 2022 18:15:02 +0000 (0:00:05.156) 0:03:17.157 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 18:15:04 +0000 (0:00:02.206) 0:03:19.364 ********* 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] *** Friday 05 August 2022 18:15:07 +0000 (0:00:02.142) 0:03:21.507 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 18:15:07 +0000 (0:00:00.360) 0:03:21.867 ********* 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, 263fab27-5cfb-466d-95ea-a73a4d9f763f [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 263fab27-5cfb-466d-95ea-a73a4d9f763f (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [linux-system-roles.network : Configure networking state] ***************** Friday 05 August 2022 18:15:08 +0000 (0:00:01.205) 0:03:23.073 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** Friday 05 August 2022 18:15:08 +0000 (0:00:00.330) 0:03:23.404 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 263fab27-5cfb-466d-95ea-a73a4d9f763f", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 263fab27-5cfb-466d-95ea-a73a4d9f763f (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 18:15:09 +0000 (0:00:00.320) 0:03:23.724 ********* 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, 263fab27-5cfb-466d-95ea-a73a4d9f763f\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 263fab27-5cfb-466d-95ea-a73a4d9f763f (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, 263fab27-5cfb-466d-95ea-a73a4d9f763f", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 263fab27-5cfb-466d-95ea-a73a4d9f763f (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** Friday 05 August 2022 18:15:09 +0000 (0:00:00.381) 0:03:24.106 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 18:15:09 +0000 (0:00:00.300) 0:03:24.406 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* Friday 05 August 2022 18:15:10 +0000 (0:00:00.640) 0:03:25.047 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.024204", "end": "2022-08-05 18:15:11.052179", "rc": 0, "start": "2022-08-05 18:15:11.027975" } STDOUT: ipv6.dns-search: example.com TASK [Assert that DNS search setting for IPv6 is configured when only the static IPv6 address is configured] *** Friday 05 August 2022 18:15:11 +0000 (0:00:00.620) 0:03:25.667 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 18:15:11 +0000 (0:00:00.312) 0:03:25.979 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/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] *** Friday 05 August 2022 18:15:12 +0000 (0:00:00.772) 0:03:26.752 ********* 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] *********** Friday 05 August 2022 18:15:13 +0000 (0:00:00.957) 0:03:27.709 ********* 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] ********* Friday 05 August 2022 18:15:15 +0000 (0:00:02.659) 0:03:30.369 ********* 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] ********************* Friday 05 August 2022 18:15:17 +0000 (0:00:01.825) 0:03:32.194 ********* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Friday 05 August 2022 18:15:18 +0000 (0:00:00.369) 0:03:32.564 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Friday 05 August 2022 18:15:18 +0000 (0:00:00.384) 0:03:32.965 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 18:15:18 +0000 (0:00:00.193) 0:03:33.159 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** Friday 05 August 2022 18:15:18 +0000 (0:00:00.164) 0:03:33.323 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** Friday 05 August 2022 18:15:19 +0000 (0:00:00.276) 0:03:33.599 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 05 August 2022 18:15:19 +0000 (0:00:00.216) 0:03:33.816 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 18:15:19 +0000 (0:00:00.158) 0:03:33.974 ********* 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] ************ Friday 05 August 2022 18:15:20 +0000 (0:00:00.646) 0:03:34.621 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 18:15:20 +0000 (0:00:00.196) 0:03:34.818 ********* 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] *** Friday 05 August 2022 18:15:20 +0000 (0:00:00.193) 0:03:35.011 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 18:15:20 +0000 (0:00:00.326) 0:03:35.337 ********* 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 : Configure networking state] ***************** Friday 05 August 2022 18:15:21 +0000 (0:00:00.646) 0:03:35.984 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** Friday 05 August 2022 18:15:21 +0000 (0:00:00.159) 0:03:36.144 ********* 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 for the network_connections] *** Friday 05 August 2022 18:15:21 +0000 (0:00:00.262) 0:03:36.406 ********* 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 : Show debug messages for the network_state] *** Friday 05 August 2022 18:15:22 +0000 (0:00:00.309) 0:03:36.716 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 18:15:22 +0000 (0:00:00.205) 0:03:36.922 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert that reconfiguring network connection is failed] ****************** Friday 05 August 2022 18:15:23 +0000 (0:00:00.726) 0:03:37.648 ********* 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] *** Friday 05 August 2022 18:15:23 +0000 (0:00:00.236) 0:03:37.885 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 05 August 2022 18:15:23 +0000 (0:00:00.262) 0:03:38.148 ********* included: /WORKDIR/dist-git-network-idempotent_fix-r_eg5t/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] *** Friday 05 August 2022 18:15:23 +0000 (0:00:00.193) 0:03:38.342 ********* 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] *********** Friday 05 August 2022 18:15:24 +0000 (0:00:00.711) 0:03:39.053 ********* 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] ********* Friday 05 August 2022 18:15:27 +0000 (0:00:02.498) 0:03:41.551 ********* 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] ********************* Friday 05 August 2022 18:15:29 +0000 (0:00:01.968) 0:03:43.520 ********* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** Friday 05 August 2022 18:15:29 +0000 (0:00:00.187) 0:03:43.708 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** Friday 05 August 2022 18:15:29 +0000 (0:00:00.143) 0:03:43.852 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** Friday 05 August 2022 18:15:29 +0000 (0:00:00.107) 0:03:43.959 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** Friday 05 August 2022 18:15:29 +0000 (0:00:00.205) 0:03:44.164 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** Friday 05 August 2022 18:15:29 +0000 (0:00:00.068) 0:03:44.233 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 05 August 2022 18:15:29 +0000 (0:00:00.190) 0:03:44.424 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 05 August 2022 18:15:30 +0000 (0:00:00.154) 0:03:44.579 ********* 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] ************ Friday 05 August 2022 18:15:30 +0000 (0:00:00.585) 0:03:45.164 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 05 August 2022 18:15:30 +0000 (0:00:00.106) 0:03:45.270 ********* 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] *** Friday 05 August 2022 18:15:30 +0000 (0:00:00.063) 0:03:45.334 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 05 August 2022 18:15:30 +0000 (0:00:00.066) 0:03:45.400 ********* 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 : Configure networking state] ***************** Friday 05 August 2022 18:15:31 +0000 (0:00:00.716) 0:03:46.117 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** Friday 05 August 2022 18:15:31 +0000 (0:00:00.077) 0:03:46.194 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** Friday 05 August 2022 18:15:32 +0000 (0:00:00.419) 0:03:46.614 ********* 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 : Show debug messages for the network_state] *** Friday 05 August 2022 18:15:32 +0000 (0:00:00.150) 0:03:46.764 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 05 August 2022 18:15:32 +0000 (0:00:00.119) 0:03:46.884 ********* ok: [sut] => { "changed": false, "ping": "pong" } PLAY RECAP ********************************************************************* sut : ok=67 changed=6 unreachable=0 failed=0 skipped=58 rescued=0 ignored=1 Friday 05 August 2022 18:15:32 +0000 (0:00:00.480) 0:03:47.364 ********* =============================================================================== linux-system-roles.network : Check which packages are installed -------- 13.51s linux-system-roles.network : Enable and start NetworkManager ----------- 12.55s linux-system-roles.network : Configure networking connection profiles --- 8.19s linux-system-roles.network : Check which services are running ----------- 7.76s linux-system-roles.network : Re-test connectivity ----------------------- 7.09s Create EPEL 8 ----------------------------------------------------------- 7.04s linux-system-roles.network : Check which packages are installed --------- 7.02s linux-system-roles.network : Check which services are running ----------- 6.43s linux-system-roles.network : Install packages --------------------------- 5.88s Get DNS search entry for IPv6 ------------------------------------------- 5.70s Gathering Facts --------------------------------------------------------- 5.38s linux-system-roles.network : Enable and start NetworkManager ------------ 5.16s linux-system-roles.network : Check which packages are installed --------- 4.71s linux-system-roles.network : Ensure ansible_facts used by role are present --- 4.59s linux-system-roles.network : Check which services are running ----------- 4.45s linux-system-roles.network : Enable and start NetworkManager ------------ 3.80s linux-system-roles.network : Ensure ansible_facts used by role are present --- 3.80s Get DNS search entry for IPv6 ------------------------------------------- 3.35s linux-system-roles.network : Configure networking connection profiles --- 2.83s linux-system-roles.network : Install packages --------------------------- 2.83s ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: [defaults]callback_whitelist option, normalizing names to new standard, use callbacks_enabled instead. This feature will be removed from ansible-core in version 2.15. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [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. ---^---^---^---^---^---