# 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-nm_plugin_hotfixyjvenrwr/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-nm_plugin_hotfixyjvenrwr/tests/tests_ipv6_dns_search_nm.yml:6 Tuesday 05 March 2024 21:41:40 +0000 (0:00:00.020) 0:00:00.020 ********* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/tests_ipv6_dns_search_nm.yml:9 Tuesday 05 March 2024 21:41:40 +0000 (0:00:00.770) 0:00:00.790 ********* included: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/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-nm_plugin_hotfixyjvenrwr/tests/tasks/el_repo_setup.yml:3 Tuesday 05 March 2024 21:41:40 +0000 (0:00:00.021) 0:00:00.811 ********* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/tasks/el_repo_setup.yml:19 Tuesday 05 March 2024 21:41:41 +0000 (0:00:00.381) 0:00:01.193 ********* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/tasks/el_repo_setup.yml:24 Tuesday 05 March 2024 21:41:41 +0000 (0:00:00.369) 0:00:01.562 ********* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/tasks/el_repo_setup.yml:28 Tuesday 05 March 2024 21:41:41 +0000 (0:00:00.022) 0:00:01.585 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/tasks/el_repo_setup.yml:53 Tuesday 05 March 2024 21:41:41 +0000 (0:00:00.023) 0:00:01.608 ********* included: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/tasks/enable_epel.yml:8 Tuesday 05 March 2024 21:41:41 +0000 (0:00:00.031) 0:00:01.640 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/tasks/enable_epel.yml:24 Tuesday 05 March 2024 21:41:41 +0000 (0:00:00.010) 0:00:01.650 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/tasks/enable_epel.yml:30 Tuesday 05 March 2024 21:41:41 +0000 (0:00:00.009) 0:00:01.659 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/tasks/enable_epel.yml:35 Tuesday 05 March 2024 21:41:41 +0000 (0:00:00.011) 0:00:01.671 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/tasks/enable_epel.yml:40 Tuesday 05 March 2024 21:41:41 +0000 (0:00:00.009) 0:00:01.681 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/tests_ipv6_dns_search_nm.yml:11 Tuesday 05 March 2024 21:41:41 +0000 (0:00:00.009) 0:00:01.690 ********* 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-nm_plugin_hotfixyjvenrwr/tests/playbooks/tests_ipv6_dns_search.yml:2 Tuesday 05 March 2024 21:41:41 +0000 (0:00:00.012) 0:00:01.703 ********* ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 05 March 2024 21:41:42 +0000 (0:00:00.512) 0:00:02.215 ********* included: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:41:42 +0000 (0:00:00.017) 0:00:02.232 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 05 March 2024 21:41:42 +0000 (0:00:00.010) 0:00:02.243 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 05 March 2024 21:41:42 +0000 (0:00:00.009) 0:00:02.252 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 05 March 2024 21:41:42 +0000 (0:00:00.009) 0:00:02.262 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 05 March 2024 21:41:43 +0000 (0:00:01.587) 0:00:03.850 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 05 March 2024 21:41:45 +0000 (0:00:01.281) 0:00:05.131 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 05 March 2024 21:41:45 +0000 (0:00:00.027) 0:00:05.159 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 05 March 2024 21:41:45 +0000 (0:00:00.034) 0:00:05.193 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:28 Tuesday 05 March 2024 21:41:45 +0000 (0:00:00.026) 0:00:05.220 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:42 Tuesday 05 March 2024 21:41:45 +0000 (0:00:00.040) 0:00:05.260 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 05 March 2024 21:41:45 +0000 (0:00:00.091) 0:00:05.351 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 05 March 2024 21:41:45 +0000 (0:00:00.036) 0:00:05.388 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 05 March 2024 21:41:45 +0000 (0:00:00.050) 0:00:05.438 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:100 Tuesday 05 March 2024 21:41:45 +0000 (0:00:00.060) 0:00:05.499 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:117 Tuesday 05 March 2024 21:41:45 +0000 (0:00:00.058) 0:00:05.557 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:131 Tuesday 05 March 2024 21:41:45 +0000 (0:00:00.027) 0:00:05.585 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:142 Tuesday 05 March 2024 21:41:46 +0000 (0:00:00.559) 0:00:06.145 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 05 March 2024 21:41:46 +0000 (0:00:00.030) 0:00:06.176 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:159 Tuesday 05 March 2024 21:41:46 +0000 (0:00:00.022) 0:00:06.198 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:168 Tuesday 05 March 2024 21:41:46 +0000 (0:00:00.033) 0:00:06.232 ********* 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, f6a16ceb-5c98-44e6-80d9-9ad72ce92256 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f6a16ceb-5c98-44e6-80d9-9ad72ce92256 (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:180 Tuesday 05 March 2024 21:41:47 +0000 (0:00:00.663) 0:00:06.896 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:186 Tuesday 05 March 2024 21:41:47 +0000 (0:00:00.021) 0:00:06.917 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, f6a16ceb-5c98-44e6-80d9-9ad72ce92256", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f6a16ceb-5c98-44e6-80d9-9ad72ce92256 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:190 Tuesday 05 March 2024 21:41:47 +0000 (0:00:00.023) 0:00:06.940 ********* 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, f6a16ceb-5c98-44e6-80d9-9ad72ce92256\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f6a16ceb-5c98-44e6-80d9-9ad72ce92256 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, f6a16ceb-5c98-44e6-80d9-9ad72ce92256", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f6a16ceb-5c98-44e6-80d9-9ad72ce92256 (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:195 Tuesday 05 March 2024 21:41:47 +0000 (0:00:00.026) 0:00:06.967 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:201 Tuesday 05 March 2024 21:41:47 +0000 (0:00:00.020) 0:00:06.987 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/playbooks/tests_ipv6_dns_search.yml:23 Tuesday 05 March 2024 21:41:47 +0000 (0:00:00.258) 0:00:07.245 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018499", "end": "2024-03-05 21:41:47.653454", "rc": 0, "start": "2024-03-05 21:41:47.634955" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/playbooks/tests_ipv6_dns_search.yml:29 Tuesday 05 March 2024 21:41:47 +0000 (0:00:00.315) 0:00:07.561 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018560", "end": "2024-03-05 21:41:47.887572", "rc": 0, "start": "2024-03-05 21:41:47.869012" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/playbooks/tests_ipv6_dns_search.yml:35 Tuesday 05 March 2024 21:41:47 +0000 (0:00:00.234) 0:00:07.796 ********* 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-nm_plugin_hotfixyjvenrwr/tests/playbooks/tests_ipv6_dns_search.yml:41 Tuesday 05 March 2024 21:41:47 +0000 (0:00:00.027) 0:00:07.823 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 05 March 2024 21:41:47 +0000 (0:00:00.022) 0:00:07.846 ********* included: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:41:48 +0000 (0:00:00.037) 0:00:07.883 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 05 March 2024 21:41:48 +0000 (0:00:00.031) 0:00:07.915 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 05 March 2024 21:41:48 +0000 (0:00:00.022) 0:00:07.937 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 05 March 2024 21:41:48 +0000 (0:00:00.026) 0:00:07.964 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 05 March 2024 21:41:49 +0000 (0:00:01.549) 0:00:09.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 : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 05 March 2024 21:41:50 +0000 (0:00:01.108) 0:00:10.621 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 05 March 2024 21:41:50 +0000 (0:00:00.070) 0:00:10.692 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 05 March 2024 21:41:50 +0000 (0:00:00.052) 0:00:10.744 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:28 Tuesday 05 March 2024 21:41:50 +0000 (0:00:00.069) 0:00:10.814 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:42 Tuesday 05 March 2024 21:41:51 +0000 (0:00:00.071) 0:00:10.885 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 05 March 2024 21:41:51 +0000 (0:00:00.075) 0:00:10.961 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 05 March 2024 21:41:51 +0000 (0:00:00.057) 0:00:11.019 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 05 March 2024 21:41:51 +0000 (0:00:00.195) 0:00:11.214 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:100 Tuesday 05 March 2024 21:41:51 +0000 (0:00:00.025) 0:00:11.239 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:117 Tuesday 05 March 2024 21:41:51 +0000 (0:00:00.022) 0:00:11.262 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:131 Tuesday 05 March 2024 21:41:51 +0000 (0:00:00.048) 0:00:11.311 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:142 Tuesday 05 March 2024 21:41:51 +0000 (0:00:00.424) 0:00:11.736 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 05 March 2024 21:41:51 +0000 (0:00:00.040) 0:00:11.776 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:159 Tuesday 05 March 2024 21:41:51 +0000 (0:00:00.023) 0:00:11.800 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:168 Tuesday 05 March 2024 21:41:51 +0000 (0:00:00.068) 0:00:11.869 ********* 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, f6a16ceb-5c98-44e6-80d9-9ad72ce92256 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f6a16ceb-5c98-44e6-80d9-9ad72ce92256 (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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:180 Tuesday 05 March 2024 21:41:52 +0000 (0:00:00.408) 0:00:12.277 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:186 Tuesday 05 March 2024 21:41:52 +0000 (0:00:00.041) 0:00:12.319 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, f6a16ceb-5c98-44e6-80d9-9ad72ce92256", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f6a16ceb-5c98-44e6-80d9-9ad72ce92256 (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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:190 Tuesday 05 March 2024 21:41:52 +0000 (0:00:00.039) 0:00:12.358 ********* 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, f6a16ceb-5c98-44e6-80d9-9ad72ce92256\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f6a16ceb-5c98-44e6-80d9-9ad72ce92256 (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, f6a16ceb-5c98-44e6-80d9-9ad72ce92256", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f6a16ceb-5c98-44e6-80d9-9ad72ce92256 (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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:195 Tuesday 05 March 2024 21:41:52 +0000 (0:00:00.023) 0:00:12.382 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:201 Tuesday 05 March 2024 21:41:52 +0000 (0:00:00.021) 0:00:12.403 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/playbooks/tests_ipv6_dns_search.yml:69 Tuesday 05 March 2024 21:41:52 +0000 (0:00:00.204) 0:00:12.608 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018651", "end": "2024-03-05 21:41:52.929561", "rc": 0, "start": "2024-03-05 21:41:52.910910" } 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-nm_plugin_hotfixyjvenrwr/tests/playbooks/tests_ipv6_dns_search.yml:75 Tuesday 05 March 2024 21:41:53 +0000 (0:00:00.292) 0:00:12.901 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 05 March 2024 21:41:53 +0000 (0:00:00.033) 0:00:12.934 ********* included: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:41:53 +0000 (0:00:00.042) 0:00:12.977 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 05 March 2024 21:41:53 +0000 (0:00:00.031) 0:00:13.008 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 05 March 2024 21:41:53 +0000 (0:00:00.026) 0:00:13.034 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 05 March 2024 21:41:53 +0000 (0:00:00.021) 0:00:13.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 : Check which packages are installed] ********* task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 05 March 2024 21:41:54 +0000 (0:00:01.537) 0:00:14.594 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 05 March 2024 21:41:55 +0000 (0:00:01.018) 0:00:15.613 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 05 March 2024 21:41:55 +0000 (0:00:00.023) 0:00:15.636 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 05 March 2024 21:41:55 +0000 (0:00:00.025) 0:00:15.662 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:28 Tuesday 05 March 2024 21:41:55 +0000 (0:00:00.022) 0:00:15.684 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:42 Tuesday 05 March 2024 21:41:55 +0000 (0:00:00.041) 0:00:15.725 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 05 March 2024 21:41:55 +0000 (0:00:00.032) 0:00:15.758 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 05 March 2024 21:41:55 +0000 (0:00:00.031) 0:00:15.789 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 05 March 2024 21:41:55 +0000 (0:00:00.085) 0:00:15.874 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:100 Tuesday 05 March 2024 21:41:56 +0000 (0:00:00.032) 0:00:15.906 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:117 Tuesday 05 March 2024 21:41:56 +0000 (0:00:00.042) 0:00:15.949 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:131 Tuesday 05 March 2024 21:41:56 +0000 (0:00:00.032) 0:00:15.981 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:142 Tuesday 05 March 2024 21:41:56 +0000 (0:00:00.410) 0:00:16.392 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 05 March 2024 21:41:56 +0000 (0:00:00.061) 0:00:16.453 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:159 Tuesday 05 March 2024 21:41:56 +0000 (0:00:00.058) 0:00:16.512 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:168 Tuesday 05 March 2024 21:41:56 +0000 (0:00:00.110) 0:00:16.622 ********* 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, f6a16ceb-5c98-44e6-80d9-9ad72ce92256 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f6a16ceb-5c98-44e6-80d9-9ad72ce92256 (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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:180 Tuesday 05 March 2024 21:41:57 +0000 (0:00:00.554) 0:00:17.177 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:186 Tuesday 05 March 2024 21:41:57 +0000 (0:00:00.042) 0:00:17.219 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, f6a16ceb-5c98-44e6-80d9-9ad72ce92256", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f6a16ceb-5c98-44e6-80d9-9ad72ce92256 (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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:190 Tuesday 05 March 2024 21:41:57 +0000 (0:00:00.027) 0:00:17.247 ********* 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, f6a16ceb-5c98-44e6-80d9-9ad72ce92256\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f6a16ceb-5c98-44e6-80d9-9ad72ce92256 (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, f6a16ceb-5c98-44e6-80d9-9ad72ce92256", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, f6a16ceb-5c98-44e6-80d9-9ad72ce92256 (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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:195 Tuesday 05 March 2024 21:41:57 +0000 (0:00:00.022) 0:00:17.270 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:201 Tuesday 05 March 2024 21:41:57 +0000 (0:00:00.021) 0:00:17.291 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/playbooks/tests_ipv6_dns_search.yml:101 Tuesday 05 March 2024 21:41:57 +0000 (0:00:00.210) 0:00:17.502 ********* ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018850", "end": "2024-03-05 21:41:57.820231", "rc": 0, "start": "2024-03-05 21:41:57.801381" } 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-nm_plugin_hotfixyjvenrwr/tests/playbooks/tests_ipv6_dns_search.yml:107 Tuesday 05 March 2024 21:41:57 +0000 (0:00:00.227) 0:00:17.729 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 05 March 2024 21:41:57 +0000 (0:00:00.022) 0:00:17.751 ********* included: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:41:57 +0000 (0:00:00.036) 0:00:17.788 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 05 March 2024 21:41:57 +0000 (0:00:00.026) 0:00:17.814 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 05 March 2024 21:41:57 +0000 (0:00:00.022) 0:00:17.837 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 05 March 2024 21:41:57 +0000 (0:00:00.022) 0:00:17.859 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 05 March 2024 21:41:59 +0000 (0:00:01.553) 0:00:19.413 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 05 March 2024 21:42:00 +0000 (0:00:01.019) 0:00:20.433 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 05 March 2024 21:42:00 +0000 (0:00:00.024) 0:00:20.458 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 05 March 2024 21:42:00 +0000 (0:00:00.022) 0:00:20.480 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:28 Tuesday 05 March 2024 21:42:00 +0000 (0:00:00.024) 0:00:20.505 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:42 Tuesday 05 March 2024 21:42:00 +0000 (0:00:00.030) 0:00:20.536 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 05 March 2024 21:42:00 +0000 (0:00:00.049) 0:00:20.585 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 05 March 2024 21:42:00 +0000 (0:00:00.024) 0:00:20.610 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 05 March 2024 21:42:00 +0000 (0:00:00.043) 0:00:20.653 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:100 Tuesday 05 March 2024 21:42:00 +0000 (0:00:00.021) 0:00:20.675 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:117 Tuesday 05 March 2024 21:42:00 +0000 (0:00:00.022) 0:00:20.697 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:131 Tuesday 05 March 2024 21:42:00 +0000 (0:00:00.029) 0:00:20.727 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:142 Tuesday 05 March 2024 21:42:01 +0000 (0:00:00.382) 0:00:21.110 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 05 March 2024 21:42:01 +0000 (0:00:00.025) 0:00:21.136 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:159 Tuesday 05 March 2024 21:42:01 +0000 (0:00:00.021) 0:00:21.157 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:168 Tuesday 05 March 2024 21:42:01 +0000 (0:00:00.021) 0:00:21.178 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:180 Tuesday 05 March 2024 21:42:01 +0000 (0:00:00.344) 0:00:21.522 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:186 Tuesday 05 March 2024 21:42:01 +0000 (0:00:00.023) 0:00:21.546 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:190 Tuesday 05 March 2024 21:42:01 +0000 (0:00:00.037) 0:00:21.583 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:195 Tuesday 05 March 2024 21:42:01 +0000 (0:00:00.025) 0:00:21.609 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:201 Tuesday 05 March 2024 21:42:01 +0000 (0:00:00.032) 0:00:21.641 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert that reconfiguring network connection is failed] ****************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/playbooks/tests_ipv6_dns_search.yml:131 Tuesday 05 March 2024 21:42:02 +0000 (0:00:00.239) 0:00:21.880 ********* 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-nm_plugin_hotfixyjvenrwr/tests/playbooks/tests_ipv6_dns_search.yml:138 Tuesday 05 March 2024 21:42:02 +0000 (0:00:00.032) 0:00:21.912 ********* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 05 March 2024 21:42:02 +0000 (0:00:00.024) 0:00:21.937 ********* included: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 05 March 2024 21:42:02 +0000 (0:00:00.037) 0:00:21.974 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 05 March 2024 21:42:02 +0000 (0:00:00.026) 0:00:22.000 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 05 March 2024 21:42:02 +0000 (0:00:00.022) 0:00:22.022 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 05 March 2024 21:42:02 +0000 (0:00:00.019) 0:00:22.042 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 05 March 2024 21:42:03 +0000 (0:00:01.554) 0:00:23.596 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 05 March 2024 21:42:04 +0000 (0:00:01.055) 0:00:24.652 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 05 March 2024 21:42:04 +0000 (0:00:00.024) 0:00:24.677 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 05 March 2024 21:42:04 +0000 (0:00:00.023) 0:00:24.700 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:28 Tuesday 05 March 2024 21:42:04 +0000 (0:00:00.021) 0:00:24.721 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:42 Tuesday 05 March 2024 21:42:04 +0000 (0:00:00.033) 0:00:24.755 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 05 March 2024 21:42:04 +0000 (0:00:00.036) 0:00:24.791 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:72 Tuesday 05 March 2024 21:42:04 +0000 (0:00:00.027) 0:00:24.819 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 05 March 2024 21:42:04 +0000 (0:00:00.048) 0:00:24.867 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:100 Tuesday 05 March 2024 21:42:05 +0000 (0:00:00.020) 0:00:24.888 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:117 Tuesday 05 March 2024 21:42:05 +0000 (0:00:00.019) 0:00:24.907 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:131 Tuesday 05 March 2024 21:42:05 +0000 (0:00:00.023) 0:00:24.931 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:142 Tuesday 05 March 2024 21:42:05 +0000 (0:00:00.384) 0:00:25.315 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:151 Tuesday 05 March 2024 21:42:05 +0000 (0:00:00.026) 0:00:25.342 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:159 Tuesday 05 March 2024 21:42:05 +0000 (0:00:00.036) 0:00:25.379 ********* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:168 Tuesday 05 March 2024 21:42:05 +0000 (0:00:00.022) 0:00:25.401 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:180 Tuesday 05 March 2024 21:42:06 +0000 (0:00:00.574) 0:00:25.976 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:186 Tuesday 05 March 2024 21:42:06 +0000 (0:00:00.024) 0:00:26.000 ********* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:190 Tuesday 05 March 2024 21:42:06 +0000 (0:00:00.033) 0:00:26.034 ********* 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-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:195 Tuesday 05 March 2024 21:42:06 +0000 (0:00:00.024) 0:00:26.058 ********* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:201 Tuesday 05 March 2024 21:42:06 +0000 (0:00:00.026) 0:00:26.084 ********* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/playbooks/tests_ipv6_dns_search.yml:164 Tuesday 05 March 2024 21:42:06 +0000 (0:00:00.216) 0:00:26.301 ********* included: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 05 March 2024 21:42:06 +0000 (0:00:00.046) 0:00:26.347 ********* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.009667", "end": "2024-03-05 21:42:06.661367", "rc": 0, "start": "2024-03-05 21:42:06.651700" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:0a:50:93:e2:6d brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.43.250/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2809sec preferred_lft 2809sec inet6 fe80::c0a:50ff:fe93:e26d/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.250 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.250 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 05 March 2024 21:42:06 +0000 (0:00:00.223) 0:00:26.570 ********* ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.276251", "end": "2024-03-05 21:42:07.153843", "rc": 0, "start": "2024-03-05 21:42:06.877592" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2747 0 --:--:-- --:--:-- --:--:-- 2772 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2171 0 --:--:-- --:--:-- --:--:-- 2187 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=66 changed=4 unreachable=0 failed=0 skipped=91 rescued=0 ignored=1 Tuesday 05 March 2024 21:42:07 +0000 (0:00:00.482) 0:00:27.052 ********* =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.28s /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.11s /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.06s /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.02s /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.77s /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/tests_ipv6_dns_search_nm.yml:6 ---- linux-system-roles.network : Configure networking connection profiles --- 0.66s /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:168 linux-system-roles.network : Configure networking connection profiles --- 0.57s /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:168 linux-system-roles.network : Enable and start NetworkManager ------------ 0.56s /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:131 linux-system-roles.network : Configure networking connection profiles --- 0.55s /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:168 Gathering Facts --------------------------------------------------------- 0.51s /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/playbooks/tests_ipv6_dns_search.yml:2 Verify DNS and network connectivity ------------------------------------- 0.48s /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/playbooks/tasks/check_network_dns.yml:24 linux-system-roles.network : Enable and start NetworkManager ------------ 0.42s /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:131 linux-system-roles.network : Enable and start NetworkManager ------------ 0.41s /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:131 linux-system-roles.network : Configure networking connection profiles --- 0.41s /WORKDIR/git-nm_plugin_hotfixyjvenrwr/tests/roles/linux-system-roles.network/tasks/main.yml:168 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, 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. ---^---^---^---^---^---