[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. ansible-playbook [core 2.16.10] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-AQf executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks 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_states_initscripts.yml ***************************************** 2 plays in /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 24 August 2024 08:49:47 -0400 (0:00:00.010) 0:00:00.010 ******* ok: [managed_node3] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 24 August 2024 08:49:48 -0400 (0:00:01.380) 0:00:01.391 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 24 August 2024 08:49:48 -0400 (0:00:00.027) 0:00:01.418 ******* ok: [managed_node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 24 August 2024 08:49:49 -0400 (0:00:00.619) 0:00:02.038 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 24 August 2024 08:49:49 -0400 (0:00:00.542) 0:00:02.581 ******* ok: [managed_node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 24 August 2024 08:49:49 -0400 (0:00:00.020) 0:00:02.602 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 24 August 2024 08:49:49 -0400 (0:00:00.012) 0:00:02.614 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node3 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 24 August 2024 08:49:49 -0400 (0:00:00.039) 0:00:02.654 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 24 August 2024 08:49:50 -0400 (0:00:00.576) 0:00:03.230 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 24 August 2024 08:49:50 -0400 (0:00:00.019) 0:00:03.250 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 24 August 2024 08:49:50 -0400 (0:00:00.027) 0:00:03.278 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.245207", "end": "2024-08-24 08:49:51.024052", "rc": 0, "start": "2024-08-24 08:49:50.778845" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 24 August 2024 08:49:51 -0400 (0:00:00.639) 0:00:03.917 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 24 August 2024 08:49:51 -0400 (0:00:00.019) 0:00:03.937 ******* ok: [managed_node3] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 24 August 2024 08:49:51 -0400 (0:00:00.048) 0:00:03.985 ******* ok: [managed_node3] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 24 August 2024 08:49:52 -0400 (0:00:00.881) 0:00:04.866 ******* ok: [managed_node3] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 24 August 2024 08:49:52 -0400 (0:00:00.104) 0:00:04.971 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 24 August 2024 08:49:52 -0400 (0:00:00.135) 0:00:05.107 ******* ok: [managed_node3] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 24 August 2024 08:49:52 -0400 (0:00:00.077) 0:00:05.185 ******* ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 24 August 2024 08:49:52 -0400 (0:00:00.136) 0:00:05.321 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 24 August 2024 08:49:52 -0400 (0:00:00.057) 0:00:05.379 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 August 2024 08:49:52 -0400 (0:00:00.046) 0:00:05.425 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003169", "end": "2024-08-24 08:49:52.908873", "rc": 0, "start": "2024-08-24 08:49:52.905704" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 August 2024 08:49:52 -0400 (0:00:00.374) 0:00:05.800 ******* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 24 August 2024 08:49:52 -0400 (0:00:00.035) 0:00:05.835 ******* ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 24 August 2024 08:49:53 -0400 (0:00:00.033) 0:00:05.869 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node3 => (item=tasks/delete_interface.yml) included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node3 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 24 August 2024 08:49:53 -0400 (0:00:00.044) 0:00:05.914 ******* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007534", "end": "2024-08-24 08:49:53.392975", "rc": 1, "start": "2024-08-24 08:49:53.385441" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 August 2024 08:49:53 -0400 (0:00:00.369) 0:00:06.284 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 August 2024 08:49:53 -0400 (0:00:00.037) 0:00:06.321 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 August 2024 08:49:53 -0400 (0:00:00.359) 0:00:06.681 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 24 August 2024 08:49:53 -0400 (0:00:00.036) 0:00:06.718 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 August 2024 08:49:53 -0400 (0:00:00.043) 0:00:06.761 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:49:53 -0400 (0:00:00.065) 0:00:06.827 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:49:54 -0400 (0:00:00.080) 0:00:06.907 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:49:54 -0400 (0:00:00.051) 0:00:06.958 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:49:54 -0400 (0:00:00.066) 0:00:07.025 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:49:54 -0400 (0:00:00.051) 0:00:07.077 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:49:56 -0400 (0:00:01.828) 0:00:08.905 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:49:58 -0400 (0:00:02.368) 0:00:11.273 ******* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:49:58 -0400 (0:00:00.087) 0:00:11.361 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:49:58 -0400 (0:00:00.057) 0:00:11.418 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:49:58 -0400 (0:00:00.055) 0:00:11.473 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:49:58 -0400 (0:00:00.053) 0:00:11.526 ******* skipping: [managed_node3] => { "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:49:58 -0400 (0:00:00.079) 0:00:11.606 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:49:58 -0400 (0:00:00.077) 0:00:11.683 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:49:58 -0400 (0:00:00.141) 0:00:11.824 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:49:59 -0400 (0:00:00.209) 0:00:12.034 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:49:59 -0400 (0:00:00.059) 0:00:12.093 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:49:59 -0400 (0:00:00.058) 0:00:12.151 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:49:59 -0400 (0:00:00.059) 0:00:12.211 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:49:59 -0400 (0:00:00.046) 0:00:12.258 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:49:59 -0400 (0:00:00.045) 0:00:12.304 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:50:00 -0400 (0:00:00.765) 0:00:13.069 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-375748uc0zn_t/tmpupwtdftu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:50:00 -0400 (0:00:00.419) 0:00:13.489 ******* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:50:01 -0400 (0:00:00.664) 0:00:14.153 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:50:01 -0400 (0:00:00.093) 0:00:14.246 ******* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:50:01 -0400 (0:00:00.110) 0:00:14.357 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:50:01 -0400 (0:00:00.126) 0:00:14.483 ******* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:50:01 -0400 (0:00:00.100) 0:00:14.584 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 August 2024 08:50:02 -0400 (0:00:00.612) 0:00:15.196 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 24 August 2024 08:50:02 -0400 (0:00:00.054) 0:00:15.251 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 August 2024 08:50:02 -0400 (0:00:00.105) 0:00:15.357 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 August 2024 08:50:02 -0400 (0:00:00.075) 0:00:15.433 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 August 2024 08:50:02 -0400 (0:00:00.051) 0:00:15.484 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1724503801.2239687, "block_size": 4096, "blocks": 8, "ctime": 1724503801.2239687, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1724503801.2239687, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 August 2024 08:50:03 -0400 (0:00:00.379) 0:00:15.863 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 August 2024 08:50:03 -0400 (0:00:00.067) 0:00:15.930 ******* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019349", "end": "2024-08-24 08:50:03.423186", "rc": 1, "start": "2024-08-24 08:50:03.403837" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 August 2024 08:50:03 -0400 (0:00:00.406) 0:00:16.337 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 August 2024 08:50:03 -0400 (0:00:00.078) 0:00:16.416 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002767", "end": "2024-08-24 08:50:03.917025", "rc": 0, "start": "2024-08-24 08:50:03.914258" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 August 2024 08:50:03 -0400 (0:00:00.409) 0:00:16.826 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 August 2024 08:50:04 -0400 (0:00:00.054) 0:00:16.880 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003850", "end": "2024-08-24 08:50:05.361873", "rc": 0, "start": "2024-08-24 08:50:04.358023" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 August 2024 08:50:05 -0400 (0:00:01.471) 0:00:18.351 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 August 2024 08:50:05 -0400 (0:00:00.099) 0:00:18.451 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 August 2024 08:50:05 -0400 (0:00:00.104) 0:00:18.556 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 August 2024 08:50:05 -0400 (0:00:00.116) 0:00:18.673 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 24 August 2024 08:50:05 -0400 (0:00:00.092) 0:00:18.765 ******* skipping: [managed_node3] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed_node3] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 24 August 2024 08:50:06 -0400 (0:00:00.093) 0:00:18.859 ******* ok: [managed_node3] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 24 August 2024 08:50:06 -0400 (0:00:00.182) 0:00:19.042 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 August 2024 08:50:06 -0400 (0:00:00.137) 0:00:19.180 ******* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.036012", "end": "2024-08-24 08:50:06.773952", "rc": 1, "start": "2024-08-24 08:50:06.737940" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 24 August 2024 08:50:06 -0400 (0:00:00.500) 0:00:19.680 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 24 August 2024 08:50:06 -0400 (0:00:00.075) 0:00:19.756 ******* ok: [managed_node3] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 24 August 2024 08:50:06 -0400 (0:00:00.072) 0:00:19.829 ******* ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 24 August 2024 08:50:07 -0400 (0:00:00.213) 0:00:20.042 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 24 August 2024 08:50:07 -0400 (0:00:00.190) 0:00:20.233 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 August 2024 08:50:07 -0400 (0:00:00.117) 0:00:20.351 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002863", "end": "2024-08-24 08:50:07.844399", "rc": 0, "start": "2024-08-24 08:50:07.841536" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 August 2024 08:50:07 -0400 (0:00:00.403) 0:00:20.754 ******* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 24 August 2024 08:50:07 -0400 (0:00:00.081) 0:00:20.835 ******* ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 24 August 2024 08:50:08 -0400 (0:00:00.096) 0:00:20.931 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node3 => (item=tasks/delete_interface.yml) included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node3 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 24 August 2024 08:50:08 -0400 (0:00:00.273) 0:00:21.205 ******* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005421", "end": "2024-08-24 08:50:08.728132", "rc": 1, "start": "2024-08-24 08:50:08.722711" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 August 2024 08:50:08 -0400 (0:00:00.478) 0:00:21.683 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 August 2024 08:50:08 -0400 (0:00:00.160) 0:00:21.843 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 August 2024 08:50:09 -0400 (0:00:00.396) 0:00:22.240 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 24 August 2024 08:50:09 -0400 (0:00:00.054) 0:00:22.295 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node3 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 24 August 2024 08:50:09 -0400 (0:00:00.078) 0:00:22.374 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:50:09 -0400 (0:00:00.083) 0:00:22.457 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:50:09 -0400 (0:00:00.081) 0:00:22.539 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:50:09 -0400 (0:00:00.087) 0:00:22.627 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:50:09 -0400 (0:00:00.098) 0:00:22.726 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:50:09 -0400 (0:00:00.102) 0:00:22.828 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:50:11 -0400 (0:00:01.856) 0:00:24.684 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:50:13 -0400 (0:00:01.699) 0:00:26.384 ******* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:50:13 -0400 (0:00:00.078) 0:00:26.463 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:50:13 -0400 (0:00:00.081) 0:00:26.545 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:50:13 -0400 (0:00:00.076) 0:00:26.621 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:50:13 -0400 (0:00:00.079) 0:00:26.701 ******* skipping: [managed_node3] => { "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:50:13 -0400 (0:00:00.095) 0:00:26.797 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:50:14 -0400 (0:00:00.077) 0:00:26.874 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:50:14 -0400 (0:00:00.093) 0:00:26.967 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:50:14 -0400 (0:00:00.109) 0:00:27.076 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:50:14 -0400 (0:00:00.072) 0:00:27.149 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:50:14 -0400 (0:00:00.081) 0:00:27.230 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:50:14 -0400 (0:00:00.096) 0:00:27.327 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:50:14 -0400 (0:00:00.077) 0:00:27.404 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:50:14 -0400 (0:00:00.053) 0:00:27.458 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:50:15 -0400 (0:00:00.658) 0:00:28.117 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-375748uc0zn_t/tmp2ptwor5q" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:50:15 -0400 (0:00:00.424) 0:00:28.541 ******* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:50:16 -0400 (0:00:00.738) 0:00:29.280 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:50:16 -0400 (0:00:00.086) 0:00:29.367 ******* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:50:16 -0400 (0:00:00.066) 0:00:29.433 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:50:16 -0400 (0:00:00.085) 0:00:29.519 ******* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:50:16 -0400 (0:00:00.094) 0:00:29.613 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 24 August 2024 08:50:17 -0400 (0:00:00.407) 0:00:30.020 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 24 August 2024 08:50:17 -0400 (0:00:00.055) 0:00:30.076 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node3 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 24 August 2024 08:50:17 -0400 (0:00:00.078) 0:00:30.154 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 August 2024 08:50:17 -0400 (0:00:00.074) 0:00:30.229 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 24 August 2024 08:50:17 -0400 (0:00:00.399) 0:00:30.628 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 August 2024 08:50:17 -0400 (0:00:00.052) 0:00:30.681 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 August 2024 08:50:17 -0400 (0:00:00.109) 0:00:30.791 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 August 2024 08:50:18 -0400 (0:00:00.066) 0:00:30.857 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1724503816.3487523, "block_size": 4096, "blocks": 8, "ctime": 1724503816.3487523, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1724503816.3487523, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 August 2024 08:50:18 -0400 (0:00:00.407) 0:00:31.264 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 August 2024 08:50:18 -0400 (0:00:00.083) 0:00:31.348 ******* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019393", "end": "2024-08-24 08:50:18.928175", "rc": 1, "start": "2024-08-24 08:50:18.908782" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 August 2024 08:50:18 -0400 (0:00:00.495) 0:00:31.844 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 August 2024 08:50:19 -0400 (0:00:00.073) 0:00:31.917 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004142", "end": "2024-08-24 08:50:20.400986", "rc": 0, "start": "2024-08-24 08:50:19.396844" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 August 2024 08:50:20 -0400 (0:00:01.426) 0:00:33.343 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 August 2024 08:50:20 -0400 (0:00:00.081) 0:00:33.424 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003026", "end": "2024-08-24 08:50:21.028961", "rc": 0, "start": "2024-08-24 08:50:21.025935" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 August 2024 08:50:21 -0400 (0:00:00.523) 0:00:33.948 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 August 2024 08:50:21 -0400 (0:00:00.059) 0:00:34.007 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 August 2024 08:50:21 -0400 (0:00:00.052) 0:00:34.060 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 August 2024 08:50:21 -0400 (0:00:00.051) 0:00:34.111 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 24 August 2024 08:50:21 -0400 (0:00:00.052) 0:00:34.163 ******* skipping: [managed_node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 24 August 2024 08:50:21 -0400 (0:00:00.044) 0:00:34.208 ******* ok: [managed_node3] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 24 August 2024 08:50:21 -0400 (0:00:00.047) 0:00:34.256 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 August 2024 08:50:21 -0400 (0:00:00.104) 0:00:34.360 ******* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.036637", "end": "2024-08-24 08:50:21.869337", "rc": 1, "start": "2024-08-24 08:50:21.832700" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 24 August 2024 08:50:21 -0400 (0:00:00.415) 0:00:34.776 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 24 August 2024 08:50:22 -0400 (0:00:00.075) 0:00:34.851 ******* ok: [managed_node3] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 24 August 2024 08:50:22 -0400 (0:00:00.049) 0:00:34.901 ******* ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 24 August 2024 08:50:22 -0400 (0:00:00.088) 0:00:34.989 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 24 August 2024 08:50:22 -0400 (0:00:00.066) 0:00:35.056 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 August 2024 08:50:22 -0400 (0:00:00.065) 0:00:35.122 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002840", "end": "2024-08-24 08:50:22.621512", "rc": 0, "start": "2024-08-24 08:50:22.618672" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 August 2024 08:50:22 -0400 (0:00:00.460) 0:00:35.583 ******* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 24 August 2024 08:50:22 -0400 (0:00:00.086) 0:00:35.669 ******* ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 24 August 2024 08:50:22 -0400 (0:00:00.102) 0:00:35.772 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 August 2024 08:50:23 -0400 (0:00:00.095) 0:00:35.868 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:50:23 -0400 (0:00:00.117) 0:00:35.985 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:50:23 -0400 (0:00:00.078) 0:00:36.064 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:50:23 -0400 (0:00:00.056) 0:00:36.120 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:50:23 -0400 (0:00:00.050) 0:00:36.170 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:50:23 -0400 (0:00:00.052) 0:00:36.223 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:50:25 -0400 (0:00:01.744) 0:00:37.967 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:50:26 -0400 (0:00:01.758) 0:00:39.725 ******* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:50:26 -0400 (0:00:00.060) 0:00:39.786 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:50:26 -0400 (0:00:00.052) 0:00:39.839 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.073) 0:00:39.912 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.097) 0:00:40.010 ******* skipping: [managed_node3] => { "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.092) 0:00:40.103 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.057) 0:00:40.160 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.142) 0:00:40.303 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.132) 0:00:40.435 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.090) 0:00:40.525 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.077) 0:00:40.603 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.069) 0:00:40.672 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.088) 0:00:40.761 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:50:27 -0400 (0:00:00.080) 0:00:40.841 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:50:28 -0400 (0:00:00.664) 0:00:41.506 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-375748uc0zn_t/tmpbh2twswc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:50:29 -0400 (0:00:00.477) 0:00:41.983 ******* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:50:29 -0400 (0:00:00.622) 0:00:42.606 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:50:29 -0400 (0:00:00.057) 0:00:42.663 ******* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:50:29 -0400 (0:00:00.060) 0:00:42.723 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:50:29 -0400 (0:00:00.053) 0:00:42.777 ******* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:50:29 -0400 (0:00:00.046) 0:00:42.823 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 August 2024 08:50:30 -0400 (0:00:00.418) 0:00:43.241 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 24 August 2024 08:50:30 -0400 (0:00:00.051) 0:00:43.293 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node3 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 24 August 2024 08:50:30 -0400 (0:00:00.147) 0:00:43.440 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:50:30 -0400 (0:00:00.132) 0:00:43.572 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:50:30 -0400 (0:00:00.130) 0:00:43.703 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:50:30 -0400 (0:00:00.086) 0:00:43.790 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:50:31 -0400 (0:00:00.114) 0:00:43.904 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:50:31 -0400 (0:00:00.093) 0:00:43.998 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:50:32 -0400 (0:00:01.743) 0:00:45.741 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:50:34 -0400 (0:00:01.670) 0:00:47.412 ******* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:50:34 -0400 (0:00:00.067) 0:00:47.479 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:50:34 -0400 (0:00:00.057) 0:00:47.536 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:50:34 -0400 (0:00:00.080) 0:00:47.617 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:50:34 -0400 (0:00:00.050) 0:00:47.667 ******* skipping: [managed_node3] => { "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:50:34 -0400 (0:00:00.086) 0:00:47.754 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:50:34 -0400 (0:00:00.078) 0:00:47.832 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:50:35 -0400 (0:00:00.092) 0:00:47.924 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:50:35 -0400 (0:00:00.117) 0:00:48.042 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:50:35 -0400 (0:00:00.055) 0:00:48.097 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:50:35 -0400 (0:00:00.053) 0:00:48.151 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:50:35 -0400 (0:00:00.061) 0:00:48.212 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:50:35 -0400 (0:00:00.048) 0:00:48.260 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:50:35 -0400 (0:00:00.060) 0:00:48.320 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:50:36 -0400 (0:00:00.718) 0:00:49.039 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-375748uc0zn_t/tmpgk5bx_5c" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:50:36 -0400 (0:00:00.740) 0:00:49.779 ******* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:50:37 -0400 (0:00:00.764) 0:00:50.543 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:50:37 -0400 (0:00:00.051) 0:00:50.594 ******* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:50:37 -0400 (0:00:00.050) 0:00:50.645 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:50:37 -0400 (0:00:00.050) 0:00:50.695 ******* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:50:37 -0400 (0:00:00.136) 0:00:50.832 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 24 August 2024 08:50:38 -0400 (0:00:00.456) 0:00:51.288 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node3 => (item=tasks/assert_device_present.yml) included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 24 August 2024 08:50:38 -0400 (0:00:00.146) 0:00:51.434 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 August 2024 08:50:38 -0400 (0:00:00.131) 0:00:51.566 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1724503837.5423703, "block_size": 4096, "blocks": 0, "ctime": 1724503837.5423703, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32424, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1724503837.5423703, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 24 August 2024 08:50:39 -0400 (0:00:00.408) 0:00:51.975 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 24 August 2024 08:50:39 -0400 (0:00:00.082) 0:00:52.058 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 August 2024 08:50:39 -0400 (0:00:00.123) 0:00:52.181 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 August 2024 08:50:39 -0400 (0:00:00.072) 0:00:52.254 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1724503837.3664517, "block_size": 4096, "blocks": 8, "ctime": 1724503829.6805615, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1724503829.6805615, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 August 2024 08:50:39 -0400 (0:00:00.390) 0:00:52.645 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 August 2024 08:50:39 -0400 (0:00:00.074) 0:00:52.720 ******* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019422", "end": "2024-08-24 08:50:40.252142", "rc": 1, "start": "2024-08-24 08:50:40.232720" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 August 2024 08:50:40 -0400 (0:00:00.491) 0:00:53.211 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 August 2024 08:50:40 -0400 (0:00:00.151) 0:00:53.363 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003047", "end": "2024-08-24 08:50:41.090309", "rc": 0, "start": "2024-08-24 08:50:41.087262" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 August 2024 08:50:41 -0400 (0:00:00.676) 0:00:54.040 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 August 2024 08:50:41 -0400 (0:00:00.056) 0:00:54.096 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004082", "end": "2024-08-24 08:50:42.636041", "rc": 0, "start": "2024-08-24 08:50:41.631959" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 August 2024 08:50:42 -0400 (0:00:01.460) 0:00:55.556 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 24 August 2024 08:50:42 -0400 (0:00:00.066) 0:00:55.623 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 24 August 2024 08:50:42 -0400 (0:00:00.105) 0:00:55.729 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 24 August 2024 08:50:42 -0400 (0:00:00.090) 0:00:55.820 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 24 August 2024 08:50:43 -0400 (0:00:00.083) 0:00:55.903 ******* skipping: [managed_node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 24 August 2024 08:50:43 -0400 (0:00:00.056) 0:00:55.960 ******* ok: [managed_node3] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 24 August 2024 08:50:43 -0400 (0:00:00.058) 0:00:56.019 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 August 2024 08:50:43 -0400 (0:00:00.081) 0:00:56.100 ******* ok: [managed_node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.045078", "end": "2024-08-24 08:50:43.620300", "rc": 0, "start": "2024-08-24 08:50:43.575222" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 24 August 2024 08:50:43 -0400 (0:00:00.452) 0:00:56.553 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 24 August 2024 08:50:43 -0400 (0:00:00.116) 0:00:56.670 ******* ok: [managed_node3] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 24 August 2024 08:50:43 -0400 (0:00:00.081) 0:00:56.751 ******* ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 24 August 2024 08:50:44 -0400 (0:00:00.103) 0:00:56.855 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 24 August 2024 08:50:44 -0400 (0:00:00.102) 0:00:56.958 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 August 2024 08:50:44 -0400 (0:00:00.067) 0:00:57.025 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003169", "end": "2024-08-24 08:50:44.521108", "rc": 0, "start": "2024-08-24 08:50:44.517939" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 August 2024 08:50:44 -0400 (0:00:00.404) 0:00:57.430 ******* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 24 August 2024 08:50:44 -0400 (0:00:00.052) 0:00:57.482 ******* ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 24 August 2024 08:50:44 -0400 (0:00:00.049) 0:00:57.531 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node3 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 August 2024 08:50:44 -0400 (0:00:00.077) 0:00:57.609 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:50:44 -0400 (0:00:00.083) 0:00:57.692 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:50:44 -0400 (0:00:00.089) 0:00:57.782 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:50:44 -0400 (0:00:00.053) 0:00:57.836 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:50:45 -0400 (0:00:00.052) 0:00:57.888 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:50:45 -0400 (0:00:00.050) 0:00:57.939 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:50:46 -0400 (0:00:01.753) 0:00:59.692 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:50:48 -0400 (0:00:01.912) 0:01:01.604 ******* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:50:48 -0400 (0:00:00.086) 0:01:01.691 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:50:48 -0400 (0:00:00.076) 0:01:01.768 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.079) 0:01:01.847 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.067) 0:01:01.914 ******* skipping: [managed_node3] => { "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.070) 0:01:01.984 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.050) 0:01:02.035 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.057) 0:01:02.092 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.087) 0:01:02.180 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.079) 0:01:02.259 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.078) 0:01:02.338 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.091) 0:01:02.430 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.075) 0:01:02.505 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:50:49 -0400 (0:00:00.094) 0:01:02.600 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:50:50 -0400 (0:00:00.565) 0:01:03.166 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-375748uc0zn_t/tmpq8vfynec" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:50:50 -0400 (0:00:00.449) 0:01:03.615 ******* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:50:51 -0400 (0:00:00.491) 0:01:04.107 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:50:51 -0400 (0:00:00.049) 0:01:04.156 ******* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:50:51 -0400 (0:00:00.053) 0:01:04.210 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:50:51 -0400 (0:00:00.052) 0:01:04.263 ******* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:50:51 -0400 (0:00:00.066) 0:01:04.329 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 August 2024 08:50:51 -0400 (0:00:00.449) 0:01:04.779 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 24 August 2024 08:50:52 -0400 (0:00:00.113) 0:01:04.892 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:50:52 -0400 (0:00:00.159) 0:01:05.052 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:50:52 -0400 (0:00:00.151) 0:01:05.203 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:50:52 -0400 (0:00:00.104) 0:01:05.308 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:50:52 -0400 (0:00:00.133) 0:01:05.441 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:50:52 -0400 (0:00:00.080) 0:01:05.522 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:50:54 -0400 (0:00:01.824) 0:01:07.346 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:50:56 -0400 (0:00:01.595) 0:01:08.942 ******* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.070) 0:01:09.012 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.056) 0:01:09.069 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.074) 0:01:09.143 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.083) 0:01:09.227 ******* skipping: [managed_node3] => { "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.103) 0:01:09.330 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.101) 0:01:09.432 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.093) 0:01:09.526 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.137) 0:01:09.663 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.077) 0:01:09.741 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:50:56 -0400 (0:00:00.087) 0:01:09.829 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:50:57 -0400 (0:00:00.125) 0:01:09.954 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:50:57 -0400 (0:00:00.060) 0:01:10.015 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:50:57 -0400 (0:00:00.053) 0:01:10.069 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:50:57 -0400 (0:00:00.621) 0:01:10.690 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-375748uc0zn_t/tmpjt5c048x" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:50:58 -0400 (0:00:00.431) 0:01:11.122 ******* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:50:59 -0400 (0:00:01.090) 0:01:12.213 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:50:59 -0400 (0:00:00.070) 0:01:12.284 ******* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:50:59 -0400 (0:00:00.053) 0:01:12.338 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:50:59 -0400 (0:00:00.054) 0:01:12.393 ******* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:50:59 -0400 (0:00:00.049) 0:01:12.442 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 24 August 2024 08:51:00 -0400 (0:00:00.416) 0:01:12.858 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node3 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 24 August 2024 08:51:00 -0400 (0:00:00.118) 0:01:12.977 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:51:00 -0400 (0:00:00.139) 0:01:13.116 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:51:00 -0400 (0:00:00.264) 0:01:13.381 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:51:00 -0400 (0:00:00.081) 0:01:13.463 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:51:00 -0400 (0:00:00.087) 0:01:13.550 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:51:00 -0400 (0:00:00.096) 0:01:13.646 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:51:02 -0400 (0:00:01.788) 0:01:15.435 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:51:04 -0400 (0:00:01.881) 0:01:17.316 ******* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:51:04 -0400 (0:00:00.086) 0:01:17.403 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:51:04 -0400 (0:00:00.090) 0:01:17.493 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:51:04 -0400 (0:00:00.095) 0:01:17.588 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:51:04 -0400 (0:00:00.101) 0:01:17.690 ******* skipping: [managed_node3] => { "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:51:04 -0400 (0:00:00.088) 0:01:17.779 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:51:05 -0400 (0:00:00.080) 0:01:17.859 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:51:05 -0400 (0:00:00.110) 0:01:17.970 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:51:05 -0400 (0:00:00.252) 0:01:18.223 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:51:05 -0400 (0:00:00.079) 0:01:18.302 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:51:05 -0400 (0:00:00.083) 0:01:18.386 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:51:05 -0400 (0:00:00.093) 0:01:18.479 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:51:05 -0400 (0:00:00.077) 0:01:18.557 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:51:05 -0400 (0:00:00.066) 0:01:18.624 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:51:06 -0400 (0:00:00.588) 0:01:19.212 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-375748uc0zn_t/tmpk9ry_l8b" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:51:06 -0400 (0:00:00.392) 0:01:19.604 ******* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:51:07 -0400 (0:00:00.509) 0:01:20.114 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:51:07 -0400 (0:00:00.064) 0:01:20.178 ******* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:51:07 -0400 (0:00:00.062) 0:01:20.240 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:51:07 -0400 (0:00:00.070) 0:01:20.311 ******* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:51:07 -0400 (0:00:00.051) 0:01:20.363 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 24 August 2024 08:51:07 -0400 (0:00:00.394) 0:01:20.758 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node3 => (item=tasks/assert_device_present.yml) included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node3 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 24 August 2024 08:51:07 -0400 (0:00:00.083) 0:01:20.841 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 24 August 2024 08:51:08 -0400 (0:00:00.153) 0:01:20.995 ******* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1724503859.2200232, "block_size": 4096, "blocks": 0, "ctime": 1724503859.2200232, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32555, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1724503859.2200232, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 24 August 2024 08:51:08 -0400 (0:00:00.383) 0:01:21.379 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 24 August 2024 08:51:08 -0400 (0:00:00.056) 0:01:21.435 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 August 2024 08:51:08 -0400 (0:00:00.100) 0:01:21.536 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 August 2024 08:51:08 -0400 (0:00:00.081) 0:01:21.618 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 August 2024 08:51:09 -0400 (0:00:00.465) 0:01:22.083 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 August 2024 08:51:09 -0400 (0:00:00.078) 0:01:22.162 ******* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019601", "end": "2024-08-24 08:51:09.695927", "rc": 1, "start": "2024-08-24 08:51:09.676326" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 August 2024 08:51:09 -0400 (0:00:00.441) 0:01:22.603 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 August 2024 08:51:09 -0400 (0:00:00.055) 0:01:22.659 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 August 2024 08:51:09 -0400 (0:00:00.051) 0:01:22.711 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 August 2024 08:51:09 -0400 (0:00:00.054) 0:01:22.765 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 August 2024 08:51:09 -0400 (0:00:00.060) 0:01:22.826 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 24 August 2024 08:51:10 -0400 (0:00:00.056) 0:01:22.882 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 24 August 2024 08:51:10 -0400 (0:00:00.089) 0:01:22.972 ******* skipping: [managed_node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 24 August 2024 08:51:10 -0400 (0:00:00.128) 0:01:23.101 ******* ok: [managed_node3] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 24 August 2024 08:51:10 -0400 (0:00:00.083) 0:01:23.184 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 August 2024 08:51:10 -0400 (0:00:00.104) 0:01:23.289 ******* ok: [managed_node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.044455", "end": "2024-08-24 08:51:10.812284", "rc": 0, "start": "2024-08-24 08:51:10.767829" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 24 August 2024 08:51:10 -0400 (0:00:00.499) 0:01:23.788 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 24 August 2024 08:51:11 -0400 (0:00:00.185) 0:01:23.974 ******* ok: [managed_node3] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 24 August 2024 08:51:11 -0400 (0:00:00.105) 0:01:24.080 ******* ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 24 August 2024 08:51:11 -0400 (0:00:00.158) 0:01:24.238 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 24 August 2024 08:51:11 -0400 (0:00:00.115) 0:01:24.354 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 August 2024 08:51:11 -0400 (0:00:00.126) 0:01:24.480 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003145", "end": "2024-08-24 08:51:12.140500", "rc": 0, "start": "2024-08-24 08:51:12.137355" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 August 2024 08:51:12 -0400 (0:00:00.595) 0:01:25.075 ******* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 24 August 2024 08:51:12 -0400 (0:00:00.083) 0:01:25.159 ******* ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 24 August 2024 08:51:12 -0400 (0:00:00.085) 0:01:25.244 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node3 => (item=tasks/activate_profile.yml) included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node3 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 August 2024 08:51:12 -0400 (0:00:00.187) 0:01:25.431 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:51:12 -0400 (0:00:00.160) 0:01:25.592 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:51:12 -0400 (0:00:00.118) 0:01:25.710 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:51:12 -0400 (0:00:00.071) 0:01:25.781 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:51:13 -0400 (0:00:00.084) 0:01:25.865 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:51:13 -0400 (0:00:00.106) 0:01:25.972 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:51:14 -0400 (0:00:01.671) 0:01:27.643 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:51:16 -0400 (0:00:01.622) 0:01:29.265 ******* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:51:16 -0400 (0:00:00.082) 0:01:29.348 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:51:16 -0400 (0:00:00.061) 0:01:29.409 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:51:16 -0400 (0:00:00.084) 0:01:29.493 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:51:16 -0400 (0:00:00.148) 0:01:29.642 ******* skipping: [managed_node3] => { "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:51:16 -0400 (0:00:00.103) 0:01:29.745 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:51:16 -0400 (0:00:00.083) 0:01:29.829 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:51:17 -0400 (0:00:00.081) 0:01:29.910 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:51:17 -0400 (0:00:00.101) 0:01:30.012 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:51:17 -0400 (0:00:00.093) 0:01:30.106 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:51:17 -0400 (0:00:00.082) 0:01:30.188 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:51:17 -0400 (0:00:00.096) 0:01:30.285 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:51:17 -0400 (0:00:00.141) 0:01:30.426 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:51:17 -0400 (0:00:00.068) 0:01:30.494 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:51:18 -0400 (0:00:00.605) 0:01:31.100 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-375748uc0zn_t/tmpujd7kzyi" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:51:18 -0400 (0:00:00.465) 0:01:31.565 ******* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:51:19 -0400 (0:00:00.584) 0:01:32.150 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:51:19 -0400 (0:00:00.093) 0:01:32.244 ******* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:51:19 -0400 (0:00:00.086) 0:01:32.330 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:51:19 -0400 (0:00:00.100) 0:01:32.431 ******* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:51:19 -0400 (0:00:00.083) 0:01:32.514 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 August 2024 08:51:20 -0400 (0:00:00.574) 0:01:33.088 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 24 August 2024 08:51:20 -0400 (0:00:00.087) 0:01:33.176 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:51:20 -0400 (0:00:00.144) 0:01:33.320 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:51:20 -0400 (0:00:00.102) 0:01:33.423 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:51:20 -0400 (0:00:00.098) 0:01:33.521 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:51:20 -0400 (0:00:00.084) 0:01:33.605 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:51:20 -0400 (0:00:00.088) 0:01:33.694 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:51:22 -0400 (0:00:01.793) 0:01:35.487 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:51:24 -0400 (0:00:01.625) 0:01:37.113 ******* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:51:24 -0400 (0:00:00.076) 0:01:37.190 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:51:24 -0400 (0:00:00.103) 0:01:37.294 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:51:24 -0400 (0:00:00.094) 0:01:37.388 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:51:24 -0400 (0:00:00.079) 0:01:37.467 ******* skipping: [managed_node3] => { "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:51:24 -0400 (0:00:00.074) 0:01:37.541 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:51:24 -0400 (0:00:00.073) 0:01:37.615 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:51:24 -0400 (0:00:00.096) 0:01:37.711 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:51:24 -0400 (0:00:00.106) 0:01:37.818 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:51:25 -0400 (0:00:00.050) 0:01:37.869 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:51:25 -0400 (0:00:00.052) 0:01:37.921 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:51:25 -0400 (0:00:00.057) 0:01:37.979 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:51:25 -0400 (0:00:00.048) 0:01:38.027 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:51:25 -0400 (0:00:00.050) 0:01:38.077 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:51:25 -0400 (0:00:00.583) 0:01:38.660 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-375748uc0zn_t/tmp4m7jp182" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:51:26 -0400 (0:00:00.468) 0:01:39.129 ******* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:51:27 -0400 (0:00:00.900) 0:01:40.029 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:51:27 -0400 (0:00:00.082) 0:01:40.112 ******* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:51:27 -0400 (0:00:00.083) 0:01:40.196 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:51:27 -0400 (0:00:00.162) 0:01:40.359 ******* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:51:27 -0400 (0:00:00.053) 0:01:40.413 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 24 August 2024 08:51:28 -0400 (0:00:00.436) 0:01:40.849 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:51:28 -0400 (0:00:00.115) 0:01:40.964 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:51:28 -0400 (0:00:00.089) 0:01:41.054 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:51:28 -0400 (0:00:00.056) 0:01:41.110 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:51:28 -0400 (0:00:00.050) 0:01:41.161 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:51:28 -0400 (0:00:00.057) 0:01:41.219 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:51:30 -0400 (0:00:01.727) 0:01:42.946 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:51:31 -0400 (0:00:01.675) 0:01:44.622 ******* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:51:31 -0400 (0:00:00.142) 0:01:44.764 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:51:32 -0400 (0:00:00.095) 0:01:44.860 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:51:32 -0400 (0:00:00.083) 0:01:44.943 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:51:32 -0400 (0:00:00.080) 0:01:45.024 ******* skipping: [managed_node3] => { "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:51:32 -0400 (0:00:00.126) 0:01:45.150 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:51:32 -0400 (0:00:00.117) 0:01:45.267 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:51:32 -0400 (0:00:00.157) 0:01:45.425 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:51:32 -0400 (0:00:00.196) 0:01:45.621 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:51:32 -0400 (0:00:00.094) 0:01:45.715 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:51:32 -0400 (0:00:00.119) 0:01:45.835 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:51:33 -0400 (0:00:00.130) 0:01:45.966 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:51:33 -0400 (0:00:00.072) 0:01:46.038 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:51:33 -0400 (0:00:00.068) 0:01:46.107 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:51:33 -0400 (0:00:00.659) 0:01:46.766 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-375748uc0zn_t/tmpccovu5e7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:51:34 -0400 (0:00:00.416) 0:01:47.183 ******* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:51:34 -0400 (0:00:00.570) 0:01:47.753 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:51:34 -0400 (0:00:00.077) 0:01:47.831 ******* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:51:35 -0400 (0:00:00.272) 0:01:48.103 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:51:35 -0400 (0:00:00.086) 0:01:48.190 ******* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:51:35 -0400 (0:00:00.099) 0:01:48.289 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 24 August 2024 08:51:35 -0400 (0:00:00.430) 0:01:48.720 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 24 August 2024 08:51:35 -0400 (0:00:00.084) 0:01:48.804 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:51:36 -0400 (0:00:00.085) 0:01:48.890 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:51:36 -0400 (0:00:00.078) 0:01:48.968 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:51:36 -0400 (0:00:00.056) 0:01:49.025 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:51:36 -0400 (0:00:00.050) 0:01:49.075 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:51:36 -0400 (0:00:00.053) 0:01:49.128 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:51:37 -0400 (0:00:01.666) 0:01:50.795 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:51:39 -0400 (0:00:01.624) 0:01:52.420 ******* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:51:39 -0400 (0:00:00.082) 0:01:52.503 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:51:39 -0400 (0:00:00.078) 0:01:52.582 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:51:39 -0400 (0:00:00.078) 0:01:52.660 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:51:39 -0400 (0:00:00.084) 0:01:52.745 ******* skipping: [managed_node3] => { "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:51:39 -0400 (0:00:00.074) 0:01:52.820 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:51:40 -0400 (0:00:00.069) 0:01:52.889 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:51:40 -0400 (0:00:00.068) 0:01:52.958 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:51:40 -0400 (0:00:00.083) 0:01:53.041 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:51:40 -0400 (0:00:00.050) 0:01:53.092 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:51:40 -0400 (0:00:00.048) 0:01:53.141 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:51:40 -0400 (0:00:00.056) 0:01:53.197 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:51:40 -0400 (0:00:00.060) 0:01:53.258 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:51:40 -0400 (0:00:00.076) 0:01:53.335 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:51:41 -0400 (0:00:00.648) 0:01:53.984 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-375748uc0zn_t/tmpt2z97bdi" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:51:41 -0400 (0:00:00.523) 0:01:54.507 ******* ok: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:51:42 -0400 (0:00:00.480) 0:01:54.988 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:51:42 -0400 (0:00:00.050) 0:01:55.038 ******* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:51:42 -0400 (0:00:00.056) 0:01:55.095 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:51:42 -0400 (0:00:00.054) 0:01:55.149 ******* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:51:42 -0400 (0:00:00.048) 0:01:55.198 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 24 August 2024 08:51:42 -0400 (0:00:00.396) 0:01:55.594 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node3 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 24 August 2024 08:51:42 -0400 (0:00:00.075) 0:01:55.670 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 August 2024 08:51:42 -0400 (0:00:00.079) 0:01:55.749 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 August 2024 08:51:42 -0400 (0:00:00.073) 0:01:55.823 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 August 2024 08:51:43 -0400 (0:00:00.429) 0:01:56.252 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 August 2024 08:51:43 -0400 (0:00:00.053) 0:01:56.306 ******* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019765", "end": "2024-08-24 08:51:43.798906", "rc": 1, "start": "2024-08-24 08:51:43.779141" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 August 2024 08:51:43 -0400 (0:00:00.399) 0:01:56.706 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 August 2024 08:51:43 -0400 (0:00:00.089) 0:01:56.796 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 August 2024 08:51:44 -0400 (0:00:00.050) 0:01:56.846 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 August 2024 08:51:44 -0400 (0:00:00.053) 0:01:56.900 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 August 2024 08:51:44 -0400 (0:00:00.050) 0:01:56.950 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 24 August 2024 08:51:44 -0400 (0:00:00.055) 0:01:57.005 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 24 August 2024 08:51:44 -0400 (0:00:00.058) 0:01:57.063 ******* skipping: [managed_node3] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed_node3] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 24 August 2024 08:51:44 -0400 (0:00:00.053) 0:01:57.117 ******* ok: [managed_node3] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 24 August 2024 08:51:44 -0400 (0:00:00.064) 0:01:57.181 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 August 2024 08:51:44 -0400 (0:00:00.117) 0:01:57.299 ******* ok: [managed_node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042672", "end": "2024-08-24 08:51:44.854309", "rc": 0, "start": "2024-08-24 08:51:44.811637" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 24 August 2024 08:51:44 -0400 (0:00:00.496) 0:01:57.796 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 24 August 2024 08:51:45 -0400 (0:00:00.123) 0:01:57.919 ******* ok: [managed_node3] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 24 August 2024 08:51:45 -0400 (0:00:00.080) 0:01:57.999 ******* ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 24 August 2024 08:51:45 -0400 (0:00:00.152) 0:01:58.152 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 24 August 2024 08:51:45 -0400 (0:00:00.085) 0:01:58.237 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 24 August 2024 08:51:45 -0400 (0:00:00.159) 0:01:58.396 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003025", "end": "2024-08-24 08:51:45.872091", "rc": 0, "start": "2024-08-24 08:51:45.869066" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 24 August 2024 08:51:45 -0400 (0:00:00.409) 0:01:58.806 ******* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 24 August 2024 08:51:46 -0400 (0:00:00.087) 0:01:58.894 ******* ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 24 August 2024 08:51:46 -0400 (0:00:00.069) 0:01:58.964 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node3 => (item=tasks/activate_profile.yml) included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 24 August 2024 08:51:46 -0400 (0:00:00.097) 0:01:59.061 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:51:46 -0400 (0:00:00.097) 0:01:59.159 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:51:46 -0400 (0:00:00.078) 0:01:59.237 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:51:46 -0400 (0:00:00.057) 0:01:59.294 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:51:46 -0400 (0:00:00.050) 0:01:59.345 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:51:46 -0400 (0:00:00.057) 0:01:59.402 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:51:48 -0400 (0:00:01.820) 0:02:01.223 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:51:50 -0400 (0:00:01.932) 0:02:03.156 ******* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:51:50 -0400 (0:00:00.098) 0:02:03.254 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:51:50 -0400 (0:00:00.086) 0:02:03.340 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:51:50 -0400 (0:00:00.083) 0:02:03.424 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:51:50 -0400 (0:00:00.088) 0:02:03.513 ******* skipping: [managed_node3] => { "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:51:50 -0400 (0:00:00.093) 0:02:03.606 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:51:50 -0400 (0:00:00.087) 0:02:03.694 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:51:51 -0400 (0:00:00.161) 0:02:03.856 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:51:51 -0400 (0:00:00.156) 0:02:04.012 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:51:51 -0400 (0:00:00.083) 0:02:04.096 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:51:51 -0400 (0:00:00.067) 0:02:04.163 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:51:51 -0400 (0:00:00.067) 0:02:04.231 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:51:51 -0400 (0:00:00.062) 0:02:04.294 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:51:51 -0400 (0:00:00.048) 0:02:04.342 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:51:52 -0400 (0:00:00.601) 0:02:04.944 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-375748uc0zn_t/tmp6m6mnyfk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:51:52 -0400 (0:00:00.513) 0:02:05.457 ******* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:51:53 -0400 (0:00:00.508) 0:02:05.966 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:51:53 -0400 (0:00:00.049) 0:02:06.015 ******* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:51:53 -0400 (0:00:00.054) 0:02:06.070 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:51:53 -0400 (0:00:00.066) 0:02:06.137 ******* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:51:53 -0400 (0:00:00.066) 0:02:06.203 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 24 August 2024 08:51:53 -0400 (0:00:00.405) 0:02:06.609 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 24 August 2024 08:51:53 -0400 (0:00:00.052) 0:02:06.661 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:51:53 -0400 (0:00:00.087) 0:02:06.749 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:51:53 -0400 (0:00:00.078) 0:02:06.828 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:51:54 -0400 (0:00:00.078) 0:02:06.906 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:51:54 -0400 (0:00:00.077) 0:02:06.983 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:51:54 -0400 (0:00:00.077) 0:02:07.061 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:51:56 -0400 (0:00:01.839) 0:02:08.901 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:51:57 -0400 (0:00:01.565) 0:02:10.467 ******* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:51:57 -0400 (0:00:00.066) 0:02:10.533 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:51:57 -0400 (0:00:00.051) 0:02:10.585 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:51:57 -0400 (0:00:00.048) 0:02:10.634 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:51:57 -0400 (0:00:00.051) 0:02:10.685 ******* skipping: [managed_node3] => { "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:51:57 -0400 (0:00:00.059) 0:02:10.745 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:51:57 -0400 (0:00:00.047) 0:02:10.793 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:51:58 -0400 (0:00:00.059) 0:02:10.852 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:51:58 -0400 (0:00:00.084) 0:02:10.937 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:51:58 -0400 (0:00:00.047) 0:02:10.984 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:51:58 -0400 (0:00:00.049) 0:02:11.034 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:51:58 -0400 (0:00:00.061) 0:02:11.096 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:51:58 -0400 (0:00:00.069) 0:02:11.165 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:51:58 -0400 (0:00:00.167) 0:02:11.333 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:51:59 -0400 (0:00:00.591) 0:02:11.924 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-375748uc0zn_t/tmp0finqc7r" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:51:59 -0400 (0:00:00.412) 0:02:12.336 ******* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:52:00 -0400 (0:00:00.806) 0:02:13.143 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:52:00 -0400 (0:00:00.081) 0:02:13.224 ******* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:52:00 -0400 (0:00:00.098) 0:02:13.323 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:52:00 -0400 (0:00:00.130) 0:02:13.453 ******* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:52:00 -0400 (0:00:00.105) 0:02:13.559 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 24 August 2024 08:52:01 -0400 (0:00:00.571) 0:02:14.131 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:52:01 -0400 (0:00:00.087) 0:02:14.218 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:52:01 -0400 (0:00:00.079) 0:02:14.297 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:52:01 -0400 (0:00:00.058) 0:02:14.355 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:52:01 -0400 (0:00:00.056) 0:02:14.411 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:52:01 -0400 (0:00:00.218) 0:02:14.630 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:52:03 -0400 (0:00:01.735) 0:02:16.366 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:52:05 -0400 (0:00:01.539) 0:02:17.906 ******* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:52:05 -0400 (0:00:00.055) 0:02:17.961 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:52:05 -0400 (0:00:00.050) 0:02:18.012 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:52:05 -0400 (0:00:00.049) 0:02:18.061 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:52:05 -0400 (0:00:00.053) 0:02:18.115 ******* skipping: [managed_node3] => { "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:52:05 -0400 (0:00:00.059) 0:02:18.174 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:52:05 -0400 (0:00:00.051) 0:02:18.226 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:52:05 -0400 (0:00:00.060) 0:02:18.286 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:52:05 -0400 (0:00:00.084) 0:02:18.370 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:52:05 -0400 (0:00:00.051) 0:02:18.422 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:52:05 -0400 (0:00:00.048) 0:02:18.471 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:52:05 -0400 (0:00:00.057) 0:02:18.528 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:52:05 -0400 (0:00:00.142) 0:02:18.670 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:52:05 -0400 (0:00:00.063) 0:02:18.734 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:52:06 -0400 (0:00:00.642) 0:02:19.376 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-375748uc0zn_t/tmpkgagfod0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:52:06 -0400 (0:00:00.423) 0:02:19.800 ******* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:52:07 -0400 (0:00:00.514) 0:02:20.315 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:52:07 -0400 (0:00:00.083) 0:02:20.398 ******* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:52:07 -0400 (0:00:00.071) 0:02:20.469 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:52:07 -0400 (0:00:00.064) 0:02:20.534 ******* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:52:07 -0400 (0:00:00.055) 0:02:20.589 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 24 August 2024 08:52:08 -0400 (0:00:00.424) 0:02:21.014 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 24 August 2024 08:52:08 -0400 (0:00:00.123) 0:02:21.138 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 24 August 2024 08:52:08 -0400 (0:00:00.128) 0:02:21.267 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 24 August 2024 08:52:08 -0400 (0:00:00.132) 0:02:21.400 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 24 August 2024 08:52:08 -0400 (0:00:00.059) 0:02:21.459 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 24 August 2024 08:52:08 -0400 (0:00:00.051) 0:02:21.511 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 24 August 2024 08:52:08 -0400 (0:00:00.062) 0:02:21.574 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 24 August 2024 08:52:10 -0400 (0:00:01.690) 0:02:23.264 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 24 August 2024 08:52:11 -0400 (0:00:01.562) 0:02:24.827 ******* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 24 August 2024 08:52:12 -0400 (0:00:00.104) 0:02:24.931 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 24 August 2024 08:52:12 -0400 (0:00:00.078) 0:02:25.010 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 24 August 2024 08:52:12 -0400 (0:00:00.077) 0:02:25.087 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 24 August 2024 08:52:12 -0400 (0:00:00.084) 0:02:25.172 ******* skipping: [managed_node3] => { "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] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 24 August 2024 08:52:12 -0400 (0:00:00.091) 0:02:25.263 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 24 August 2024 08:52:12 -0400 (0:00:00.082) 0:02:25.345 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 24 August 2024 08:52:12 -0400 (0:00:00.094) 0:02:25.440 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 24 August 2024 08:52:12 -0400 (0:00:00.133) 0:02:25.574 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 24 August 2024 08:52:12 -0400 (0:00:00.207) 0:02:25.781 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 24 August 2024 08:52:13 -0400 (0:00:00.081) 0:02:25.863 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 24 August 2024 08:52:13 -0400 (0:00:00.104) 0:02:25.968 ******* skipping: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 24 August 2024 08:52:13 -0400 (0:00:00.069) 0:02:26.038 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 24 August 2024 08:52:13 -0400 (0:00:00.062) 0:02:26.101 ******* ok: [managed_node3] => { "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: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 24 August 2024 08:52:13 -0400 (0:00:00.587) 0:02:26.688 ******* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-375748uc0zn_t/tmp4smhzh77" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 24 August 2024 08:52:14 -0400 (0:00:00.419) 0:02:27.108 ******* ok: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 24 August 2024 08:52:14 -0400 (0:00:00.517) 0:02:27.626 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 24 August 2024 08:52:14 -0400 (0:00:00.063) 0:02:27.689 ******* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 24 August 2024 08:52:14 -0400 (0:00:00.084) 0:02:27.773 ******* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 24 August 2024 08:52:15 -0400 (0:00:00.083) 0:02:27.857 ******* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 24 August 2024 08:52:15 -0400 (0:00:00.076) 0:02:27.934 ******* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 24 August 2024 08:52:15 -0400 (0:00:00.449) 0:02:28.383 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node3 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node3 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 24 August 2024 08:52:15 -0400 (0:00:00.116) 0:02:28.500 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 24 August 2024 08:52:15 -0400 (0:00:00.130) 0:02:28.631 ******* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 24 August 2024 08:52:15 -0400 (0:00:00.051) 0:02:28.682 ******* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 24 August 2024 08:52:16 -0400 (0:00:00.412) 0:02:29.095 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 24 August 2024 08:52:16 -0400 (0:00:00.061) 0:02:29.156 ******* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019313", "end": "2024-08-24 08:52:16.649589", "rc": 1, "start": "2024-08-24 08:52:16.630276" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 24 August 2024 08:52:16 -0400 (0:00:00.399) 0:02:29.556 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 24 August 2024 08:52:16 -0400 (0:00:00.055) 0:02:29.611 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 24 August 2024 08:52:16 -0400 (0:00:00.050) 0:02:29.662 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 24 August 2024 08:52:16 -0400 (0:00:00.052) 0:02:29.715 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 24 August 2024 08:52:16 -0400 (0:00:00.050) 0:02:29.765 ******* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 24 August 2024 08:52:16 -0400 (0:00:00.049) 0:02:29.814 ******* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 24 August 2024 08:52:17 -0400 (0:00:00.054) 0:02:29.869 ******* ok: [managed_node3] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.940071", "end": "2024-08-24 08:52:18.284938", "rc": 0, "start": "2024-08-24 08:52:17.344867" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 24 August 2024 08:52:18 -0400 (0:00:01.325) 0:02:31.194 ******* ok: [managed_node3] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 24 August 2024 08:52:18 -0400 (0:00:00.055) 0:02:31.249 ******* ok: [managed_node3] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 24 August 2024 08:52:18 -0400 (0:00:00.073) 0:02:31.323 ******* skipping: [managed_node3] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed_node3] => { "changed": false } MSG: All items skipped TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 24 August 2024 08:52:18 -0400 (0:00:00.062) 0:02:31.385 ******* ok: [managed_node3] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 24 August 2024 08:52:18 -0400 (0:00:00.060) 0:02:31.446 ******* included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node3 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 24 August 2024 08:52:18 -0400 (0:00:00.171) 0:02:31.617 ******* ok: [managed_node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.050127", "end": "2024-08-24 08:52:19.159156", "rc": 0, "start": "2024-08-24 08:52:19.109029" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 24 August 2024 08:52:19 -0400 (0:00:00.451) 0:02:32.068 ******* ok: [managed_node3] => { "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.008348", "end": "2024-08-24 08:52:19.565459", "rc": 0, "start": "2024-08-24 08:52:19.557111" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:82:56:c0:e6:0b brd ff:ff:ff:ff:ff:ff inet 10.31.43.56/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2484sec preferred_lft 2484sec inet6 fe80::c82:56ff:fec0:e60b/64 scope link valid_lft forever preferred_lft forever 41: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 16:f0:9a:6e:0d:ad brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.56 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.56 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown 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] ************************************* task path: /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 24 August 2024 08:52:19 -0400 (0:00:00.429) 0:02:32.498 ******* ok: [managed_node3] => { "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.461964", "end": "2024-08-24 08:52:20.457251", "rc": 0, "start": "2024-08-24 08:52:19.995287" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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 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 2604:1580:fe00:0:dead:beef:cafe:fed1 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 2600:2701:4000:5211:dead:beef:fe:fed3 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 1418 0 --:--:-- --:--:-- --:--:-- 1418 % 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 ********************************************************************* managed_node3 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Saturday 24 August 2024 08:52:20 -0400 (0:00:01.002) 0:02:33.501 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.37s /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.93s /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.91s /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.88s /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.76s /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-AQf/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 /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.70s /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.68s /tmp/collections-AQf/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26