# 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_rewritek552d4hx/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_rewritek552d4hx/tests/tests_ipv6_dns_search_nm.yml:6 Tuesday 06 February 2024 21:08:33 +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_rewritek552d4hx/tests/tests_ipv6_dns_search_nm.yml:9 Tuesday 06 February 2024 21:08:33 +0000 (0:00:00.624) 0:00:00.636 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 21:08:33 +0000 (0:00:00.011) 0:00:00.648 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 21:08:34 +0000 (0:00:00.361) 0:00:01.009 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 21:08:34 +0000 (0:00:00.280) 0:00:01.290 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 21:08:34 +0000 (0:00:00.035) 0:00:01.326 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 21:08:34 +0000 (0:00:00.031) 0:00:01.357 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 21:08:34 +0000 (0:00:00.068) 0:00:01.425 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 21:08:34 +0000 (0:00:00.017) 0:00:01.443 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 21:08:34 +0000 (0:00:00.011) 0:00:01.455 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 21:08:34 +0000 (0:00:00.011) 0:00:01.466 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 21:08:34 +0000 (0:00:00.011) 0:00:01.477 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tests_ipv6_dns_search_nm.yml:11 Tuesday 06 February 2024 21:08:34 +0000 (0:00:00.010) 0:00:01.487 ****** 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_rewritek552d4hx/tests/playbooks/tests_ipv6_dns_search.yml:2 Tuesday 06 February 2024 21:08:34 +0000 (0:00:00.012) 0:00:01.499 ****** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:08:35 +0000 (0:00:00.521) 0:00:02.021 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:08:35 +0000 (0:00:00.076) 0:00:02.097 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:08:35 +0000 (0:00:00.013) 0:00:02.111 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:08:35 +0000 (0:00:00.021) 0:00:02.133 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:08:35 +0000 (0:00:00.038) 0:00:02.171 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:08:36 +0000 (0:00:01.650) 0:00:03.822 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:08:37 +0000 (0:00:01.151) 0:00:04.974 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:08:38 +0000 (0:00:00.022) 0:00:04.996 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:08:38 +0000 (0:00:00.020) 0:00:05.016 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:08:38 +0000 (0:00:00.020) 0:00:05.037 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:08:38 +0000 (0:00:00.042) 0:00:05.079 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:08:38 +0000 (0:00:00.020) 0:00:05.100 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:08:38 +0000 (0:00:00.020) 0:00:05.120 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:08:38 +0000 (0:00:00.024) 0:00:05.144 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:08:38 +0000 (0:00:00.495) 0:00:05.640 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:08:38 +0000 (0:00:00.027) 0:00:05.667 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:08:38 +0000 (0:00:00.022) 0:00:05.689 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:08:38 +0000 (0:00:00.022) 0:00:05.711 ****** 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, e931741d-e0bc-4f82-ac60-2dc782093f10 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e931741d-e0bc-4f82-ac60-2dc782093f10 (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:08:39 +0000 (0:00:00.516) 0:00:06.228 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:08:39 +0000 (0:00:00.020) 0:00:06.248 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, e931741d-e0bc-4f82-ac60-2dc782093f10", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e931741d-e0bc-4f82-ac60-2dc782093f10 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:08:39 +0000 (0:00:00.041) 0:00:06.290 ****** 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, e931741d-e0bc-4f82-ac60-2dc782093f10\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e931741d-e0bc-4f82-ac60-2dc782093f10 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, e931741d-e0bc-4f82-ac60-2dc782093f10", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e931741d-e0bc-4f82-ac60-2dc782093f10 (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:08:39 +0000 (0:00:00.022) 0:00:06.313 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:08:39 +0000 (0:00:00.020) 0:00:06.333 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tests_ipv6_dns_search.yml:23 Tuesday 06 February 2024 21:08:39 +0000 (0:00:00.237) 0:00:06.570 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.017965", "end": "2024-02-06 21:08:39.810467", "rc": 0, "start": "2024-02-06 21:08:39.792502" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tests_ipv6_dns_search.yml:29 Tuesday 06 February 2024 21:08:39 +0000 (0:00:00.260) 0:00:06.830 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.017737", "end": "2024-02-06 21:08:40.021887", "rc": 0, "start": "2024-02-06 21:08:40.004150" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tests_ipv6_dns_search.yml:35 Tuesday 06 February 2024 21:08:40 +0000 (0:00:00.209) 0:00:07.040 ****** 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_rewritek552d4hx/tests/playbooks/tests_ipv6_dns_search.yml:41 Tuesday 06 February 2024 21:08:40 +0000 (0:00:00.022) 0:00:07.062 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:08:40 +0000 (0:00:00.023) 0:00:07.086 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:08:40 +0000 (0:00:00.036) 0:00:07.123 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:08:40 +0000 (0:00:00.026) 0:00:07.149 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:08:40 +0000 (0:00:00.019) 0:00:07.169 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:08:40 +0000 (0:00:00.020) 0:00:07.189 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:08:41 +0000 (0:00:01.452) 0:00:08.642 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:08:42 +0000 (0:00:00.976) 0:00:09.619 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:08:42 +0000 (0:00:00.029) 0:00:09.648 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:08:42 +0000 (0:00:00.022) 0:00:09.670 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:08:42 +0000 (0:00:00.021) 0:00:09.692 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:08:42 +0000 (0:00:00.046) 0:00:09.739 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:08:42 +0000 (0:00:00.025) 0:00:09.765 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:08:42 +0000 (0:00:00.023) 0:00:09.788 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:08:42 +0000 (0:00:00.063) 0:00:09.851 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:08:43 +0000 (0:00:00.367) 0:00:10.218 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:08:43 +0000 (0:00:00.028) 0:00:10.247 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:08:43 +0000 (0:00:00.023) 0:00:10.270 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:08:43 +0000 (0:00:00.022) 0:00:10.293 ****** 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, e931741d-e0bc-4f82-ac60-2dc782093f10 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e931741d-e0bc-4f82-ac60-2dc782093f10 (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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:08:43 +0000 (0:00:00.387) 0:00:10.680 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:08:43 +0000 (0:00:00.021) 0:00:10.702 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, e931741d-e0bc-4f82-ac60-2dc782093f10", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e931741d-e0bc-4f82-ac60-2dc782093f10 (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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:08:43 +0000 (0:00:00.022) 0:00:10.724 ****** 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, e931741d-e0bc-4f82-ac60-2dc782093f10\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e931741d-e0bc-4f82-ac60-2dc782093f10 (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, e931741d-e0bc-4f82-ac60-2dc782093f10", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e931741d-e0bc-4f82-ac60-2dc782093f10 (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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:08:43 +0000 (0:00:00.023) 0:00:10.748 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:08:43 +0000 (0:00:00.020) 0:00:10.768 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tests_ipv6_dns_search.yml:69 Tuesday 06 February 2024 21:08:43 +0000 (0:00:00.195) 0:00:10.963 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018203", "end": "2024-02-06 21:08:44.162382", "rc": 0, "start": "2024-02-06 21:08:44.144179" } 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_rewritek552d4hx/tests/playbooks/tests_ipv6_dns_search.yml:75 Tuesday 06 February 2024 21:08:44 +0000 (0:00:00.218) 0:00:11.181 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:08:44 +0000 (0:00:00.022) 0:00:11.204 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:08:44 +0000 (0:00:00.059) 0:00:11.263 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:08:44 +0000 (0:00:00.027) 0:00:11.291 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:08:44 +0000 (0:00:00.022) 0:00:11.313 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:08:44 +0000 (0:00:00.020) 0:00:11.334 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:08:45 +0000 (0:00:01.541) 0:00:12.876 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:08:46 +0000 (0:00:00.995) 0:00:13.871 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:08:46 +0000 (0:00:00.021) 0:00:13.893 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:08:46 +0000 (0:00:00.020) 0:00:13.914 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:08:46 +0000 (0:00:00.020) 0:00:13.934 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:08:46 +0000 (0:00:00.045) 0:00:13.979 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:08:47 +0000 (0:00:00.022) 0:00:14.002 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:08:47 +0000 (0:00:00.022) 0:00:14.024 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:08:47 +0000 (0:00:00.025) 0:00:14.050 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:08:47 +0000 (0:00:00.370) 0:00:14.421 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:08:47 +0000 (0:00:00.025) 0:00:14.446 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:08:47 +0000 (0:00:00.020) 0:00:14.467 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:08:47 +0000 (0:00:00.020) 0:00:14.487 ****** 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, e931741d-e0bc-4f82-ac60-2dc782093f10 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e931741d-e0bc-4f82-ac60-2dc782093f10 (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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:08:47 +0000 (0:00:00.397) 0:00:14.884 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:08:47 +0000 (0:00:00.020) 0:00:14.904 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, e931741d-e0bc-4f82-ac60-2dc782093f10", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e931741d-e0bc-4f82-ac60-2dc782093f10 (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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:08:47 +0000 (0:00:00.043) 0:00:14.948 ****** 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, e931741d-e0bc-4f82-ac60-2dc782093f10\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e931741d-e0bc-4f82-ac60-2dc782093f10 (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, e931741d-e0bc-4f82-ac60-2dc782093f10", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, e931741d-e0bc-4f82-ac60-2dc782093f10 (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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:08:47 +0000 (0:00:00.022) 0:00:14.971 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:08:48 +0000 (0:00:00.020) 0:00:14.992 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tests_ipv6_dns_search.yml:101 Tuesday 06 February 2024 21:08:48 +0000 (0:00:00.186) 0:00:15.178 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.017337", "end": "2024-02-06 21:08:48.367474", "rc": 0, "start": "2024-02-06 21:08:48.350137" } 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_rewritek552d4hx/tests/playbooks/tests_ipv6_dns_search.yml:107 Tuesday 06 February 2024 21:08:48 +0000 (0:00:00.207) 0:00:15.385 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:08:48 +0000 (0:00:00.022) 0:00:15.408 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:08:48 +0000 (0:00:00.036) 0:00:15.445 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:08:48 +0000 (0:00:00.027) 0:00:15.472 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:08:48 +0000 (0:00:00.021) 0:00:15.494 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:08:48 +0000 (0:00:00.024) 0:00:15.518 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:08:49 +0000 (0:00:01.429) 0:00:16.948 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:08:50 +0000 (0:00:00.937) 0:00:17.885 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:08:50 +0000 (0:00:00.023) 0:00:17.908 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:08:50 +0000 (0:00:00.021) 0:00:17.930 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:08:50 +0000 (0:00:00.022) 0:00:17.952 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:08:51 +0000 (0:00:00.042) 0:00:17.995 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:08:51 +0000 (0:00:00.021) 0:00:18.017 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:08:51 +0000 (0:00:00.021) 0:00:18.039 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:08:51 +0000 (0:00:00.024) 0:00:18.063 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:08:51 +0000 (0:00:00.381) 0:00:18.445 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:08:51 +0000 (0:00:00.026) 0:00:18.471 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:08:51 +0000 (0:00:00.021) 0:00:18.493 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:08:51 +0000 (0:00:00.021) 0:00:18.515 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:08:51 +0000 (0:00:00.319) 0:00:18.834 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:08:51 +0000 (0:00:00.023) 0:00:18.858 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:08:51 +0000 (0:00:00.025) 0:00:18.883 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:08:51 +0000 (0:00:00.027) 0:00:18.911 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:08:51 +0000 (0:00:00.025) 0:00:18.936 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert that reconfiguring network connection is failed] ****************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tests_ipv6_dns_search.yml:131 Tuesday 06 February 2024 21:08:52 +0000 (0:00:00.195) 0:00:19.132 ****** 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_rewritek552d4hx/tests/playbooks/tests_ipv6_dns_search.yml:138 Tuesday 06 February 2024 21:08:52 +0000 (0:00:00.025) 0:00:19.158 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:08:52 +0000 (0:00:00.024) 0:00:19.182 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:08:52 +0000 (0:00:00.044) 0:00:19.226 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:08:52 +0000 (0:00:00.026) 0:00:19.252 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:08:52 +0000 (0:00:00.021) 0:00:19.274 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:08:52 +0000 (0:00:00.049) 0:00:19.324 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:08:53 +0000 (0:00:01.433) 0:00:20.757 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:08:54 +0000 (0:00:00.934) 0:00:21.692 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:08:54 +0000 (0:00:00.021) 0:00:21.713 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:08:54 +0000 (0:00:00.021) 0:00:21.735 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:08:54 +0000 (0:00:00.041) 0:00:21.776 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:08:54 +0000 (0:00:00.043) 0:00:21.819 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:08:54 +0000 (0:00:00.021) 0:00:21.841 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:08:54 +0000 (0:00:00.020) 0:00:21.861 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:08:54 +0000 (0:00:00.024) 0:00:21.885 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:08:55 +0000 (0:00:00.351) 0:00:22.237 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:08:55 +0000 (0:00:00.024) 0:00:22.261 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:08:55 +0000 (0:00:00.021) 0:00:22.283 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:08:55 +0000 (0:00:00.020) 0:00:22.303 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:08:55 +0000 (0:00:00.444) 0:00:22.748 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:08:55 +0000 (0:00:00.022) 0:00:22.771 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:08:55 +0000 (0:00:00.022) 0:00:22.793 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:08:55 +0000 (0:00:00.023) 0:00:22.817 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:08:55 +0000 (0:00:00.019) 0:00:22.836 ****** ok: [sut] => { "changed": false, "ping": "pong" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=63 changed=4 unreachable=0 failed=0 skipped=76 rescued=0 ignored=1 Tuesday 06 February 2024 21:08:56 +0000 (0:00:00.183) 0:00:23.020 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.15s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.00s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.98s /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.93s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.62s /WORKDIR/git-bond_options_rewritek552d4hx/tests/tests_ipv6_dns_search_nm.yml:6 Gathering Facts --------------------------------------------------------- 0.52s /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tests_ipv6_dns_search.yml:2 linux-system-roles.network : Configure networking connection profiles --- 0.52s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.50s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 0.44s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 0.40s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Configure networking connection profiles --- 0.39s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 0.38s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Enable and start NetworkManager ------------ 0.37s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Enable and start NetworkManager ------------ 0.37s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [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. ---^---^---^---^---^---