# 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 27 May 2022 17:34:11 +0000 (0:00:00.029) 0:00:00.029 ************ ok: [sut] TASK [include_tasks] *********************************************************** Friday 27 May 2022 17:34:12 +0000 (0:00:00.827) 0:00:00.857 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/tasks/el_repo_setup.yml for sut TASK [Fix CentOS6 Base repo] *************************************************** Friday 27 May 2022 17:34:12 +0000 (0:00:00.029) 0:00:00.886 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** Friday 27 May 2022 17:34:12 +0000 (0:00:00.041) 0:00:00.928 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** Friday 27 May 2022 17:34:12 +0000 (0:00:00.048) 0:00:00.977 ************ changed: [sut] => { "changed": true, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": "0:00:02.336864", "end": "2022-05-27 17:34:14.278241", "rc": 0, "start": "2022-05-27 17:34:11.941377" } STDOUT: Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. Last metadata expiration check: 0:00:13 ago on Fri May 27 17:33:59 2022. epel-release-latest-8.noarch.rpm 445 kB/s | 23 kB 00:00 Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: epel-release noarch 8-15.el8 @commandline 23 k Transaction Summary ================================================================================ Install 1 Package Total size: 23 k Installed size: 32 k Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : epel-release-8-15.el8.noarch 1/1 Running scriptlet: epel-release-8-15.el8.noarch 1/1 Verifying : epel-release-8-15.el8.noarch 1/1 Installed products updated. Installed: epel-release-8-15.el8.noarch Complete! TASK [Enable EPEL 7] *********************************************************** Friday 27 May 2022 17:34:14 +0000 (0:00:02.664) 0:00:03.642 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Friday 27 May 2022 17:34:14 +0000 (0:00:00.029) 0:00:03.672 ************ changed: [sut] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.544476", "end": "2022-05-27 17:34:15.096371", "rc": 0, "start": "2022-05-27 17:34:14.551895" } STDOUT: Updating Subscription Management repositories. Unable to read consumer identity This system is not registered with an entitlement server. You can use subscription-manager to register. TASK [Enable EPEL 6] *********************************************************** Friday 27 May 2022 17:34:15 +0000 (0:00:00.787) 0:00:04.459 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Friday 27 May 2022 17:34:15 +0000 (0:00:00.029) 0:00:04.489 ************ ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* Friday 27 May 2022 17:34:15 +0000 (0:00:00.032) 0:00:04.521 ************ ok: [sut] TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 17:34:16 +0000 (0:00:00.565) 0:00:05.086 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/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 27 May 2022 17:34:16 +0000 (0:00:00.160) 0:00:05.247 ************ 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 27 May 2022 17:34:16 +0000 (0:00:00.399) 0:00:05.646 ************ 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 27 May 2022 17:34:18 +0000 (0:00:01.813) 0:00:07.459 ************ 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 27 May 2022 17:34:20 +0000 (0:00:01.734) 0:00:09.194 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 17:34:20 +0000 (0:00:00.126) 0:00:09.321 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 27 May 2022 17:34:20 +0000 (0:00:00.135) 0:00:09.457 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 17:34:20 +0000 (0:00:00.083) 0:00:09.540 ************ 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 27 May 2022 17:34:21 +0000 (0:00:00.784) 0:00:10.325 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 17:34:21 +0000 (0:00:00.081) 0:00:10.406 ************ 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 27 May 2022 17:34:21 +0000 (0:00:00.071) 0:00:10.477 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 17:34:21 +0000 (0:00:00.070) 0:00:10.548 ************ 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, fd29b465-8500-436d-adb0-27d8251e50fa [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, fd29b465-8500-436d-adb0-27d8251e50fa (is-modified) TASK [linux-system-roles.network : Show stderr messages] *********************** Friday 27 May 2022 17:34:22 +0000 (0:00:00.956) 0:00:11.504 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, fd29b465-8500-436d-adb0-27d8251e50fa", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, fd29b465-8500-436d-adb0-27d8251e50fa (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Friday 27 May 2022 17:34:22 +0000 (0:00:00.079) 0:00:11.584 ************ 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, fd29b465-8500-436d-adb0-27d8251e50fa\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, fd29b465-8500-436d-adb0-27d8251e50fa (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, fd29b465-8500-436d-adb0-27d8251e50fa", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, fd29b465-8500-436d-adb0-27d8251e50fa (is-modified)" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 27 May 2022 17:34:22 +0000 (0:00:00.077) 0:00:11.662 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* Friday 27 May 2022 17:34:23 +0000 (0:00:00.484) 0:00:12.147 ************ ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.095701", "end": "2022-05-27 17:34:23.122385", "rc": 0, "start": "2022-05-27 17:34:23.026684" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* Friday 27 May 2022 17:34:23 +0000 (0:00:00.382) 0:00:12.529 ************ ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.019004", "end": "2022-05-27 17:34:23.426235", "rc": 0, "start": "2022-05-27 17:34:23.407231" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** Friday 27 May 2022 17:34:24 +0000 (0:00:00.306) 0:00:12.835 ************ 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 27 May 2022 17:34:24 +0000 (0:00:00.081) 0:00:12.917 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 17:34:24 +0000 (0:00:00.079) 0:00:12.997 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/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 27 May 2022 17:34:24 +0000 (0:00:00.133) 0:00:13.130 ************ 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 27 May 2022 17:34:24 +0000 (0:00:00.459) 0:00:13.590 ************ 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 27 May 2022 17:34:26 +0000 (0:00:01.763) 0:00:15.353 ************ 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 27 May 2022 17:34:27 +0000 (0:00:01.467) 0:00:16.820 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 17:34:28 +0000 (0:00:00.084) 0:00:16.905 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 27 May 2022 17:34:28 +0000 (0:00:00.135) 0:00:17.040 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 17:34:28 +0000 (0:00:00.086) 0:00:17.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 : Enable and start wpa_supplicant] ************ Friday 27 May 2022 17:34:28 +0000 (0:00:00.489) 0:00:17.616 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 17:34:28 +0000 (0:00:00.085) 0:00:17.702 ************ 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 27 May 2022 17:34:28 +0000 (0:00:00.081) 0:00:17.783 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 17:34:29 +0000 (0:00:00.079) 0:00:17.863 ************ 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, fd29b465-8500-436d-adb0-27d8251e50fa [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, fd29b465-8500-436d-adb0-27d8251e50fa (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [linux-system-roles.network : Show stderr messages] *********************** Friday 27 May 2022 17:34:29 +0000 (0:00:00.610) 0:00:18.474 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, fd29b465-8500-436d-adb0-27d8251e50fa", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, fd29b465-8500-436d-adb0-27d8251e50fa (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Friday 27 May 2022 17:34:29 +0000 (0:00:00.092) 0:00:18.566 ************ 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, fd29b465-8500-436d-adb0-27d8251e50fa\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, fd29b465-8500-436d-adb0-27d8251e50fa (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, fd29b465-8500-436d-adb0-27d8251e50fa", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, fd29b465-8500-436d-adb0-27d8251e50fa (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 27 May 2022 17:34:29 +0000 (0:00:00.085) 0:00:18.651 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* Friday 27 May 2022 17:34:30 +0000 (0:00:00.283) 0:00:18.934 ************ ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.020127", "end": "2022-05-27 17:34:29.833151", "rc": 0, "start": "2022-05-27 17:34:29.813024" } STDOUT: ipv6.dns-search: example.com TASK [Assert that DNS search setting for IPv6 is configured when the static IPv6 address is configured] *** Friday 27 May 2022 17:34:30 +0000 (0:00:00.321) 0:00:19.255 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 17:34:30 +0000 (0:00:00.095) 0:00:19.351 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/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 27 May 2022 17:34:30 +0000 (0:00:00.139) 0:00:19.490 ************ 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 27 May 2022 17:34:31 +0000 (0:00:00.462) 0:00:19.953 ************ 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 27 May 2022 17:34:32 +0000 (0:00:01.691) 0:00:21.644 ************ 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 27 May 2022 17:34:34 +0000 (0:00:01.466) 0:00:23.111 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 17:34:34 +0000 (0:00:00.082) 0:00:23.193 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 27 May 2022 17:34:34 +0000 (0:00:00.130) 0:00:23.324 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 17:34:34 +0000 (0:00:00.084) 0:00:23.409 ************ 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 27 May 2022 17:34:35 +0000 (0:00:00.486) 0:00:23.895 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 17:34:35 +0000 (0:00:00.125) 0:00:24.021 ************ 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 27 May 2022 17:34:35 +0000 (0:00:00.072) 0:00:24.093 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 17:34:35 +0000 (0:00:00.073) 0:00:24.167 ************ 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, fd29b465-8500-436d-adb0-27d8251e50fa [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, fd29b465-8500-436d-adb0-27d8251e50fa (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [linux-system-roles.network : Show stderr messages] *********************** Friday 27 May 2022 17:34:35 +0000 (0:00:00.540) 0:00:24.707 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, fd29b465-8500-436d-adb0-27d8251e50fa", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, fd29b465-8500-436d-adb0-27d8251e50fa (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Friday 27 May 2022 17:34:35 +0000 (0:00:00.081) 0:00:24.789 ************ 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, fd29b465-8500-436d-adb0-27d8251e50fa\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, fd29b465-8500-436d-adb0-27d8251e50fa (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, fd29b465-8500-436d-adb0-27d8251e50fa", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, fd29b465-8500-436d-adb0-27d8251e50fa (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } } TASK [linux-system-roles.network : Re-test connectivity] *********************** Friday 27 May 2022 17:34:36 +0000 (0:00:00.080) 0:00:24.869 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* Friday 27 May 2022 17:34:36 +0000 (0:00:00.283) 0:00:25.153 ************ ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.019309", "end": "2022-05-27 17:34:36.049604", "rc": 0, "start": "2022-05-27 17:34:36.030295" } 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 27 May 2022 17:34:36 +0000 (0:00:00.304) 0:00:25.458 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 17:34:36 +0000 (0:00:00.074) 0:00:25.532 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/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 27 May 2022 17:34:36 +0000 (0:00:00.142) 0:00:25.675 ************ 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 27 May 2022 17:34:37 +0000 (0:00:00.450) 0:00:26.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 : Check which packages are installed] ********* Friday 27 May 2022 17:34:38 +0000 (0:00:01.694) 0:00:27.821 ************ 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 27 May 2022 17:34:40 +0000 (0:00:01.475) 0:00:29.297 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 17:34:40 +0000 (0:00:00.089) 0:00:29.386 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 27 May 2022 17:34:40 +0000 (0:00:00.133) 0:00:29.520 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 17:34:40 +0000 (0:00:00.093) 0:00:29.613 ************ 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 27 May 2022 17:34:41 +0000 (0:00:00.490) 0:00:30.103 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 17:34:41 +0000 (0:00:00.088) 0:00:30.193 ************ 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 27 May 2022 17:34:41 +0000 (0:00:00.082) 0:00:30.275 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 17:34:41 +0000 (0:00:00.079) 0:00:30.354 ************ 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] *********************** Friday 27 May 2022 17:34:42 +0000 (0:00:00.495) 0:00:30.850 ************ 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] ************************ Friday 27 May 2022 17:34:42 +0000 (0:00:00.084) 0:00:30.934 ************ 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] *********************** Friday 27 May 2022 17:34:42 +0000 (0:00:00.082) 0:00:31.016 ************ ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert that reconfiguring network connection is failed] ****************** Friday 27 May 2022 17:34:42 +0000 (0:00:00.293) 0:00:31.310 ************ 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 27 May 2022 17:34:42 +0000 (0:00:00.086) 0:00:31.397 ************ ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** Friday 27 May 2022 17:34:42 +0000 (0:00:00.086) 0:00:31.483 ************ included: /WORKDIR/dist-git-network-bond_fix-IHMNac/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 27 May 2022 17:34:42 +0000 (0:00:00.144) 0:00:31.628 ************ 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 27 May 2022 17:34:43 +0000 (0:00:00.497) 0:00:32.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 : Check which packages are installed] ********* Friday 27 May 2022 17:34:45 +0000 (0:00:01.727) 0:00:33.853 ************ 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 27 May 2022 17:34:46 +0000 (0:00:01.480) 0:00:35.333 ************ ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Install packages] *************************** Friday 27 May 2022 17:34:46 +0000 (0:00:00.080) 0:00:35.414 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** Friday 27 May 2022 17:34:46 +0000 (0:00:00.172) 0:00:35.587 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ Friday 27 May 2022 17:34:46 +0000 (0:00:00.082) 0:00:35.669 ************ 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 27 May 2022 17:34:47 +0000 (0:00:00.487) 0:00:36.156 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* Friday 27 May 2022 17:34:47 +0000 (0:00:00.083) 0:00:36.240 ************ 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 27 May 2022 17:34:47 +0000 (0:00:00.078) 0:00:36.319 ************ skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** Friday 27 May 2022 17:34:47 +0000 (0:00:00.079) 0:00:36.398 ************ 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] *********************** Friday 27 May 2022 17:34:48 +0000 (0:00:00.625) 0:00:37.024 ************ ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages] ************************ Friday 27 May 2022 17:34:48 +0000 (0:00:00.088) 0:00:37.112 ************ 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] *********************** Friday 27 May 2022 17:34:48 +0000 (0:00:00.080) 0:00:37.193 ************ ok: [sut] => { "changed": false, "ping": "pong" } PLAY RECAP ********************************************************************* sut : ok=67 changed=6 unreachable=0 failed=0 skipped=28 rescued=0 ignored=1 Friday 27 May 2022 17:34:48 +0000 (0:00:00.236) 0:00:37.430 ************ =============================================================================== Create EPEL 8 ----------------------------------------------------------- 2.66s linux-system-roles.network : Check which services are running ----------- 1.81s linux-system-roles.network : Check which services are running ----------- 1.76s linux-system-roles.network : Check which packages are installed --------- 1.73s linux-system-roles.network : Check which services are running ----------- 1.73s linux-system-roles.network : Check which services are running ----------- 1.69s linux-system-roles.network : Check which services are running ----------- 1.69s linux-system-roles.network : Check which packages are installed --------- 1.48s linux-system-roles.network : Check which packages are installed --------- 1.48s linux-system-roles.network : Check which packages are installed --------- 1.47s linux-system-roles.network : Check which packages are installed --------- 1.47s linux-system-roles.network : Configure networking connection profiles --- 0.96s Gathering Facts --------------------------------------------------------- 0.83s Enable EPEL 8 ----------------------------------------------------------- 0.79s linux-system-roles.network : Enable and start NetworkManager ------------ 0.78s linux-system-roles.network : Configure networking connection profiles --- 0.63s linux-system-roles.network : Configure networking connection profiles --- 0.61s Gathering Facts --------------------------------------------------------- 0.57s linux-system-roles.network : Configure networking connection profiles --- 0.54s linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.50s ---^---^---^---^---^--- # 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. ---^---^---^---^---^---