# 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_hotfixg5pzhnsp/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_hotfixg5pzhnsp/tests/tests_ipv6_dns_search_nm.yml:6 Thursday 29 February 2024 00:10:04 +0000 (0:00:00.023) 0:00:00.023 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/tests_ipv6_dns_search_nm.yml:9 Thursday 29 February 2024 00:10:05 +0000 (0:00:01.021) 0:00:01.045 ***** included: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/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_hotfixg5pzhnsp/tests/tasks/el_repo_setup.yml:3 Thursday 29 February 2024 00:10:05 +0000 (0:00:00.027) 0:00:01.072 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/tasks/el_repo_setup.yml:19 Thursday 29 February 2024 00:10:05 +0000 (0:00:00.513) 0:00:01.586 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/tasks/el_repo_setup.yml:24 Thursday 29 February 2024 00:10:05 +0000 (0:00:00.274) 0:00:01.860 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/tasks/el_repo_setup.yml:28 Thursday 29 February 2024 00:10:05 +0000 (0:00:00.021) 0:00:01.882 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/tasks/el_repo_setup.yml:53 Thursday 29 February 2024 00:10:05 +0000 (0:00:00.018) 0:00:01.900 ***** included: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/tasks/enable_epel.yml:8 Thursday 29 February 2024 00:10:06 +0000 (0:00:00.032) 0:00:01.932 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/tasks/enable_epel.yml:24 Thursday 29 February 2024 00:10:06 +0000 (0:00:00.010) 0:00:01.943 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/tasks/enable_epel.yml:30 Thursday 29 February 2024 00:10:06 +0000 (0:00:00.009) 0:00:01.953 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/tasks/enable_epel.yml:35 Thursday 29 February 2024 00:10:06 +0000 (0:00:00.009) 0:00:01.962 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/tasks/enable_epel.yml:40 Thursday 29 February 2024 00:10:06 +0000 (0:00:00.008) 0:00:01.971 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/tests_ipv6_dns_search_nm.yml:11 Thursday 29 February 2024 00:10:06 +0000 (0:00:00.008) 0:00:01.979 ***** 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_hotfixg5pzhnsp/tests/playbooks/tests_ipv6_dns_search.yml:2 Thursday 29 February 2024 00:10:06 +0000 (0:00:00.014) 0:00:01.993 ***** ok: [sut] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:10:06 +0000 (0:00:00.761) 0:00:02.755 ***** included: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:10:06 +0000 (0:00:00.018) 0:00:02.773 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:10:06 +0000 (0:00:00.012) 0:00:02.786 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:10:06 +0000 (0:00:00.018) 0:00:02.805 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:10:06 +0000 (0:00:00.009) 0:00:02.815 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:10:09 +0000 (0:00:02.278) 0:00:05.093 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:10:10 +0000 (0:00:01.120) 0:00:06.214 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:10:10 +0000 (0:00:00.025) 0:00:06.239 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:10:10 +0000 (0:00:00.023) 0:00:06.263 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:10:10 +0000 (0:00:00.024) 0:00:06.287 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:10:10 +0000 (0:00:00.030) 0:00:06.317 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:10:10 +0000 (0:00:00.027) 0:00:06.344 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:10:10 +0000 (0:00:00.027) 0:00:06.372 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:10:10 +0000 (0:00:00.046) 0:00:06.418 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:10:10 +0000 (0:00:00.022) 0:00:06.441 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:10:10 +0000 (0:00:00.022) 0:00:06.463 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:10:10 +0000 (0:00:00.027) 0:00:06.491 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:10:11 +0000 (0:00:00.703) 0:00:07.195 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:10:11 +0000 (0:00:00.032) 0:00:07.227 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:10:11 +0000 (0:00:00.027) 0:00:07.255 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:10:11 +0000 (0:00:00.110) 0:00:07.365 ***** 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, 532a349d-f9d6-4f74-be4c-9011a4bb1153 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 532a349d-f9d6-4f74-be4c-9011a4bb1153 (is-modified) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:10:12 +0000 (0:00:00.616) 0:00:07.981 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:10:12 +0000 (0:00:00.025) 0:00:08.007 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 532a349d-f9d6-4f74-be4c-9011a4bb1153", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 532a349d-f9d6-4f74-be4c-9011a4bb1153 (is-modified)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:10:12 +0000 (0:00:00.025) 0:00:08.032 ***** 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, 532a349d-f9d6-4f74-be4c-9011a4bb1153\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 532a349d-f9d6-4f74-be4c-9011a4bb1153 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 532a349d-f9d6-4f74-be4c-9011a4bb1153", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 532a349d-f9d6-4f74-be4c-9011a4bb1153 (is-modified)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:10:12 +0000 (0:00:00.026) 0:00:08.059 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:10:12 +0000 (0:00:00.024) 0:00:08.083 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/playbooks/tests_ipv6_dns_search.yml:23 Thursday 29 February 2024 00:10:12 +0000 (0:00:00.288) 0:00:08.372 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018722", "end": "2024-02-29 00:10:12.724187", "rc": 0, "start": "2024-02-29 00:10:12.705465" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/playbooks/tests_ipv6_dns_search.yml:29 Thursday 29 February 2024 00:10:12 +0000 (0:00:00.317) 0:00:08.690 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018168", "end": "2024-02-29 00:10:12.951716", "rc": 0, "start": "2024-02-29 00:10:12.933548" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/playbooks/tests_ipv6_dns_search.yml:35 Thursday 29 February 2024 00:10:12 +0000 (0:00:00.227) 0:00:08.917 ***** 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_hotfixg5pzhnsp/tests/playbooks/tests_ipv6_dns_search.yml:41 Thursday 29 February 2024 00:10:13 +0000 (0:00:00.025) 0:00:08.942 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:10:13 +0000 (0:00:00.026) 0:00:08.969 ***** included: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:10:13 +0000 (0:00:00.072) 0:00:09.041 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:10:13 +0000 (0:00:00.032) 0:00:09.073 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:10:13 +0000 (0:00:00.025) 0:00:09.099 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:10:13 +0000 (0:00:00.024) 0:00:09.123 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:10:15 +0000 (0:00:02.179) 0:00:11.302 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:10:16 +0000 (0:00:00.987) 0:00:12.290 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:10:16 +0000 (0:00:00.033) 0:00:12.323 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:10:16 +0000 (0:00:00.024) 0:00:12.347 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:10:16 +0000 (0:00:00.023) 0:00:12.371 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:10:16 +0000 (0:00:00.027) 0:00:12.398 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:10:16 +0000 (0:00:00.025) 0:00:12.424 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:10:16 +0000 (0:00:00.027) 0:00:12.452 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:10:16 +0000 (0:00:00.046) 0:00:12.498 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:10:16 +0000 (0:00:00.026) 0:00:12.525 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:10:16 +0000 (0:00:00.026) 0:00:12.551 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:10:16 +0000 (0:00:00.029) 0:00:12.581 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:10:17 +0000 (0:00:00.556) 0:00:13.137 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:10:17 +0000 (0:00:00.063) 0:00:13.201 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:10:17 +0000 (0:00:00.025) 0:00:13.226 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:10:17 +0000 (0:00:00.025) 0:00:13.251 ***** 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, 532a349d-f9d6-4f74-be4c-9011a4bb1153 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 532a349d-f9d6-4f74-be4c-9011a4bb1153 (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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:10:17 +0000 (0:00:00.414) 0:00:13.666 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:10:17 +0000 (0:00:00.048) 0:00:13.714 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 532a349d-f9d6-4f74-be4c-9011a4bb1153", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 532a349d-f9d6-4f74-be4c-9011a4bb1153 (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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:10:17 +0000 (0:00:00.049) 0:00:13.764 ***** 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, 532a349d-f9d6-4f74-be4c-9011a4bb1153\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 532a349d-f9d6-4f74-be4c-9011a4bb1153 (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, 532a349d-f9d6-4f74-be4c-9011a4bb1153", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 532a349d-f9d6-4f74-be4c-9011a4bb1153 (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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:10:17 +0000 (0:00:00.042) 0:00:13.806 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:10:17 +0000 (0:00:00.026) 0:00:13.833 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/playbooks/tests_ipv6_dns_search.yml:69 Thursday 29 February 2024 00:10:18 +0000 (0:00:00.218) 0:00:14.052 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018090", "end": "2024-02-29 00:10:18.315902", "rc": 0, "start": "2024-02-29 00:10:18.297812" } 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_hotfixg5pzhnsp/tests/playbooks/tests_ipv6_dns_search.yml:75 Thursday 29 February 2024 00:10:18 +0000 (0:00:00.229) 0:00:14.282 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:10:18 +0000 (0:00:00.027) 0:00:14.309 ***** included: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:10:18 +0000 (0:00:00.044) 0:00:14.354 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:10:18 +0000 (0:00:00.068) 0:00:14.423 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:10:18 +0000 (0:00:00.024) 0:00:14.447 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:10:18 +0000 (0:00:00.024) 0:00:14.472 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:10:20 +0000 (0:00:02.177) 0:00:16.649 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:10:21 +0000 (0:00:00.940) 0:00:17.589 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:10:21 +0000 (0:00:00.025) 0:00:17.615 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:10:21 +0000 (0:00:00.050) 0:00:17.665 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:10:21 +0000 (0:00:00.030) 0:00:17.696 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:10:21 +0000 (0:00:00.031) 0:00:17.727 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:10:21 +0000 (0:00:00.024) 0:00:17.751 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:10:21 +0000 (0:00:00.028) 0:00:17.779 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:10:21 +0000 (0:00:00.047) 0:00:17.827 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:10:21 +0000 (0:00:00.022) 0:00:17.850 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:10:21 +0000 (0:00:00.022) 0:00:17.872 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:10:21 +0000 (0:00:00.026) 0:00:17.899 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:10:22 +0000 (0:00:00.561) 0:00:18.460 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:10:22 +0000 (0:00:00.027) 0:00:18.487 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:10:22 +0000 (0:00:00.054) 0:00:18.542 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:10:22 +0000 (0:00:00.025) 0:00:18.567 ***** 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, 532a349d-f9d6-4f74-be4c-9011a4bb1153 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 532a349d-f9d6-4f74-be4c-9011a4bb1153 (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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:10:23 +0000 (0:00:00.406) 0:00:18.974 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:10:23 +0000 (0:00:00.037) 0:00:19.012 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 532a349d-f9d6-4f74-be4c-9011a4bb1153", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 532a349d-f9d6-4f74-be4c-9011a4bb1153 (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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:10:23 +0000 (0:00:00.026) 0:00:19.038 ***** 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, 532a349d-f9d6-4f74-be4c-9011a4bb1153\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 532a349d-f9d6-4f74-be4c-9011a4bb1153 (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, 532a349d-f9d6-4f74-be4c-9011a4bb1153", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 532a349d-f9d6-4f74-be4c-9011a4bb1153 (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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:10:23 +0000 (0:00:00.027) 0:00:19.065 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:10:23 +0000 (0:00:00.028) 0:00:19.094 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/playbooks/tests_ipv6_dns_search.yml:101 Thursday 29 February 2024 00:10:23 +0000 (0:00:00.221) 0:00:19.315 ***** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018201", "end": "2024-02-29 00:10:23.582338", "rc": 0, "start": "2024-02-29 00:10:23.564137" } 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_hotfixg5pzhnsp/tests/playbooks/tests_ipv6_dns_search.yml:107 Thursday 29 February 2024 00:10:23 +0000 (0:00:00.231) 0:00:19.547 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:10:23 +0000 (0:00:00.024) 0:00:19.572 ***** included: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:10:23 +0000 (0:00:00.044) 0:00:19.616 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:10:23 +0000 (0:00:00.031) 0:00:19.647 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:10:23 +0000 (0:00:00.057) 0:00:19.705 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:10:23 +0000 (0:00:00.026) 0:00:19.731 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:10:25 +0000 (0:00:02.137) 0:00:21.869 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:10:26 +0000 (0:00:00.940) 0:00:22.810 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:10:26 +0000 (0:00:00.025) 0:00:22.836 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:10:26 +0000 (0:00:00.031) 0:00:22.867 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:10:26 +0000 (0:00:00.026) 0:00:22.893 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:10:26 +0000 (0:00:00.030) 0:00:22.924 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:10:27 +0000 (0:00:00.029) 0:00:22.953 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:10:27 +0000 (0:00:00.033) 0:00:22.987 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:10:27 +0000 (0:00:00.059) 0:00:23.046 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:10:27 +0000 (0:00:00.027) 0:00:23.073 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:10:27 +0000 (0:00:00.042) 0:00:23.116 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:10:27 +0000 (0:00:00.032) 0:00:23.148 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:10:27 +0000 (0:00:00.614) 0:00:23.763 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:10:27 +0000 (0:00:00.028) 0:00:23.792 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:10:27 +0000 (0:00:00.024) 0:00:23.817 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:10:27 +0000 (0:00:00.052) 0:00:23.869 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:10:28 +0000 (0:00:00.341) 0:00:24.211 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:10:28 +0000 (0:00:00.025) 0:00:24.236 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:10:28 +0000 (0:00:00.027) 0:00:24.264 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:10:28 +0000 (0:00:00.028) 0:00:24.292 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:10:28 +0000 (0:00:00.026) 0:00:24.319 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert that reconfiguring network connection is failed] ****************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/playbooks/tests_ipv6_dns_search.yml:131 Thursday 29 February 2024 00:10:28 +0000 (0:00:00.209) 0:00:24.528 ***** 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_hotfixg5pzhnsp/tests/playbooks/tests_ipv6_dns_search.yml:138 Thursday 29 February 2024 00:10:28 +0000 (0:00:00.028) 0:00:24.556 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 29 February 2024 00:10:28 +0000 (0:00:00.027) 0:00:24.584 ***** included: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 29 February 2024 00:10:28 +0000 (0:00:00.043) 0:00:24.627 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 29 February 2024 00:10:28 +0000 (0:00:00.029) 0:00:24.657 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 29 February 2024 00:10:28 +0000 (0:00:00.023) 0:00:24.681 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 29 February 2024 00:10:28 +0000 (0:00:00.024) 0:00:24.705 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 29 February 2024 00:10:30 +0000 (0:00:02.221) 0:00:26.927 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 29 February 2024 00:10:31 +0000 (0:00:00.921) 0:00:27.849 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 29 February 2024 00:10:31 +0000 (0:00:00.067) 0:00:27.917 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 29 February 2024 00:10:32 +0000 (0:00:00.025) 0:00:27.942 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 29 February 2024 00:10:32 +0000 (0:00:00.024) 0:00:27.966 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:42 Thursday 29 February 2024 00:10:32 +0000 (0:00:00.028) 0:00:27.995 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 29 February 2024 00:10:32 +0000 (0:00:00.025) 0:00:28.020 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 29 February 2024 00:10:32 +0000 (0:00:00.037) 0:00:28.058 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 29 February 2024 00:10:32 +0000 (0:00:00.097) 0:00:28.155 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:100 Thursday 29 February 2024 00:10:32 +0000 (0:00:00.041) 0:00:28.197 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:117 Thursday 29 February 2024 00:10:32 +0000 (0:00:00.045) 0:00:28.243 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:131 Thursday 29 February 2024 00:10:32 +0000 (0:00:00.032) 0:00:28.275 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:142 Thursday 29 February 2024 00:10:32 +0000 (0:00:00.557) 0:00:28.833 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 29 February 2024 00:10:32 +0000 (0:00:00.029) 0:00:28.862 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:159 Thursday 29 February 2024 00:10:32 +0000 (0:00:00.024) 0:00:28.887 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:168 Thursday 29 February 2024 00:10:32 +0000 (0:00:00.023) 0:00:28.910 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:180 Thursday 29 February 2024 00:10:33 +0000 (0:00:00.515) 0:00:29.426 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:186 Thursday 29 February 2024 00:10:33 +0000 (0:00:00.026) 0:00:29.452 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:190 Thursday 29 February 2024 00:10:33 +0000 (0:00:00.044) 0:00:29.497 ***** 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_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:195 Thursday 29 February 2024 00:10:33 +0000 (0:00:00.046) 0:00:29.543 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:201 Thursday 29 February 2024 00:10:33 +0000 (0:00:00.030) 0:00:29.574 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/playbooks/tests_ipv6_dns_search.yml:164 Thursday 29 February 2024 00:10:33 +0000 (0:00:00.223) 0:00:29.797 ***** included: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/playbooks/tasks/check_network_dns.yml:6 Thursday 29 February 2024 00:10:33 +0000 (0:00:00.043) 0:00:29.841 ***** 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.009378", "end": "2024-02-29 00:10:34.100349", "rc": 0, "start": "2024-02-29 00:10:34.090971" } 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 noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 02:98:22:8f:60:f7 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.47.22/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2485sec preferred_lft 2485sec inet6 fe80::98:22ff:fe8f:60f7/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.47.22 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.47.22 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/playbooks/tasks/check_network_dns.yml:24 Thursday 29 February 2024 00:10:34 +0000 (0:00:00.226) 0:00:30.067 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=65 changed=4 unreachable=0 failed=0 skipped=92 rescued=0 ignored=1 Thursday 29 February 2024 00:10:34 +0000 (0:00:00.013) 0:00:30.081 ***** =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.14s /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.12s /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 1.02s /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/tests_ipv6_dns_search_nm.yml:6 ---- linux-system-roles.network : Check which packages are installed --------- 0.99s /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.94s /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 0.92s /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Gathering Facts --------------------------------------------------------- 0.76s /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/playbooks/tests_ipv6_dns_search.yml:2 linux-system-roles.network : Enable and start NetworkManager ------------ 0.70s /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:131 linux-system-roles.network : Configure networking connection profiles --- 0.62s /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:168 linux-system-roles.network : Enable and start NetworkManager ------------ 0.61s /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:131 linux-system-roles.network : Enable and start NetworkManager ------------ 0.56s /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:131 linux-system-roles.network : Enable and start NetworkManager ------------ 0.56s /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:131 linux-system-roles.network : Enable and start NetworkManager ------------ 0.56s /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:131 linux-system-roles.network : Configure networking connection profiles --- 0.52s /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/roles/linux-system-roles.network/tasks/main.yml:168 Gather the minimum subset of ansible_facts required by the network role test --- 0.51s /WORKDIR/git-nm_plugin_hotfixg5pzhnsp/tests/tasks/el_repo_setup.yml:3 --------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 on host sut should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs.ansible.com/ansible/ 2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: [001] #0, state:up persistent_state:present, 'br-example': connection[0]: Setting 'dns_search', 'dns_options' and 'dns_priority' are not allowed when both IPv4 and IPv6 are disabled. ---^---^---^---^---^---