# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_ipv6_dns_search_nm.yml ***************************************** 2 plays in /WORKDIR/git-bond_options_rewrite1cfritjo/tests/tests_ipv6_dns_search_nm.yml PLAY [Run playbook 'playbooks/tests_ipv6_dns_search.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/tests_ipv6_dns_search_nm.yml:6 Monday 12 February 2024 22:52:25 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/tests_ipv6_dns_search_nm.yml:9 Monday 12 February 2024 22:52:26 +0000 (0:00:00.987) 0:00:01.000 ******* included: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/tasks/el_repo_setup.yml:3 Monday 12 February 2024 22:52:26 +0000 (0:00:00.025) 0:00:01.025 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/tasks/el_repo_setup.yml:19 Monday 12 February 2024 22:52:26 +0000 (0:00:00.522) 0:00:01.548 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/tasks/el_repo_setup.yml:24 Monday 12 February 2024 22:52:26 +0000 (0:00:00.247) 0:00:01.795 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/tasks/el_repo_setup.yml:28 Monday 12 February 2024 22:52:26 +0000 (0:00:00.020) 0:00:01.816 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/tasks/el_repo_setup.yml:53 Monday 12 February 2024 22:52:26 +0000 (0:00:00.017) 0:00:01.833 ******* included: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/tasks/enable_epel.yml:8 Monday 12 February 2024 22:52:26 +0000 (0:00:00.032) 0:00:01.866 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/tasks/enable_epel.yml:24 Monday 12 February 2024 22:52:26 +0000 (0:00:00.010) 0:00:01.877 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/tasks/enable_epel.yml:30 Monday 12 February 2024 22:52:26 +0000 (0:00:00.008) 0:00:01.885 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/tasks/enable_epel.yml:35 Monday 12 February 2024 22:52:26 +0000 (0:00:00.008) 0:00:01.894 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/tasks/enable_epel.yml:40 Monday 12 February 2024 22:52:26 +0000 (0:00:00.014) 0:00:01.909 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/tests_ipv6_dns_search_nm.yml:11 Monday 12 February 2024 22:52:26 +0000 (0:00:00.011) 0:00:01.920 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing DNS search setting] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/playbooks/tests_ipv6_dns_search.yml:2 Monday 12 February 2024 22:52:27 +0000 (0:00:00.013) 0:00:01.933 ******* ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 12 February 2024 22:52:27 +0000 (0:00:00.791) 0:00:02.725 ******* included: /WORKDIR/git-bond_options_rewrite1cfritjo/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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 12 February 2024 22:52:27 +0000 (0:00:00.070) 0:00:02.796 ******* 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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 12 February 2024 22:52:27 +0000 (0:00:00.011) 0:00:02.807 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 12 February 2024 22:52:27 +0000 (0:00:00.014) 0:00:02.822 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 12 February 2024 22:52:27 +0000 (0:00:00.022) 0:00:02.844 ******* 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] ********* task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 12 February 2024 22:52:30 +0000 (0:00:02.328) 0:00:05.172 ******* 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] ********************* task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 12 February 2024 22:52:31 +0000 (0:00:01.096) 0:00:06.269 ******* 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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 12 February 2024 22:52:31 +0000 (0:00:00.026) 0:00:06.295 ******* 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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 12 February 2024 22:52:31 +0000 (0:00:00.023) 0:00:06.319 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 12 February 2024 22:52:31 +0000 (0:00:00.023) 0:00:06.342 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 12 February 2024 22:52:31 +0000 (0:00:00.055) 0:00:06.397 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 12 February 2024 22:52:31 +0000 (0:00:00.023) 0:00:06.421 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 12 February 2024 22:52:31 +0000 (0:00:00.022) 0:00:06.443 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 12 February 2024 22:52:31 +0000 (0:00:00.024) 0:00:06.468 ******* 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] ************ task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 12 February 2024 22:52:32 +0000 (0:00:00.708) 0:00:07.177 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 12 February 2024 22:52:32 +0000 (0:00:00.025) 0:00:07.203 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 12 February 2024 22:52:32 +0000 (0:00:00.021) 0:00:07.224 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 12 February 2024 22:52:32 +0000 (0:00:00.021) 0:00:07.246 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 12 February 2024 22:52:32 +0000 (0:00:00.630) 0:00:07.876 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 12 February 2024 22:52:32 +0000 (0:00:00.023) 0:00:07.900 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 12 February 2024 22:52:32 +0000 (0:00:00.023) 0:00:07.923 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 12 February 2024 22:52:33 +0000 (0:00:00.024) 0:00:07.947 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 12 February 2024 22:52:33 +0000 (0:00:00.022) 0:00:07.970 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/playbooks/tests_ipv6_dns_search.yml:23 Monday 12 February 2024 22:52:33 +0000 (0:00:00.264) 0:00:08.235 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.020074", "end": "2024-02-12 22:52:33.561434", "rc": 0, "start": "2024-02-12 22:52:33.541360" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/playbooks/tests_ipv6_dns_search.yml:29 Monday 12 February 2024 22:52:33 +0000 (0:00:00.295) 0:00:08.530 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018277", "end": "2024-02-12 22:52:33.806456", "rc": 0, "start": "2024-02-12 22:52:33.788179" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/playbooks/tests_ipv6_dns_search.yml:35 Monday 12 February 2024 22:52:33 +0000 (0:00:00.244) 0:00:08.775 ******* 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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/playbooks/tests_ipv6_dns_search.yml:41 Monday 12 February 2024 22:52:33 +0000 (0:00:00.026) 0:00:08.801 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 12 February 2024 22:52:33 +0000 (0:00:00.024) 0:00:08.826 ******* included: /WORKDIR/git-bond_options_rewrite1cfritjo/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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 12 February 2024 22:52:33 +0000 (0:00:00.039) 0:00:08.865 ******* 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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 12 February 2024 22:52:33 +0000 (0:00:00.028) 0:00:08.893 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 12 February 2024 22:52:33 +0000 (0:00:00.022) 0:00:08.916 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 12 February 2024 22:52:34 +0000 (0:00:00.048) 0:00:08.965 ******* 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] ********* task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 12 February 2024 22:52:36 +0000 (0:00:02.403) 0:00:11.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] ********************* task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 12 February 2024 22:52:37 +0000 (0:00:00.963) 0:00:12.332 ******* 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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 12 February 2024 22:52:37 +0000 (0:00:00.024) 0:00:12.357 ******* 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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 12 February 2024 22:52:37 +0000 (0:00:00.022) 0:00:12.379 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 12 February 2024 22:52:37 +0000 (0:00:00.021) 0:00:12.401 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 12 February 2024 22:52:37 +0000 (0:00:00.043) 0:00:12.445 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 12 February 2024 22:52:37 +0000 (0:00:00.021) 0:00:12.466 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 12 February 2024 22:52:37 +0000 (0:00:00.021) 0:00:12.488 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 12 February 2024 22:52:37 +0000 (0:00:00.025) 0:00:12.513 ******* 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] ************ task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 12 February 2024 22:52:38 +0000 (0:00:00.591) 0:00:13.104 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 12 February 2024 22:52:38 +0000 (0:00:00.026) 0:00:13.130 ******* 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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 12 February 2024 22:52:38 +0000 (0:00:00.021) 0:00:13.152 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 12 February 2024 22:52:38 +0000 (0:00:00.021) 0:00:13.174 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8 (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 12 February 2024 22:52:38 +0000 (0:00:00.580) 0:00:13.754 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 12 February 2024 22:52:38 +0000 (0:00:00.025) 0:00:13.779 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8 (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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 12 February 2024 22:52:38 +0000 (0:00:00.031) 0:00:13.810 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8 (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, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8 (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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 12 February 2024 22:52:38 +0000 (0:00:00.025) 0:00:13.835 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 12 February 2024 22:52:38 +0000 (0:00:00.026) 0:00:13.862 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/playbooks/tests_ipv6_dns_search.yml:69 Monday 12 February 2024 22:52:39 +0000 (0:00:00.217) 0:00:14.079 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.019541", "end": "2024-02-12 22:52:39.355072", "rc": 0, "start": "2024-02-12 22:52:39.335531" } STDOUT: ipv6.dns-search: example.com TASK [Assert that DNS search setting for IPv6 is configured when the static IPv6 address is configured] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/playbooks/tests_ipv6_dns_search.yml:75 Monday 12 February 2024 22:52:39 +0000 (0:00:00.243) 0:00:14.323 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 12 February 2024 22:52:39 +0000 (0:00:00.024) 0:00:14.347 ******* included: /WORKDIR/git-bond_options_rewrite1cfritjo/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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 12 February 2024 22:52:39 +0000 (0:00:00.038) 0:00:14.385 ******* 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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 12 February 2024 22:52:39 +0000 (0:00:00.026) 0:00:14.412 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 12 February 2024 22:52:39 +0000 (0:00:00.021) 0:00:14.433 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 12 February 2024 22:52:39 +0000 (0:00:00.021) 0:00:14.455 ******* 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] ********* task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 12 February 2024 22:52:41 +0000 (0:00:02.348) 0:00:16.804 ******* 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] ********************* task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 12 February 2024 22:52:42 +0000 (0:00:01.005) 0:00:17.810 ******* 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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 12 February 2024 22:52:42 +0000 (0:00:00.050) 0:00:17.860 ******* 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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 12 February 2024 22:52:42 +0000 (0:00:00.047) 0:00:17.908 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 12 February 2024 22:52:43 +0000 (0:00:00.031) 0:00:17.940 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 12 February 2024 22:52:43 +0000 (0:00:00.048) 0:00:17.988 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 12 February 2024 22:52:43 +0000 (0:00:00.021) 0:00:18.009 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 12 February 2024 22:52:43 +0000 (0:00:00.021) 0:00:18.031 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 12 February 2024 22:52:43 +0000 (0:00:00.024) 0:00:18.056 ******* 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] ************ task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 12 February 2024 22:52:43 +0000 (0:00:00.590) 0:00:18.646 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 12 February 2024 22:52:43 +0000 (0:00:00.029) 0:00:18.675 ******* 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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 12 February 2024 22:52:43 +0000 (0:00:00.022) 0:00:18.698 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 12 February 2024 22:52:43 +0000 (0:00:00.029) 0:00:18.728 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8 (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 12 February 2024 22:52:44 +0000 (0:00:00.420) 0:00:19.148 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 12 February 2024 22:52:44 +0000 (0:00:00.021) 0:00:19.169 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8 (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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 12 February 2024 22:52:44 +0000 (0:00:00.048) 0:00:19.218 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8 (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, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, b1ff4f7e-ff02-49c2-a863-83dabcdc2ac8 (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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 12 February 2024 22:52:44 +0000 (0:00:00.024) 0:00:19.243 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 12 February 2024 22:52:44 +0000 (0:00:00.021) 0:00:19.264 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/playbooks/tests_ipv6_dns_search.yml:101 Monday 12 February 2024 22:52:44 +0000 (0:00:00.217) 0:00:19.482 ******* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.019643", "end": "2024-02-12 22:52:44.772843", "rc": 0, "start": "2024-02-12 22:52:44.753200" } STDOUT: ipv6.dns-search: example.com TASK [Assert that DNS search setting for IPv6 is configured when only the static IPv6 address is configured] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/playbooks/tests_ipv6_dns_search.yml:107 Monday 12 February 2024 22:52:44 +0000 (0:00:00.258) 0:00:19.740 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 12 February 2024 22:52:44 +0000 (0:00:00.023) 0:00:19.764 ******* included: /WORKDIR/git-bond_options_rewrite1cfritjo/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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 12 February 2024 22:52:44 +0000 (0:00:00.041) 0:00:19.805 ******* 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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 12 February 2024 22:52:44 +0000 (0:00:00.029) 0:00:19.835 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 12 February 2024 22:52:44 +0000 (0:00:00.023) 0:00:19.858 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 12 February 2024 22:52:44 +0000 (0:00:00.022) 0:00:19.881 ******* 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] ********* task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 12 February 2024 22:52:47 +0000 (0:00:02.295) 0:00:22.176 ******* 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] ********************* task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 12 February 2024 22:52:48 +0000 (0:00:00.943) 0:00:23.120 ******* 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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 12 February 2024 22:52:48 +0000 (0:00:00.029) 0:00:23.149 ******* 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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 12 February 2024 22:52:48 +0000 (0:00:00.029) 0:00:23.179 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 12 February 2024 22:52:48 +0000 (0:00:00.028) 0:00:23.207 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 12 February 2024 22:52:48 +0000 (0:00:00.071) 0:00:23.278 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 12 February 2024 22:52:48 +0000 (0:00:00.024) 0:00:23.303 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 12 February 2024 22:52:48 +0000 (0:00:00.022) 0:00:23.325 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 12 February 2024 22:52:48 +0000 (0:00:00.026) 0:00:23.352 ******* 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] ************ task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 12 February 2024 22:52:49 +0000 (0:00:00.605) 0:00:23.957 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 12 February 2024 22:52:49 +0000 (0:00:00.030) 0:00:23.988 ******* 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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 12 February 2024 22:52:49 +0000 (0:00:00.025) 0:00:24.013 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 12 February 2024 22:52:49 +0000 (0:00:00.029) 0:00:24.043 ******* fatal: [sut]: FAILED! => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled. MSG: error: connection[0]: Setting 'dns_search', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled. ...ignoring TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 12 February 2024 22:52:49 +0000 (0:00:00.360) 0:00:24.403 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 12 February 2024 22:52:49 +0000 (0:00:00.027) 0:00:24.431 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled." ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 12 February 2024 22:52:49 +0000 (0:00:00.043) 0:00:24.474 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled.", "stderr": "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search', 'dns_options' and 'dns_priority' are 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', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled." ], "warnings": [ "[001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled." ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 12 February 2024 22:52:49 +0000 (0:00:00.036) 0:00:24.511 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 12 February 2024 22:52:49 +0000 (0:00:00.029) 0:00:24.540 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert that reconfiguring network connection is failed] ****************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/playbooks/tests_ipv6_dns_search.yml:131 Monday 12 February 2024 22:52:49 +0000 (0:00:00.236) 0:00:24.776 ******* 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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/playbooks/tests_ipv6_dns_search.yml:138 Monday 12 February 2024 22:52:49 +0000 (0:00:00.026) 0:00:24.803 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 12 February 2024 22:52:49 +0000 (0:00:00.025) 0:00:24.828 ******* included: /WORKDIR/git-bond_options_rewrite1cfritjo/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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 12 February 2024 22:52:49 +0000 (0:00:00.042) 0:00:24.871 ******* 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 : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 12 February 2024 22:52:49 +0000 (0:00:00.028) 0:00:24.900 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 12 February 2024 22:52:49 +0000 (0:00:00.023) 0:00:24.924 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 12 February 2024 22:52:50 +0000 (0:00:00.022) 0:00:24.946 ******* 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] ********* task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 12 February 2024 22:52:52 +0000 (0:00:02.355) 0:00:27.302 ******* 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] ********************* task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 12 February 2024 22:52:53 +0000 (0:00:00.951) 0:00:28.254 ******* 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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 12 February 2024 22:52:53 +0000 (0:00:00.022) 0:00:28.277 ******* 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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 12 February 2024 22:52:53 +0000 (0:00:00.022) 0:00:28.299 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Monday 12 February 2024 22:52:53 +0000 (0:00:00.023) 0:00:28.323 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 12 February 2024 22:52:53 +0000 (0:00:00.048) 0:00:28.371 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Monday 12 February 2024 22:52:53 +0000 (0:00:00.031) 0:00:28.403 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Monday 12 February 2024 22:52:53 +0000 (0:00:00.026) 0:00:28.430 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Monday 12 February 2024 22:52:53 +0000 (0:00:00.028) 0:00:28.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Monday 12 February 2024 22:52:54 +0000 (0:00:00.638) 0:00:29.097 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Monday 12 February 2024 22:52:54 +0000 (0:00:00.028) 0:00:29.125 ******* 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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Monday 12 February 2024 22:52:54 +0000 (0:00:00.035) 0:00:29.161 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Monday 12 February 2024 22:52:54 +0000 (0:00:00.024) 0:00:29.185 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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] ***************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Monday 12 February 2024 22:52:54 +0000 (0:00:00.492) 0:00:29.678 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Monday 12 February 2024 22:52:54 +0000 (0:00:00.023) 0:00:29.701 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 12 February 2024 22:52:54 +0000 (0:00:00.025) 0:00:29.726 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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] *** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Monday 12 February 2024 22:52:54 +0000 (0:00:00.025) 0:00:29.752 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Monday 12 February 2024 22:52:54 +0000 (0:00:00.022) 0:00:29.774 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/playbooks/tests_ipv6_dns_search.yml:164 Monday 12 February 2024 22:52:55 +0000 (0:00:00.214) 0:00:29.988 ******* included: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewrite1cfritjo/tests/playbooks/tasks/check_network_dns.yml:6 Monday 12 February 2024 22:52:55 +0000 (0:00:00.064) 0:00:30.053 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=64 changed=4 unreachable=0 failed=0 skipped=77 rescued=0 ignored=1 Monday 12 February 2024 22:52:55 +0000 (0:00:00.013) 0:00:30.067 ******* =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.40s /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.36s /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.35s /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.33s /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.30s /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.10s /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.01s /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.99s /WORKDIR/git-bond_options_rewrite1cfritjo/tests/tests_ipv6_dns_search_nm.yml:6 linux-system-roles.network : Check which packages are installed --------- 0.96s /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.95s /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.79s /WORKDIR/git-bond_options_rewrite1cfritjo/tests/playbooks/tests_ipv6_dns_search.yml:2 linux-system-roles.network : Enable and start NetworkManager ------------ 0.71s /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Enable and start NetworkManager ------------ 0.64s /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 0.63s /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.61s /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Enable and start NetworkManager ------------ 0.59s /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Enable and start NetworkManager ------------ 0.59s /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 0.58s /WORKDIR/git-bond_options_rewrite1cfritjo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Gather the minimum subset of ansible_facts required by the network role test --- 0.52s /WORKDIR/git-bond_options_rewrite1cfritjo/tests/tasks/el_repo_setup.yml:3 ----- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 on host sut should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs.ansible.com/ansible/ 2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. 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', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled. ---^---^---^---^---^---