ansible-playbook [core 2.16.12] 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-ddL executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Wednesday 23 October 2024 14:14:44 -0400 (0:00:00.011) 0:00:00.011 ***** ok: [managed-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Wednesday 23 October 2024 14:14:45 -0400 (0:00:01.303) 0:00:01.315 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node1 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Wednesday 23 October 2024 14:14:45 -0400 (0:00:00.040) 0:00:01.356 ***** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Wednesday 23 October 2024 14:14:45 -0400 (0:00:00.520) 0:00:01.877 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Wednesday 23 October 2024 14:14:46 -0400 (0:00:00.470) 0:00:02.347 ***** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Wednesday 23 October 2024 14:14:46 -0400 (0:00:00.024) 0:00:02.371 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Wednesday 23 October 2024 14:14:46 -0400 (0:00:00.016) 0:00:02.388 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Wednesday 23 October 2024 14:14:46 -0400 (0:00:00.046) 0:00:02.434 ***** ok: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Wednesday 23 October 2024 14:14:46 -0400 (0:00:00.463) 0:00:02.898 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Wednesday 23 October 2024 14:14:46 -0400 (0:00:00.016) 0:00:02.914 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Wednesday 23 October 2024 14:14:46 -0400 (0:00:00.015) 0:00:02.929 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.264702", "end": "2024-10-23 14:14:47.505352", "rc": 0, "start": "2024-10-23 14:14:47.240650" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Wednesday 23 October 2024 14:14:47 -0400 (0:00:00.629) 0:00:03.559 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Wednesday 23 October 2024 14:14:47 -0400 (0:00:00.022) 0:00:03.581 ***** ok: [managed-node1] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Wednesday 23 October 2024 14:14:47 -0400 (0:00:00.043) 0:00:03.625 ***** ok: [managed-node1] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Wednesday 23 October 2024 14:14:48 -0400 (0:00:00.885) 0:00:04.511 ***** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Wednesday 23 October 2024 14:14:48 -0400 (0:00:00.048) 0:00:04.559 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 23 October 2024 14:14:48 -0400 (0:00:00.060) 0:00:04.620 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 23 October 2024 14:14:48 -0400 (0:00:00.040) 0:00:04.661 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 23 October 2024 14:14:48 -0400 (0:00:00.096) 0:00:04.757 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:14:48 -0400 (0:00:00.052) 0:00:04.810 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:14:48 -0400 (0:00:00.051) 0:00:04.862 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003421", "end": "2024-10-23 14:14:49.217109", "rc": 0, "start": "2024-10-23 14:14:49.213688" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:14:49 -0400 (0:00:00.415) 0:00:05.277 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:14:49 -0400 (0:00:00.058) 0:00:05.336 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 23 October 2024 14:14:49 -0400 (0:00:00.067) 0:00:05.403 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 23 October 2024 14:14:49 -0400 (0:00:00.064) 0:00:05.468 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008345", "end": "2024-10-23 14:14:49.863673", "rc": 1, "start": "2024-10-23 14:14:49.855328" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 23 October 2024 14:14:49 -0400 (0:00:00.439) 0:00:05.908 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:14:49 -0400 (0:00:00.043) 0:00:05.952 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 23 October 2024 14:14:50 -0400 (0:00:00.406) 0:00:06.358 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 23 October 2024 14:14:50 -0400 (0:00:00.060) 0:00:06.418 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 23 October 2024 14:14:50 -0400 (0:00:00.086) 0:00:06.504 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:14:50 -0400 (0:00:00.118) 0:00:06.623 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:14:50 -0400 (0:00:00.081) 0:00:06.705 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:14:50 -0400 (0:00:00.068) 0:00:06.773 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:14:50 -0400 (0:00:00.111) 0:00:06.885 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:14:50 -0400 (0:00:00.075) 0:00:06.961 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:14:52 -0400 (0:00:01.960) 0:00:08.921 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:14:54 -0400 (0:00:01.848) 0:00:10.769 ***** ok: [managed-node1] => {} 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:14:54 -0400 (0:00:00.061) 0:00:10.831 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:14:54 -0400 (0:00:00.073) 0:00:10.904 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:14:54 -0400 (0:00:00.076) 0:00:10.981 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:14:55 -0400 (0:00:00.084) 0:00:11.065 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:14:55 -0400 (0:00:00.105) 0:00:11.171 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:14:55 -0400 (0:00:00.083) 0:00:11.254 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:14:55 -0400 (0:00:00.103) 0:00:11.358 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:14:55 -0400 (0:00:00.454) 0:00:11.812 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:14:55 -0400 (0:00:00.094) 0:00:11.907 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:14:56 -0400 (0:00:00.112) 0:00:12.019 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:14:56 -0400 (0:00:00.123) 0:00:12.143 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:14:56 -0400 (0:00:00.130) 0:00:12.273 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:14:56 -0400 (0:00:00.161) 0:00:12.435 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:14:57 -0400 (0:00:01.258) 0:00:13.694 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42076h5w4_u3j/tmpjtcw1wao" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:14:58 -0400 (0:00:00.573) 0:00:14.268 ***** changed: [managed-node1] => { "_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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:14:59 -0400 (0:00:00.832) 0:00:15.100 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:14:59 -0400 (0:00:00.099) 0:00:15.200 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:14:59 -0400 (0:00:00.089) 0:00:15.290 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:14:59 -0400 (0:00:00.095) 0:00:15.385 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:14:59 -0400 (0:00:00.070) 0:00:15.455 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 23 October 2024 14:15:00 -0400 (0:00:00.625) 0:00:16.081 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 23 October 2024 14:15:00 -0400 (0:00:00.094) 0:00:16.175 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 23 October 2024 14:15:00 -0400 (0:00:00.155) 0:00:16.331 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 23 October 2024 14:15:00 -0400 (0:00:00.092) 0:00:16.423 ***** ok: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 23 October 2024 14:15:00 -0400 (0:00:00.065) 0:00:16.489 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729707298.9945903, "block_size": 4096, "blocks": 8, "ctime": 1729707298.9955902, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1729707298.9955902, "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 23 October 2024 14:15:00 -0400 (0:00:00.485) 0:00:16.974 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 23 October 2024 14:15:01 -0400 (0:00:00.093) 0:00:17.067 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018837", "end": "2024-10-23 14:15:01.447130", "rc": 1, "start": "2024-10-23 14:15:01.428293" } 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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 23 October 2024 14:15:01 -0400 (0:00:00.458) 0:00:17.525 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 23 October 2024 14:15:01 -0400 (0:00:00.069) 0:00:17.594 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004271", "end": "2024-10-23 14:15:02.958642", "rc": 0, "start": "2024-10-23 14:15:01.954371" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 23 October 2024 14:15:03 -0400 (0:00:01.448) 0:00:19.043 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 23 October 2024 14:15:03 -0400 (0:00:00.121) 0:00:19.164 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004854", "end": "2024-10-23 14:15:04.539566", "rc": 0, "start": "2024-10-23 14:15:03.534712" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 23 October 2024 14:15:04 -0400 (0:00:01.446) 0:00:20.611 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 23 October 2024 14:15:04 -0400 (0:00:00.100) 0:00:20.712 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 23 October 2024 14:15:04 -0400 (0:00:00.096) 0:00:20.808 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 23 October 2024 14:15:04 -0400 (0:00:00.094) 0:00:20.903 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 23 October 2024 14:15:05 -0400 (0:00:00.090) 0:00:20.994 ***** skipping: [managed-node1] => (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-node1] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 23 October 2024 14:15:05 -0400 (0:00:00.095) 0:00:21.089 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 23 October 2024 14:15:05 -0400 (0:00:00.148) 0:00:21.237 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 23 October 2024 14:15:05 -0400 (0:00:00.148) 0:00:21.386 ***** fatal: [managed-node1]: 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.038067", "end": "2024-10-23 14:15:05.803089", "rc": 1, "start": "2024-10-23 14:15:05.765022" } 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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Wednesday 23 October 2024 14:15:05 -0400 (0:00:00.500) 0:00:21.886 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 23 October 2024 14:15:06 -0400 (0:00:00.128) 0:00:22.014 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 23 October 2024 14:15:06 -0400 (0:00:00.089) 0:00:22.104 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 23 October 2024 14:15:06 -0400 (0:00:00.163) 0:00:22.268 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:15:06 -0400 (0:00:00.131) 0:00:22.399 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:15:06 -0400 (0:00:00.098) 0:00:22.497 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003335", "end": "2024-10-23 14:15:06.843090", "rc": 0, "start": "2024-10-23 14:15:06.839755" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:15:06 -0400 (0:00:00.412) 0:00:22.910 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:15:07 -0400 (0:00:00.144) 0:00:23.055 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 23 October 2024 14:15:07 -0400 (0:00:00.116) 0:00:23.172 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 23 October 2024 14:15:07 -0400 (0:00:00.147) 0:00:23.319 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006474", "end": "2024-10-23 14:15:07.753879", "rc": 1, "start": "2024-10-23 14:15:07.747405" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 23 October 2024 14:15:07 -0400 (0:00:00.538) 0:00:23.857 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:15:07 -0400 (0:00:00.108) 0:00:23.966 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 23 October 2024 14:15:08 -0400 (0:00:00.433) 0:00:24.399 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 23 October 2024 14:15:08 -0400 (0:00:00.071) 0:00:24.470 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node1 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 23 October 2024 14:15:08 -0400 (0:00:00.120) 0:00:24.591 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:15:08 -0400 (0:00:00.210) 0:00:24.801 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:15:08 -0400 (0:00:00.169) 0:00:24.970 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:15:09 -0400 (0:00:00.102) 0:00:25.073 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:15:09 -0400 (0:00:00.093) 0:00:25.166 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:15:09 -0400 (0:00:00.108) 0:00:25.275 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:15:11 -0400 (0:00:01.858) 0:00:27.134 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:15:12 -0400 (0:00:01.619) 0:00:28.753 ***** ok: [managed-node1] => {} 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:15:12 -0400 (0:00:00.063) 0:00:28.816 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:15:12 -0400 (0:00:00.063) 0:00:28.880 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:15:12 -0400 (0:00:00.087) 0:00:28.968 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:15:13 -0400 (0:00:00.088) 0:00:29.057 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:15:13 -0400 (0:00:00.093) 0:00:29.150 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:15:13 -0400 (0:00:00.068) 0:00:29.218 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:15:13 -0400 (0:00:00.079) 0:00:29.297 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:15:13 -0400 (0:00:00.099) 0:00:29.397 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:15:13 -0400 (0:00:00.062) 0:00:29.460 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:15:13 -0400 (0:00:00.123) 0:00:29.583 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:15:13 -0400 (0:00:00.138) 0:00:29.722 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:15:13 -0400 (0:00:00.090) 0:00:29.812 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:15:13 -0400 (0:00:00.078) 0:00:29.891 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:15:14 -0400 (0:00:00.615) 0:00:30.506 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42076h5w4_u3j/tmphlckts61" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:15:15 -0400 (0:00:00.558) 0:00:31.065 ***** changed: [managed-node1] => { "_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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:15:15 -0400 (0:00:00.593) 0:00:31.658 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:15:15 -0400 (0:00:00.092) 0:00:31.751 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:15:15 -0400 (0:00:00.118) 0:00:31.869 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:15:15 -0400 (0:00:00.093) 0:00:31.962 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:15:16 -0400 (0:00:00.085) 0:00:32.048 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 23 October 2024 14:15:16 -0400 (0:00:00.451) 0:00:32.499 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 23 October 2024 14:15:16 -0400 (0:00:00.062) 0:00:32.561 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 23 October 2024 14:15:16 -0400 (0:00:00.128) 0:00:32.690 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:15:16 -0400 (0:00:00.129) 0:00:32.819 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Wednesday 23 October 2024 14:15:17 -0400 (0:00:00.444) 0:00:33.263 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 23 October 2024 14:15:17 -0400 (0:00:00.061) 0:00:33.325 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 23 October 2024 14:15:17 -0400 (0:00:00.129) 0:00:33.455 ***** ok: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 23 October 2024 14:15:17 -0400 (0:00:00.060) 0:00:33.516 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729707315.5717695, "block_size": 4096, "blocks": 8, "ctime": 1729707315.5717695, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301825, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1729707315.5717695, "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 23 October 2024 14:15:17 -0400 (0:00:00.446) 0:00:33.962 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 23 October 2024 14:15:18 -0400 (0:00:00.063) 0:00:34.025 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018960", "end": "2024-10-23 14:15:18.422402", "rc": 1, "start": "2024-10-23 14:15:18.403442" } 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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 23 October 2024 14:15:18 -0400 (0:00:00.494) 0:00:34.520 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 23 October 2024 14:15:18 -0400 (0:00:00.114) 0:00:34.635 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003348", "end": "2024-10-23 14:15:19.023725", "rc": 0, "start": "2024-10-23 14:15:19.020377" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 23 October 2024 14:15:19 -0400 (0:00:00.474) 0:00:35.109 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 23 October 2024 14:15:19 -0400 (0:00:00.094) 0:00:35.204 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003202", "end": "2024-10-23 14:15:19.597906", "rc": 0, "start": "2024-10-23 14:15:19.594704" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 23 October 2024 14:15:19 -0400 (0:00:00.473) 0:00:35.678 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 23 October 2024 14:15:19 -0400 (0:00:00.075) 0:00:35.754 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 23 October 2024 14:15:19 -0400 (0:00:00.070) 0:00:35.825 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 23 October 2024 14:15:19 -0400 (0:00:00.083) 0:00:35.908 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 23 October 2024 14:15:20 -0400 (0:00:00.108) 0:00:36.017 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 23 October 2024 14:15:20 -0400 (0:00:00.150) 0:00:36.168 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 23 October 2024 14:15:20 -0400 (0:00:00.149) 0:00:36.317 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 23 October 2024 14:15:20 -0400 (0:00:00.115) 0:00:36.432 ***** fatal: [managed-node1]: 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.037072", "end": "2024-10-23 14:15:20.858393", "rc": 1, "start": "2024-10-23 14:15:20.821321" } 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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Wednesday 23 October 2024 14:15:21 -0400 (0:00:00.700) 0:00:37.133 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 23 October 2024 14:15:21 -0400 (0:00:00.159) 0:00:37.292 ***** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 23 October 2024 14:15:21 -0400 (0:00:00.103) 0:00:37.395 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 23 October 2024 14:15:21 -0400 (0:00:00.131) 0:00:37.527 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:15:21 -0400 (0:00:00.095) 0:00:37.623 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:15:21 -0400 (0:00:00.096) 0:00:37.719 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003420", "end": "2024-10-23 14:15:22.230279", "rc": 0, "start": "2024-10-23 14:15:22.226859" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:15:22 -0400 (0:00:00.575) 0:00:38.295 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:15:22 -0400 (0:00:00.066) 0:00:38.361 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 23 October 2024 14:15:22 -0400 (0:00:00.083) 0:00:38.445 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 23 October 2024 14:15:22 -0400 (0:00:00.107) 0:00:38.553 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:15:22 -0400 (0:00:00.112) 0:00:38.665 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:15:22 -0400 (0:00:00.230) 0:00:38.895 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:15:23 -0400 (0:00:00.100) 0:00:38.996 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:15:23 -0400 (0:00:00.101) 0:00:39.097 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:15:23 -0400 (0:00:00.152) 0:00:39.250 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:15:25 -0400 (0:00:01.942) 0:00:41.192 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:15:26 -0400 (0:00:01.624) 0:00:42.817 ***** ok: [managed-node1] => {} 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:15:26 -0400 (0:00:00.093) 0:00:42.910 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:15:26 -0400 (0:00:00.074) 0:00:42.985 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:15:27 -0400 (0:00:00.068) 0:00:43.054 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:15:27 -0400 (0:00:00.058) 0:00:43.112 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:15:27 -0400 (0:00:00.073) 0:00:43.186 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:15:27 -0400 (0:00:00.070) 0:00:43.256 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:15:27 -0400 (0:00:00.108) 0:00:43.365 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:15:27 -0400 (0:00:00.408) 0:00:43.773 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:15:27 -0400 (0:00:00.097) 0:00:43.871 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:15:27 -0400 (0:00:00.116) 0:00:43.987 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:15:28 -0400 (0:00:00.107) 0:00:44.095 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:15:28 -0400 (0:00:00.092) 0:00:44.187 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:15:28 -0400 (0:00:00.129) 0:00:44.317 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:15:29 -0400 (0:00:00.723) 0:00:45.040 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42076h5w4_u3j/tmpy7mbq4mv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:15:29 -0400 (0:00:00.424) 0:00:45.465 ***** changed: [managed-node1] => { "_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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:15:30 -0400 (0:00:00.566) 0:00:46.032 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:15:30 -0400 (0:00:00.075) 0:00:46.107 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:15:30 -0400 (0:00:00.096) 0:00:46.203 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:15:30 -0400 (0:00:00.071) 0:00:46.275 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:15:30 -0400 (0:00:00.093) 0:00:46.368 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 23 October 2024 14:15:30 -0400 (0:00:00.490) 0:00:46.859 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 23 October 2024 14:15:30 -0400 (0:00:00.092) 0:00:46.951 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 23 October 2024 14:15:31 -0400 (0:00:00.215) 0:00:47.167 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:15:31 -0400 (0:00:00.153) 0:00:47.321 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:15:31 -0400 (0:00:00.100) 0:00:47.421 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:15:31 -0400 (0:00:00.086) 0:00:47.508 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:15:31 -0400 (0:00:00.095) 0:00:47.604 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:15:31 -0400 (0:00:00.121) 0:00:47.725 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:15:33 -0400 (0:00:01.929) 0:00:49.655 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:15:35 -0400 (0:00:01.564) 0:00:51.219 ***** ok: [managed-node1] => {} 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:15:35 -0400 (0:00:00.078) 0:00:51.297 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:15:35 -0400 (0:00:00.102) 0:00:51.400 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:15:35 -0400 (0:00:00.136) 0:00:51.537 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:15:35 -0400 (0:00:00.381) 0:00:51.919 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.128) 0:00:52.047 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.087) 0:00:52.135 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.106) 0:00:52.241 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.147) 0:00:52.389 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.087) 0:00:52.476 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.094) 0:00:52.571 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.105) 0:00:52.676 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.098) 0:00:52.774 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:15:36 -0400 (0:00:00.072) 0:00:52.847 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:15:37 -0400 (0:00:00.674) 0:00:53.522 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42076h5w4_u3j/tmpvzv2m_a1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:15:38 -0400 (0:00:00.737) 0:00:54.259 ***** changed: [managed-node1] => { "_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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:15:39 -0400 (0:00:00.911) 0:00:55.170 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:15:39 -0400 (0:00:00.077) 0:00:55.248 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:15:39 -0400 (0:00:00.100) 0:00:55.348 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:15:39 -0400 (0:00:00.085) 0:00:55.434 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:15:39 -0400 (0:00:00.109) 0:00:55.544 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 23 October 2024 14:15:40 -0400 (0:00:00.512) 0:00:56.056 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node1 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 23 October 2024 14:15:40 -0400 (0:00:00.142) 0:00:56.199 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:15:40 -0400 (0:00:00.125) 0:00:56.324 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729707338.989925, "block_size": 4096, "blocks": 0, "ctime": 1729707338.989925, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33275, "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": 1729707338.989925, "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 23 October 2024 14:15:40 -0400 (0:00:00.433) 0:00:56.757 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 23 October 2024 14:15:40 -0400 (0:00:00.066) 0:00:56.823 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 23 October 2024 14:15:40 -0400 (0:00:00.091) 0:00:56.915 ***** ok: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 23 October 2024 14:15:40 -0400 (0:00:00.073) 0:00:56.989 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729707338.8290207, "block_size": 4096, "blocks": 8, "ctime": 1729707329.9569247, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1729707329.9569247, "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 23 October 2024 14:15:41 -0400 (0:00:00.555) 0:00:57.544 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 23 October 2024 14:15:41 -0400 (0:00:00.107) 0:00:57.652 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019255", "end": "2024-10-23 14:15:42.128838", "rc": 1, "start": "2024-10-23 14:15:42.109583" } 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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 23 October 2024 14:15:42 -0400 (0:00:00.598) 0:00:58.251 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 23 October 2024 14:15:42 -0400 (0:00:00.109) 0:00:58.360 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003255", "end": "2024-10-23 14:15:42.789350", "rc": 0, "start": "2024-10-23 14:15:42.786095" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 23 October 2024 14:15:42 -0400 (0:00:00.497) 0:00:58.857 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 23 October 2024 14:15:43 -0400 (0:00:00.288) 0:00:59.146 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003566", "end": "2024-10-23 14:15:43.778325", "rc": 0, "start": "2024-10-23 14:15:43.774759" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 23 October 2024 14:15:43 -0400 (0:00:00.702) 0:00:59.848 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Wednesday 23 October 2024 14:15:43 -0400 (0:00:00.067) 0:00:59.916 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Wednesday 23 October 2024 14:15:43 -0400 (0:00:00.075) 0:00:59.991 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Wednesday 23 October 2024 14:15:44 -0400 (0:00:00.095) 0:01:00.086 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 23 October 2024 14:15:44 -0400 (0:00:00.092) 0:01:00.178 ***** skipping: [managed-node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 23 October 2024 14:15:44 -0400 (0:00:00.091) 0:01:00.270 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 23 October 2024 14:15:44 -0400 (0:00:00.090) 0:01:00.361 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 23 October 2024 14:15:44 -0400 (0:00:00.107) 0:01:00.468 ***** ok: [managed-node1] => { "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.047828", "end": "2024-10-23 14:15:44.851096", "rc": 0, "start": "2024-10-23 14:15:44.803268" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Wednesday 23 October 2024 14:15:44 -0400 (0:00:00.455) 0:01:00.924 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 23 October 2024 14:15:45 -0400 (0:00:00.090) 0:01:01.014 ***** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 23 October 2024 14:15:45 -0400 (0:00:00.062) 0:01:01.077 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node1] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 23 October 2024 14:15:45 -0400 (0:00:00.139) 0:01:01.216 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:15:45 -0400 (0:00:00.208) 0:01:01.425 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:15:45 -0400 (0:00:00.144) 0:01:01.570 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003206", "end": "2024-10-23 14:15:45.971562", "rc": 0, "start": "2024-10-23 14:15:45.968356" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:15:46 -0400 (0:00:00.468) 0:01:02.039 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:15:46 -0400 (0:00:00.062) 0:01:02.101 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 23 October 2024 14:15:46 -0400 (0:00:00.066) 0:01:02.168 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 23 October 2024 14:15:46 -0400 (0:00:00.095) 0:01:02.264 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:15:46 -0400 (0:00:00.107) 0:01:02.371 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:15:46 -0400 (0:00:00.100) 0:01:02.472 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:15:46 -0400 (0:00:00.077) 0:01:02.550 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:15:46 -0400 (0:00:00.064) 0:01:02.614 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:15:46 -0400 (0:00:00.063) 0:01:02.677 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:15:48 -0400 (0:00:01.806) 0:01:04.484 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:15:50 -0400 (0:00:01.745) 0:01:06.230 ***** ok: [managed-node1] => {} 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:15:50 -0400 (0:00:00.066) 0:01:06.296 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:15:50 -0400 (0:00:00.064) 0:01:06.360 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:15:50 -0400 (0:00:00.063) 0:01:06.424 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:15:50 -0400 (0:00:00.091) 0:01:06.515 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:15:50 -0400 (0:00:00.152) 0:01:06.667 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:15:50 -0400 (0:00:00.123) 0:01:06.790 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:15:50 -0400 (0:00:00.113) 0:01:06.904 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:15:51 -0400 (0:00:00.152) 0:01:07.056 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:15:51 -0400 (0:00:00.087) 0:01:07.144 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:15:51 -0400 (0:00:00.070) 0:01:07.214 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:15:51 -0400 (0:00:00.085) 0:01:07.300 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:15:51 -0400 (0:00:00.082) 0:01:07.382 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:15:51 -0400 (0:00:00.091) 0:01:07.473 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:15:52 -0400 (0:00:01.032) 0:01:08.506 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42076h5w4_u3j/tmpx6vb46oz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:15:52 -0400 (0:00:00.455) 0:01:08.961 ***** changed: [managed-node1] => { "_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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:15:53 -0400 (0:00:00.557) 0:01:09.518 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:15:53 -0400 (0:00:00.068) 0:01:09.587 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:15:53 -0400 (0:00:00.095) 0:01:09.683 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:15:53 -0400 (0:00:00.104) 0:01:09.787 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:15:53 -0400 (0:00:00.082) 0:01:09.870 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 23 October 2024 14:15:54 -0400 (0:00:00.467) 0:01:10.337 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 23 October 2024 14:15:54 -0400 (0:00:00.097) 0:01:10.434 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:15:54 -0400 (0:00:00.158) 0:01:10.593 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:15:54 -0400 (0:00:00.155) 0:01:10.749 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:15:54 -0400 (0:00:00.100) 0:01:10.850 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:15:54 -0400 (0:00:00.097) 0:01:10.947 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:15:55 -0400 (0:00:00.149) 0:01:11.096 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:15:56 -0400 (0:00:01.835) 0:01:12.932 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:15:58 -0400 (0:00:01.633) 0:01:14.566 ***** ok: [managed-node1] => {} 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:15:58 -0400 (0:00:00.097) 0:01:14.663 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:15:58 -0400 (0:00:00.078) 0:01:14.742 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:15:58 -0400 (0:00:00.071) 0:01:14.813 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:15:58 -0400 (0:00:00.065) 0:01:14.878 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:15:58 -0400 (0:00:00.108) 0:01:14.987 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.089) 0:01:15.077 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.107) 0:01:15.184 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.152) 0:01:15.337 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.089) 0:01:15.427 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.087) 0:01:15.514 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.106) 0:01:15.620 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.139) 0:01:15.760 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:15:59 -0400 (0:00:00.069) 0:01:15.830 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:16:00 -0400 (0:00:00.635) 0:01:16.465 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42076h5w4_u3j/tmp5v0tlsh6" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:16:00 -0400 (0:00:00.461) 0:01:16.927 ***** changed: [managed-node1] => { "_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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:16:01 -0400 (0:00:00.824) 0:01:17.752 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:16:01 -0400 (0:00:00.089) 0:01:17.841 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:16:01 -0400 (0:00:00.071) 0:01:17.912 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:16:01 -0400 (0:00:00.073) 0:01:17.986 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:16:02 -0400 (0:00:00.064) 0:01:18.051 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 23 October 2024 14:16:02 -0400 (0:00:00.454) 0:01:18.505 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 23 October 2024 14:16:02 -0400 (0:00:00.114) 0:01:18.620 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:16:02 -0400 (0:00:00.118) 0:01:18.738 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:16:02 -0400 (0:00:00.196) 0:01:18.935 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:16:03 -0400 (0:00:00.189) 0:01:19.124 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:16:03 -0400 (0:00:00.110) 0:01:19.235 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:16:03 -0400 (0:00:00.190) 0:01:19.425 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:16:05 -0400 (0:00:02.214) 0:01:21.639 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:16:07 -0400 (0:00:01.672) 0:01:23.312 ***** ok: [managed-node1] => {} 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:16:07 -0400 (0:00:00.150) 0:01:23.462 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:16:07 -0400 (0:00:00.165) 0:01:23.628 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:16:07 -0400 (0:00:00.163) 0:01:23.791 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:16:07 -0400 (0:00:00.095) 0:01:23.887 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.111) 0:01:23.999 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.101) 0:01:24.100 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.109) 0:01:24.210 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.149) 0:01:24.359 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.208) 0:01:24.568 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.139) 0:01:24.708 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.091) 0:01:24.799 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.090) 0:01:24.890 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:16:08 -0400 (0:00:00.064) 0:01:24.954 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:16:09 -0400 (0:00:00.632) 0:01:25.587 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42076h5w4_u3j/tmpwz5_gvi4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:16:10 -0400 (0:00:00.448) 0:01:26.035 ***** changed: [managed-node1] => { "_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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:16:10 -0400 (0:00:00.627) 0:01:26.662 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:16:10 -0400 (0:00:00.098) 0:01:26.761 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:16:10 -0400 (0:00:00.125) 0:01:26.887 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:16:11 -0400 (0:00:00.163) 0:01:27.051 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:16:11 -0400 (0:00:00.167) 0:01:27.218 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 23 October 2024 14:16:11 -0400 (0:00:00.619) 0:01:27.838 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item=tasks/assert_device_present.yml) included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 23 October 2024 14:16:12 -0400 (0:00:00.242) 0:01:28.080 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node1 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 23 October 2024 14:16:12 -0400 (0:00:00.164) 0:01:28.245 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1729707361.579448, "block_size": 4096, "blocks": 0, "ctime": 1729707361.579448, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33406, "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": 1729707361.579448, "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Wednesday 23 October 2024 14:16:12 -0400 (0:00:00.411) 0:01:28.657 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 23 October 2024 14:16:12 -0400 (0:00:00.073) 0:01:28.730 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 23 October 2024 14:16:12 -0400 (0:00:00.106) 0:01:28.837 ***** ok: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 23 October 2024 14:16:12 -0400 (0:00:00.119) 0:01:28.956 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 23 October 2024 14:16:13 -0400 (0:00:00.488) 0:01:29.444 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 23 October 2024 14:16:13 -0400 (0:00:00.097) 0:01:29.541 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018950", "end": "2024-10-23 14:16:13.984085", "rc": 1, "start": "2024-10-23 14:16:13.965135" } 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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 23 October 2024 14:16:14 -0400 (0:00:00.505) 0:01:30.047 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 23 October 2024 14:16:14 -0400 (0:00:00.088) 0:01:30.136 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 23 October 2024 14:16:14 -0400 (0:00:00.131) 0:01:30.267 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 23 October 2024 14:16:14 -0400 (0:00:00.102) 0:01:30.369 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 23 October 2024 14:16:14 -0400 (0:00:00.135) 0:01:30.505 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 23 October 2024 14:16:14 -0400 (0:00:00.123) 0:01:30.628 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 23 October 2024 14:16:14 -0400 (0:00:00.106) 0:01:30.735 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 23 October 2024 14:16:14 -0400 (0:00:00.108) 0:01:30.843 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 23 October 2024 14:16:15 -0400 (0:00:00.168) 0:01:31.011 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 23 October 2024 14:16:15 -0400 (0:00:00.106) 0:01:31.117 ***** ok: [managed-node1] => { "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.043864", "end": "2024-10-23 14:16:15.501206", "rc": 0, "start": "2024-10-23 14:16:15.457342" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Wednesday 23 October 2024 14:16:15 -0400 (0:00:00.468) 0:01:31.586 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 23 October 2024 14:16:15 -0400 (0:00:00.136) 0:01:31.722 ***** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 23 October 2024 14:16:15 -0400 (0:00:00.095) 0:01:31.817 ***** ok: [managed-node1] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node1] => (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-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 23 October 2024 14:16:15 -0400 (0:00:00.164) 0:01:31.981 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:16:16 -0400 (0:00:00.115) 0:01:32.097 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:16:16 -0400 (0:00:00.094) 0:01:32.192 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003335", "end": "2024-10-23 14:16:16.526078", "rc": 0, "start": "2024-10-23 14:16:16.522743" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:16:16 -0400 (0:00:00.398) 0:01:32.590 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:16:16 -0400 (0:00:00.062) 0:01:32.652 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 23 October 2024 14:16:16 -0400 (0:00:00.066) 0:01:32.719 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node1 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 23 October 2024 14:16:16 -0400 (0:00:00.101) 0:01:32.821 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:16:17 -0400 (0:00:00.248) 0:01:33.069 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:16:17 -0400 (0:00:00.118) 0:01:33.187 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:16:17 -0400 (0:00:00.083) 0:01:33.271 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:16:17 -0400 (0:00:00.064) 0:01:33.336 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:16:17 -0400 (0:00:00.063) 0:01:33.399 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:16:19 -0400 (0:00:01.833) 0:01:35.233 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:16:20 -0400 (0:00:01.675) 0:01:36.909 ***** ok: [managed-node1] => {} 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:16:21 -0400 (0:00:00.093) 0:01:37.002 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:16:21 -0400 (0:00:00.094) 0:01:37.096 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:16:21 -0400 (0:00:00.083) 0:01:37.180 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:16:21 -0400 (0:00:00.067) 0:01:37.247 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:16:21 -0400 (0:00:00.131) 0:01:37.378 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:16:21 -0400 (0:00:00.059) 0:01:37.438 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:16:21 -0400 (0:00:00.074) 0:01:37.513 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:16:21 -0400 (0:00:00.104) 0:01:37.617 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:16:21 -0400 (0:00:00.078) 0:01:37.696 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:16:21 -0400 (0:00:00.093) 0:01:37.789 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:16:21 -0400 (0:00:00.102) 0:01:37.892 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:16:21 -0400 (0:00:00.077) 0:01:37.970 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:16:22 -0400 (0:00:00.071) 0:01:38.041 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:16:22 -0400 (0:00:00.696) 0:01:38.737 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42076h5w4_u3j/tmpqfuvnb0e" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:16:23 -0400 (0:00:00.438) 0:01:39.176 ***** changed: [managed-node1] => { "_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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:16:23 -0400 (0:00:00.523) 0:01:39.699 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:16:23 -0400 (0:00:00.061) 0:01:39.761 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:16:23 -0400 (0:00:00.063) 0:01:39.825 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:16:23 -0400 (0:00:00.069) 0:01:39.894 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:16:23 -0400 (0:00:00.073) 0:01:39.967 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 23 October 2024 14:16:24 -0400 (0:00:00.538) 0:01:40.506 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 23 October 2024 14:16:24 -0400 (0:00:00.130) 0:01:40.637 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:16:24 -0400 (0:00:00.165) 0:01:40.802 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:16:24 -0400 (0:00:00.126) 0:01:40.929 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:16:25 -0400 (0:00:00.071) 0:01:41.000 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:16:25 -0400 (0:00:00.069) 0:01:41.070 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:16:25 -0400 (0:00:00.065) 0:01:41.135 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:16:26 -0400 (0:00:01.800) 0:01:42.936 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:16:28 -0400 (0:00:01.598) 0:01:44.534 ***** ok: [managed-node1] => {} 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:16:28 -0400 (0:00:00.065) 0:01:44.600 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:16:28 -0400 (0:00:00.059) 0:01:44.659 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:16:28 -0400 (0:00:00.123) 0:01:44.782 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:16:28 -0400 (0:00:00.087) 0:01:44.870 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:16:28 -0400 (0:00:00.109) 0:01:44.979 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:16:29 -0400 (0:00:00.096) 0:01:45.076 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:16:29 -0400 (0:00:00.102) 0:01:45.178 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:16:29 -0400 (0:00:00.149) 0:01:45.327 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:16:29 -0400 (0:00:00.099) 0:01:45.426 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:16:29 -0400 (0:00:00.085) 0:01:45.512 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:16:29 -0400 (0:00:00.081) 0:01:45.593 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:16:29 -0400 (0:00:00.069) 0:01:45.663 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:16:29 -0400 (0:00:00.059) 0:01:45.722 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:16:30 -0400 (0:00:00.597) 0:01:46.319 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42076h5w4_u3j/tmpo9aabw_5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:16:30 -0400 (0:00:00.407) 0:01:46.727 ***** changed: [managed-node1] => { "_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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:16:31 -0400 (0:00:00.786) 0:01:47.514 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:16:31 -0400 (0:00:00.092) 0:01:47.607 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:16:31 -0400 (0:00:00.096) 0:01:47.703 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:16:31 -0400 (0:00:00.068) 0:01:47.772 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:16:32 -0400 (0:00:00.223) 0:01:47.995 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 23 October 2024 14:16:32 -0400 (0:00:00.447) 0:01:48.443 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:16:32 -0400 (0:00:00.133) 0:01:48.576 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:16:32 -0400 (0:00:00.213) 0:01:48.790 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:16:32 -0400 (0:00:00.104) 0:01:48.895 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:16:33 -0400 (0:00:00.141) 0:01:49.037 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:16:33 -0400 (0:00:00.163) 0:01:49.200 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:16:35 -0400 (0:00:02.103) 0:01:51.304 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:16:37 -0400 (0:00:01.735) 0:01:53.040 ***** ok: [managed-node1] => {} 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:16:37 -0400 (0:00:00.100) 0:01:53.141 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:16:37 -0400 (0:00:00.164) 0:01:53.305 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:16:37 -0400 (0:00:00.099) 0:01:53.404 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:16:37 -0400 (0:00:00.105) 0:01:53.510 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:16:37 -0400 (0:00:00.105) 0:01:53.616 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:16:37 -0400 (0:00:00.080) 0:01:53.697 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:16:37 -0400 (0:00:00.092) 0:01:53.789 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:16:37 -0400 (0:00:00.104) 0:01:53.894 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:16:37 -0400 (0:00:00.091) 0:01:53.986 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:16:38 -0400 (0:00:00.157) 0:01:54.144 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:16:38 -0400 (0:00:00.153) 0:01:54.298 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:16:38 -0400 (0:00:00.100) 0:01:54.398 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:16:38 -0400 (0:00:00.135) 0:01:54.534 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:16:39 -0400 (0:00:00.833) 0:01:55.367 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42076h5w4_u3j/tmpyf29wka_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:16:39 -0400 (0:00:00.488) 0:01:55.855 ***** changed: [managed-node1] => { "_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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:16:40 -0400 (0:00:00.633) 0:01:56.489 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:16:40 -0400 (0:00:00.143) 0:01:56.632 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:16:40 -0400 (0:00:00.170) 0:01:56.803 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:16:41 -0400 (0:00:00.337) 0:01:57.140 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:16:41 -0400 (0:00:00.099) 0:01:57.240 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 23 October 2024 14:16:41 -0400 (0:00:00.514) 0:01:57.754 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 23 October 2024 14:16:41 -0400 (0:00:00.138) 0:01:57.893 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:16:42 -0400 (0:00:00.161) 0:01:58.054 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:16:42 -0400 (0:00:00.108) 0:01:58.163 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:16:42 -0400 (0:00:00.082) 0:01:58.245 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:16:42 -0400 (0:00:00.068) 0:01:58.313 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:16:42 -0400 (0:00:00.062) 0:01:58.376 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:16:44 -0400 (0:00:01.833) 0:02:00.210 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:16:46 -0400 (0:00:01.814) 0:02:02.025 ***** ok: [managed-node1] => {} 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:16:46 -0400 (0:00:00.102) 0:02:02.128 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:16:46 -0400 (0:00:00.073) 0:02:02.201 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:16:46 -0400 (0:00:00.069) 0:02:02.270 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:16:46 -0400 (0:00:00.063) 0:02:02.334 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:16:46 -0400 (0:00:00.099) 0:02:02.433 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:16:46 -0400 (0:00:00.081) 0:02:02.515 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:16:46 -0400 (0:00:00.085) 0:02:02.600 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:16:46 -0400 (0:00:00.167) 0:02:02.768 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:16:46 -0400 (0:00:00.086) 0:02:02.855 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:16:46 -0400 (0:00:00.093) 0:02:02.949 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:16:47 -0400 (0:00:00.086) 0:02:03.035 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:16:47 -0400 (0:00:00.069) 0:02:03.104 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:16:47 -0400 (0:00:00.077) 0:02:03.182 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:16:47 -0400 (0:00:00.767) 0:02:03.950 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42076h5w4_u3j/tmpn_a97hox" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:16:48 -0400 (0:00:00.421) 0:02:04.371 ***** ok: [managed-node1] => { "_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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:16:49 -0400 (0:00:00.627) 0:02:04.999 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:16:49 -0400 (0:00:00.061) 0:02:05.061 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:16:49 -0400 (0:00:00.064) 0:02:05.125 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:16:49 -0400 (0:00:00.071) 0:02:05.197 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:16:49 -0400 (0:00:00.066) 0:02:05.263 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 23 October 2024 14:16:49 -0400 (0:00:00.430) 0:02:05.693 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 23 October 2024 14:16:49 -0400 (0:00:00.094) 0:02:05.788 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 23 October 2024 14:16:49 -0400 (0:00:00.092) 0:02:05.880 ***** ok: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 23 October 2024 14:16:49 -0400 (0:00:00.062) 0:02:05.943 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 23 October 2024 14:16:50 -0400 (0:00:00.402) 0:02:06.345 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 23 October 2024 14:16:50 -0400 (0:00:00.061) 0:02:06.406 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019330", "end": "2024-10-23 14:16:50.764277", "rc": 1, "start": "2024-10-23 14:16:50.744947" } 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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 23 October 2024 14:16:50 -0400 (0:00:00.419) 0:02:06.826 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 23 October 2024 14:16:50 -0400 (0:00:00.067) 0:02:06.894 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 23 October 2024 14:16:51 -0400 (0:00:00.139) 0:02:07.033 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 23 October 2024 14:16:51 -0400 (0:00:00.088) 0:02:07.122 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 23 October 2024 14:16:51 -0400 (0:00:00.098) 0:02:07.220 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 23 October 2024 14:16:51 -0400 (0:00:00.101) 0:02:07.321 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 23 October 2024 14:16:51 -0400 (0:00:00.095) 0:02:07.417 ***** skipping: [managed-node1] => (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-node1] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 23 October 2024 14:16:51 -0400 (0:00:00.098) 0:02:07.516 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 23 October 2024 14:16:51 -0400 (0:00:00.094) 0:02:07.610 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 23 October 2024 14:16:51 -0400 (0:00:00.150) 0:02:07.760 ***** ok: [managed-node1] => { "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.047170", "end": "2024-10-23 14:16:52.407744", "rc": 0, "start": "2024-10-23 14:16:52.360574" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Wednesday 23 October 2024 14:16:52 -0400 (0:00:00.713) 0:02:08.474 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node1 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 23 October 2024 14:16:52 -0400 (0:00:00.089) 0:02:08.563 ***** ok: [managed-node1] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 23 October 2024 14:16:52 -0400 (0:00:00.063) 0:02:08.627 ***** ok: [managed-node1] => (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-node1] => (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-node1] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node1] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node1] => (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-node1] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node1] => (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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 23 October 2024 14:16:52 -0400 (0:00:00.131) 0:02:08.759 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node1 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 23 October 2024 14:16:52 -0400 (0:00:00.133) 0:02:08.893 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node1 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 23 October 2024 14:16:53 -0400 (0:00:00.189) 0:02:09.082 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003324", "end": "2024-10-23 14:16:53.434625", "rc": 0, "start": "2024-10-23 14:16:53.431301" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 23 October 2024 14:16:53 -0400 (0:00:00.417) 0:02:09.499 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Wednesday 23 October 2024 14:16:53 -0400 (0:00:00.067) 0:02:09.567 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Wednesday 23 October 2024 14:16:53 -0400 (0:00:00.133) 0:02:09.701 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node1 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 23 October 2024 14:16:53 -0400 (0:00:00.204) 0:02:09.905 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:16:54 -0400 (0:00:00.232) 0:02:10.138 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:16:54 -0400 (0:00:00.163) 0:02:10.301 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:16:54 -0400 (0:00:00.141) 0:02:10.443 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:16:54 -0400 (0:00:00.096) 0:02:10.540 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:16:54 -0400 (0:00:00.089) 0:02:10.629 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:16:56 -0400 (0:00:01.913) 0:02:12.543 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:16:58 -0400 (0:00:01.739) 0:02:14.282 ***** ok: [managed-node1] => {} 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:16:58 -0400 (0:00:00.100) 0:02:14.383 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:16:58 -0400 (0:00:00.186) 0:02:14.569 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:16:58 -0400 (0:00:00.110) 0:02:14.680 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:16:58 -0400 (0:00:00.113) 0:02:14.793 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:16:58 -0400 (0:00:00.117) 0:02:14.911 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:16:59 -0400 (0:00:00.089) 0:02:15.001 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:16:59 -0400 (0:00:00.111) 0:02:15.113 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:16:59 -0400 (0:00:00.153) 0:02:15.266 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:16:59 -0400 (0:00:00.089) 0:02:15.355 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:16:59 -0400 (0:00:00.091) 0:02:15.447 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:16:59 -0400 (0:00:00.106) 0:02:15.554 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:16:59 -0400 (0:00:00.072) 0:02:15.626 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:16:59 -0400 (0:00:00.078) 0:02:15.704 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:17:00 -0400 (0:00:00.694) 0:02:16.399 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42076h5w4_u3j/tmpvn__loi0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:17:00 -0400 (0:00:00.539) 0:02:16.939 ***** changed: [managed-node1] => { "_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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:17:01 -0400 (0:00:00.750) 0:02:17.689 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:17:01 -0400 (0:00:00.110) 0:02:17.800 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:17:01 -0400 (0:00:00.093) 0:02:17.894 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:17:02 -0400 (0:00:00.101) 0:02:17.996 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:17:02 -0400 (0:00:00.089) 0:02:18.085 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 23 October 2024 14:17:02 -0400 (0:00:00.459) 0:02:18.545 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 23 October 2024 14:17:02 -0400 (0:00:00.066) 0:02:18.612 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:17:02 -0400 (0:00:00.105) 0:02:18.717 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:17:02 -0400 (0:00:00.103) 0:02:18.820 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:17:02 -0400 (0:00:00.074) 0:02:18.895 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:17:02 -0400 (0:00:00.068) 0:02:18.963 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:17:03 -0400 (0:00:00.064) 0:02:19.027 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:17:04 -0400 (0:00:01.902) 0:02:20.930 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:17:06 -0400 (0:00:01.542) 0:02:22.472 ***** ok: [managed-node1] => {} 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:17:06 -0400 (0:00:00.065) 0:02:22.538 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:17:06 -0400 (0:00:00.061) 0:02:22.599 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:17:06 -0400 (0:00:00.079) 0:02:22.679 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:17:06 -0400 (0:00:00.088) 0:02:22.767 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:17:06 -0400 (0:00:00.103) 0:02:22.870 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:17:06 -0400 (0:00:00.096) 0:02:22.966 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:17:07 -0400 (0:00:00.109) 0:02:23.076 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:17:07 -0400 (0:00:00.158) 0:02:23.235 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:17:07 -0400 (0:00:00.093) 0:02:23.329 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:17:07 -0400 (0:00:00.091) 0:02:23.421 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:17:07 -0400 (0:00:00.098) 0:02:23.519 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:17:07 -0400 (0:00:00.071) 0:02:23.590 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:17:07 -0400 (0:00:00.127) 0:02:23.718 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:17:08 -0400 (0:00:00.623) 0:02:24.342 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42076h5w4_u3j/tmp2gkfiovu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:17:08 -0400 (0:00:00.450) 0:02:24.792 ***** changed: [managed-node1] => { "_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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:17:09 -0400 (0:00:00.789) 0:02:25.581 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:17:09 -0400 (0:00:00.090) 0:02:25.672 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:17:09 -0400 (0:00:00.100) 0:02:25.773 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:17:09 -0400 (0:00:00.094) 0:02:25.867 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:17:09 -0400 (0:00:00.085) 0:02:25.952 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 23 October 2024 14:17:10 -0400 (0:00:00.468) 0:02:26.420 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:17:10 -0400 (0:00:00.159) 0:02:26.580 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:17:10 -0400 (0:00:00.141) 0:02:26.721 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:17:10 -0400 (0:00:00.074) 0:02:26.796 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:17:10 -0400 (0:00:00.073) 0:02:26.870 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:17:10 -0400 (0:00:00.116) 0:02:26.987 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:17:13 -0400 (0:00:02.031) 0:02:29.018 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:17:14 -0400 (0:00:01.586) 0:02:30.604 ***** ok: [managed-node1] => {} 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:17:14 -0400 (0:00:00.065) 0:02:30.669 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:17:14 -0400 (0:00:00.083) 0:02:30.753 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:17:14 -0400 (0:00:00.090) 0:02:30.843 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:17:14 -0400 (0:00:00.089) 0:02:30.933 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:17:15 -0400 (0:00:00.108) 0:02:31.042 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:17:15 -0400 (0:00:00.089) 0:02:31.131 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:17:15 -0400 (0:00:00.082) 0:02:31.214 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:17:15 -0400 (0:00:00.119) 0:02:31.333 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:17:15 -0400 (0:00:00.069) 0:02:31.403 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:17:15 -0400 (0:00:00.058) 0:02:31.462 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:17:15 -0400 (0:00:00.076) 0:02:31.538 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:17:15 -0400 (0:00:00.175) 0:02:31.714 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:17:15 -0400 (0:00:00.093) 0:02:31.808 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:17:16 -0400 (0:00:00.788) 0:02:32.596 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42076h5w4_u3j/tmpgzvjbet1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:17:17 -0400 (0:00:00.699) 0:02:33.296 ***** changed: [managed-node1] => { "_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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:17:17 -0400 (0:00:00.645) 0:02:33.941 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:17:18 -0400 (0:00:00.070) 0:02:34.012 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:17:18 -0400 (0:00:00.074) 0:02:34.087 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:17:18 -0400 (0:00:00.064) 0:02:34.151 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:17:18 -0400 (0:00:00.080) 0:02:34.232 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Wednesday 23 October 2024 14:17:18 -0400 (0:00:00.470) 0:02:34.702 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node1 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 23 October 2024 14:17:18 -0400 (0:00:00.132) 0:02:34.835 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 23 October 2024 14:17:18 -0400 (0:00:00.118) 0:02:34.953 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node1 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 23 October 2024 14:17:19 -0400 (0:00:00.191) 0:02:35.144 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Wednesday 23 October 2024 14:17:19 -0400 (0:00:00.102) 0:02:35.246 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Wednesday 23 October 2024 14:17:19 -0400 (0:00:00.098) 0:02:35.345 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Wednesday 23 October 2024 14:17:19 -0400 (0:00:00.093) 0:02:35.439 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Wednesday 23 October 2024 14:17:21 -0400 (0:00:02.036) 0:02:37.475 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 23 October 2024 14:17:23 -0400 (0:00:01.624) 0:02:39.100 ***** ok: [managed-node1] => {} 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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 23 October 2024 14:17:23 -0400 (0:00:00.097) 0:02:39.197 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 23 October 2024 14:17:23 -0400 (0:00:00.097) 0:02:39.295 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Wednesday 23 October 2024 14:17:23 -0400 (0:00:00.122) 0:02:39.418 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Wednesday 23 October 2024 14:17:23 -0400 (0:00:00.145) 0:02:39.563 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Wednesday 23 October 2024 14:17:23 -0400 (0:00:00.125) 0:02:39.689 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Wednesday 23 October 2024 14:17:23 -0400 (0:00:00.096) 0:02:39.785 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Wednesday 23 October 2024 14:17:23 -0400 (0:00:00.118) 0:02:39.904 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Wednesday 23 October 2024 14:17:24 -0400 (0:00:00.154) 0:02:40.058 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Wednesday 23 October 2024 14:17:24 -0400 (0:00:00.150) 0:02:40.209 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Wednesday 23 October 2024 14:17:24 -0400 (0:00:00.081) 0:02:40.290 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Wednesday 23 October 2024 14:17:24 -0400 (0:00:00.097) 0:02:40.387 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 23 October 2024 14:17:24 -0400 (0:00:00.092) 0:02:40.479 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Wednesday 23 October 2024 14:17:24 -0400 (0:00:00.072) 0:02:40.552 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Wednesday 23 October 2024 14:17:25 -0400 (0:00:00.792) 0:02:41.345 ***** ok: [managed-node1] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42076h5w4_u3j/tmp7r7b7jr0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Wednesday 23 October 2024 14:17:25 -0400 (0:00:00.486) 0:02:41.831 ***** ok: [managed-node1] => { "_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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Wednesday 23 October 2024 14:17:26 -0400 (0:00:00.548) 0:02:42.380 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Wednesday 23 October 2024 14:17:26 -0400 (0:00:00.092) 0:02:42.473 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Wednesday 23 October 2024 14:17:26 -0400 (0:00:00.081) 0:02:42.554 ***** ok: [managed-node1] => { "__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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Wednesday 23 October 2024 14:17:26 -0400 (0:00:00.075) 0:02:42.630 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Wednesday 23 October 2024 14:17:26 -0400 (0:00:00.066) 0:02:42.696 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Wednesday 23 October 2024 14:17:27 -0400 (0:00:00.428) 0:02:43.125 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node1 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node1 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 23 October 2024 14:17:27 -0400 (0:00:00.137) 0:02:43.262 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node1 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 23 October 2024 14:17:27 -0400 (0:00:00.205) 0:02:43.468 ***** ok: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Wednesday 23 October 2024 14:17:27 -0400 (0:00:00.082) 0:02:43.550 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Wednesday 23 October 2024 14:17:27 -0400 (0:00:00.408) 0:02:43.959 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Wednesday 23 October 2024 14:17:28 -0400 (0:00:00.060) 0:02:44.020 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020317", "end": "2024-10-23 14:17:28.398211", "rc": 1, "start": "2024-10-23 14:17:28.377894" } 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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Wednesday 23 October 2024 14:17:28 -0400 (0:00:00.443) 0:02:44.463 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 23 October 2024 14:17:28 -0400 (0:00:00.063) 0:02:44.526 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Wednesday 23 October 2024 14:17:28 -0400 (0:00:00.061) 0:02:44.588 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Wednesday 23 October 2024 14:17:28 -0400 (0:00:00.065) 0:02:44.653 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Wednesday 23 October 2024 14:17:28 -0400 (0:00:00.061) 0:02:44.714 ***** skipping: [managed-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 23 October 2024 14:17:28 -0400 (0:00:00.065) 0:02:44.780 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 23 October 2024 14:17:28 -0400 (0:00:00.077) 0:02:44.857 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.891426", "end": "2024-10-23 14:17:30.082361", "rc": 0, "start": "2024-10-23 14:17:29.190935" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 23 October 2024 14:17:30 -0400 (0:00:01.308) 0:02:46.165 ***** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 23 October 2024 14:17:30 -0400 (0:00:00.097) 0:02:46.262 ***** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Wednesday 23 October 2024 14:17:30 -0400 (0:00:00.094) 0:02:46.357 ***** skipping: [managed-node1] => (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-node1] => { "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-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 23 October 2024 14:17:30 -0400 (0:00:00.093) 0:02:46.450 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 23 October 2024 14:17:30 -0400 (0:00:00.090) 0:02:46.541 ***** included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node1 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node1 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 23 October 2024 14:17:30 -0400 (0:00:00.189) 0:02:46.730 ***** ok: [managed-node1] => { "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.043332", "end": "2024-10-23 14:17:31.112190", "rc": 0, "start": "2024-10-23 14:17:31.068858" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Wednesday 23 October 2024 14:17:31 -0400 (0:00:00.476) 0:02:47.206 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008759", "end": "2024-10-23 14:17:31.586488", "rc": 0, "start": "2024-10-23 14:17:31.577729" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:23:61:5d:76:ff brd ff:ff:ff:ff:ff:ff inet 10.31.40.239/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2385sec preferred_lft 2385sec inet6 fe80::c23:61ff:fe5d:76ff/64 scope link valid_lft forever preferred_lft forever 43: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether c2:2c:fd:9f:79:5c brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.40.239 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.40.239 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Wednesday 23 October 2024 14:17:31 -0400 (0:00:00.444) 0:02:47.650 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:01.919887", "end": "2024-10-23 14:17:33.910698", "rc": 0, "start": "2024-10-23 14:17:31.990811" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 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:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 12708 0 --:--:-- --:--:-- --:--:-- 12708 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 291 100 291 0 0 155 0 0:00:01 0:00:01 --:--:-- 155 PLAY RECAP ********************************************************************* managed-node1 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Wednesday 23 October 2024 14:17:34 -0400 (0:00:02.397) 0:02:50.048 ***** =============================================================================== Verify DNS and network connectivity ------------------------------------- 2.40s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 fedora.linux_system_roles.network : Check which services are running ---- 2.21s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.10s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.04s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 2.03s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.96s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.94s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.93s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.91s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.90s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.85s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.83s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.81s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/collections-ddL/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-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.74s /tmp/collections-ddL/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26