# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_ipv6_dns_search_nm.yml ***************************************** 2 plays in /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/tests_ipv6_dns_search_nm.yml:6 Tuesday 27 February 2024 23:33:59 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/tests_ipv6_dns_search_nm.yml:9 Tuesday 27 February 2024 23:34:00 +0000 (0:00:00.875) 0:00:00.887 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/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_hotfixeenad6pw/tests/tasks/el_repo_setup.yml:3 Tuesday 27 February 2024 23:34:00 +0000 (0:00:00.011) 0:00:00.898 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/tasks/el_repo_setup.yml:17 Tuesday 27 February 2024 23:34:00 +0000 (0:00:00.414) 0:00:01.312 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/tasks/el_repo_setup.yml:22 Tuesday 27 February 2024 23:34:01 +0000 (0:00:00.253) 0:00:01.566 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/tasks/el_repo_setup.yml:26 Tuesday 27 February 2024 23:34:01 +0000 (0:00:00.014) 0:00:01.580 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/tasks/el_repo_setup.yml:51 Tuesday 27 February 2024 23:34:01 +0000 (0:00:00.009) 0:00:01.590 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/tasks/enable_epel.yml:8 Tuesday 27 February 2024 23:34:01 +0000 (0:00:00.021) 0:00:01.611 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/tasks/enable_epel.yml:24 Tuesday 27 February 2024 23:34:01 +0000 (0:00:00.256) 0:00:01.867 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/tasks/enable_epel.yml:30 Tuesday 27 February 2024 23:34:01 +0000 (0:00:00.009) 0:00:01.877 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/tasks/enable_epel.yml:35 Tuesday 27 February 2024 23:34:01 +0000 (0:00:00.008) 0:00:01.885 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.259765", "end": "2024-02-27 23:34:01.850743", "rc": 0, "start": "2024-02-27 23:34:01.590978" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/tasks/enable_epel.yml:40 Tuesday 27 February 2024 23:34:01 +0000 (0:00:00.456) 0:00:02.341 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/tests_ipv6_dns_search_nm.yml:11 Tuesday 27 February 2024 23:34:01 +0000 (0:00:00.011) 0:00:02.353 ****** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing DNS search setting] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tests_ipv6_dns_search.yml:2 Tuesday 27 February 2024 23:34:01 +0000 (0:00:00.021) 0:00:02.374 ****** ok: [sut] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:34:02 +0000 (0:00:00.641) 0:00:03.016 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:34:02 +0000 (0:00:00.016) 0:00:03.033 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:34:02 +0000 (0:00:00.018) 0:00:03.052 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:34:02 +0000 (0:00:00.012) 0:00:03.064 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:34:02 +0000 (0:00:00.011) 0:00:03.076 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:34:04 +0000 (0:00:01.778) 0:00:04.854 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:34:05 +0000 (0:00:01.508) 0:00:06.362 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:34:05 +0000 (0:00:00.021) 0:00:06.383 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:34:05 +0000 (0:00:00.022) 0:00:06.405 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:34:05 +0000 (0:00:00.020) 0:00:06.426 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:34:12 +0000 (0:00:06.652) 0:00:13.079 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:34:12 +0000 (0:00:00.034) 0:00:13.113 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:34:12 +0000 (0:00:00.034) 0:00:13.147 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:34:12 +0000 (0:00:00.053) 0:00:13.201 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:34:12 +0000 (0:00:00.023) 0:00:13.224 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:34:12 +0000 (0:00:00.044) 0:00:13.268 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:34:12 +0000 (0:00:00.034) 0:00:13.303 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:34:13 +0000 (0:00:00.580) 0:00:13.883 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:34:13 +0000 (0:00:00.035) 0:00:13.919 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:34:13 +0000 (0:00:00.025) 0:00:13.945 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:34:13 +0000 (0:00:00.019) 0:00:13.964 ****** 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, ed20368e-84c6-4f21-a866-86f09847b552 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ed20368e-84c6-4f21-a866-86f09847b552 (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:34:14 +0000 (0:00:00.577) 0:00:14.542 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:34:14 +0000 (0:00:00.022) 0:00:14.564 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, ed20368e-84c6-4f21-a866-86f09847b552", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ed20368e-84c6-4f21-a866-86f09847b552 (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:34:14 +0000 (0:00:00.022) 0:00:14.587 ****** 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, ed20368e-84c6-4f21-a866-86f09847b552\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ed20368e-84c6-4f21-a866-86f09847b552 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, ed20368e-84c6-4f21-a866-86f09847b552", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ed20368e-84c6-4f21-a866-86f09847b552 (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:34:14 +0000 (0:00:00.023) 0:00:14.610 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:34:14 +0000 (0:00:00.021) 0:00:14.632 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tests_ipv6_dns_search.yml:22 Tuesday 27 February 2024 23:34:14 +0000 (0:00:00.313) 0:00:14.946 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018328", "end": "2024-02-27 23:34:14.671782", "rc": 0, "start": "2024-02-27 23:34:14.653454" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tests_ipv6_dns_search.yml:28 Tuesday 27 February 2024 23:34:14 +0000 (0:00:00.225) 0:00:15.171 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.017679", "end": "2024-02-27 23:34:14.897066", "rc": 0, "start": "2024-02-27 23:34:14.879387" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tests_ipv6_dns_search.yml:34 Tuesday 27 February 2024 23:34:14 +0000 (0:00:00.225) 0:00:15.397 ****** 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_hotfixeenad6pw/tests/playbooks/tests_ipv6_dns_search.yml:40 Tuesday 27 February 2024 23:34:14 +0000 (0:00:00.019) 0:00:15.417 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:34:14 +0000 (0:00:00.020) 0:00:15.438 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:34:15 +0000 (0:00:00.060) 0:00:15.499 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:34:15 +0000 (0:00:00.033) 0:00:15.532 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:34:15 +0000 (0:00:00.022) 0:00:15.555 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:34:15 +0000 (0:00:00.022) 0:00:15.578 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:34:16 +0000 (0:00:01.766) 0:00:17.344 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:34:18 +0000 (0:00:01.363) 0:00:18.708 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:34:18 +0000 (0:00:00.022) 0:00:18.731 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:34:18 +0000 (0:00:00.022) 0:00:18.753 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:34:18 +0000 (0:00:00.022) 0:00:18.776 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:34:24 +0000 (0:00:06.276) 0:00:25.052 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:34:24 +0000 (0:00:00.029) 0:00:25.082 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:34:24 +0000 (0:00:00.034) 0:00:25.116 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:34:24 +0000 (0:00:00.050) 0:00:25.166 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:34:24 +0000 (0:00:00.023) 0:00:25.190 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:34:24 +0000 (0:00:00.025) 0:00:25.215 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:34:24 +0000 (0:00:00.092) 0:00:25.308 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:34:25 +0000 (0:00:00.414) 0:00:25.722 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:34:25 +0000 (0:00:00.033) 0:00:25.756 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:34:25 +0000 (0:00:00.018) 0:00:25.775 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:34:25 +0000 (0:00:00.018) 0:00:25.793 ****** 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, ed20368e-84c6-4f21-a866-86f09847b552 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ed20368e-84c6-4f21-a866-86f09847b552 (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:34:25 +0000 (0:00:00.375) 0:00:26.169 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:34:25 +0000 (0:00:00.023) 0:00:26.193 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, ed20368e-84c6-4f21-a866-86f09847b552", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ed20368e-84c6-4f21-a866-86f09847b552 (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:34:25 +0000 (0:00:00.022) 0:00:26.216 ****** 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, ed20368e-84c6-4f21-a866-86f09847b552\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ed20368e-84c6-4f21-a866-86f09847b552 (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, ed20368e-84c6-4f21-a866-86f09847b552", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ed20368e-84c6-4f21-a866-86f09847b552 (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:34:25 +0000 (0:00:00.023) 0:00:26.239 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:34:25 +0000 (0:00:00.022) 0:00:26.261 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tests_ipv6_dns_search.yml:65 Tuesday 27 February 2024 23:34:26 +0000 (0:00:00.218) 0:00:26.479 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.017816", "end": "2024-02-27 23:34:26.210986", "rc": 0, "start": "2024-02-27 23:34:26.193170" } 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_hotfixeenad6pw/tests/playbooks/tests_ipv6_dns_search.yml:71 Tuesday 27 February 2024 23:34:26 +0000 (0:00:00.231) 0:00:26.711 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:34:26 +0000 (0:00:00.022) 0:00:26.733 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:34:26 +0000 (0:00:00.035) 0:00:26.769 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:34:26 +0000 (0:00:00.032) 0:00:26.801 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:34:26 +0000 (0:00:00.021) 0:00:26.823 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:34:26 +0000 (0:00:00.046) 0:00:26.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 [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:34:28 +0000 (0:00:01.746) 0:00:28.616 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:34:29 +0000 (0:00:01.367) 0:00:29.984 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:34:29 +0000 (0:00:00.022) 0:00:30.007 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:34:29 +0000 (0:00:00.022) 0:00:30.029 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:34:29 +0000 (0:00:00.023) 0:00:30.053 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:34:35 +0000 (0:00:06.113) 0:00:36.166 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:34:35 +0000 (0:00:00.027) 0:00:36.194 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:34:35 +0000 (0:00:00.033) 0:00:36.227 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:34:35 +0000 (0:00:00.050) 0:00:36.277 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:34:35 +0000 (0:00:00.022) 0:00:36.300 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:34:35 +0000 (0:00:00.021) 0:00:36.322 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:34:35 +0000 (0:00:00.033) 0:00:36.356 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:34:36 +0000 (0:00:00.392) 0:00:36.749 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:34:36 +0000 (0:00:00.033) 0:00:36.782 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:34:36 +0000 (0:00:00.045) 0:00:36.827 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:34:36 +0000 (0:00:00.019) 0:00:36.846 ****** 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, ed20368e-84c6-4f21-a866-86f09847b552 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ed20368e-84c6-4f21-a866-86f09847b552 (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:34:36 +0000 (0:00:00.376) 0:00:37.223 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:34:36 +0000 (0:00:00.023) 0:00:37.247 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, ed20368e-84c6-4f21-a866-86f09847b552", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ed20368e-84c6-4f21-a866-86f09847b552 (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:34:36 +0000 (0:00:00.023) 0:00:37.270 ****** 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, ed20368e-84c6-4f21-a866-86f09847b552\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ed20368e-84c6-4f21-a866-86f09847b552 (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, ed20368e-84c6-4f21-a866-86f09847b552", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, ed20368e-84c6-4f21-a866-86f09847b552 (is-modified)", "[005] #0, state:up persistent_state:present, 'br-example': connection reapplied" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:34:36 +0000 (0:00:00.024) 0:00:37.295 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:34:36 +0000 (0:00:00.022) 0:00:37.318 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tests_ipv6_dns_search.yml:94 Tuesday 27 February 2024 23:34:37 +0000 (0:00:00.212) 0:00:37.530 ****** ok: [sut] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018196", "end": "2024-02-27 23:34:37.252903", "rc": 0, "start": "2024-02-27 23:34:37.234707" } 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_hotfixeenad6pw/tests/playbooks/tests_ipv6_dns_search.yml:100 Tuesday 27 February 2024 23:34:37 +0000 (0:00:00.222) 0:00:37.753 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:34:37 +0000 (0:00:00.022) 0:00:37.776 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:34:37 +0000 (0:00:00.046) 0:00:37.822 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:34:37 +0000 (0:00:00.034) 0:00:37.857 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:34:37 +0000 (0:00:00.031) 0:00:37.888 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:34:37 +0000 (0:00:00.032) 0:00:37.921 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:34:39 +0000 (0:00:01.723) 0:00:39.644 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:34:40 +0000 (0:00:01.421) 0:00:41.066 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:34:40 +0000 (0:00:00.031) 0:00:41.098 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:34:40 +0000 (0:00:00.033) 0:00:41.131 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:34:40 +0000 (0:00:00.031) 0:00:41.162 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:34:47 +0000 (0:00:06.424) 0:00:47.587 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:34:47 +0000 (0:00:00.029) 0:00:47.616 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:34:47 +0000 (0:00:00.034) 0:00:47.651 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:34:47 +0000 (0:00:00.054) 0:00:47.705 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:34:47 +0000 (0:00:00.031) 0:00:47.737 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:34:47 +0000 (0:00:00.030) 0:00:47.767 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:34:47 +0000 (0:00:00.042) 0:00:47.810 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:34:47 +0000 (0:00:00.409) 0:00:48.219 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:34:47 +0000 (0:00:00.038) 0:00:48.258 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:34:47 +0000 (0:00:00.033) 0:00:48.291 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:34:47 +0000 (0:00:00.028) 0:00:48.320 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:34:48 +0000 (0:00:00.365) 0:00:48.685 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:34:48 +0000 (0:00:00.030) 0:00:48.715 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:34:48 +0000 (0:00:00.058) 0:00:48.774 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:34:48 +0000 (0:00:00.032) 0:00:48.806 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:34:48 +0000 (0:00:00.032) 0:00:48.838 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Assert that reconfiguring network connection is failed] ****************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tests_ipv6_dns_search.yml:122 Tuesday 27 February 2024 23:34:48 +0000 (0:00:00.225) 0:00:49.064 ****** 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_hotfixeenad6pw/tests/playbooks/tests_ipv6_dns_search.yml:129 Tuesday 27 February 2024 23:34:48 +0000 (0:00:00.030) 0:00:49.094 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 27 February 2024 23:34:48 +0000 (0:00:00.032) 0:00:49.127 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for sut TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 27 February 2024 23:34:48 +0000 (0:00:00.036) 0:00:49.164 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 27 February 2024 23:34:48 +0000 (0:00:00.032) 0:00:49.196 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 27 February 2024 23:34:48 +0000 (0:00:00.022) 0:00:49.219 ****** skipping: [sut] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 27 February 2024 23:34:48 +0000 (0:00:00.022) 0:00:49.241 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 27 February 2024 23:34:50 +0000 (0:00:01.734) 0:00:50.976 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 27 February 2024 23:34:51 +0000 (0:00:01.362) 0:00:52.338 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [fedora.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 27 February 2024 23:34:51 +0000 (0:00:00.021) 0:00:52.360 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.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_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 27 February 2024 23:34:51 +0000 (0:00:00.051) 0:00:52.412 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 27 February 2024 23:34:51 +0000 (0:00:00.023) 0:00:52.435 ****** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:34 Tuesday 27 February 2024 23:34:58 +0000 (0:00:06.407) 0:00:58.842 ****** skipping: [sut] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:43 Tuesday 27 February 2024 23:34:58 +0000 (0:00:00.030) 0:00:58.872 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Tuesday 27 February 2024 23:34:58 +0000 (0:00:00.035) 0:00:58.908 ****** skipping: [sut] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:68 Tuesday 27 February 2024 23:34:58 +0000 (0:00:00.054) 0:00:58.962 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:79 Tuesday 27 February 2024 23:34:58 +0000 (0:00:00.023) 0:00:58.986 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:92 Tuesday 27 February 2024 23:34:58 +0000 (0:00:00.026) 0:00:59.012 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 Tuesday 27 February 2024 23:34:58 +0000 (0:00:00.035) 0:00:59.048 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:116 Tuesday 27 February 2024 23:34:58 +0000 (0:00:00.393) 0:00:59.442 ****** skipping: [sut] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:125 Tuesday 27 February 2024 23:34:59 +0000 (0:00:00.037) 0:00:59.479 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 27 February 2024 23:34:59 +0000 (0:00:00.019) 0:00:59.498 ****** skipping: [sut] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 27 February 2024 23:34:59 +0000 (0:00:00.018) 0:00:59.517 ****** 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 [fedora.linux_system_roles.network : Configure networking state] ********** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:154 Tuesday 27 February 2024 23:34:59 +0000 (0:00:00.433) 0:00:59.950 ****** skipping: [sut] => { "changed": false, "false_condition": "network_state is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:160 Tuesday 27 February 2024 23:34:59 +0000 (0:00:00.023) 0:00:59.974 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:164 Tuesday 27 February 2024 23:34:59 +0000 (0:00:00.024) 0:00:59.998 ****** 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 [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:169 Tuesday 27 February 2024 23:34:59 +0000 (0:00:00.024) 0:01:00.023 ****** skipping: [sut] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:175 Tuesday 27 February 2024 23:34:59 +0000 (0:00:00.023) 0:01:00.047 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Verify network state restored to default] ******************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tests_ipv6_dns_search.yml:150 Tuesday 27 February 2024 23:34:59 +0000 (0:00:00.245) 0:01:00.292 ****** included: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/check_network_dns.yml:6 Tuesday 27 February 2024 23:34:59 +0000 (0:00:00.034) 0:01:00.327 ****** 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.010204", "end": "2024-02-27 23:35:00.047095", "rc": 0, "start": "2024-02-27 23:35:00.036891" } 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 12:a1:03:f8:73:21 brd ff:ff:ff:ff:ff:ff inet 10.31.8.132/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2225sec preferred_lft 2225sec inet6 fe80::10a1:3ff:fef8:7321/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.132 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.132 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_hotfixeenad6pw/tests/playbooks/tasks/check_network_dns.yml:24 Tuesday 27 February 2024 23:35:00 +0000 (0:00:00.220) 0:01:00.548 ****** 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.486210", "end": "2024-02-27 23:35:00.748028", "rc": 0, "start": "2024-02-27 23:35:00.261818" } STDOUT: CHECK DNS AND CONNECTIVITY 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 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 2605:bc80:3010:600:dead:beef:cafe:fed9 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 1286 0 --:--:-- --:--:-- --:--:-- 1286 % 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 1304 0 --:--:-- --:--:-- --:--:-- 1304 PLAY RECAP ********************************************************************* sut : ok=73 changed=4 unreachable=0 failed=0 skipped=84 rescued=0 ignored=1 Tuesday 27 February 2024 23:35:00 +0000 (0:00:00.731) 0:01:01.279 ****** =============================================================================== fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.65s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.42s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.41s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.28s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager --- 6.11s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.42s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.37s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.36s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.36s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Gathering Facts --------------------------------------------------------- 0.88s /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/tests_ipv6_dns_search_nm.yml:6 ---- Verify DNS and network connectivity ------------------------------------- 0.73s /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tasks/check_network_dns.yml:24 Gathering Facts --------------------------------------------------------- 0.64s /WORKDIR/git-nm_plugin_hotfixeenad6pw/tests/playbooks/tests_ipv6_dns_search.yml:2 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.58s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:105 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.58s /WORKDIR/git-nm_plugin_hotfixeenad6pw/.collection/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. 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. ---^---^---^---^---^---