[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. No config file found; using defaults running playbook inside collection fedora.linux_system_roles PLAY [Run playbook 'playbooks/tests_ipv6_dns_search.yml' with nm as provider] *** TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:40:56 -0400 (0:00:00.008) 0:00:00.008 ********* [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ Saturday 06 July 2024 06:40:57 -0400 (0:00:01.094) 0:00:01.102 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** Saturday 06 July 2024 06:40:57 -0400 (0:00:00.019) 0:00:01.121 ********* ok: [managed_node1] TASK [Check if system is ostree] *********************************************** Saturday 06 July 2024 06:40:58 -0400 (0:00:00.520) 0:00:01.642 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** Saturday 06 July 2024 06:40:58 -0400 (0:00:00.454) 0:00:02.096 ********* ok: [managed_node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** Saturday 06 July 2024 06:40:58 -0400 (0:00:00.023) 0:00:02.120 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** Saturday 06 July 2024 06:40:58 -0400 (0:00:00.013) 0:00:02.134 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node1 TASK [Create EPEL 9] *********************************************************** Saturday 06 July 2024 06:40:58 -0400 (0:00:00.029) 0:00:02.163 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** Saturday 06 July 2024 06:40:58 -0400 (0:00:00.014) 0:00:02.178 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** Saturday 06 July 2024 06:40:58 -0400 (0:00:00.013) 0:00:02.191 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** Saturday 06 July 2024 06:40:58 -0400 (0:00:00.013) 0:00:02.205 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version in ['7', '8']", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** Saturday 06 July 2024 06:40:58 -0400 (0:00:00.013) 0:00:02.218 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** Saturday 06 July 2024 06:40:58 -0400 (0:00:00.013) 0:00:02.231 ********* ok: [managed_node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing DNS search setting] ************************************* TASK [Gathering Facts] ********************************************************* Saturday 06 July 2024 06:40:58 -0400 (0:00:00.033) 0:00:02.264 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:40:59 -0400 (0:00:00.786) 0:00:03.051 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:40:59 -0400 (0:00:00.028) 0:00:03.080 ********* skipping: [managed_node1] => { "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] *********** Saturday 06 July 2024 06:40:59 -0400 (0:00:00.022) 0:00:03.102 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:40:59 -0400 (0:00:00.019) 0:00:03.121 ********* skipping: [managed_node1] => { "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] **** Saturday 06 July 2024 06:40:59 -0400 (0:00:00.018) 0:00:03.140 ********* ok: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:01 -0400 (0:00:01.777) 0:00:04.918 ********* ok: [managed_node1] => { "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] ************** Saturday 06 July 2024 06:41:02 -0400 (0:00:01.123) 0:00:06.041 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:41:02 -0400 (0:00:00.038) 0:00:06.079 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:02 -0400 (0:00:00.038) 0:00:06.118 ********* skipping: [managed_node1] => { "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 due to wireless or team interfaces] *** Saturday 06 July 2024 06:41:02 -0400 (0:00:00.038) 0:00:06.156 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:41:02 -0400 (0:00:00.051) 0:00:06.208 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:02 -0400 (0:00:00.039) 0:00:06.247 ********* skipping: [managed_node1] => { "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] ******************** Saturday 06 July 2024 06:41:02 -0400 (0:00:00.050) 0:00:06.297 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:02 -0400 (0:00:00.079) 0:00:06.376 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:02 -0400 (0:00:00.037) 0:00:06.414 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:02 -0400 (0:00:00.060) 0:00:06.474 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:41:03 -0400 (0:00:00.048) 0:00:06.523 ********* ok: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:41:03 -0400 (0:00:00.811) 0:00:07.335 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:41:03 -0400 (0:00:00.049) 0:00:07.385 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:03 -0400 (0:00:00.031) 0:00:07.417 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:41:03 -0400 (0:00:00.033) 0:00:07.451 ********* changed: [managed_node1] => { "_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, 07a37405-b03d-4065-9f18-dcb22b6a6098 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07a37405-b03d-4065-9f18-dcb22b6a6098 (is-modified) TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:41:04 -0400 (0:00:00.774) 0:00:08.225 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:04 -0400 (0:00:00.039) 0:00:08.264 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 07a37405-b03d-4065-9f18-dcb22b6a6098", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07a37405-b03d-4065-9f18-dcb22b6a6098 (is-modified)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:41:04 -0400 (0:00:00.038) 0:00:08.302 ********* ok: [managed_node1] => { "__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, 07a37405-b03d-4065-9f18-dcb22b6a6098\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07a37405-b03d-4065-9f18-dcb22b6a6098 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': add connection br-example, 07a37405-b03d-4065-9f18-dcb22b6a6098", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07a37405-b03d-4065-9f18-dcb22b6a6098 (is-modified)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** Saturday 06 July 2024 06:41:04 -0400 (0:00:00.038) 0:00:08.341 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:41:04 -0400 (0:00:00.038) 0:00:08.379 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv4] ******************************************* Saturday 06 July 2024 06:41:05 -0400 (0:00:00.484) 0:00:08.863 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv4.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.017318", "end": "2024-07-06 06:41:05.804356", "rc": 0, "start": "2024-07-06 06:41:05.787038" } STDOUT: ipv4.dns-search: example.com TASK [Get DNS search entry for IPv6] ******************************************* Saturday 06 July 2024 06:41:05 -0400 (0:00:00.489) 0:00:09.353 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.017784", "end": "2024-07-06 06:41:06.193670", "rc": 0, "start": "2024-07-06 06:41:06.175886" } STDOUT: ipv6.dns-search: -- TASK [Assert that IPv4 DNS search entry is configured correctly] *************** Saturday 06 July 2024 06:41:06 -0400 (0:00:00.390) 0:00:09.744 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that DNS search setting for IPv6 is not configured when IPv6 address is not configured] *** Saturday 06 July 2024 06:41:06 -0400 (0:00:00.036) 0:00:09.781 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:41:06 -0400 (0:00:00.036) 0:00:09.818 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:41:06 -0400 (0:00:00.064) 0:00:09.882 ********* skipping: [managed_node1] => { "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] *********** Saturday 06 July 2024 06:41:06 -0400 (0:00:00.111) 0:00:09.993 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:06 -0400 (0:00:00.039) 0:00:10.033 ********* skipping: [managed_node1] => { "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] **** Saturday 06 July 2024 06:41:06 -0400 (0:00:00.040) 0:00:10.074 ********* ok: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:08 -0400 (0:00:01.700) 0:00:11.774 ********* ok: [managed_node1] => { "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] ************** Saturday 06 July 2024 06:41:09 -0400 (0:00:00.900) 0:00:12.675 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:41:09 -0400 (0:00:00.037) 0:00:12.712 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:09 -0400 (0:00:00.037) 0:00:12.750 ********* skipping: [managed_node1] => { "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 due to wireless or team interfaces] *** Saturday 06 July 2024 06:41:09 -0400 (0:00:00.038) 0:00:12.788 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:41:09 -0400 (0:00:00.049) 0:00:12.838 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:09 -0400 (0:00:00.039) 0:00:12.877 ********* skipping: [managed_node1] => { "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] ******************** Saturday 06 July 2024 06:41:09 -0400 (0:00:00.047) 0:00:12.925 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:09 -0400 (0:00:00.081) 0:00:13.007 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:09 -0400 (0:00:00.038) 0:00:13.045 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:09 -0400 (0:00:00.037) 0:00:13.083 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:41:09 -0400 (0:00:00.048) 0:00:13.132 ********* ok: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:41:10 -0400 (0:00:00.582) 0:00:13.714 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:41:10 -0400 (0:00:00.120) 0:00:13.834 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:10 -0400 (0:00:00.035) 0:00:13.870 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:41:10 -0400 (0:00:00.033) 0:00:13.903 ********* changed: [managed_node1] => { "_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, 07a37405-b03d-4065-9f18-dcb22b6a6098 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07a37405-b03d-4065-9f18-dcb22b6a6098 (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:41:10 -0400 (0:00:00.575) 0:00:14.478 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:11 -0400 (0:00:00.039) 0:00:14.517 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 07a37405-b03d-4065-9f18-dcb22b6a6098", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07a37405-b03d-4065-9f18-dcb22b6a6098 (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] *** Saturday 06 July 2024 06:41:11 -0400 (0:00:00.040) 0:00:14.558 ********* ok: [managed_node1] => { "__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, 07a37405-b03d-4065-9f18-dcb22b6a6098\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07a37405-b03d-4065-9f18-dcb22b6a6098 (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, 07a37405-b03d-4065-9f18-dcb22b6a6098", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07a37405-b03d-4065-9f18-dcb22b6a6098 (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] *** Saturday 06 July 2024 06:41:11 -0400 (0:00:00.039) 0:00:14.597 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:41:11 -0400 (0:00:00.042) 0:00:14.639 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* Saturday 06 July 2024 06:41:11 -0400 (0:00:00.393) 0:00:15.033 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018756", "end": "2024-07-06 06:41:11.874912", "rc": 0, "start": "2024-07-06 06:41:11.856156" } STDOUT: ipv6.dns-search: example.com TASK [Assert that DNS search setting for IPv6 is configured when the static IPv6 address is configured] *** Saturday 06 July 2024 06:41:11 -0400 (0:00:00.394) 0:00:15.427 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:41:11 -0400 (0:00:00.036) 0:00:15.464 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:41:12 -0400 (0:00:00.064) 0:00:15.529 ********* skipping: [managed_node1] => { "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] *********** Saturday 06 July 2024 06:41:12 -0400 (0:00:00.047) 0:00:15.576 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:12 -0400 (0:00:00.039) 0:00:15.616 ********* skipping: [managed_node1] => { "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] **** Saturday 06 July 2024 06:41:12 -0400 (0:00:00.039) 0:00:15.655 ********* ok: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:13 -0400 (0:00:01.692) 0:00:17.348 ********* ok: [managed_node1] => { "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] ************** Saturday 06 July 2024 06:41:14 -0400 (0:00:00.954) 0:00:18.303 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:41:14 -0400 (0:00:00.039) 0:00:18.342 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:14 -0400 (0:00:00.038) 0:00:18.381 ********* skipping: [managed_node1] => { "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 due to wireless or team interfaces] *** Saturday 06 July 2024 06:41:14 -0400 (0:00:00.039) 0:00:18.420 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:41:14 -0400 (0:00:00.052) 0:00:18.473 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:15 -0400 (0:00:00.039) 0:00:18.513 ********* skipping: [managed_node1] => { "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] ******************** Saturday 06 July 2024 06:41:15 -0400 (0:00:00.050) 0:00:18.564 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:15 -0400 (0:00:00.081) 0:00:18.645 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:15 -0400 (0:00:00.039) 0:00:18.685 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:15 -0400 (0:00:00.038) 0:00:18.723 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:41:15 -0400 (0:00:00.052) 0:00:18.775 ********* ok: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:41:15 -0400 (0:00:00.582) 0:00:19.358 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:41:15 -0400 (0:00:00.049) 0:00:19.408 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:15 -0400 (0:00:00.034) 0:00:19.442 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:41:15 -0400 (0:00:00.032) 0:00:19.475 ********* changed: [managed_node1] => { "_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, 07a37405-b03d-4065-9f18-dcb22b6a6098 [004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07a37405-b03d-4065-9f18-dcb22b6a6098 (is-modified) [005] #0, state:up persistent_state:present, 'br-example': connection reapplied TASK [fedora.linux_system_roles.network : Configure networking state] ********** Saturday 06 July 2024 06:41:16 -0400 (0:00:00.666) 0:00:20.141 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:16 -0400 (0:00:00.069) 0:00:20.211 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'br-example': update connection br-example, 07a37405-b03d-4065-9f18-dcb22b6a6098", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07a37405-b03d-4065-9f18-dcb22b6a6098 (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] *** Saturday 06 July 2024 06:41:16 -0400 (0:00:00.038) 0:00:20.249 ********* ok: [managed_node1] => { "__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, 07a37405-b03d-4065-9f18-dcb22b6a6098\n[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07a37405-b03d-4065-9f18-dcb22b6a6098 (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, 07a37405-b03d-4065-9f18-dcb22b6a6098", "[004] #0, state:up persistent_state:present, 'br-example': up connection br-example, 07a37405-b03d-4065-9f18-dcb22b6a6098 (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] *** Saturday 06 July 2024 06:41:16 -0400 (0:00:00.039) 0:00:20.289 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:41:16 -0400 (0:00:00.038) 0:00:20.327 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Get DNS search entry for IPv6] ******************************************* Saturday 06 July 2024 06:41:17 -0400 (0:00:00.388) 0:00:20.715 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "nmcli", "-f", "ipv6.dns-search", "connection", "show", "br-example" ], "delta": "0:00:00.018879", "end": "2024-07-06 06:41:17.556176", "rc": 0, "start": "2024-07-06 06:41:17.537297" } STDOUT: ipv6.dns-search: example.com TASK [Assert that DNS search setting for IPv6 is configured when only the static IPv6 address is configured] *** Saturday 06 July 2024 06:41:17 -0400 (0:00:00.392) 0:00:21.108 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:41:17 -0400 (0:00:00.039) 0:00:21.147 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:41:17 -0400 (0:00:00.073) 0:00:21.220 ********* skipping: [managed_node1] => { "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] *********** Saturday 06 July 2024 06:41:17 -0400 (0:00:00.050) 0:00:21.270 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:17 -0400 (0:00:00.049) 0:00:21.320 ********* skipping: [managed_node1] => { "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] **** Saturday 06 July 2024 06:41:17 -0400 (0:00:00.047) 0:00:21.368 ********* ok: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:19 -0400 (0:00:01.676) 0:00:23.044 ********* ok: [managed_node1] => { "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] ************** Saturday 06 July 2024 06:41:20 -0400 (0:00:00.919) 0:00:23.964 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:41:20 -0400 (0:00:00.045) 0:00:24.009 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:20 -0400 (0:00:00.081) 0:00:24.090 ********* skipping: [managed_node1] => { "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 due to wireless or team interfaces] *** Saturday 06 July 2024 06:41:20 -0400 (0:00:00.046) 0:00:24.136 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:41:20 -0400 (0:00:00.055) 0:00:24.192 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:20 -0400 (0:00:00.042) 0:00:24.234 ********* skipping: [managed_node1] => { "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] ******************** Saturday 06 July 2024 06:41:20 -0400 (0:00:00.055) 0:00:24.289 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:20 -0400 (0:00:00.086) 0:00:24.376 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:20 -0400 (0:00:00.046) 0:00:24.423 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:20 -0400 (0:00:00.046) 0:00:24.469 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:41:21 -0400 (0:00:00.052) 0:00:24.522 ********* ok: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:41:21 -0400 (0:00:00.600) 0:00:25.122 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:41:21 -0400 (0:00:00.055) 0:00:25.178 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:21 -0400 (0:00:00.042) 0:00:25.220 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:41:21 -0400 (0:00:00.043) 0:00:25.264 ********* [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. fatal: [managed_node1]: 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] ********** Saturday 06 July 2024 06:41:22 -0400 (0:00:00.537) 0:00:25.802 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:22 -0400 (0:00:00.049) 0:00:25.851 ********* ok: [managed_node1] => { "__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] *** Saturday 06 July 2024 06:41:22 -0400 (0:00:00.047) 0:00:25.899 ********* ok: [managed_node1] => { "__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] *** Saturday 06 July 2024 06:41:22 -0400 (0:00:00.047) 0:00:25.946 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:41:22 -0400 (0:00:00.047) 0:00:25.993 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Assert that reconfiguring network connection is failed] ****************** Saturday 06 July 2024 06:41:22 -0400 (0:00:00.437) 0:00:26.431 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Assert that configuring DNS search setting is not allowed when both IPv4 and IPv6 are disabled] *** Saturday 06 July 2024 06:41:22 -0400 (0:00:00.047) 0:00:26.478 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** Saturday 06 July 2024 06:41:23 -0400 (0:00:00.052) 0:00:26.531 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** Saturday 06 July 2024 06:41:23 -0400 (0:00:00.069) 0:00:26.600 ********* skipping: [managed_node1] => { "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] *********** Saturday 06 July 2024 06:41:23 -0400 (0:00:00.049) 0:00:26.649 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:23 -0400 (0:00:00.039) 0:00:26.689 ********* skipping: [managed_node1] => { "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] **** Saturday 06 July 2024 06:41:23 -0400 (0:00:00.040) 0:00:26.729 ********* ok: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:24 -0400 (0:00:01.691) 0:00:28.421 ********* ok: [managed_node1] => { "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] ************** Saturday 06 July 2024 06:41:25 -0400 (0:00:00.895) 0:00:29.317 ********* ok: [managed_node1] => {} 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] *** Saturday 06 July 2024 06:41:25 -0400 (0:00:00.038) 0:00:29.355 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:25 -0400 (0:00:00.039) 0:00:29.395 ********* skipping: [managed_node1] => { "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 due to wireless or team interfaces] *** Saturday 06 July 2024 06:41:25 -0400 (0:00:00.039) 0:00:29.435 ********* skipping: [managed_node1] => { "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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** Saturday 06 July 2024 06:41:26 -0400 (0:00:00.051) 0:00:29.487 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:26 -0400 (0:00:00.040) 0:00:29.527 ********* skipping: [managed_node1] => { "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] ******************** Saturday 06 July 2024 06:41:26 -0400 (0:00:00.048) 0:00:29.576 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:26 -0400 (0:00:00.150) 0:00:29.727 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:26 -0400 (0:00:00.039) 0:00:29.766 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:26 -0400 (0:00:00.041) 0:00:29.808 ********* skipping: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:41:26 -0400 (0:00:00.050) 0:00:29.858 ********* ok: [managed_node1] => { "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] ***** Saturday 06 July 2024 06:41:26 -0400 (0:00:00.587) 0:00:30.446 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** Saturday 06 July 2024 06:41:27 -0400 (0:00:00.053) 0:00:30.499 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:27 -0400 (0:00:00.034) 0:00:30.533 ********* skipping: [managed_node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** Saturday 06 July 2024 06:41:27 -0400 (0:00:00.033) 0:00:30.567 ********* changed: [managed_node1] => { "_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] ********** Saturday 06 July 2024 06:41:27 -0400 (0:00:00.634) 0:00:31.202 ********* skipping: [managed_node1] => { "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] *** Saturday 06 July 2024 06:41:27 -0400 (0:00:00.038) 0:00:31.241 ********* ok: [managed_node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** Saturday 06 July 2024 06:41:27 -0400 (0:00:00.039) 0:00:31.280 ********* ok: [managed_node1] => { "__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] *** Saturday 06 July 2024 06:41:27 -0400 (0:00:00.039) 0:00:31.319 ********* skipping: [managed_node1] => { "false_condition": "network_state is defined" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** Saturday 06 July 2024 06:41:27 -0400 (0:00:00.042) 0:00:31.361 ********* ok: [managed_node1] => { "changed": false, "ping": "pong" } TASK [Verify network state restored to default] ******************************** Saturday 06 July 2024 06:41:28 -0400 (0:00:00.392) 0:00:31.754 ********* included: /var/ARTIFACTS/work-generals0tlrci2/plans/general/tree/tmp.MQc07lnbBB/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node1 TASK [Check routes and DNS] **************************************************** Saturday 06 July 2024 06:41:28 -0400 (0:00:00.064) 0:00:31.819 ********* ok: [managed_node1] => { "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.008833", "end": "2024-07-06 06:41:28.657593", "rc": 0, "start": "2024-07-06 06:41:28.648760" } 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 0a:ff:c2:6c:19:bb brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.15.242/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2703sec preferred_lft 2703sec inet6 fe80::8ff:c2ff:fe6c:19bb/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.242 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.242 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 nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* Saturday 06 July 2024 06:41:28 -0400 (0:00:00.388) 0:00:32.208 ********* ok: [managed_node1] => { "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.264263", "end": "2024-07-06 06:41:29.301994", "rc": 0, "start": "2024-07-06 06:41:29.037731" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 1517 0 --:--:-- --:--:-- --:--:-- 1517 % 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 7657 0 --:--:-- --:--:-- --:--:-- 7657 PLAY RECAP ********************************************************************* managed_node1 : ok=66 changed=4 unreachable=0 failed=0 skipped=91 rescued=0 ignored=1 Saturday 06 July 2024 06:41:29 -0400 (0:00:00.740) 0:00:32.948 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.78s fedora.linux_system_roles.network : Check which services are running ---- 1.70s fedora.linux_system_roles.network : Check which services are running ---- 1.69s fedora.linux_system_roles.network : Check which services are running ---- 1.69s fedora.linux_system_roles.network : Check which services are running ---- 1.68s fedora.linux_system_roles.network : Check which packages are installed --- 1.12s Gathering Facts --------------------------------------------------------- 1.09s fedora.linux_system_roles.network : Check which packages are installed --- 0.95s fedora.linux_system_roles.network : Check which packages are installed --- 0.92s fedora.linux_system_roles.network : Check which packages are installed --- 0.90s fedora.linux_system_roles.network : Check which packages are installed --- 0.90s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.81s Gathering Facts --------------------------------------------------------- 0.79s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.77s Verify DNS and network connectivity ------------------------------------- 0.74s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.67s fedora.linux_system_roles.network : Configure networking connection profiles --- 0.63s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.60s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.59s fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.58s