ansible-playbook [core 2.16.14] 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-8SA 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.5 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-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 11 January 2025 07:51:38 -0500 (0:00:00.008) 0:00:00.008 ****** ok: [managed-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 11 January 2025 07:51:39 -0500 (0:00:01.150) 0:00:01.158 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 11 January 2025 07:51:39 -0500 (0:00:00.019) 0:00:01.177 ****** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 11 January 2025 07:51:40 -0500 (0:00:00.513) 0:00:01.691 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 11 January 2025 07:51:40 -0500 (0:00:00.434) 0:00:02.126 ****** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 11 January 2025 07:51:40 -0500 (0:00:00.023) 0:00:02.150 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 11 January 2025 07:51:40 -0500 (0:00:00.016) 0:00:02.167 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 11 January 2025 07:51:40 -0500 (0:00:00.048) 0:00:02.216 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 11 January 2025 07:51:41 -0500 (0:00:00.491) 0:00:02.707 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 11 January 2025 07:51:41 -0500 (0:00:00.014) 0:00:02.722 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 11 January 2025 07:51:41 -0500 (0:00:00.017) 0:00:02.740 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.226007", "end": "2025-01-11 07:51:42.969815", "rc": 0, "start": "2025-01-11 07:51:41.743808" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 11 January 2025 07:51:43 -0500 (0:00:01.574) 0:00:04.314 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 11 January 2025 07:51:43 -0500 (0:00:00.035) 0:00:04.349 ****** ok: [managed-node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 11 January 2025 07:51:43 -0500 (0:00:00.076) 0:00:04.426 ****** ok: [managed-node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 11 January 2025 07:51:44 -0500 (0:00:00.845) 0:00:05.271 ****** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 11 January 2025 07:51:44 -0500 (0:00:00.039) 0:00:05.310 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 11 January 2025 07:51:44 -0500 (0:00:00.048) 0:00:05.359 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 11 January 2025 07:51:44 -0500 (0:00:00.037) 0:00:05.397 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 11 January 2025 07:51:44 -0500 (0:00:00.079) 0:00:05.477 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:51:44 -0500 (0:00:00.041) 0:00:05.518 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:51:44 -0500 (0:00:00.039) 0:00:05.557 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003674", "end": "2025-01-11 07:51:44.604764", "rc": 0, "start": "2025-01-11 07:51:44.601090" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:51:44 -0500 (0:00:00.361) 0:00:05.919 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:51:44 -0500 (0:00:00.037) 0:00:05.957 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 11 January 2025 07:51:44 -0500 (0:00:00.036) 0:00:05.994 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 11 January 2025 07:51:44 -0500 (0:00:00.051) 0:00:06.045 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007495", "end": "2025-01-11 07:51:45.084319", "rc": 1, "start": "2025-01-11 07:51:45.076824" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 11 January 2025 07:51:45 -0500 (0:00:00.355) 0:00:06.400 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:51:45 -0500 (0:00:00.046) 0:00:06.447 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 11 January 2025 07:51:45 -0500 (0:00:00.358) 0:00:06.806 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 11 January 2025 07:51:45 -0500 (0:00:00.038) 0:00:06.844 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 11 January 2025 07:51:45 -0500 (0:00:00.047) 0:00:06.892 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:51:45 -0500 (0:00:00.061) 0:00:06.953 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:51:45 -0500 (0:00:00.054) 0:00:07.008 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:51:45 -0500 (0:00:00.040) 0:00:07.048 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:51:45 -0500 (0:00:00.041) 0:00:07.090 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:51:45 -0500 (0:00:00.041) 0:00:07.131 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:51:47 -0500 (0:00:01.748) 0:00:08.879 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:51:49 -0500 (0:00:01.899) 0:00:10.779 ****** ok: [managed-node2] => {} 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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:51:49 -0500 (0:00:00.066) 0:00:10.845 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:51:49 -0500 (0:00:00.078) 0:00:10.924 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:51:49 -0500 (0:00:00.085) 0:00:11.010 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:51:49 -0500 (0:00:00.063) 0:00:11.073 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:51:49 -0500 (0:00:00.066) 0:00:11.140 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:51:49 -0500 (0:00:00.055) 0:00:11.195 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:51:49 -0500 (0:00:00.068) 0:00:11.264 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:51:50 -0500 (0:00:00.127) 0:00:11.391 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:51:50 -0500 (0:00:00.126) 0:00:11.517 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:51:50 -0500 (0:00:00.054) 0:00:11.571 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:51:50 -0500 (0:00:00.061) 0:00:11.633 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:51:50 -0500 (0:00:00.061) 0:00:11.694 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:51:50 -0500 (0:00:00.087) 0:00:11.781 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:51:51 -0500 (0:00:01.110) 0:00:12.892 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-4205940knojnb/tmpa1jf1m6k" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:51:52 -0500 (0:00:00.381) 0:00:13.273 ****** changed: [managed-node2] => { "_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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:51:52 -0500 (0:00:00.658) 0:00:13.932 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:51:52 -0500 (0:00:00.084) 0:00:14.017 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:51:52 -0500 (0:00:00.093) 0:00:14.111 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:51:52 -0500 (0:00:00.092) 0:00:14.204 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:51:53 -0500 (0:00:00.103) 0:00:14.307 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 11 January 2025 07:51:53 -0500 (0:00:00.665) 0:00:14.973 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 11 January 2025 07:51:53 -0500 (0:00:00.098) 0:00:15.071 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 11 January 2025 07:51:53 -0500 (0:00:00.175) 0:00:15.247 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 11 January 2025 07:51:54 -0500 (0:00:00.095) 0:00:15.342 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 11 January 2025 07:51:54 -0500 (0:00:00.056) 0:00:15.398 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1736599912.5679371, "block_size": 4096, "blocks": 8, "ctime": 1736599912.5679371, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1736599912.5679371, "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 11 January 2025 07:51:54 -0500 (0:00:00.387) 0:00:15.786 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 11 January 2025 07:51:54 -0500 (0:00:00.167) 0:00:15.954 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017500", "end": "2025-01-11 07:51:55.191652", "rc": 1, "start": "2025-01-11 07:51:55.174152" } 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 11 January 2025 07:51:55 -0500 (0:00:00.593) 0:00:16.548 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 11 January 2025 07:51:55 -0500 (0:00:00.087) 0:00:16.635 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002935", "end": "2025-01-11 07:51:55.841434", "rc": 0, "start": "2025-01-11 07:51:55.838499" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 11 January 2025 07:51:55 -0500 (0:00:00.575) 0:00:17.211 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 11 January 2025 07:51:56 -0500 (0:00:00.122) 0:00:17.333 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002951", "end": "2025-01-11 07:51:56.391246", "rc": 0, "start": "2025-01-11 07:51:56.388295" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 11 January 2025 07:51:56 -0500 (0:00:00.390) 0:00:17.724 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 11 January 2025 07:51:56 -0500 (0:00:00.090) 0:00:17.814 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 11 January 2025 07:51:56 -0500 (0:00:00.099) 0:00:17.913 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 11 January 2025 07:51:56 -0500 (0:00:00.094) 0:00:18.007 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 11 January 2025 07:51:56 -0500 (0:00:00.130) 0:00:18.138 ****** skipping: [managed-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 11 January 2025 07:51:56 -0500 (0:00:00.089) 0:00:18.228 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 11 January 2025 07:51:57 -0500 (0:00:00.088) 0:00:18.317 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 11 January 2025 07:51:57 -0500 (0:00:00.186) 0:00:18.503 ****** fatal: [managed-node2]: 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.034736", "end": "2025-01-11 07:51:57.598084", "rc": 1, "start": "2025-01-11 07:51:57.563348" } 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 11 January 2025 07:51:57 -0500 (0:00:00.452) 0:00:18.956 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 11 January 2025 07:51:57 -0500 (0:00:00.132) 0:00:19.089 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 11 January 2025 07:51:57 -0500 (0:00:00.076) 0:00:19.165 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 11 January 2025 07:51:58 -0500 (0:00:00.124) 0:00:19.290 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:51:58 -0500 (0:00:00.087) 0:00:19.377 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:51:58 -0500 (0:00:00.111) 0:00:19.488 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003165", "end": "2025-01-11 07:51:58.580823", "rc": 0, "start": "2025-01-11 07:51:58.577658" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:51:58 -0500 (0:00:00.434) 0:00:19.923 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:51:58 -0500 (0:00:00.105) 0:00:20.028 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 11 January 2025 07:51:58 -0500 (0:00:00.071) 0:00:20.100 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 11 January 2025 07:51:58 -0500 (0:00:00.106) 0:00:20.206 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005521", "end": "2025-01-11 07:51:59.257076", "rc": 1, "start": "2025-01-11 07:51:59.251555" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 11 January 2025 07:51:59 -0500 (0:00:00.505) 0:00:20.712 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:51:59 -0500 (0:00:00.123) 0:00:20.836 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 11 January 2025 07:51:59 -0500 (0:00:00.422) 0:00:21.259 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 11 January 2025 07:52:00 -0500 (0:00:00.056) 0:00:21.316 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 11 January 2025 07:52:00 -0500 (0:00:00.116) 0:00:21.432 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:52:00 -0500 (0:00:00.129) 0:00:21.562 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:52:00 -0500 (0:00:00.156) 0:00:21.718 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:52:00 -0500 (0:00:00.093) 0:00:21.812 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:52:00 -0500 (0:00:00.093) 0:00:21.906 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:52:00 -0500 (0:00:00.089) 0:00:21.995 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:52:02 -0500 (0:00:01.749) 0:00:23.745 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:52:04 -0500 (0:00:01.641) 0:00:25.387 ****** ok: [managed-node2] => {} 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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:52:04 -0500 (0:00:00.089) 0:00:25.476 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:52:04 -0500 (0:00:00.105) 0:00:25.582 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:52:04 -0500 (0:00:00.120) 0:00:25.702 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:52:04 -0500 (0:00:00.101) 0:00:25.803 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:52:04 -0500 (0:00:00.166) 0:00:25.970 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:52:04 -0500 (0:00:00.170) 0:00:26.140 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:52:05 -0500 (0:00:00.197) 0:00:26.337 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:52:05 -0500 (0:00:00.154) 0:00:26.491 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:52:05 -0500 (0:00:00.086) 0:00:26.578 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:52:05 -0500 (0:00:00.095) 0:00:26.673 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:52:05 -0500 (0:00:00.104) 0:00:26.777 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:52:05 -0500 (0:00:00.084) 0:00:26.862 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:52:05 -0500 (0:00:00.087) 0:00:26.950 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:52:06 -0500 (0:00:00.758) 0:00:27.708 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-4205940knojnb/tmptssvf5sv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:52:06 -0500 (0:00:00.522) 0:00:28.230 ****** changed: [managed-node2] => { "_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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:52:07 -0500 (0:00:00.536) 0:00:28.766 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:52:07 -0500 (0:00:00.073) 0:00:28.840 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:52:07 -0500 (0:00:00.095) 0:00:28.935 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:52:07 -0500 (0:00:00.091) 0:00:29.027 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:52:07 -0500 (0:00:00.089) 0:00:29.116 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 11 January 2025 07:52:08 -0500 (0:00:00.395) 0:00:29.511 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 11 January 2025 07:52:08 -0500 (0:00:00.097) 0:00:29.609 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 11 January 2025 07:52:08 -0500 (0:00:00.192) 0:00:29.802 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:52:08 -0500 (0:00:00.105) 0:00:29.908 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 11 January 2025 07:52:09 -0500 (0:00:00.376) 0:00:30.284 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 11 January 2025 07:52:09 -0500 (0:00:00.060) 0:00:30.345 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 11 January 2025 07:52:09 -0500 (0:00:00.080) 0:00:30.426 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 11 January 2025 07:52:09 -0500 (0:00:00.132) 0:00:30.558 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1736599927.4240286, "block_size": 4096, "blocks": 8, "ctime": 1736599927.4240286, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1736599927.4240286, "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 11 January 2025 07:52:09 -0500 (0:00:00.433) 0:00:30.992 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 11 January 2025 07:52:09 -0500 (0:00:00.094) 0:00:31.087 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018330", "end": "2025-01-11 07:52:10.184210", "rc": 1, "start": "2025-01-11 07:52:10.165880" } 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 11 January 2025 07:52:10 -0500 (0:00:00.435) 0:00:31.523 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 11 January 2025 07:52:10 -0500 (0:00:00.069) 0:00:31.592 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003146", "end": "2025-01-11 07:52:10.629600", "rc": 0, "start": "2025-01-11 07:52:10.626454" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 11 January 2025 07:52:10 -0500 (0:00:00.368) 0:00:31.961 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 11 January 2025 07:52:10 -0500 (0:00:00.064) 0:00:32.025 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002941", "end": "2025-01-11 07:52:11.069600", "rc": 0, "start": "2025-01-11 07:52:11.066659" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 11 January 2025 07:52:11 -0500 (0:00:00.399) 0:00:32.425 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 11 January 2025 07:52:11 -0500 (0:00:00.081) 0:00:32.507 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 11 January 2025 07:52:11 -0500 (0:00:00.068) 0:00:32.575 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 11 January 2025 07:52:11 -0500 (0:00:00.069) 0:00:32.645 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 11 January 2025 07:52:11 -0500 (0:00:00.058) 0:00:32.703 ****** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 11 January 2025 07:52:11 -0500 (0:00:00.062) 0:00:32.766 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 11 January 2025 07:52:11 -0500 (0:00:00.100) 0:00:32.867 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 11 January 2025 07:52:11 -0500 (0:00:00.134) 0:00:33.002 ****** fatal: [managed-node2]: 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.034794", "end": "2025-01-11 07:52:12.079531", "rc": 1, "start": "2025-01-11 07:52:12.044737" } 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 11 January 2025 07:52:12 -0500 (0:00:00.447) 0:00:33.449 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 11 January 2025 07:52:12 -0500 (0:00:00.080) 0:00:33.530 ****** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 11 January 2025 07:52:12 -0500 (0:00:00.058) 0:00:33.588 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 11 January 2025 07:52:12 -0500 (0:00:00.097) 0:00:33.685 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:52:12 -0500 (0:00:00.078) 0:00:33.764 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:52:12 -0500 (0:00:00.074) 0:00:33.838 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003026", "end": "2025-01-11 07:52:12.881054", "rc": 0, "start": "2025-01-11 07:52:12.878028" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:52:12 -0500 (0:00:00.379) 0:00:34.217 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:52:13 -0500 (0:00:00.058) 0:00:34.276 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 11 January 2025 07:52:13 -0500 (0:00:00.068) 0:00:34.345 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 11 January 2025 07:52:13 -0500 (0:00:00.126) 0:00:34.471 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:52:13 -0500 (0:00:00.157) 0:00:34.628 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:52:13 -0500 (0:00:00.192) 0:00:34.821 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:52:13 -0500 (0:00:00.111) 0:00:34.932 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:52:13 -0500 (0:00:00.116) 0:00:35.049 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:52:13 -0500 (0:00:00.122) 0:00:35.172 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:52:15 -0500 (0:00:01.813) 0:00:36.985 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:52:17 -0500 (0:00:01.669) 0:00:38.655 ****** ok: [managed-node2] => {} 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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:52:17 -0500 (0:00:00.070) 0:00:38.725 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:52:17 -0500 (0:00:00.072) 0:00:38.798 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:52:17 -0500 (0:00:00.056) 0:00:38.854 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:52:17 -0500 (0:00:00.057) 0:00:38.911 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:52:17 -0500 (0:00:00.070) 0:00:38.982 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:52:17 -0500 (0:00:00.076) 0:00:39.059 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:52:17 -0500 (0:00:00.153) 0:00:39.213 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:52:18 -0500 (0:00:00.289) 0:00:39.502 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:52:18 -0500 (0:00:00.068) 0:00:39.571 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:52:18 -0500 (0:00:00.066) 0:00:39.637 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:52:18 -0500 (0:00:00.069) 0:00:39.707 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:52:18 -0500 (0:00:00.075) 0:00:39.782 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:52:18 -0500 (0:00:00.103) 0:00:39.885 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:52:19 -0500 (0:00:00.702) 0:00:40.588 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-4205940knojnb/tmpady6plht" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:52:19 -0500 (0:00:00.424) 0:00:41.012 ****** changed: [managed-node2] => { "_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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:52:20 -0500 (0:00:00.608) 0:00:41.620 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:52:20 -0500 (0:00:00.063) 0:00:41.684 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:52:20 -0500 (0:00:00.067) 0:00:41.752 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:52:20 -0500 (0:00:00.091) 0:00:41.844 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:52:20 -0500 (0:00:00.088) 0:00:41.932 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 11 January 2025 07:52:21 -0500 (0:00:00.525) 0:00:42.458 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 11 January 2025 07:52:21 -0500 (0:00:00.125) 0:00:42.583 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 11 January 2025 07:52:21 -0500 (0:00:00.209) 0:00:42.792 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:52:21 -0500 (0:00:00.186) 0:00:42.979 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:52:21 -0500 (0:00:00.155) 0:00:43.135 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:52:21 -0500 (0:00:00.087) 0:00:43.223 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:52:22 -0500 (0:00:00.088) 0:00:43.311 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:52:22 -0500 (0:00:00.117) 0:00:43.428 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:52:23 -0500 (0:00:01.737) 0:00:45.166 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:52:25 -0500 (0:00:01.465) 0:00:46.632 ****** ok: [managed-node2] => {} 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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:52:25 -0500 (0:00:00.063) 0:00:46.696 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:52:25 -0500 (0:00:00.087) 0:00:46.783 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:52:25 -0500 (0:00:00.063) 0:00:46.847 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:52:25 -0500 (0:00:00.110) 0:00:46.957 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:52:25 -0500 (0:00:00.065) 0:00:47.023 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:52:25 -0500 (0:00:00.079) 0:00:47.102 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:52:25 -0500 (0:00:00.095) 0:00:47.198 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:52:26 -0500 (0:00:00.111) 0:00:47.309 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:52:26 -0500 (0:00:00.062) 0:00:47.372 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:52:26 -0500 (0:00:00.064) 0:00:47.436 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:52:26 -0500 (0:00:00.078) 0:00:47.515 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:52:26 -0500 (0:00:00.090) 0:00:47.606 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:52:26 -0500 (0:00:00.096) 0:00:47.703 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:52:27 -0500 (0:00:00.665) 0:00:48.368 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-4205940knojnb/tmps47ye9uz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:52:27 -0500 (0:00:00.435) 0:00:48.804 ****** changed: [managed-node2] => { "_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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:52:28 -0500 (0:00:00.740) 0:00:49.544 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:52:28 -0500 (0:00:00.066) 0:00:49.611 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:52:28 -0500 (0:00:00.075) 0:00:49.687 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:52:28 -0500 (0:00:00.064) 0:00:49.751 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:52:28 -0500 (0:00:00.053) 0:00:49.805 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 11 January 2025 07:52:29 -0500 (0:00:00.472) 0:00:50.277 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 11 January 2025 07:52:29 -0500 (0:00:00.128) 0:00:50.405 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:52:29 -0500 (0:00:00.144) 0:00:50.550 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1736599948.1154094, "block_size": 4096, "blocks": 0, "ctime": 1736599948.1154094, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36694, "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": 1736599948.1154094, "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 11 January 2025 07:52:29 -0500 (0:00:00.401) 0:00:50.951 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 11 January 2025 07:52:29 -0500 (0:00:00.094) 0:00:51.046 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 11 January 2025 07:52:29 -0500 (0:00:00.137) 0:00:51.183 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 11 January 2025 07:52:30 -0500 (0:00:00.092) 0:00:51.275 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1736599947.959155, "block_size": 4096, "blocks": 8, "ctime": 1736599940.2741077, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301862, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1736599940.2741077, "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 11 January 2025 07:52:30 -0500 (0:00:00.375) 0:00:51.651 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 11 January 2025 07:52:30 -0500 (0:00:00.057) 0:00:51.708 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018027", "end": "2025-01-11 07:52:30.759837", "rc": 1, "start": "2025-01-11 07:52:30.741810" } 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 11 January 2025 07:52:30 -0500 (0:00:00.382) 0:00:52.091 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 11 January 2025 07:52:30 -0500 (0:00:00.056) 0:00:52.147 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002765", "end": "2025-01-11 07:52:31.199063", "rc": 0, "start": "2025-01-11 07:52:31.196298" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 11 January 2025 07:52:31 -0500 (0:00:00.407) 0:00:52.554 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 11 January 2025 07:52:31 -0500 (0:00:00.199) 0:00:52.754 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002701", "end": "2025-01-11 07:52:31.862522", "rc": 0, "start": "2025-01-11 07:52:31.859821" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 11 January 2025 07:52:31 -0500 (0:00:00.460) 0:00:53.214 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 11 January 2025 07:52:32 -0500 (0:00:00.102) 0:00:53.316 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 11 January 2025 07:52:32 -0500 (0:00:00.100) 0:00:53.416 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 11 January 2025 07:52:32 -0500 (0:00:00.090) 0:00:53.507 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 11 January 2025 07:52:32 -0500 (0:00:00.096) 0:00:53.604 ****** skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 11 January 2025 07:52:32 -0500 (0:00:00.083) 0:00:53.687 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 11 January 2025 07:52:32 -0500 (0:00:00.083) 0:00:53.770 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 11 January 2025 07:52:32 -0500 (0:00:00.141) 0:00:53.912 ****** ok: [managed-node2] => { "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.043932", "end": "2025-01-11 07:52:33.034219", "rc": 0, "start": "2025-01-11 07:52:32.990287" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 11 January 2025 07:52:33 -0500 (0:00:00.482) 0:00:54.394 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 11 January 2025 07:52:33 -0500 (0:00:00.180) 0:00:54.575 ****** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 11 January 2025 07:52:33 -0500 (0:00:00.189) 0:00:54.765 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 11 January 2025 07:52:33 -0500 (0:00:00.258) 0:00:55.023 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:52:33 -0500 (0:00:00.146) 0:00:55.169 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:52:34 -0500 (0:00:00.250) 0:00:55.420 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003022", "end": "2025-01-11 07:52:34.542494", "rc": 0, "start": "2025-01-11 07:52:34.539472" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:52:34 -0500 (0:00:00.465) 0:00:55.885 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:52:34 -0500 (0:00:00.063) 0:00:55.949 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 11 January 2025 07:52:34 -0500 (0:00:00.061) 0:00:56.011 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 11 January 2025 07:52:34 -0500 (0:00:00.140) 0:00:56.151 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:52:35 -0500 (0:00:00.166) 0:00:56.317 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:52:35 -0500 (0:00:00.120) 0:00:56.437 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:52:35 -0500 (0:00:00.112) 0:00:56.549 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:52:35 -0500 (0:00:00.090) 0:00:56.639 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:52:35 -0500 (0:00:00.066) 0:00:56.706 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:52:37 -0500 (0:00:01.716) 0:00:58.422 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:52:38 -0500 (0:00:01.689) 0:01:00.112 ****** ok: [managed-node2] => {} 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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:52:38 -0500 (0:00:00.068) 0:01:00.180 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:52:38 -0500 (0:00:00.056) 0:01:00.236 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:52:39 -0500 (0:00:00.053) 0:01:00.290 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:52:39 -0500 (0:00:00.061) 0:01:00.352 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:52:39 -0500 (0:00:00.101) 0:01:00.453 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:52:39 -0500 (0:00:00.088) 0:01:00.542 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:52:39 -0500 (0:00:00.103) 0:01:00.646 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:52:39 -0500 (0:00:00.117) 0:01:00.763 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:52:39 -0500 (0:00:00.071) 0:01:00.834 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:52:39 -0500 (0:00:00.058) 0:01:00.892 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:52:39 -0500 (0:00:00.064) 0:01:00.957 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:52:39 -0500 (0:00:00.058) 0:01:01.016 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:52:39 -0500 (0:00:00.076) 0:01:01.092 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:52:40 -0500 (0:00:00.640) 0:01:01.732 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-4205940knojnb/tmp1m40qphk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:52:40 -0500 (0:00:00.537) 0:01:02.269 ****** changed: [managed-node2] => { "_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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:52:41 -0500 (0:00:00.485) 0:01:02.755 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:52:41 -0500 (0:00:00.083) 0:01:02.839 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:52:41 -0500 (0:00:00.094) 0:01:02.933 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:52:41 -0500 (0:00:00.095) 0:01:03.028 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:52:41 -0500 (0:00:00.085) 0:01:03.114 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 11 January 2025 07:52:42 -0500 (0:00:00.501) 0:01:03.616 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 11 January 2025 07:52:42 -0500 (0:00:00.126) 0:01:03.742 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:52:42 -0500 (0:00:00.187) 0:01:03.930 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:52:42 -0500 (0:00:00.117) 0:01:04.047 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:52:42 -0500 (0:00:00.067) 0:01:04.115 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:52:42 -0500 (0:00:00.059) 0:01:04.174 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:52:42 -0500 (0:00:00.059) 0:01:04.233 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:52:44 -0500 (0:00:01.868) 0:01:06.102 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:52:46 -0500 (0:00:01.703) 0:01:07.806 ****** ok: [managed-node2] => {} 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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:52:46 -0500 (0:00:00.076) 0:01:07.882 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:52:46 -0500 (0:00:00.072) 0:01:07.955 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:52:46 -0500 (0:00:00.058) 0:01:08.013 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:52:46 -0500 (0:00:00.057) 0:01:08.071 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:52:46 -0500 (0:00:00.068) 0:01:08.140 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:52:46 -0500 (0:00:00.079) 0:01:08.219 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:52:47 -0500 (0:00:00.105) 0:01:08.325 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:52:47 -0500 (0:00:00.150) 0:01:08.475 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:52:47 -0500 (0:00:00.089) 0:01:08.564 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:52:47 -0500 (0:00:00.073) 0:01:08.638 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:52:47 -0500 (0:00:00.077) 0:01:08.715 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:52:47 -0500 (0:00:00.075) 0:01:08.790 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:52:47 -0500 (0:00:00.185) 0:01:08.976 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:52:48 -0500 (0:00:00.652) 0:01:09.628 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-4205940knojnb/tmp6zj7n2b8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:52:48 -0500 (0:00:00.404) 0:01:10.033 ****** changed: [managed-node2] => { "_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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:52:49 -0500 (0:00:00.814) 0:01:10.847 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:52:49 -0500 (0:00:00.090) 0:01:10.938 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:52:49 -0500 (0:00:00.089) 0:01:11.027 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:52:49 -0500 (0:00:00.096) 0:01:11.124 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:52:49 -0500 (0:00:00.090) 0:01:11.214 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 11 January 2025 07:52:50 -0500 (0:00:00.688) 0:01:11.903 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 11 January 2025 07:52:50 -0500 (0:00:00.083) 0:01:11.986 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:52:50 -0500 (0:00:00.122) 0:01:12.109 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:52:51 -0500 (0:00:00.188) 0:01:12.297 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:52:51 -0500 (0:00:00.234) 0:01:12.531 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:52:51 -0500 (0:00:00.103) 0:01:12.635 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:52:51 -0500 (0:00:00.122) 0:01:12.758 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:52:53 -0500 (0:00:01.735) 0:01:14.493 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:52:54 -0500 (0:00:01.571) 0:01:16.065 ****** ok: [managed-node2] => {} 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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:52:54 -0500 (0:00:00.086) 0:01:16.151 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:52:54 -0500 (0:00:00.093) 0:01:16.245 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:52:55 -0500 (0:00:00.088) 0:01:16.333 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:52:55 -0500 (0:00:00.103) 0:01:16.437 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:52:55 -0500 (0:00:00.105) 0:01:16.543 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:52:55 -0500 (0:00:00.114) 0:01:16.657 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:52:55 -0500 (0:00:00.119) 0:01:16.776 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:52:55 -0500 (0:00:00.157) 0:01:16.934 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:52:55 -0500 (0:00:00.099) 0:01:17.034 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:52:55 -0500 (0:00:00.221) 0:01:17.255 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:52:56 -0500 (0:00:00.104) 0:01:17.360 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:52:56 -0500 (0:00:00.086) 0:01:17.447 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:52:56 -0500 (0:00:00.065) 0:01:17.512 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:52:56 -0500 (0:00:00.589) 0:01:18.102 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-4205940knojnb/tmpnf7ob9vf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:52:57 -0500 (0:00:00.425) 0:01:18.527 ****** changed: [managed-node2] => { "_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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:52:58 -0500 (0:00:00.776) 0:01:19.303 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:52:58 -0500 (0:00:00.102) 0:01:19.405 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:52:58 -0500 (0:00:00.108) 0:01:19.514 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:52:58 -0500 (0:00:00.111) 0:01:19.625 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:52:58 -0500 (0:00:00.109) 0:01:19.735 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 11 January 2025 07:52:58 -0500 (0:00:00.438) 0:01:20.173 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 11 January 2025 07:52:59 -0500 (0:00:00.169) 0:01:20.342 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:52:59 -0500 (0:00:00.174) 0:01:20.517 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1736599969.410397, "block_size": 4096, "blocks": 0, "ctime": 1736599969.410397, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36825, "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": 1736599969.410397, "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 11 January 2025 07:52:59 -0500 (0:00:00.394) 0:01:20.912 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 11 January 2025 07:52:59 -0500 (0:00:00.063) 0:01:20.976 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 11 January 2025 07:52:59 -0500 (0:00:00.099) 0:01:21.075 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 11 January 2025 07:52:59 -0500 (0:00:00.093) 0:01:21.168 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 11 January 2025 07:53:00 -0500 (0:00:00.399) 0:01:21.568 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 11 January 2025 07:53:00 -0500 (0:00:00.054) 0:01:21.622 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018258", "end": "2025-01-11 07:53:00.767720", "rc": 1, "start": "2025-01-11 07:53:00.749462" } 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 11 January 2025 07:53:00 -0500 (0:00:00.476) 0:01:22.099 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 11 January 2025 07:53:00 -0500 (0:00:00.073) 0:01:22.172 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 11 January 2025 07:53:00 -0500 (0:00:00.057) 0:01:22.229 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 11 January 2025 07:53:01 -0500 (0:00:00.086) 0:01:22.316 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 11 January 2025 07:53:01 -0500 (0:00:00.089) 0:01:22.406 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 11 January 2025 07:53:01 -0500 (0:00:00.087) 0:01:22.493 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 11 January 2025 07:53:01 -0500 (0:00:00.072) 0:01:22.566 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 11 January 2025 07:53:01 -0500 (0:00:00.060) 0:01:22.627 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 11 January 2025 07:53:01 -0500 (0:00:00.059) 0:01:22.686 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 11 January 2025 07:53:01 -0500 (0:00:00.181) 0:01:22.867 ****** ok: [managed-node2] => { "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.042606", "end": "2025-01-11 07:53:01.980610", "rc": 0, "start": "2025-01-11 07:53:01.938004" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 11 January 2025 07:53:02 -0500 (0:00:00.472) 0:01:23.339 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 11 January 2025 07:53:02 -0500 (0:00:00.140) 0:01:23.479 ****** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 11 January 2025 07:53:02 -0500 (0:00:00.106) 0:01:23.585 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (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-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 11 January 2025 07:53:02 -0500 (0:00:00.232) 0:01:23.818 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:53:02 -0500 (0:00:00.137) 0:01:23.956 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:53:02 -0500 (0:00:00.133) 0:01:24.090 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003182", "end": "2025-01-11 07:53:03.200892", "rc": 0, "start": "2025-01-11 07:53:03.197710" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:53:03 -0500 (0:00:00.452) 0:01:24.543 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:53:03 -0500 (0:00:00.075) 0:01:24.618 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 11 January 2025 07:53:03 -0500 (0:00:00.058) 0:01:24.677 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 11 January 2025 07:53:03 -0500 (0:00:00.090) 0:01:24.768 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:53:03 -0500 (0:00:00.142) 0:01:24.911 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:53:03 -0500 (0:00:00.142) 0:01:25.053 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:53:03 -0500 (0:00:00.123) 0:01:25.177 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:53:04 -0500 (0:00:00.095) 0:01:25.272 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:53:04 -0500 (0:00:00.112) 0:01:25.384 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:53:05 -0500 (0:00:01.684) 0:01:27.069 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:53:07 -0500 (0:00:01.764) 0:01:28.834 ****** ok: [managed-node2] => {} 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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:53:07 -0500 (0:00:00.094) 0:01:28.928 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:53:07 -0500 (0:00:00.087) 0:01:29.015 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:53:07 -0500 (0:00:00.096) 0:01:29.111 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:53:07 -0500 (0:00:00.076) 0:01:29.188 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:53:07 -0500 (0:00:00.069) 0:01:29.257 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:53:08 -0500 (0:00:00.157) 0:01:29.415 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:53:08 -0500 (0:00:00.214) 0:01:29.629 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:53:08 -0500 (0:00:00.220) 0:01:29.849 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:53:08 -0500 (0:00:00.187) 0:01:30.036 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:53:08 -0500 (0:00:00.105) 0:01:30.142 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:53:08 -0500 (0:00:00.084) 0:01:30.227 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:53:09 -0500 (0:00:00.060) 0:01:30.287 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:53:09 -0500 (0:00:00.055) 0:01:30.343 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:53:09 -0500 (0:00:00.681) 0:01:31.024 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-4205940knojnb/tmp1wiw3r3b" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:53:10 -0500 (0:00:00.409) 0:01:31.433 ****** changed: [managed-node2] => { "_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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:53:10 -0500 (0:00:00.474) 0:01:31.908 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:53:10 -0500 (0:00:00.086) 0:01:31.994 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:53:10 -0500 (0:00:00.089) 0:01:32.084 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:53:10 -0500 (0:00:00.099) 0:01:32.183 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:53:11 -0500 (0:00:00.088) 0:01:32.271 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 11 January 2025 07:53:11 -0500 (0:00:00.491) 0:01:32.763 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 11 January 2025 07:53:11 -0500 (0:00:00.095) 0:01:32.858 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:53:11 -0500 (0:00:00.162) 0:01:33.021 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:53:11 -0500 (0:00:00.104) 0:01:33.126 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:53:11 -0500 (0:00:00.070) 0:01:33.196 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:53:11 -0500 (0:00:00.059) 0:01:33.256 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:53:12 -0500 (0:00:00.059) 0:01:33.315 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:53:13 -0500 (0:00:01.669) 0:01:34.985 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:53:15 -0500 (0:00:01.522) 0:01:36.508 ****** ok: [managed-node2] => {} 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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:53:15 -0500 (0:00:00.067) 0:01:36.575 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:53:15 -0500 (0:00:00.059) 0:01:36.635 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:53:15 -0500 (0:00:00.056) 0:01:36.692 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:53:15 -0500 (0:00:00.220) 0:01:36.912 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:53:15 -0500 (0:00:00.107) 0:01:37.020 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:53:15 -0500 (0:00:00.085) 0:01:37.105 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:53:15 -0500 (0:00:00.102) 0:01:37.208 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:53:16 -0500 (0:00:00.146) 0:01:37.354 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:53:16 -0500 (0:00:00.087) 0:01:37.441 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:53:16 -0500 (0:00:00.097) 0:01:37.539 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:53:16 -0500 (0:00:00.121) 0:01:37.661 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:53:16 -0500 (0:00:00.091) 0:01:37.752 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:53:16 -0500 (0:00:00.092) 0:01:37.844 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:53:17 -0500 (0:00:00.626) 0:01:38.470 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-4205940knojnb/tmpfoqyzw1m" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:53:17 -0500 (0:00:00.371) 0:01:38.842 ****** changed: [managed-node2] => { "_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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:53:18 -0500 (0:00:00.694) 0:01:39.537 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:53:18 -0500 (0:00:00.058) 0:01:39.596 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:53:18 -0500 (0:00:00.058) 0:01:39.654 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:53:18 -0500 (0:00:00.061) 0:01:39.715 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:53:18 -0500 (0:00:00.098) 0:01:39.814 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 11 January 2025 07:53:18 -0500 (0:00:00.377) 0:01:40.192 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:53:19 -0500 (0:00:00.098) 0:01:40.291 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:53:19 -0500 (0:00:00.090) 0:01:40.381 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:53:19 -0500 (0:00:00.073) 0:01:40.455 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:53:19 -0500 (0:00:00.082) 0:01:40.538 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:53:19 -0500 (0:00:00.092) 0:01:40.630 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:53:21 -0500 (0:00:01.657) 0:01:42.288 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:53:22 -0500 (0:00:01.466) 0:01:43.754 ****** ok: [managed-node2] => {} 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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:53:22 -0500 (0:00:00.059) 0:01:43.814 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:53:22 -0500 (0:00:00.056) 0:01:43.870 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:53:22 -0500 (0:00:00.154) 0:01:44.025 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:53:22 -0500 (0:00:00.065) 0:01:44.090 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:53:22 -0500 (0:00:00.069) 0:01:44.159 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:53:22 -0500 (0:00:00.058) 0:01:44.218 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:53:23 -0500 (0:00:00.067) 0:01:44.286 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:53:23 -0500 (0:00:00.126) 0:01:44.412 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:53:23 -0500 (0:00:00.091) 0:01:44.504 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:53:23 -0500 (0:00:00.087) 0:01:44.591 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:53:23 -0500 (0:00:00.101) 0:01:44.693 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:53:23 -0500 (0:00:00.093) 0:01:44.787 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:53:23 -0500 (0:00:00.136) 0:01:44.923 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:53:24 -0500 (0:00:00.668) 0:01:45.592 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-4205940knojnb/tmpila4pxh4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:53:24 -0500 (0:00:00.387) 0:01:45.979 ****** changed: [managed-node2] => { "_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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:53:25 -0500 (0:00:00.623) 0:01:46.603 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:53:25 -0500 (0:00:00.094) 0:01:46.697 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:53:25 -0500 (0:00:00.090) 0:01:46.787 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:53:25 -0500 (0:00:00.155) 0:01:46.943 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:53:25 -0500 (0:00:00.084) 0:01:47.028 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 11 January 2025 07:53:26 -0500 (0:00:00.643) 0:01:47.671 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 11 January 2025 07:53:26 -0500 (0:00:00.183) 0:01:47.854 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:53:26 -0500 (0:00:00.151) 0:01:48.006 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:53:26 -0500 (0:00:00.098) 0:01:48.104 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:53:26 -0500 (0:00:00.063) 0:01:48.168 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:53:26 -0500 (0:00:00.071) 0:01:48.240 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:53:27 -0500 (0:00:00.114) 0:01:48.354 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:53:28 -0500 (0:00:01.889) 0:01:50.244 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:53:30 -0500 (0:00:01.786) 0:01:52.031 ****** ok: [managed-node2] => {} 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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:53:30 -0500 (0:00:00.101) 0:01:52.132 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:53:30 -0500 (0:00:00.096) 0:01:52.229 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:53:31 -0500 (0:00:00.072) 0:01:52.301 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:53:31 -0500 (0:00:00.069) 0:01:52.371 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:53:31 -0500 (0:00:00.080) 0:01:52.451 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:53:31 -0500 (0:00:00.075) 0:01:52.527 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:53:31 -0500 (0:00:00.096) 0:01:52.624 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:53:31 -0500 (0:00:00.159) 0:01:52.783 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:53:31 -0500 (0:00:00.109) 0:01:52.892 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:53:31 -0500 (0:00:00.092) 0:01:52.985 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:53:31 -0500 (0:00:00.102) 0:01:53.088 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:53:31 -0500 (0:00:00.090) 0:01:53.178 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:53:31 -0500 (0:00:00.061) 0:01:53.240 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:53:32 -0500 (0:00:00.721) 0:01:53.961 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-4205940knojnb/tmpz7mdlmzp" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:53:33 -0500 (0:00:00.652) 0:01:54.614 ****** ok: [managed-node2] => { "_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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:53:33 -0500 (0:00:00.615) 0:01:55.229 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:53:34 -0500 (0:00:00.056) 0:01:55.286 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:53:34 -0500 (0:00:00.064) 0:01:55.350 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:53:34 -0500 (0:00:00.061) 0:01:55.411 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:53:34 -0500 (0:00:00.071) 0:01:55.483 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 11 January 2025 07:53:34 -0500 (0:00:00.423) 0:01:55.906 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 11 January 2025 07:53:34 -0500 (0:00:00.084) 0:01:55.991 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 11 January 2025 07:53:34 -0500 (0:00:00.111) 0:01:56.103 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 11 January 2025 07:53:34 -0500 (0:00:00.105) 0:01:56.208 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 11 January 2025 07:53:35 -0500 (0:00:00.415) 0:01:56.624 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 11 January 2025 07:53:35 -0500 (0:00:00.079) 0:01:56.703 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018269", "end": "2025-01-11 07:53:35.791531", "rc": 1, "start": "2025-01-11 07:53:35.773262" } 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 11 January 2025 07:53:35 -0500 (0:00:00.420) 0:01:57.123 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 11 January 2025 07:53:35 -0500 (0:00:00.060) 0:01:57.184 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 11 January 2025 07:53:35 -0500 (0:00:00.079) 0:01:57.263 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 11 January 2025 07:53:36 -0500 (0:00:00.169) 0:01:57.433 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 11 January 2025 07:53:36 -0500 (0:00:00.059) 0:01:57.493 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 11 January 2025 07:53:36 -0500 (0:00:00.071) 0:01:57.565 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 11 January 2025 07:53:36 -0500 (0:00:00.114) 0:01:57.679 ****** skipping: [managed-node2] => (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-node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 11 January 2025 07:53:36 -0500 (0:00:00.103) 0:01:57.783 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 11 January 2025 07:53:36 -0500 (0:00:00.097) 0:01:57.880 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 11 January 2025 07:53:36 -0500 (0:00:00.186) 0:01:58.067 ****** ok: [managed-node2] => { "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.043438", "end": "2025-01-11 07:53:37.200262", "rc": 0, "start": "2025-01-11 07:53:37.156824" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 11 January 2025 07:53:37 -0500 (0:00:00.489) 0:01:58.556 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 11 January 2025 07:53:37 -0500 (0:00:00.157) 0:01:58.714 ****** ok: [managed-node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 11 January 2025 07:53:37 -0500 (0:00:00.066) 0:01:58.781 ****** ok: [managed-node2] => (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-node2] => (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-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (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-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 11 January 2025 07:53:37 -0500 (0:00:00.152) 0:01:58.933 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:53:37 -0500 (0:00:00.115) 0:01:59.049 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:53:37 -0500 (0:00:00.165) 0:01:59.214 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003096", "end": "2025-01-11 07:53:38.295166", "rc": 0, "start": "2025-01-11 07:53:38.292070" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:53:38 -0500 (0:00:00.417) 0:01:59.632 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:53:38 -0500 (0:00:00.076) 0:01:59.708 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 11 January 2025 07:53:38 -0500 (0:00:00.072) 0:01:59.780 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 11 January 2025 07:53:38 -0500 (0:00:00.091) 0:01:59.872 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:53:38 -0500 (0:00:00.096) 0:01:59.968 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:53:38 -0500 (0:00:00.102) 0:02:00.071 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:53:38 -0500 (0:00:00.101) 0:02:00.173 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:53:38 -0500 (0:00:00.093) 0:02:00.266 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:53:39 -0500 (0:00:00.093) 0:02:00.360 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:53:40 -0500 (0:00:01.646) 0:02:02.007 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:53:42 -0500 (0:00:01.614) 0:02:03.622 ****** ok: [managed-node2] => {} 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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:53:42 -0500 (0:00:00.060) 0:02:03.682 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:53:42 -0500 (0:00:00.056) 0:02:03.739 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:53:42 -0500 (0:00:00.054) 0:02:03.793 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:53:42 -0500 (0:00:00.073) 0:02:03.867 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:53:42 -0500 (0:00:00.082) 0:02:03.949 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:53:42 -0500 (0:00:00.088) 0:02:04.038 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:53:42 -0500 (0:00:00.106) 0:02:04.144 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:53:43 -0500 (0:00:00.139) 0:02:04.284 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:53:43 -0500 (0:00:00.088) 0:02:04.372 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:53:43 -0500 (0:00:00.086) 0:02:04.459 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:53:43 -0500 (0:00:00.100) 0:02:04.559 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:53:43 -0500 (0:00:00.090) 0:02:04.649 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:53:43 -0500 (0:00:00.086) 0:02:04.735 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:53:44 -0500 (0:00:00.930) 0:02:05.665 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-4205940knojnb/tmp3pnncbsa" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:53:44 -0500 (0:00:00.493) 0:02:06.159 ****** changed: [managed-node2] => { "_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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:53:45 -0500 (0:00:00.743) 0:02:06.903 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:53:45 -0500 (0:00:00.086) 0:02:06.989 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:53:45 -0500 (0:00:00.108) 0:02:07.098 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:53:45 -0500 (0:00:00.072) 0:02:07.170 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:53:45 -0500 (0:00:00.058) 0:02:07.228 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 11 January 2025 07:53:46 -0500 (0:00:00.539) 0:02:07.768 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 11 January 2025 07:53:46 -0500 (0:00:00.141) 0:02:07.909 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:53:46 -0500 (0:00:00.196) 0:02:08.105 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:53:47 -0500 (0:00:00.171) 0:02:08.277 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:53:47 -0500 (0:00:00.079) 0:02:08.357 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:53:47 -0500 (0:00:00.065) 0:02:08.423 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:53:47 -0500 (0:00:00.058) 0:02:08.481 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:53:48 -0500 (0:00:01.612) 0:02:10.094 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:53:50 -0500 (0:00:01.794) 0:02:11.889 ****** ok: [managed-node2] => {} 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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:53:50 -0500 (0:00:00.104) 0:02:11.993 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:53:50 -0500 (0:00:00.094) 0:02:12.088 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:53:50 -0500 (0:00:00.086) 0:02:12.175 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:53:50 -0500 (0:00:00.093) 0:02:12.268 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:53:51 -0500 (0:00:00.110) 0:02:12.379 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:53:51 -0500 (0:00:00.091) 0:02:12.470 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:53:51 -0500 (0:00:00.110) 0:02:12.581 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:53:51 -0500 (0:00:00.112) 0:02:12.694 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:53:51 -0500 (0:00:00.061) 0:02:12.755 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:53:51 -0500 (0:00:00.059) 0:02:12.815 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:53:51 -0500 (0:00:00.067) 0:02:12.882 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:53:51 -0500 (0:00:00.055) 0:02:12.938 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:53:51 -0500 (0:00:00.057) 0:02:12.996 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:53:52 -0500 (0:00:00.710) 0:02:13.706 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-4205940knojnb/tmpbsr32q4u" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:53:52 -0500 (0:00:00.396) 0:02:14.102 ****** changed: [managed-node2] => { "_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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:53:53 -0500 (0:00:00.725) 0:02:14.828 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:53:53 -0500 (0:00:00.068) 0:02:14.897 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:53:53 -0500 (0:00:00.061) 0:02:14.958 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:53:53 -0500 (0:00:00.064) 0:02:15.022 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:53:53 -0500 (0:00:00.056) 0:02:15.079 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 11 January 2025 07:53:54 -0500 (0:00:00.382) 0:02:15.461 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:53:54 -0500 (0:00:00.097) 0:02:15.559 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:53:54 -0500 (0:00:00.090) 0:02:15.649 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:53:54 -0500 (0:00:00.065) 0:02:15.714 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:53:54 -0500 (0:00:00.058) 0:02:15.773 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:53:54 -0500 (0:00:00.064) 0:02:15.838 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:53:56 -0500 (0:00:01.737) 0:02:17.575 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:53:57 -0500 (0:00:01.486) 0:02:19.062 ****** ok: [managed-node2] => {} 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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:53:57 -0500 (0:00:00.098) 0:02:19.160 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:53:57 -0500 (0:00:00.089) 0:02:19.250 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:53:58 -0500 (0:00:00.090) 0:02:19.340 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:53:58 -0500 (0:00:00.091) 0:02:19.432 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:53:58 -0500 (0:00:00.103) 0:02:19.535 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:53:58 -0500 (0:00:00.060) 0:02:19.595 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:53:58 -0500 (0:00:00.077) 0:02:19.673 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:53:58 -0500 (0:00:00.096) 0:02:19.770 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:53:58 -0500 (0:00:00.054) 0:02:19.824 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:53:58 -0500 (0:00:00.058) 0:02:19.882 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:53:58 -0500 (0:00:00.068) 0:02:19.951 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:53:58 -0500 (0:00:00.077) 0:02:20.028 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:53:58 -0500 (0:00:00.226) 0:02:20.254 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:53:59 -0500 (0:00:00.590) 0:02:20.845 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-4205940knojnb/tmptvvetuso" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:53:59 -0500 (0:00:00.391) 0:02:21.236 ****** changed: [managed-node2] => { "_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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:54:00 -0500 (0:00:00.546) 0:02:21.782 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:54:00 -0500 (0:00:00.136) 0:02:21.918 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:54:00 -0500 (0:00:00.147) 0:02:22.066 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:54:00 -0500 (0:00:00.098) 0:02:22.165 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:54:01 -0500 (0:00:00.109) 0:02:22.274 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 11 January 2025 07:54:01 -0500 (0:00:00.500) 0:02:22.775 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 11 January 2025 07:54:01 -0500 (0:00:00.137) 0:02:22.912 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:54:01 -0500 (0:00:00.133) 0:02:23.045 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:54:01 -0500 (0:00:00.144) 0:02:23.189 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:54:02 -0500 (0:00:00.202) 0:02:23.392 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:54:02 -0500 (0:00:00.070) 0:02:23.462 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:54:02 -0500 (0:00:00.092) 0:02:23.554 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:54:04 -0500 (0:00:01.800) 0:02:25.354 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:54:05 -0500 (0:00:01.565) 0:02:26.920 ****** ok: [managed-node2] => {} 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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:54:05 -0500 (0:00:00.093) 0:02:27.013 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:54:05 -0500 (0:00:00.084) 0:02:27.098 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:54:05 -0500 (0:00:00.064) 0:02:27.163 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:54:05 -0500 (0:00:00.068) 0:02:27.231 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:54:06 -0500 (0:00:00.070) 0:02:27.302 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:54:06 -0500 (0:00:00.056) 0:02:27.358 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:54:06 -0500 (0:00:00.080) 0:02:27.439 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:54:06 -0500 (0:00:00.150) 0:02:27.590 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:54:06 -0500 (0:00:00.092) 0:02:27.682 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:54:06 -0500 (0:00:00.253) 0:02:27.936 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:54:06 -0500 (0:00:00.118) 0:02:28.055 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:54:06 -0500 (0:00:00.101) 0:02:28.156 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:54:06 -0500 (0:00:00.099) 0:02:28.256 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:54:07 -0500 (0:00:00.652) 0:02:28.909 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-4205940knojnb/tmpz85v87ub" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:54:08 -0500 (0:00:00.429) 0:02:29.338 ****** ok: [managed-node2] => { "_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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:54:08 -0500 (0:00:00.531) 0:02:29.869 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:54:08 -0500 (0:00:00.073) 0:02:29.943 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:54:08 -0500 (0:00:00.059) 0:02:30.002 ****** ok: [managed-node2] => { "__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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:54:08 -0500 (0:00:00.063) 0:02:30.066 ****** skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:54:08 -0500 (0:00:00.057) 0:02:30.124 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 11 January 2025 07:54:09 -0500 (0:00:00.390) 0:02:30.514 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 11 January 2025 07:54:09 -0500 (0:00:00.112) 0:02:30.627 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 11 January 2025 07:54:09 -0500 (0:00:00.129) 0:02:30.756 ****** ok: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 11 January 2025 07:54:09 -0500 (0:00:00.076) 0:02:30.832 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 11 January 2025 07:54:10 -0500 (0:00:00.496) 0:02:31.328 ****** skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 11 January 2025 07:54:10 -0500 (0:00:00.107) 0:02:31.436 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018344", "end": "2025-01-11 07:54:10.540959", "rc": 1, "start": "2025-01-11 07:54:10.522615" } 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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 11 January 2025 07:54:10 -0500 (0:00:00.436) 0:02:31.872 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 11 January 2025 07:54:10 -0500 (0:00:00.078) 0:02:31.950 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 11 January 2025 07:54:10 -0500 (0:00:00.090) 0:02:32.041 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 11 January 2025 07:54:10 -0500 (0:00:00.092) 0:02:32.133 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 11 January 2025 07:54:10 -0500 (0:00:00.093) 0:02:32.226 ****** skipping: [managed-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 11 January 2025 07:54:11 -0500 (0:00:00.092) 0:02:32.319 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 11 January 2025 07:54:11 -0500 (0:00:00.092) 0:02:32.412 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.883380", "end": "2025-01-11 07:54:12.385827", "rc": 0, "start": "2025-01-11 07:54:11.502447" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 11 January 2025 07:54:12 -0500 (0:00:01.321) 0:02:33.733 ****** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 11 January 2025 07:54:12 -0500 (0:00:00.091) 0:02:33.825 ****** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 11 January 2025 07:54:12 -0500 (0:00:00.065) 0:02:33.891 ****** skipping: [managed-node2] => (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-node2] => { "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-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 11 January 2025 07:54:12 -0500 (0:00:00.091) 0:02:33.982 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 11 January 2025 07:54:12 -0500 (0:00:00.061) 0:02:34.044 ****** included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 11 January 2025 07:54:12 -0500 (0:00:00.140) 0:02:34.185 ****** ok: [managed-node2] => { "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.045486", "end": "2025-01-11 07:54:13.264032", "rc": 0, "start": "2025-01-11 07:54:13.218546" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 11 January 2025 07:54:13 -0500 (0:00:00.443) 0:02:34.629 ****** ok: [managed-node2] => { "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.008261", "end": "2025-01-11 07:54:13.722270", "rc": 0, "start": "2025-01-11 07:54:13.714009" } 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 02:8b:af:97:ef:8b brd ff:ff:ff:ff:ff:ff inet 10.31.46.203/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2688sec preferred_lft 2688sec inet6 fe80::8b:afff:fe97:ef8b/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.203 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.203 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 11 January 2025 07:54:13 -0500 (0:00:00.498) 0:02:35.127 ****** ok: [managed-node2] => { "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.234178", "end": "2025-01-11 07:54:14.566200", "rc": 0, "start": "2025-01-11 07:54:14.332022" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 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.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 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 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1580 0 --:--:-- --:--:-- --:--:-- 1580 % 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 15315 0 --:--:-- --:--:-- --:--:-- 15315 PLAY RECAP ********************************************************************* managed-node2 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 TASKS RECAP ******************************************************************** Saturday 11 January 2025 07:54:14 -0500 (0:00:00.752) 0:02:35.880 ****** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.90s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.89s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.79s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.79s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.76s /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/collections-8SA/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-8SA/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-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-8SA/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-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.69s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.68s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.67s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-8SA/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21