ansible-playbook [core 2.16.13] 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-mkj 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_nm.yml ************************************************** 2 plays in /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:6 Saturday 30 November 2024 07:55:16 -0500 (0:00:00.008) 0:00:00.008 ***** ok: [managed-node1] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:9 Saturday 30 November 2024 07:55:17 -0500 (0:00:01.252) 0:00:01.261 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 30 November 2024 07:55:17 -0500 (0:00:00.022) 0:00:01.283 ***** ok: [managed-node1] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 30 November 2024 07:55:18 -0500 (0:00:00.693) 0:00:01.977 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 30 November 2024 07:55:19 -0500 (0:00:00.865) 0:00:02.843 ***** ok: [managed-node1] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 30 November 2024 07:55:19 -0500 (0:00:00.034) 0:00:02.877 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 30 November 2024 07:55:19 -0500 (0:00:00.017) 0:00:02.895 ***** included: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node1 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 30 November 2024 07:55:19 -0500 (0:00:00.049) 0:00:02.944 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 30 November 2024 07:55:19 -0500 (0:00:00.465) 0:00:03.410 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 30 November 2024 07:55:19 -0500 (0:00:00.015) 0:00:03.425 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 30 November 2024 07:55:19 -0500 (0:00:00.015) 0:00:03.440 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.233859", "end": "2024-11-30 07:55:20.362642", "rc": 0, "start": "2024-11-30 07:55:20.128783" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 30 November 2024 07:55:20 -0500 (0:00:00.580) 0:00:04.020 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_nm.yml:11 Saturday 30 November 2024 07:55:20 -0500 (0:00:00.015) 0:00:04.036 ***** ok: [managed-node1] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 30 November 2024 07:55:20 -0500 (0:00:00.018) 0:00:04.054 ***** ok: [managed-node1] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 30 November 2024 07:55:21 -0500 (0:00:00.785) 0:00:04.839 ***** ok: [managed-node1] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 30 November 2024 07:55:21 -0500 (0:00:00.027) 0:00:04.867 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:55:21 -0500 (0:00:00.035) 0:00:04.903 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:55:21 -0500 (0:00:00.022) 0:00:04.926 ***** 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": true, "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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:55:21 -0500 (0:00:00.081) 0:00:05.007 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:55:21 -0500 (0:00:00.038) 0:00:05.045 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:55:21 -0500 (0:00:00.032) 0:00:05.078 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003134", "end": "2024-11-30 07:55:21.783581", "rc": 0, "start": "2024-11-30 07:55:21.780447" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:55:21 -0500 (0:00:00.381) 0:00:05.460 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:55:21 -0500 (0:00:00.019) 0:00:05.479 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:55:21 -0500 (0:00:00.021) 0:00:05.501 ***** included: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 30 November 2024 07:55:21 -0500 (0:00:00.045) 0:00:05.546 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007731", "end": "2024-11-30 07:55:22.243262", "rc": 1, "start": "2024-11-30 07:55:22.235531" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 30 November 2024 07:55:22 -0500 (0:00:00.354) 0:00:05.901 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:55:22 -0500 (0:00:00.021) 0:00:05.923 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 30 November 2024 07:55:22 -0500 (0:00:00.423) 0:00:06.347 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:55:22 -0500 (0:00:00.031) 0:00:06.378 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:55:22 -0500 (0:00:00.049) 0:00:06.428 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:55:22 -0500 (0:00:00.079) 0:00:06.507 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:55:22 -0500 (0:00:00.074) 0:00:06.582 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:55:23 -0500 (0:00:00.063) 0:00:06.645 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:55:23 -0500 (0:00:00.032) 0:00:06.678 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:55:23 -0500 (0:00:00.032) 0:00:06.710 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:55:25 -0500 (0:00:02.128) 0:00:08.839 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:55:26 -0500 (0:00:01.771) 0:00:10.610 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:55:27 -0500 (0:00:00.037) 0:00:10.648 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:55:27 -0500 (0:00:00.032) 0:00:10.680 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:55:27 -0500 (0:00:00.031) 0:00:10.712 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:55:27 -0500 (0:00:00.070) 0:00:10.783 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:55:27 -0500 (0:00:00.103) 0:00:10.887 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:55:27 -0500 (0:00:00.096) 0:00:10.983 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:55:27 -0500 (0:00:00.141) 0:00:11.125 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:55:27 -0500 (0:00:00.175) 0:00:11.301 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:55:27 -0500 (0:00:00.126) 0:00:11.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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:55:27 -0500 (0:00:00.091) 0:00:11.519 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:55:28 -0500 (0:00:00.111) 0:00:11.630 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:55:29 -0500 (0:00:01.349) 0:00:12.980 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:55:29 -0500 (0:00:00.117) 0:00:13.098 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:55:29 -0500 (0:00:00.059) 0:00:13.157 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:55:29 -0500 (0:00:00.058) 0:00:13.216 ***** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9af615cf-1067-46f3-891a-747749e3b4c9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:55:30 -0500 (0:00:00.969) 0:00:14.186 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:55:30 -0500 (0:00:00.080) 0:00:14.266 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9af615cf-1067-46f3-891a-747749e3b4c9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:55:30 -0500 (0:00:00.071) 0:00:14.338 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9af615cf-1067-46f3-891a-747749e3b4c9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9af615cf-1067-46f3-891a-747749e3b4c9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:55:30 -0500 (0:00:00.100) 0:00:14.439 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:55:30 -0500 (0:00:00.065) 0:00:14.504 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:55:31 -0500 (0:00:00.827) 0:00:15.331 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9af615cf-1067-46f3-891a-747749e3b4c9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9af615cf-1067-46f3-891a-747749e3b4c9" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:55:31 -0500 (0:00:00.037) 0:00:15.369 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 30 November 2024 07:55:31 -0500 (0:00:00.097) 0:00:15.467 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:55:31 -0500 (0:00:00.106) 0:00:15.574 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:55:32 -0500 (0:00:00.076) 0:00:15.651 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971330.4289768, "block_size": 4096, "blocks": 8, "ctime": 1732971330.3839767, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1732971330.3839767, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:55:32 -0500 (0:00:00.631) 0:00:16.283 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:55:32 -0500 (0:00:00.067) 0:00:16.350 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017425", "end": "2024-11-30 07:55:33.088811", "rc": 0, "start": "2024-11-30 07:55:33.071386" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:55:33 -0500 (0:00:00.449) 0:00:16.800 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:55:33 -0500 (0:00:00.085) 0:00:16.886 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:55:33 -0500 (0:00:00.064) 0:00:16.951 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:55:33 -0500 (0:00:00.071) 0:00:17.022 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:55:33 -0500 (0:00:00.081) 0:00:17.104 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 30 November 2024 07:55:33 -0500 (0:00:00.072) 0:00:17.176 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 30 November 2024 07:55:33 -0500 (0:00:00.068) 0:00:17.245 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 30 November 2024 07:55:33 -0500 (0:00:00.074) 0:00:17.320 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:55:33 -0500 (0:00:00.067) 0:00:17.387 ***** included: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node1 => (item={'what': 'tasks/assert_device_present.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 30 November 2024 07:55:33 -0500 (0:00:00.183) 0:00:17.571 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:55:34 -0500 (0:00:00.212) 0:00:17.783 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971330.3861244, "block_size": 4096, "blocks": 0, "ctime": 1732971330.3861244, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37065, "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": 1732971330.3861244, "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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 30 November 2024 07:55:34 -0500 (0:00:00.671) 0:00:18.455 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:55:34 -0500 (0:00:00.047) 0:00:18.502 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:55:34 -0500 (0:00:00.041) 0:00:18.544 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:55:35 -0500 (0:00:00.067) 0:00:18.612 ***** 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.058766", "end": "2024-11-30 07:55:35.358145", "rc": 1, "start": "2024-11-30 07:55:35.299379" } STDOUT: Connection 'statebr' (9af615cf-1067-46f3-891a-747749e3b4c9) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 30 November 2024 07:55:35 -0500 (0:00:00.423) 0:00:19.035 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:55:35 -0500 (0:00:00.060) 0:00:19.096 ***** ok: [managed-node1] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:55:35 -0500 (0:00:00.038) 0:00:19.134 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:55:35 -0500 (0:00:00.088) 0:00:19.223 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:55:35 -0500 (0:00:00.056) 0:00:19.279 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:55:35 -0500 (0:00:00.053) 0:00:19.333 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003213", "end": "2024-11-30 07:55:36.027190", "rc": 0, "start": "2024-11-30 07:55:36.023977" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:55:36 -0500 (0:00:00.402) 0:00:19.736 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:55:36 -0500 (0:00:00.037) 0:00:19.773 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:55:36 -0500 (0:00:00.038) 0:00:19.812 ***** included: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node1 => (item=tasks/delete_interface.yml) included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 30 November 2024 07:55:36 -0500 (0:00:00.075) 0:00:19.887 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006212", "end": "2024-11-30 07:55:36.658160", "rc": 1, "start": "2024-11-30 07:55:36.651948" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 30 November 2024 07:55:36 -0500 (0:00:00.446) 0:00:20.333 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:55:36 -0500 (0:00:00.057) 0:00:20.391 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 30 November 2024 07:55:37 -0500 (0:00:00.365) 0:00:20.756 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:55:37 -0500 (0:00:00.037) 0:00:20.794 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 30 November 2024 07:55:37 -0500 (0:00:00.061) 0:00:20.856 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:55:37 -0500 (0:00:00.079) 0:00:20.935 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:55:37 -0500 (0:00:00.069) 0:00:21.005 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:55:37 -0500 (0:00:00.094) 0:00:21.099 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:55:37 -0500 (0:00:00.039) 0:00:21.139 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:55:37 -0500 (0:00:00.040) 0:00:21.179 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:55:39 -0500 (0:00:01.837) 0:00:23.017 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:55:40 -0500 (0:00:01.561) 0:00:24.578 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:55:41 -0500 (0:00:00.066) 0:00:24.646 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:55:41 -0500 (0:00:00.068) 0:00:24.714 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:55:41 -0500 (0:00:00.069) 0:00:24.784 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:55:41 -0500 (0:00:00.105) 0:00:24.889 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:55:41 -0500 (0:00:00.143) 0:00:25.033 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:55:41 -0500 (0:00:00.105) 0:00:25.138 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:55:41 -0500 (0:00:00.124) 0:00:25.263 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:55:41 -0500 (0:00:00.178) 0:00:25.441 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:55:41 -0500 (0:00:00.038) 0:00:25.479 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:55:41 -0500 (0:00:00.081) 0:00:25.561 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:55:42 -0500 (0:00:00.073) 0:00:25.635 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:55:42 -0500 (0:00:00.878) 0:00:26.513 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:55:43 -0500 (0:00:00.194) 0:00:26.708 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:55:43 -0500 (0:00:00.060) 0:00:26.768 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:55:43 -0500 (0:00:00.063) 0:00:26.831 ***** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ad6c9550-cd09-49a1-b435-8832dcb252f1 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:55:43 -0500 (0:00:00.639) 0:00:27.471 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:55:43 -0500 (0:00:00.044) 0:00:27.515 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ad6c9550-cd09-49a1-b435-8832dcb252f1" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:55:43 -0500 (0:00:00.044) 0:00:27.560 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ad6c9550-cd09-49a1-b435-8832dcb252f1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ad6c9550-cd09-49a1-b435-8832dcb252f1" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:55:43 -0500 (0:00:00.041) 0:00:27.601 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:55:44 -0500 (0:00:00.034) 0:00:27.635 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 30 November 2024 07:55:44 -0500 (0:00:00.380) 0:00:28.016 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ad6c9550-cd09-49a1-b435-8832dcb252f1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ad6c9550-cd09-49a1-b435-8832dcb252f1" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:55:44 -0500 (0:00:00.039) 0:00:28.055 ***** included: /tmp/collections-mkj/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-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 30 November 2024 07:55:44 -0500 (0:00:00.074) 0:00:28.130 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:55:44 -0500 (0:00:00.091) 0:00:28.221 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 30 November 2024 07:55:44 -0500 (0:00:00.373) 0:00:28.594 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 30 November 2024 07:55:45 -0500 (0:00:00.064) 0:00:28.659 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:55:45 -0500 (0:00:00.113) 0:00:28.773 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:55:45 -0500 (0:00:00.048) 0:00:28.822 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971343.7820287, "block_size": 4096, "blocks": 8, "ctime": 1732971343.7820287, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1732971343.7820287, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:55:45 -0500 (0:00:00.408) 0:00:29.230 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:55:45 -0500 (0:00:00.038) 0:00:29.269 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017371", "end": "2024-11-30 07:55:45.978166", "rc": 0, "start": "2024-11-30 07:55:45.960795" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:55:46 -0500 (0:00:00.385) 0:00:29.654 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:55:46 -0500 (0:00:00.040) 0:00:29.695 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:55:46 -0500 (0:00:00.037) 0:00:29.733 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:55:46 -0500 (0:00:00.036) 0:00:29.769 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:55:46 -0500 (0:00:00.037) 0:00:29.807 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 30 November 2024 07:55:46 -0500 (0:00:00.037) 0:00:29.845 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 30 November 2024 07:55:46 -0500 (0:00:00.040) 0:00:29.886 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 30 November 2024 07:55:46 -0500 (0:00:00.041) 0:00:29.927 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:55:46 -0500 (0:00:00.072) 0:00:30.000 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:55:46 -0500 (0:00:00.054) 0:00:30.054 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:55:46 -0500 (0:00:00.039) 0:00:30.094 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:55:46 -0500 (0:00:00.067) 0:00:30.161 ***** 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.035572", "end": "2024-11-30 07:55:46.950290", "rc": 1, "start": "2024-11-30 07:55:46.914718" } STDOUT: Connection 'statebr' (ad6c9550-cd09-49a1-b435-8832dcb252f1) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 30 November 2024 07:55:47 -0500 (0:00:00.583) 0:00:30.745 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:55:47 -0500 (0:00:00.156) 0:00:30.901 ***** ok: [managed-node1] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:55:47 -0500 (0:00:00.074) 0:00:30.975 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:55:47 -0500 (0:00:00.218) 0:00:31.194 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:55:47 -0500 (0:00:00.158) 0:00:31.352 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:55:47 -0500 (0:00:00.106) 0:00:31.459 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003171", "end": "2024-11-30 07:55:48.432056", "rc": 0, "start": "2024-11-30 07:55:48.428885" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:55:48 -0500 (0:00:00.686) 0:00:32.145 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:55:48 -0500 (0:00:00.068) 0:00:32.214 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:55:48 -0500 (0:00:00.068) 0:00:32.282 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:55:48 -0500 (0:00:00.182) 0:00:32.465 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:55:48 -0500 (0:00:00.093) 0:00:32.559 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:55:49 -0500 (0:00:00.086) 0:00:32.645 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:55:49 -0500 (0:00:00.063) 0:00:32.709 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:55:49 -0500 (0:00:00.052) 0:00:32.761 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:55:49 -0500 (0:00:00.047) 0:00:32.809 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:55:51 -0500 (0:00:01.849) 0:00:34.658 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:55:52 -0500 (0:00:01.491) 0:00:36.149 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:55:52 -0500 (0:00:00.039) 0:00:36.189 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:55:52 -0500 (0:00:00.033) 0:00:36.222 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:55:52 -0500 (0:00:00.066) 0:00:36.289 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:55:52 -0500 (0:00:00.058) 0:00:36.348 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:55:52 -0500 (0:00:00.075) 0:00:36.423 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:55:52 -0500 (0:00:00.058) 0:00:36.482 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:55:52 -0500 (0:00:00.068) 0:00:36.550 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:55:53 -0500 (0:00:00.106) 0:00:36.656 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:55:53 -0500 (0:00:00.035) 0:00:36.691 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:55:53 -0500 (0:00:00.033) 0:00:36.725 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:55:53 -0500 (0:00:00.070) 0:00:36.795 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:55:53 -0500 (0:00:00.604) 0:00:37.400 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:55:53 -0500 (0:00:00.069) 0:00:37.470 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:55:53 -0500 (0:00:00.034) 0:00:37.504 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:55:53 -0500 (0:00:00.033) 0:00:37.538 ***** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f894128a-e5bf-428e-a219-f590e476cb35 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:55:54 -0500 (0:00:00.610) 0:00:38.149 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:55:54 -0500 (0:00:00.034) 0:00:38.183 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f894128a-e5bf-428e-a219-f590e476cb35" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:55:54 -0500 (0:00:00.047) 0:00:38.231 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f894128a-e5bf-428e-a219-f590e476cb35\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f894128a-e5bf-428e-a219-f590e476cb35" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:55:54 -0500 (0:00:00.061) 0:00:38.293 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:55:54 -0500 (0:00:00.088) 0:00:38.382 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:55:55 -0500 (0:00:00.385) 0:00:38.768 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f894128a-e5bf-428e-a219-f590e476cb35\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f894128a-e5bf-428e-a219-f590e476cb35" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:55:55 -0500 (0:00:00.040) 0:00:38.808 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 30 November 2024 07:55:55 -0500 (0:00:00.064) 0:00:38.873 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:55:55 -0500 (0:00:00.096) 0:00:38.969 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:55:55 -0500 (0:00:00.072) 0:00:39.042 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:55:55 -0500 (0:00:00.066) 0:00:39.109 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:55:55 -0500 (0:00:00.046) 0:00:39.155 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:55:55 -0500 (0:00:00.050) 0:00:39.205 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:55:57 -0500 (0:00:01.806) 0:00:41.012 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:55:59 -0500 (0:00:01.895) 0:00:42.907 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:55:59 -0500 (0:00:00.065) 0:00:42.973 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:55:59 -0500 (0:00:00.058) 0:00:43.031 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:55:59 -0500 (0:00:00.043) 0:00:43.074 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:55:59 -0500 (0:00:00.103) 0:00:43.178 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:55:59 -0500 (0:00:00.081) 0:00:43.259 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:55:59 -0500 (0:00:00.058) 0:00:43.318 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:55:59 -0500 (0:00:00.082) 0:00:43.400 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:00 -0500 (0:00:00.225) 0:00:43.626 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:00 -0500 (0:00:00.132) 0:00:43.759 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:00 -0500 (0:00:00.073) 0:00:43.832 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:00 -0500 (0:00:00.129) 0:00:43.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 : Enable and start wpa_supplicant] ***** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:01 -0500 (0:00:00.720) 0:00:44.682 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:01 -0500 (0:00:00.124) 0:00:44.806 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:01 -0500 (0:00:00.058) 0:00:44.865 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:01 -0500 (0:00:00.076) 0:00:44.942 ***** ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f894128a-e5bf-428e-a219-f590e476cb35 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:02 -0500 (0:00:00.725) 0:00:45.667 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:02 -0500 (0:00:00.039) 0:00:45.706 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f894128a-e5bf-428e-a219-f590e476cb35 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:02 -0500 (0:00:00.054) 0:00:45.760 ***** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f894128a-e5bf-428e-a219-f590e476cb35 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f894128a-e5bf-428e-a219-f590e476cb35 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:02 -0500 (0:00:00.069) 0:00:45.830 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:02 -0500 (0:00:00.061) 0:00:45.892 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:56:02 -0500 (0:00:00.526) 0:00:46.418 ***** included: /tmp/collections-mkj/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-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 30 November 2024 07:56:02 -0500 (0:00:00.133) 0:00:46.552 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:56:03 -0500 (0:00:00.122) 0:00:46.674 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971354.4152465, "block_size": 4096, "blocks": 0, "ctime": 1732971354.4152465, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37196, "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": 1732971354.4152465, "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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 30 November 2024 07:56:03 -0500 (0:00:00.451) 0:00:47.126 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 30 November 2024 07:56:03 -0500 (0:00:00.048) 0:00:47.174 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:56:03 -0500 (0:00:00.116) 0:00:47.290 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:56:03 -0500 (0:00:00.071) 0:00:47.362 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971354.454069, "block_size": 4096, "blocks": 8, "ctime": 1732971354.4140687, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1732971354.4140687, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.508) 0:00:47.870 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.065) 0:00:47.936 ***** ok: [managed-node1] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018108", "end": "2024-11-30 07:56:04.673552", "rc": 0, "start": "2024-11-30 07:56:04.655444" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.432) 0:00:48.368 ***** ok: [managed-node1] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.111) 0:00:48.479 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:56:04 -0500 (0:00:00.129) 0:00:48.609 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.092) 0:00:48.701 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.120) 0:00:48.822 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "nm_profile_exists.rc != 0", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.069) 0:00:48.891 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.083) 0:00:48.975 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.100) 0:00:49.076 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.098) 0:00:49.174 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.164) 0:00:49.339 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.088) 0:00:49.427 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:56:05 -0500 (0:00:00.132) 0:00:49.560 ***** 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.071596", "end": "2024-11-30 07:56:06.576669", "rc": 1, "start": "2024-11-30 07:56:06.505073" } STDOUT: Connection 'statebr' (f894128a-e5bf-428e-a219-f590e476cb35) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 30 November 2024 07:56:06 -0500 (0:00:00.693) 0:00:50.253 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:56:06 -0500 (0:00:00.102) 0:00:50.356 ***** ok: [managed-node1] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:56:06 -0500 (0:00:00.039) 0:00:50.395 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:56:06 -0500 (0:00:00.089) 0:00:50.484 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:56:06 -0500 (0:00:00.059) 0:00:50.543 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:56:06 -0500 (0:00:00.057) 0:00:50.601 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003540", "end": "2024-11-30 07:56:07.299269", "rc": 0, "start": "2024-11-30 07:56:07.295729" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:56:07 -0500 (0:00:00.383) 0:00:50.985 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:56:07 -0500 (0:00:00.053) 0:00:51.039 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:56:07 -0500 (0:00:00.042) 0:00:51.082 ***** included: /tmp/collections-mkj/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-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:56:07 -0500 (0:00:00.068) 0:00:51.150 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:07 -0500 (0:00:00.082) 0:00:51.232 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:07 -0500 (0:00:00.074) 0:00:51.307 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:07 -0500 (0:00:00.176) 0:00:51.483 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:07 -0500 (0:00:00.056) 0:00:51.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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:07 -0500 (0:00:00.069) 0:00:51.609 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:09 -0500 (0:00:01.816) 0:00:53.426 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:11 -0500 (0:00:01.592) 0:00:55.018 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:11 -0500 (0:00:00.038) 0:00:55.056 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:11 -0500 (0:00:00.036) 0:00:55.093 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:11 -0500 (0:00:00.045) 0:00:55.139 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:11 -0500 (0:00:00.097) 0:00:55.236 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:11 -0500 (0:00:00.128) 0:00:55.365 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:56:11 -0500 (0:00:00.130) 0:00:55.495 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:56:11 -0500 (0:00:00.097) 0:00:55.593 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:12 -0500 (0:00:00.137) 0:00:55.730 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:12 -0500 (0:00:00.034) 0:00:55.765 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:12 -0500 (0:00:00.080) 0:00:55.845 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:12 -0500 (0:00:00.103) 0:00:55.949 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:13 -0500 (0:00:00.783) 0:00:56.732 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:13 -0500 (0:00:00.211) 0:00:56.944 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:13 -0500 (0:00:00.116) 0:00:57.060 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:13 -0500 (0:00:00.141) 0:00:57.202 ***** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4e64052c-1cfb-47e6-adcd-3dc82c86277f TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:14 -0500 (0:00:00.711) 0:00:57.914 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:14 -0500 (0:00:00.060) 0:00:57.974 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4e64052c-1cfb-47e6-adcd-3dc82c86277f" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:14 -0500 (0:00:00.068) 0:00:58.043 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4e64052c-1cfb-47e6-adcd-3dc82c86277f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4e64052c-1cfb-47e6-adcd-3dc82c86277f" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:14 -0500 (0:00:00.071) 0:00:58.115 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:14 -0500 (0:00:00.061) 0:00:58.176 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:56:14 -0500 (0:00:00.425) 0:00:58.602 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4e64052c-1cfb-47e6-adcd-3dc82c86277f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4e64052c-1cfb-47e6-adcd-3dc82c86277f" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 30 November 2024 07:56:15 -0500 (0:00:00.042) 0:00:58.644 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:15 -0500 (0:00:00.079) 0:00:58.723 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:15 -0500 (0:00:00.126) 0:00:58.849 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:15 -0500 (0:00:00.066) 0:00:58.916 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:15 -0500 (0:00:00.042) 0:00:58.958 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:15 -0500 (0:00:00.043) 0:00:59.001 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:17 -0500 (0:00:01.712) 0:01:00.713 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:18 -0500 (0:00:01.585) 0:01:02.299 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:18 -0500 (0:00:00.067) 0:01:02.366 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:18 -0500 (0:00:00.066) 0:01:02.432 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:18 -0500 (0:00:00.065) 0:01:02.498 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:18 -0500 (0:00:00.095) 0:01:02.593 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.125) 0:01:02.718 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.098) 0:01:02.817 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.109) 0:01:02.926 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.285) 0:01:03.212 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.044) 0:01:03.256 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.049) 0:01:03.306 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:19 -0500 (0:00:00.074) 0:01:03.381 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:20 -0500 (0:00:00.587) 0:01:03.969 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:20 -0500 (0:00:00.070) 0:01:04.039 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:20 -0500 (0:00:00.054) 0:01:04.094 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:20 -0500 (0:00:00.062) 0:01:04.157 ***** ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4e64052c-1cfb-47e6-adcd-3dc82c86277f skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:21 -0500 (0:00:00.610) 0:01:04.768 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:21 -0500 (0:00:00.035) 0:01:04.804 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4e64052c-1cfb-47e6-adcd-3dc82c86277f skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:21 -0500 (0:00:00.039) 0:01:04.843 ***** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4e64052c-1cfb-47e6-adcd-3dc82c86277f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4e64052c-1cfb-47e6-adcd-3dc82c86277f skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:21 -0500 (0:00:00.039) 0:01:04.883 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:21 -0500 (0:00:00.034) 0:01:04.917 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:56:21 -0500 (0:00:00.461) 0:01:05.379 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 30 November 2024 07:56:21 -0500 (0:00:00.129) 0:01:05.509 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:21 -0500 (0:00:00.084) 0:01:05.593 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:22 -0500 (0:00:00.073) 0:01:05.667 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:22 -0500 (0:00:00.072) 0:01:05.739 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:22 -0500 (0:00:00.067) 0:01:05.807 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:22 -0500 (0:00:00.069) 0:01:05.876 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:24 -0500 (0:00:01.795) 0:01:07.671 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:25 -0500 (0:00:01.566) 0:01:09.238 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:25 -0500 (0:00:00.049) 0:01:09.287 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:25 -0500 (0:00:00.038) 0:01:09.326 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:25 -0500 (0:00:00.035) 0:01:09.361 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:25 -0500 (0:00:00.058) 0:01:09.420 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:25 -0500 (0:00:00.181) 0:01:09.601 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:56:26 -0500 (0:00:00.113) 0:01:09.715 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:56:26 -0500 (0:00:00.117) 0:01:09.833 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:26 -0500 (0:00:00.270) 0:01:10.103 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:26 -0500 (0:00:00.085) 0:01:10.188 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:26 -0500 (0:00:00.098) 0:01:10.287 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:26 -0500 (0:00:00.261) 0:01:10.548 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:27 -0500 (0:00:00.911) 0:01:11.459 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:28 -0500 (0:00:00.186) 0:01:11.646 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:28 -0500 (0:00:00.069) 0:01:11.716 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:28 -0500 (0:00:00.061) 0:01:11.777 ***** 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": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:28 -0500 (0:00:00.685) 0:01:12.462 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:28 -0500 (0:00:00.073) 0:01:12.535 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:28 -0500 (0:00:00.075) 0:01:12.611 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:29 -0500 (0:00:00.049) 0:01:12.660 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:29 -0500 (0:00:00.039) 0:01:12.700 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:56:29 -0500 (0:00:00.520) 0:01:13.221 ***** included: /tmp/collections-mkj/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-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 30 November 2024 07:56:29 -0500 (0:00:00.140) 0:01:13.361 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:56:29 -0500 (0:00:00.101) 0:01:13.462 ***** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732971374.1630807, "block_size": 4096, "blocks": 0, "ctime": 1732971374.1630807, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37327, "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": 1732971374.1630807, "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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 30 November 2024 07:56:30 -0500 (0:00:00.598) 0:01:14.061 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 30 November 2024 07:56:30 -0500 (0:00:00.067) 0:01:14.128 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:56:30 -0500 (0:00:00.111) 0:01:14.240 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:56:30 -0500 (0:00:00.059) 0:01:14.299 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:56:31 -0500 (0:00:00.508) 0:01:14.808 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:56:31 -0500 (0:00:00.147) 0:01:14.956 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017761", "end": "2024-11-30 07:56:31.959402", "rc": 1, "start": "2024-11-30 07:56:31.941641" } 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.681) 0:01:15.637 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.043) 0:01:15.680 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.045) 0:01:15.725 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.039) 0:01:15.765 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.111) 0:01:15.876 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.050) 0:01:15.927 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.044) 0:01:15.972 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.072) 0:01:16.044 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.043) 0:01:16.087 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.066) 0:01:16.153 ***** 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.067175", "end": "2024-11-30 07:56:32.930829", "rc": 1, "start": "2024-11-30 07:56:32.863654" } STDOUT: Connection 'statebr' (4e64052c-1cfb-47e6-adcd-3dc82c86277f) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 30 November 2024 07:56:32 -0500 (0:00:00.454) 0:01:16.608 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:56:33 -0500 (0:00:00.060) 0:01:16.669 ***** ok: [managed-node1] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:56:33 -0500 (0:00:00.038) 0:01:16.708 ***** 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": true, "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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:56:33 -0500 (0:00:00.076) 0:01:16.784 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:56:33 -0500 (0:00:00.072) 0:01:16.857 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:56:33 -0500 (0:00:00.056) 0:01:16.913 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003399", "end": "2024-11-30 07:56:33.622203", "rc": 0, "start": "2024-11-30 07:56:33.618804" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:56:33 -0500 (0:00:00.450) 0:01:17.363 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:56:33 -0500 (0:00:00.061) 0:01:17.425 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:56:33 -0500 (0:00:00.043) 0:01:17.468 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:56:33 -0500 (0:00:00.093) 0:01:17.562 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:34 -0500 (0:00:00.082) 0:01:17.644 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:34 -0500 (0:00:00.091) 0:01:17.736 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:34 -0500 (0:00:00.070) 0:01:17.806 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:34 -0500 (0:00:00.041) 0:01:17.848 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:34 -0500 (0:00:00.062) 0:01:17.911 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:36 -0500 (0:00:01.806) 0:01:19.717 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:37 -0500 (0:00:01.769) 0:01:21.487 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:37 -0500 (0:00:00.067) 0:01:21.554 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:37 -0500 (0:00:00.046) 0:01:21.600 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:38 -0500 (0:00:00.048) 0:01:21.649 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:38 -0500 (0:00:00.074) 0:01:21.723 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:38 -0500 (0:00:00.074) 0:01:21.797 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:56:38 -0500 (0:00:00.058) 0:01:21.856 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:56:38 -0500 (0:00:00.075) 0:01:21.931 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:38 -0500 (0:00:00.173) 0:01:22.104 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:38 -0500 (0:00:00.074) 0:01:22.179 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:38 -0500 (0:00:00.084) 0:01:22.264 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:38 -0500 (0:00:00.125) 0:01:22.389 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:39 -0500 (0:00:00.711) 0:01:23.101 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:39 -0500 (0:00:00.117) 0:01:23.219 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:39 -0500 (0:00:00.076) 0:01:23.295 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:39 -0500 (0:00:00.059) 0:01:23.355 ***** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d534d188-64ee-450b-a235-3275a36e10b9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:40 -0500 (0:00:00.804) 0:01:24.159 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:40 -0500 (0:00:00.098) 0:01:24.258 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d534d188-64ee-450b-a235-3275a36e10b9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:40 -0500 (0:00:00.047) 0:01:24.305 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d534d188-64ee-450b-a235-3275a36e10b9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d534d188-64ee-450b-a235-3275a36e10b9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:40 -0500 (0:00:00.046) 0:01:24.352 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:40 -0500 (0:00:00.036) 0:01:24.388 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:56:41 -0500 (0:00:00.428) 0:01:24.816 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d534d188-64ee-450b-a235-3275a36e10b9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d534d188-64ee-450b-a235-3275a36e10b9" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 30 November 2024 07:56:41 -0500 (0:00:00.070) 0:01:24.887 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:41 -0500 (0:00:00.139) 0:01:25.026 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:41 -0500 (0:00:00.129) 0:01:25.155 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:41 -0500 (0:00:00.116) 0:01:25.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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:41 -0500 (0:00:00.069) 0:01:25.341 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:41 -0500 (0:00:00.068) 0:01:25.410 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:43 -0500 (0:00:01.753) 0:01:27.163 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:45 -0500 (0:00:01.613) 0:01:28.776 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.039) 0:01:28.815 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.035) 0:01:28.851 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.036) 0:01:28.887 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.059) 0:01:28.946 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.075) 0:01:29.022 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.060) 0:01:29.082 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.068) 0:01:29.151 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.125) 0:01:29.276 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.041) 0:01:29.318 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.080) 0:01:29.398 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:45 -0500 (0:00:00.204) 0:01:29.603 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:46 -0500 (0:00:00.711) 0:01:30.314 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:46 -0500 (0:00:00.073) 0:01:30.388 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:46 -0500 (0:00:00.054) 0:01:30.442 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:46 -0500 (0:00:00.143) 0:01:30.586 ***** ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d534d188-64ee-450b-a235-3275a36e10b9 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:47 -0500 (0:00:00.637) 0:01:31.224 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:47 -0500 (0:00:00.057) 0:01:31.281 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d534d188-64ee-450b-a235-3275a36e10b9 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:47 -0500 (0:00:00.070) 0:01:31.351 ***** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d534d188-64ee-450b-a235-3275a36e10b9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d534d188-64ee-450b-a235-3275a36e10b9 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:47 -0500 (0:00:00.067) 0:01:31.419 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:47 -0500 (0:00:00.062) 0:01:31.482 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 30 November 2024 07:56:48 -0500 (0:00:00.603) 0:01:32.085 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:48 -0500 (0:00:00.253) 0:01:32.339 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:48 -0500 (0:00:00.185) 0:01:32.524 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:49 -0500 (0:00:00.129) 0:01:32.653 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:49 -0500 (0:00:00.129) 0:01:32.783 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:49 -0500 (0:00:00.120) 0:01:32.903 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:51 -0500 (0:00:01.793) 0:01:34.697 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:52 -0500 (0:00:01.754) 0:01:36.451 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:52 -0500 (0:00:00.066) 0:01:36.517 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:52 -0500 (0:00:00.063) 0:01:36.581 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:53 -0500 (0:00:00.062) 0:01:36.643 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:53 -0500 (0:00:00.085) 0:01:36.729 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:53 -0500 (0:00:00.102) 0:01:36.831 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:56:53 -0500 (0:00:00.065) 0:01:36.897 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:56:53 -0500 (0:00:00.071) 0:01:36.969 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:56:53 -0500 (0:00:00.105) 0:01:37.074 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:56:53 -0500 (0:00:00.034) 0:01:37.108 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:56:53 -0500 (0:00:00.034) 0:01:37.143 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:56:53 -0500 (0:00:00.070) 0:01:37.213 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:56:54 -0500 (0:00:00.615) 0:01:37.828 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:56:54 -0500 (0:00:00.119) 0:01:37.948 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:56:54 -0500 (0:00:00.088) 0:01:38.036 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:56:54 -0500 (0:00:00.050) 0:01:38.087 ***** 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": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:56:55 -0500 (0:00:00.564) 0:01:38.651 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:56:55 -0500 (0:00:00.036) 0:01:38.688 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:56:55 -0500 (0:00:00.040) 0:01:38.729 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:56:55 -0500 (0:00:00.042) 0:01:38.771 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:56:55 -0500 (0:00:00.036) 0:01:38.808 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:56:55 -0500 (0:00:00.393) 0:01:39.202 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 30 November 2024 07:56:55 -0500 (0:00:00.069) 0:01:39.271 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:56:55 -0500 (0:00:00.084) 0:01:39.355 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:56:55 -0500 (0:00:00.093) 0:01:39.448 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:56:55 -0500 (0:00:00.109) 0:01:39.558 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:56:56 -0500 (0:00:00.132) 0:01:39.691 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:56:56 -0500 (0:00:00.070) 0:01:39.761 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:56:57 -0500 (0:00:01.741) 0:01:41.502 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:56:59 -0500 (0:00:01.482) 0:01:42.985 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:56:59 -0500 (0:00:00.061) 0:01:43.046 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:56:59 -0500 (0:00:00.077) 0:01:43.123 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:56:59 -0500 (0:00:00.066) 0:01:43.190 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:56:59 -0500 (0:00:00.111) 0:01:43.301 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:56:59 -0500 (0:00:00.212) 0:01:43.513 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:57:00 -0500 (0:00:00.107) 0:01:43.621 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:57:00 -0500 (0:00:00.122) 0:01:43.743 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:57:00 -0500 (0:00:00.169) 0:01:43.913 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:57:00 -0500 (0:00:00.061) 0:01:43.975 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:57:00 -0500 (0:00:00.061) 0:01:44.037 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:57:00 -0500 (0:00:00.180) 0:01:44.217 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:57:01 -0500 (0:00:00.599) 0:01:44.816 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:57:01 -0500 (0:00:00.074) 0:01:44.891 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:57:01 -0500 (0:00:00.035) 0:01:44.926 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:57:01 -0500 (0:00:00.033) 0:01:44.959 ***** 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": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:57:01 -0500 (0:00:00.605) 0:01:45.565 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:57:01 -0500 (0:00:00.036) 0:01:45.602 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:57:02 -0500 (0:00:00.040) 0:01:45.642 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:57:02 -0500 (0:00:00.042) 0:01:45.685 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:57:02 -0500 (0:00:00.036) 0:01:45.722 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:57:02 -0500 (0:00:00.409) 0:01:46.131 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 30 November 2024 07:57:02 -0500 (0:00:00.097) 0:01:46.228 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:57:02 -0500 (0:00:00.071) 0:01:46.300 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:57:02 -0500 (0:00:00.039) 0:01:46.339 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:57:03 -0500 (0:00:00.404) 0:01:46.744 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:57:03 -0500 (0:00:00.036) 0:01:46.780 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016568", "end": "2024-11-30 07:57:03.484526", "rc": 1, "start": "2024-11-30 07:57:03.467958" } 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:57:03 -0500 (0:00:00.383) 0:01:47.164 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:57:03 -0500 (0:00:00.045) 0:01:47.209 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:57:03 -0500 (0:00:00.041) 0:01:47.250 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:57:03 -0500 (0:00:00.063) 0:01:47.313 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:57:03 -0500 (0:00:00.062) 0:01:47.376 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 30 November 2024 07:57:03 -0500 (0:00:00.063) 0:01:47.440 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:57:03 -0500 (0:00:00.064) 0:01:47.505 ***** included: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 30 November 2024 07:57:04 -0500 (0:00:00.153) 0:01:47.658 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:57:04 -0500 (0:00:00.106) 0:01:47.764 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 30 November 2024 07:57:04 -0500 (0:00:00.690) 0:01:48.455 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:57:04 -0500 (0:00:00.071) 0:01:48.526 ***** ok: [managed-node1] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:57:04 -0500 (0:00:00.067) 0:01:48.593 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:57:05 -0500 (0:00:00.201) 0:01:48.795 ***** 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.035885", "end": "2024-11-30 07:57:05.653879", "rc": 1, "start": "2024-11-30 07:57:05.617994" } 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 30 November 2024 07:57:05 -0500 (0:00:00.559) 0:01:49.355 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 30 November 2024 07:57:05 -0500 (0:00:00.095) 0:01:49.450 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 30 November 2024 07:57:05 -0500 (0:00:00.051) 0:01:49.502 ***** 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": true, "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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 30 November 2024 07:57:06 -0500 (0:00:00.143) 0:01:49.646 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 30 November 2024 07:57:06 -0500 (0:00:00.118) 0:01:49.764 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 30 November 2024 07:57:06 -0500 (0:00:00.103) 0:01:49.868 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003089", "end": "2024-11-30 07:57:06.587132", "rc": 0, "start": "2024-11-30 07:57:06.584043" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 30 November 2024 07:57:06 -0500 (0:00:00.440) 0:01:50.308 ***** ok: [managed-node1] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 30 November 2024 07:57:06 -0500 (0:00:00.061) 0:01:50.370 ***** ok: [managed-node1] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 30 November 2024 07:57:06 -0500 (0:00:00.044) 0:01:50.414 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node1 => (item=tasks/activate_profile.yml) included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 30 November 2024 07:57:06 -0500 (0:00:00.071) 0:01:50.486 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:57:06 -0500 (0:00:00.124) 0:01:50.610 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:57:07 -0500 (0:00:00.124) 0:01:50.735 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:57:07 -0500 (0:00:00.145) 0:01:50.881 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:57:07 -0500 (0:00:00.089) 0:01:50.971 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:57:07 -0500 (0:00:00.076) 0:01:51.047 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:57:09 -0500 (0:00:01.781) 0:01:52.828 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:57:10 -0500 (0:00:01.690) 0:01:54.519 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:57:10 -0500 (0:00:00.068) 0:01:54.588 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:57:11 -0500 (0:00:00.054) 0:01:54.643 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:57:11 -0500 (0:00:00.040) 0:01:54.683 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:57:11 -0500 (0:00:00.072) 0:01:54.756 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:57:11 -0500 (0:00:00.077) 0:01:54.833 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:57:11 -0500 (0:00:00.116) 0:01:54.950 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:57:11 -0500 (0:00:00.136) 0:01:55.086 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:57:11 -0500 (0:00:00.156) 0:01:55.243 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:57:11 -0500 (0:00:00.050) 0:01:55.294 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:57:11 -0500 (0:00:00.039) 0:01:55.333 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:57:11 -0500 (0:00:00.072) 0:01:55.406 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:57:12 -0500 (0:00:00.596) 0:01:56.003 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:57:12 -0500 (0:00:00.070) 0:01:56.073 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:57:12 -0500 (0:00:00.035) 0:01:56.109 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:57:12 -0500 (0:00:00.036) 0:01:56.145 ***** 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": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c5462944-2784-4734-a38f-e41ab3c685f4 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:57:13 -0500 (0:00:00.630) 0:01:56.776 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:57:13 -0500 (0:00:00.062) 0:01:56.838 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c5462944-2784-4734-a38f-e41ab3c685f4" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:57:13 -0500 (0:00:00.069) 0:01:56.908 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c5462944-2784-4734-a38f-e41ab3c685f4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c5462944-2784-4734-a38f-e41ab3c685f4" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:57:13 -0500 (0:00:00.069) 0:01:56.977 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:57:13 -0500 (0:00:00.061) 0:01:57.039 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 30 November 2024 07:57:14 -0500 (0:00:00.649) 0:01:57.688 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c5462944-2784-4734-a38f-e41ab3c685f4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c5462944-2784-4734-a38f-e41ab3c685f4" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 30 November 2024 07:57:14 -0500 (0:00:00.166) 0:01:57.855 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:57:14 -0500 (0:00:00.283) 0:01:58.138 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:57:14 -0500 (0:00:00.236) 0:01:58.375 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:57:14 -0500 (0:00:00.128) 0:01:58.504 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:57:14 -0500 (0:00:00.102) 0:01:58.606 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:57:15 -0500 (0:00:00.116) 0:01:58.723 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:57:16 -0500 (0:00:01.874) 0:02:00.597 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:57:18 -0500 (0:00:01.641) 0:02:02.239 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:57:18 -0500 (0:00:00.046) 0:02:02.286 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:57:18 -0500 (0:00:00.041) 0:02:02.327 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:57:18 -0500 (0:00:00.041) 0:02:02.369 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:57:18 -0500 (0:00:00.107) 0:02:02.476 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:57:18 -0500 (0:00:00.073) 0:02:02.550 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:57:19 -0500 (0:00:00.070) 0:02:02.620 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:57:19 -0500 (0:00:00.111) 0:02:02.732 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:57:19 -0500 (0:00:00.188) 0:02:02.921 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:57:19 -0500 (0:00:00.062) 0:02:02.983 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:57:19 -0500 (0:00:00.062) 0:02:03.046 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:57:19 -0500 (0:00:00.110) 0:02:03.157 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:57:20 -0500 (0:00:00.673) 0:02:03.830 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:57:20 -0500 (0:00:00.118) 0:02:03.948 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:57:20 -0500 (0:00:00.044) 0:02:03.992 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:57:20 -0500 (0:00:00.043) 0:02:04.036 ***** ok: [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": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c5462944-2784-4734-a38f-e41ab3c685f4 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:57:20 -0500 (0:00:00.550) 0:02:04.586 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:57:21 -0500 (0:00:00.039) 0:02:04.626 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c5462944-2784-4734-a38f-e41ab3c685f4 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:57:21 -0500 (0:00:00.066) 0:02:04.693 ***** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c5462944-2784-4734-a38f-e41ab3c685f4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c5462944-2784-4734-a38f-e41ab3c685f4 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:57:21 -0500 (0:00:00.069) 0:02:04.763 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:57:21 -0500 (0:00:00.059) 0:02:04.822 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 30 November 2024 07:57:21 -0500 (0:00:00.504) 0:02:05.326 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:57:21 -0500 (0:00:00.092) 0:02:05.419 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:57:21 -0500 (0:00:00.075) 0:02:05.494 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:57:21 -0500 (0:00:00.072) 0:02:05.567 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:57:21 -0500 (0:00:00.042) 0:02:05.610 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:57:22 -0500 (0:00:00.052) 0:02:05.662 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:57:23 -0500 (0:00:01.791) 0:02:07.453 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:57:25 -0500 (0:00:01.543) 0:02:08.997 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:57:25 -0500 (0:00:00.067) 0:02:09.064 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:57:25 -0500 (0:00:00.042) 0:02:09.107 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:57:25 -0500 (0:00:00.083) 0:02:09.190 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:57:25 -0500 (0:00:00.060) 0:02:09.250 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:57:25 -0500 (0:00:00.077) 0:02:09.328 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:57:25 -0500 (0:00:00.061) 0:02:09.390 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:57:25 -0500 (0:00:00.098) 0:02:09.488 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:57:26 -0500 (0:00:00.148) 0:02:09.637 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:57:26 -0500 (0:00:00.063) 0:02:09.700 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:57:26 -0500 (0:00:00.048) 0:02:09.749 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:57:26 -0500 (0:00:00.084) 0:02:09.834 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:57:26 -0500 (0:00:00.642) 0:02:10.476 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:57:26 -0500 (0:00:00.073) 0:02:10.550 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:57:26 -0500 (0:00:00.038) 0:02:10.588 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:57:27 -0500 (0:00:00.042) 0:02:10.631 ***** 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": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:57:27 -0500 (0:00:00.645) 0:02:11.276 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:57:27 -0500 (0:00:00.041) 0:02:11.318 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:57:27 -0500 (0:00:00.062) 0:02:11.380 ***** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:57:27 -0500 (0:00:00.069) 0:02:11.449 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:57:27 -0500 (0:00:00.098) 0:02:11.548 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 30 November 2024 07:57:28 -0500 (0:00:00.390) 0:02:11.939 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 30 November 2024 07:57:28 -0500 (0:00:00.071) 0:02:12.010 ***** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 30 November 2024 07:57:28 -0500 (0:00:00.084) 0:02:12.094 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 30 November 2024 07:57:28 -0500 (0:00:00.094) 0:02:12.189 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 30 November 2024 07:57:28 -0500 (0:00:00.086) 0:02:12.276 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 30 November 2024 07:57:28 -0500 (0:00:00.072) 0:02:12.349 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 30 November 2024 07:57:28 -0500 (0:00:00.072) 0:02:12.422 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 30 November 2024 07:57:30 -0500 (0:00:01.704) 0:02:14.126 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 30 November 2024 07:57:32 -0500 (0:00:01.562) 0:02:15.689 ***** ok: [managed-node1] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 30 November 2024 07:57:32 -0500 (0:00:00.040) 0:02:15.729 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 30 November 2024 07:57:32 -0500 (0:00:00.040) 0:02:15.770 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 30 November 2024 07:57:32 -0500 (0:00:00.049) 0:02:15.819 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 30 November 2024 07:57:32 -0500 (0:00:00.067) 0:02:15.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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 30 November 2024 07:57:32 -0500 (0:00:00.088) 0:02:15.975 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 30 November 2024 07:57:32 -0500 (0:00:00.062) 0:02:16.037 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 30 November 2024 07:57:32 -0500 (0:00:00.071) 0:02:16.109 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 30 November 2024 07:57:32 -0500 (0:00:00.109) 0:02:16.218 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 30 November 2024 07:57:32 -0500 (0:00:00.048) 0:02:16.267 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 30 November 2024 07:57:32 -0500 (0:00:00.036) 0:02:16.303 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 30 November 2024 07:57:32 -0500 (0:00:00.074) 0:02:16.377 ***** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 30 November 2024 07:57:33 -0500 (0:00:00.593) 0:02:16.971 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "__network_wpa_supplicant_required", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 30 November 2024 07:57:33 -0500 (0:00:00.073) 0:02:17.044 ***** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 30 November 2024 07:57:33 -0500 (0:00:00.036) 0:02:17.080 ***** skipping: [managed-node1] => { "changed": false, "false_condition": "network_provider == \"initscripts\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 30 November 2024 07:57:33 -0500 (0:00:00.037) 0:02:17.118 ***** 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": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 30 November 2024 07:57:34 -0500 (0:00:00.608) 0:02:17.726 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 30 November 2024 07:57:34 -0500 (0:00:00.083) 0:02:17.810 ***** ok: [managed-node1] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 30 November 2024 07:57:34 -0500 (0:00:00.043) 0:02:17.853 ***** 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": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 30 November 2024 07:57:34 -0500 (0:00:00.042) 0:02:17.896 ***** skipping: [managed-node1] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 30 November 2024 07:57:34 -0500 (0:00:00.042) 0:02:17.938 ***** ok: [managed-node1] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 30 November 2024 07:57:34 -0500 (0:00:00.422) 0:02:18.360 ***** included: /tmp/collections-mkj/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-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 30 November 2024 07:57:34 -0500 (0:00:00.088) 0:02:18.449 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 30 November 2024 07:57:34 -0500 (0:00:00.076) 0:02:18.525 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 30 November 2024 07:57:34 -0500 (0:00:00.039) 0:02:18.565 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 30 November 2024 07:57:35 -0500 (0:00:00.366) 0:02:18.931 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 30 November 2024 07:57:35 -0500 (0:00:00.035) 0:02:18.966 ***** fatal: [managed-node1]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016691", "end": "2024-11-30 07:57:35.670128", "rc": 1, "start": "2024-11-30 07:57:35.653437" } 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 30 November 2024 07:57:35 -0500 (0:00:00.416) 0:02:19.383 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 30 November 2024 07:57:35 -0500 (0:00:00.063) 0:02:19.447 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 30 November 2024 07:57:35 -0500 (0:00:00.067) 0:02:19.514 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 30 November 2024 07:57:36 -0500 (0:00:00.110) 0:02:19.625 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 30 November 2024 07:57:36 -0500 (0:00:00.045) 0:02:19.670 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 30 November 2024 07:57:36 -0500 (0:00:00.048) 0:02:19.719 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 30 November 2024 07:57:36 -0500 (0:00:00.044) 0:02:19.763 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.886669", "end": "2024-11-30 07:57:37.336223", "rc": 0, "start": "2024-11-30 07:57:36.449554" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 30 November 2024 07:57:37 -0500 (0:00:01.250) 0:02:21.014 ***** ok: [managed-node1] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.039) 0:02:21.054 ***** ok: [managed-node1] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.040) 0:02:21.095 ***** included: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node1 => (item={'what': 'tasks/assert_device_absent.yml', 'condition': True}) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.096) 0:02:21.191 ***** included: /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 30 November 2024 07:57:37 -0500 (0:00:00.060) 0:02:21.252 ***** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 30 November 2024 07:57:38 -0500 (0:00:00.375) 0:02:21.627 ***** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 30 November 2024 07:57:38 -0500 (0:00:00.042) 0:02:21.670 ***** 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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 30 November 2024 07:57:38 -0500 (0:00:00.038) 0:02:21.708 ***** included: /tmp/collections-mkj/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-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 30 November 2024 07:57:38 -0500 (0:00:00.078) 0:02:21.786 ***** 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.033531", "end": "2024-11-30 07:57:38.515916", "rc": 1, "start": "2024-11-30 07:57:38.482385" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 30 November 2024 07:57:38 -0500 (0:00:00.413) 0:02:22.200 ***** 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.008485", "end": "2024-11-30 07:57:38.927010", "rc": 0, "start": "2024-11-30 07:57:38.918525" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:39:13:4c:d3:27 brd ff:ff:ff:ff:ff:ff inet 10.31.10.28/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2318sec preferred_lft 2318sec inet6 fe80::1039:13ff:fe4c:d327/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.10.28 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.10.28 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 30 November 2024 07:57:39 -0500 (0:00:00.444) 0:02:22.644 ***** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.331927", "end": "2024-11-30 07:57:39.672861", "rc": 0, "start": "2024-11-30 07:57:39.340934" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe: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 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 3505 0 --:--:-- --:--:-- --:--:-- 3505 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1316 0 --:--:-- --:--:-- --:--:-- 1316 PLAY RECAP ********************************************************************* managed-node1 : ok=324 changed=10 unreachable=0 failed=0 skipped=307 rescued=0 ignored=11 Saturday 30 November 2024 07:57:39 -0500 (0:00:00.687) 0:02:23.332 ***** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.13s /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.90s /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.87s /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.85s /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/collections-mkj/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-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.69s /tmp/collections-mkj/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26