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-ZqU executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml PLAY [Run playbook 'playbooks/tests_states.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Monday 11 November 2024 20:11:42 -0500 (0:00:00.007) 0:00:00.007 ******* ok: [managed-node2] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Monday 11 November 2024 20:11:43 -0500 (0:00:01.087) 0:00:01.095 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 11 November 2024 20:11:43 -0500 (0:00:00.021) 0:00:01.116 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not ansible_facts.keys() | list | intersect(network_test_required_facts) == network_test_required_facts", "skip_reason": "Conditional result was False" } TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 11 November 2024 20:11:43 -0500 (0:00:00.050) 0:00:01.167 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 11 November 2024 20:11:43 -0500 (0:00:00.452) 0:00:01.619 ******* ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 11 November 2024 20:11:43 -0500 (0:00:00.021) 0:00:01.640 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 11 November 2024 20:11:43 -0500 (0:00:00.013) 0:00:01.654 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 11 November 2024 20:11:43 -0500 (0:00:00.041) 0:00:01.695 ******* ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Monday 11 November 2024 20:11:44 -0500 (0:00:00.414) 0:00:02.110 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Monday 11 November 2024 20:11:44 -0500 (0:00:00.013) 0:00:02.123 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Monday 11 November 2024 20:11:44 -0500 (0:00:00.013) 0:00:02.136 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.224470", "end": "2024-11-11 20:11:44.846631", "rc": 0, "start": "2024-11-11 20:11:44.622161" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Monday 11 November 2024 20:11:44 -0500 (0:00:00.566) 0:00:02.703 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Monday 11 November 2024 20:11:44 -0500 (0:00:00.016) 0:00:02.720 ******* ok: [managed-node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Monday 11 November 2024 20:11:44 -0500 (0:00:00.016) 0:00:02.737 ******* ok: [managed-node2] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Monday 11 November 2024 20:11:45 -0500 (0:00:00.743) 0:00:03.480 ******* ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Monday 11 November 2024 20:11:45 -0500 (0:00:00.043) 0:00:03.524 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:11:45 -0500 (0:00:00.049) 0:00:03.574 ******* ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:11:45 -0500 (0:00:00.046) 0:00:03.621 ******* ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:11:45 -0500 (0:00:00.119) 0:00:03.740 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:11:46 -0500 (0:00:00.072) 0:00:03.812 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:11:46 -0500 (0:00:00.083) 0:00:03.896 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003029", "end": "2024-11-11 20:11:46.515056", "rc": 0, "start": "2024-11-11 20:11:46.512027" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:11:46 -0500 (0:00:00.466) 0:00:04.362 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:11:46 -0500 (0:00:00.040) 0:00:04.403 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:11:46 -0500 (0:00:00.045) 0:00:04.448 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 11 November 2024 20:11:46 -0500 (0:00:00.074) 0:00:04.523 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007066", "end": "2024-11-11 20:11:47.214608", "rc": 1, "start": "2024-11-11 20:11:47.207542" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 11 November 2024 20:11:47 -0500 (0:00:00.549) 0:00:05.072 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:11:47 -0500 (0:00:00.063) 0:00:05.136 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 11 November 2024 20:11:47 -0500 (0:00:00.347) 0:00:05.484 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:11:47 -0500 (0:00:00.039) 0:00:05.523 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 11 November 2024 20:11:47 -0500 (0:00:00.046) 0:00:05.570 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:11:47 -0500 (0:00:00.060) 0:00:05.630 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:11:47 -0500 (0:00:00.051) 0:00:05.681 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:11:47 -0500 (0:00:00.037) 0:00:05.719 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:11:47 -0500 (0:00:00.037) 0:00:05.757 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:11:47 -0500 (0:00:00.046) 0:00:05.803 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:11:49 -0500 (0:00:01.691) 0:00:07.495 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:11:51 -0500 (0:00:01.733) 0:00:09.228 ******* ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:11:51 -0500 (0:00:00.074) 0:00:09.303 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:11:51 -0500 (0:00:00.057) 0:00:09.361 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:11:51 -0500 (0:00:00.053) 0:00:09.414 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:11:51 -0500 (0:00:00.049) 0:00:09.464 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:11:51 -0500 (0:00:00.059) 0:00:09.523 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:11:51 -0500 (0:00:00.055) 0:00:09.579 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:11:51 -0500 (0:00:00.096) 0:00:09.676 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:11:52 -0500 (0:00:00.247) 0:00:09.924 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:11:52 -0500 (0:00:00.170) 0:00:10.094 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:11:52 -0500 (0:00:00.083) 0:00:10.178 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:11:52 -0500 (0:00:00.078) 0:00:10.257 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:11:52 -0500 (0:00:00.082) 0:00:10.339 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:11:52 -0500 (0:00:00.089) 0:00:10.428 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:11:53 -0500 (0:00:00.955) 0:00:11.383 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41978tfwtw7gl/tmpe0ap3ja7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:11:53 -0500 (0:00:00.397) 0:00:11.781 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:11:54 -0500 (0:00:00.662) 0:00:12.443 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:11:54 -0500 (0:00:00.050) 0:00:12.494 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:11:54 -0500 (0:00:00.055) 0:00:12.550 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:11:54 -0500 (0:00:00.059) 0:00:12.609 ******* skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:11:54 -0500 (0:00:00.079) 0:00:12.689 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 11 November 2024 20:11:55 -0500 (0:00:00.654) 0:00:13.343 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:11:55 -0500 (0:00:00.084) 0:00:13.428 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 11 November 2024 20:11:55 -0500 (0:00:00.129) 0:00:13.557 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:11:55 -0500 (0:00:00.078) 0:00:13.636 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:11:55 -0500 (0:00:00.054) 0:00:13.691 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731373914.5786552, "block_size": 4096, "blocks": 8, "ctime": 1731373914.5786552, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1731373914.5786552, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:11:56 -0500 (0:00:00.362) 0:00:14.053 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:11:56 -0500 (0:00:00.053) 0:00:14.106 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018653", "end": "2024-11-11 20:11:56.617532", "rc": 1, "start": "2024-11-11 20:11:56.598879" } 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-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:11:56 -0500 (0:00:00.375) 0:00:14.482 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:11:56 -0500 (0:00:00.053) 0:00:14.535 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002948", "end": "2024-11-11 20:11:57.027605", "rc": 0, "start": "2024-11-11 20:11:57.024657" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:11:57 -0500 (0:00:00.413) 0:00:14.948 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:11:57 -0500 (0:00:00.110) 0:00:15.059 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002731", "end": "2024-11-11 20:11:57.635441", "rc": 0, "start": "2024-11-11 20:11:57.632710" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:11:57 -0500 (0:00:00.465) 0:00:15.524 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 11 November 2024 20:11:57 -0500 (0:00:00.094) 0:00:15.619 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 11 November 2024 20:11:57 -0500 (0:00:00.085) 0:00:15.705 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 11 November 2024 20:11:57 -0500 (0:00:00.068) 0:00:15.773 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:11:58 -0500 (0:00:00.078) 0:00:15.851 ******* skipping: [managed-node2] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:11:58 -0500 (0:00:00.092) 0:00:15.944 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:11:58 -0500 (0:00:00.082) 0:00:16.026 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:11:58 -0500 (0:00:00.199) 0:00:16.227 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034027", "end": "2024-11-11 20:11:58.753136", "rc": 1, "start": "2024-11-11 20:11:58.719109" } 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-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Monday 11 November 2024 20:11:58 -0500 (0:00:00.477) 0:00:16.704 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:11:59 -0500 (0:00:00.249) 0:00:16.954 ******* ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:11:59 -0500 (0:00:00.134) 0:00:17.089 ******* ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:11:59 -0500 (0:00:00.312) 0:00:17.401 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:11:59 -0500 (0:00:00.163) 0:00:17.565 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:11:59 -0500 (0:00:00.141) 0:00:17.706 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003022", "end": "2024-11-11 20:12:00.227652", "rc": 0, "start": "2024-11-11 20:12:00.224630" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:12:00 -0500 (0:00:00.402) 0:00:18.109 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:12:00 -0500 (0:00:00.087) 0:00:18.196 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:12:00 -0500 (0:00:00.090) 0:00:18.286 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 => (item=tasks/delete_interface.yml) included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 11 November 2024 20:12:00 -0500 (0:00:00.182) 0:00:18.468 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005607", "end": "2024-11-11 20:12:01.093755", "rc": 1, "start": "2024-11-11 20:12:01.088148" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 11 November 2024 20:12:01 -0500 (0:00:00.541) 0:00:19.010 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:12:01 -0500 (0:00:00.096) 0:00:19.107 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 11 November 2024 20:12:01 -0500 (0:00:00.409) 0:00:19.517 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:12:01 -0500 (0:00:00.070) 0:00:19.588 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 11 November 2024 20:12:01 -0500 (0:00:00.083) 0:00:19.671 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:12:01 -0500 (0:00:00.105) 0:00:19.777 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:12:02 -0500 (0:00:00.186) 0:00:19.963 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:12:02 -0500 (0:00:00.071) 0:00:20.034 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:12:02 -0500 (0:00:00.074) 0:00:20.109 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:12:02 -0500 (0:00:00.058) 0:00:20.168 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:12:04 -0500 (0:00:01.729) 0:00:21.898 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:12:05 -0500 (0:00:01.697) 0:00:23.596 ******* ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:12:05 -0500 (0:00:00.101) 0:00:23.697 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:12:05 -0500 (0:00:00.074) 0:00:23.771 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:12:06 -0500 (0:00:00.081) 0:00:23.852 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:12:06 -0500 (0:00:00.057) 0:00:23.909 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:12:06 -0500 (0:00:00.063) 0:00:23.973 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:12:06 -0500 (0:00:00.052) 0:00:24.026 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:12:06 -0500 (0:00:00.060) 0:00:24.086 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:12:06 -0500 (0:00:00.090) 0:00:24.176 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:12:06 -0500 (0:00:00.052) 0:00:24.229 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:12:06 -0500 (0:00:00.051) 0:00:24.280 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:12:06 -0500 (0:00:00.062) 0:00:24.342 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:12:06 -0500 (0:00:00.050) 0:00:24.393 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:12:06 -0500 (0:00:00.050) 0:00:24.443 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:12:07 -0500 (0:00:00.544) 0:00:24.988 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41978tfwtw7gl/tmpufbd4zoo" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:12:07 -0500 (0:00:00.488) 0:00:25.476 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:12:08 -0500 (0:00:00.576) 0:00:26.053 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:12:08 -0500 (0:00:00.082) 0:00:26.136 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:12:08 -0500 (0:00:00.062) 0:00:26.198 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:12:08 -0500 (0:00:00.066) 0:00:26.265 ******* skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:12:08 -0500 (0:00:00.055) 0:00:26.320 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 11 November 2024 20:12:08 -0500 (0:00:00.411) 0:00:26.732 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:12:09 -0500 (0:00:00.091) 0:00:26.823 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 11 November 2024 20:12:09 -0500 (0:00:00.133) 0:00:26.957 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:12:09 -0500 (0:00:00.164) 0:00:27.121 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 11 November 2024 20:12:09 -0500 (0:00:00.465) 0:00:27.586 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 11 November 2024 20:12:09 -0500 (0:00:00.121) 0:00:27.709 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:12:10 -0500 (0:00:00.210) 0:00:27.919 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:12:10 -0500 (0:00:00.257) 0:00:28.176 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731373928.1646426, "block_size": 4096, "blocks": 8, "ctime": 1731373928.1656425, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250799, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1731373928.1656425, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 126, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:12:10 -0500 (0:00:00.429) 0:00:28.606 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:12:10 -0500 (0:00:00.063) 0:00:28.670 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017748", "end": "2024-11-11 20:12:11.232238", "rc": 1, "start": "2024-11-11 20:12:11.214490" } 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-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:12:11 -0500 (0:00:00.436) 0:00:29.106 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:12:11 -0500 (0:00:00.058) 0:00:29.165 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002825", "end": "2024-11-11 20:12:11.657124", "rc": 0, "start": "2024-11-11 20:12:11.654299" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:12:11 -0500 (0:00:00.393) 0:00:29.559 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:12:11 -0500 (0:00:00.105) 0:00:29.664 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002889", "end": "2024-11-11 20:12:12.189666", "rc": 0, "start": "2024-11-11 20:12:12.186777" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:12:12 -0500 (0:00:00.400) 0:00:30.065 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 11 November 2024 20:12:12 -0500 (0:00:00.112) 0:00:30.177 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 11 November 2024 20:12:12 -0500 (0:00:00.068) 0:00:30.246 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 11 November 2024 20:12:12 -0500 (0:00:00.067) 0:00:30.313 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:12:12 -0500 (0:00:00.056) 0:00:30.369 ******* skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:12:12 -0500 (0:00:00.049) 0:00:30.418 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:12:12 -0500 (0:00:00.052) 0:00:30.471 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:12:12 -0500 (0:00:00.078) 0:00:30.550 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034394", "end": "2024-11-11 20:12:13.073467", "rc": 1, "start": "2024-11-11 20:12:13.039073" } 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-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Monday 11 November 2024 20:12:13 -0500 (0:00:00.496) 0:00:31.046 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:12:13 -0500 (0:00:00.152) 0:00:31.198 ******* ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:12:13 -0500 (0:00:00.069) 0:00:31.268 ******* ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:12:13 -0500 (0:00:00.107) 0:00:31.376 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:12:13 -0500 (0:00:00.073) 0:00:31.450 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:12:13 -0500 (0:00:00.073) 0:00:31.524 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002737", "end": "2024-11-11 20:12:14.039613", "rc": 0, "start": "2024-11-11 20:12:14.036876" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:12:14 -0500 (0:00:00.393) 0:00:31.917 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:12:14 -0500 (0:00:00.053) 0:00:31.971 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:12:14 -0500 (0:00:00.057) 0:00:32.029 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 11 November 2024 20:12:14 -0500 (0:00:00.075) 0:00:32.104 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:12:14 -0500 (0:00:00.090) 0:00:32.195 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:12:14 -0500 (0:00:00.121) 0:00:32.316 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:12:14 -0500 (0:00:00.102) 0:00:32.419 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:12:14 -0500 (0:00:00.088) 0:00:32.508 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:12:14 -0500 (0:00:00.086) 0:00:32.594 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:12:16 -0500 (0:00:01.651) 0:00:34.246 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:12:18 -0500 (0:00:01.591) 0:00:35.837 ******* ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:12:18 -0500 (0:00:00.086) 0:00:35.923 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:12:18 -0500 (0:00:00.084) 0:00:36.008 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:12:18 -0500 (0:00:00.081) 0:00:36.090 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:12:18 -0500 (0:00:00.086) 0:00:36.177 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:12:18 -0500 (0:00:00.111) 0:00:36.289 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:12:18 -0500 (0:00:00.080) 0:00:36.369 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:12:18 -0500 (0:00:00.098) 0:00:36.467 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:12:18 -0500 (0:00:00.255) 0:00:36.722 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:12:19 -0500 (0:00:00.115) 0:00:36.838 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:12:19 -0500 (0:00:00.138) 0:00:36.976 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:12:19 -0500 (0:00:00.119) 0:00:37.096 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:12:19 -0500 (0:00:00.121) 0:00:37.217 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:12:19 -0500 (0:00:00.100) 0:00:37.317 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:12:20 -0500 (0:00:00.588) 0:00:37.906 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41978tfwtw7gl/tmpgw62w7p3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:12:20 -0500 (0:00:00.403) 0:00:38.310 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:12:20 -0500 (0:00:00.490) 0:00:38.801 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:12:21 -0500 (0:00:00.061) 0:00:38.862 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:12:21 -0500 (0:00:00.077) 0:00:38.939 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:12:21 -0500 (0:00:00.061) 0:00:39.001 ******* skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:12:21 -0500 (0:00:00.053) 0:00:39.054 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 11 November 2024 20:12:21 -0500 (0:00:00.470) 0:00:39.525 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:12:21 -0500 (0:00:00.057) 0:00:39.582 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 11 November 2024 20:12:21 -0500 (0:00:00.158) 0:00:39.740 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:12:22 -0500 (0:00:00.149) 0:00:39.889 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:12:22 -0500 (0:00:00.187) 0:00:40.077 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:12:22 -0500 (0:00:00.183) 0:00:40.260 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:12:22 -0500 (0:00:00.140) 0:00:40.401 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:12:22 -0500 (0:00:00.087) 0:00:40.489 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:12:24 -0500 (0:00:01.609) 0:00:42.098 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:12:25 -0500 (0:00:01.484) 0:00:43.583 ******* ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:12:25 -0500 (0:00:00.057) 0:00:43.640 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:12:25 -0500 (0:00:00.054) 0:00:43.695 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:12:25 -0500 (0:00:00.050) 0:00:43.745 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:12:26 -0500 (0:00:00.089) 0:00:43.835 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:12:26 -0500 (0:00:00.087) 0:00:43.922 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:12:26 -0500 (0:00:00.072) 0:00:43.995 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:12:26 -0500 (0:00:00.094) 0:00:44.089 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:12:26 -0500 (0:00:00.106) 0:00:44.195 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:12:26 -0500 (0:00:00.059) 0:00:44.255 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:12:26 -0500 (0:00:00.051) 0:00:44.306 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:12:26 -0500 (0:00:00.059) 0:00:44.366 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:12:26 -0500 (0:00:00.054) 0:00:44.420 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:12:26 -0500 (0:00:00.074) 0:00:44.495 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:12:27 -0500 (0:00:00.813) 0:00:45.308 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41978tfwtw7gl/tmpgmmeb6hk" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:12:27 -0500 (0:00:00.471) 0:00:45.780 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:12:28 -0500 (0:00:00.748) 0:00:46.529 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:12:28 -0500 (0:00:00.066) 0:00:46.595 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:12:28 -0500 (0:00:00.063) 0:00:46.659 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:12:28 -0500 (0:00:00.055) 0:00:46.714 ******* skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:12:28 -0500 (0:00:00.054) 0:00:46.769 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:12:29 -0500 (0:00:00.525) 0:00:47.295 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 11 November 2024 20:12:29 -0500 (0:00:00.232) 0:00:47.528 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:12:29 -0500 (0:00:00.121) 0:00:47.649 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731373948.5731492, "block_size": 4096, "blocks": 0, "ctime": 1731373948.5731492, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35955, "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": 1731373948.5731492, "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-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 11 November 2024 20:12:30 -0500 (0:00:00.437) 0:00:48.086 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 11 November 2024 20:12:30 -0500 (0:00:00.078) 0:00:48.165 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:12:30 -0500 (0:00:00.098) 0:00:48.264 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:12:30 -0500 (0:00:00.061) 0:00:48.326 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731373948.4136236, "block_size": 4096, "blocks": 8, "ctime": 1731373940.9146307, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301241, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1731373940.9146307, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 127, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:12:30 -0500 (0:00:00.371) 0:00:48.697 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:12:30 -0500 (0:00:00.080) 0:00:48.777 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017749", "end": "2024-11-11 20:12:31.350999", "rc": 1, "start": "2024-11-11 20:12:31.333250" } 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-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:12:31 -0500 (0:00:00.456) 0:00:49.234 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:12:31 -0500 (0:00:00.060) 0:00:49.294 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002627", "end": "2024-11-11 20:12:31.789750", "rc": 0, "start": "2024-11-11 20:12:31.787123" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:12:31 -0500 (0:00:00.390) 0:00:49.685 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:12:32 -0500 (0:00:00.147) 0:00:49.833 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002625", "end": "2024-11-11 20:12:32.355188", "rc": 0, "start": "2024-11-11 20:12:32.352563" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:12:32 -0500 (0:00:00.388) 0:00:50.221 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 11 November 2024 20:12:32 -0500 (0:00:00.062) 0:00:50.283 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 11 November 2024 20:12:32 -0500 (0:00:00.057) 0:00:50.341 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 11 November 2024 20:12:32 -0500 (0:00:00.056) 0:00:50.397 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:12:32 -0500 (0:00:00.059) 0:00:50.456 ******* skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:12:32 -0500 (0:00:00.050) 0:00:50.506 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:12:32 -0500 (0:00:00.053) 0:00:50.560 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:12:32 -0500 (0:00:00.082) 0:00:50.642 ******* ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.045832", "end": "2024-11-11 20:12:33.211190", "rc": 0, "start": "2024-11-11 20:12:33.165358" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Monday 11 November 2024 20:12:33 -0500 (0:00:00.442) 0:00:51.085 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:12:33 -0500 (0:00:00.079) 0:00:51.165 ******* ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:12:33 -0500 (0:00:00.054) 0:00:51.219 ******* ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:12:33 -0500 (0:00:00.095) 0:00:51.315 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:12:33 -0500 (0:00:00.073) 0:00:51.388 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:12:33 -0500 (0:00:00.177) 0:00:51.566 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003151", "end": "2024-11-11 20:12:34.111426", "rc": 0, "start": "2024-11-11 20:12:34.108275" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:12:34 -0500 (0:00:00.411) 0:00:51.977 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:12:34 -0500 (0:00:00.058) 0:00:52.036 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:12:34 -0500 (0:00:00.054) 0:00:52.090 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 11 November 2024 20:12:34 -0500 (0:00:00.078) 0:00:52.169 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:12:34 -0500 (0:00:00.102) 0:00:52.272 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:12:34 -0500 (0:00:00.122) 0:00:52.394 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:12:34 -0500 (0:00:00.092) 0:00:52.487 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:12:34 -0500 (0:00:00.084) 0:00:52.572 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:12:34 -0500 (0:00:00.090) 0:00:52.662 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:12:36 -0500 (0:00:01.685) 0:00:54.347 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:12:38 -0500 (0:00:01.724) 0:00:56.071 ******* ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:12:38 -0500 (0:00:00.065) 0:00:56.137 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:12:38 -0500 (0:00:00.058) 0:00:56.196 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:12:38 -0500 (0:00:00.056) 0:00:56.253 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:12:38 -0500 (0:00:00.086) 0:00:56.340 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:12:38 -0500 (0:00:00.098) 0:00:56.438 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:12:38 -0500 (0:00:00.095) 0:00:56.534 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:12:38 -0500 (0:00:00.101) 0:00:56.636 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:12:38 -0500 (0:00:00.132) 0:00:56.769 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:12:39 -0500 (0:00:00.089) 0:00:56.859 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:12:39 -0500 (0:00:00.074) 0:00:56.933 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:12:39 -0500 (0:00:00.062) 0:00:56.996 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:12:39 -0500 (0:00:00.054) 0:00:57.050 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:12:39 -0500 (0:00:00.067) 0:00:57.118 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:12:40 -0500 (0:00:00.798) 0:00:57.916 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41978tfwtw7gl/tmp8mcsf39i" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:12:40 -0500 (0:00:00.593) 0:00:58.510 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:12:41 -0500 (0:00:00.508) 0:00:59.019 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:12:41 -0500 (0:00:00.113) 0:00:59.132 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:12:41 -0500 (0:00:00.097) 0:00:59.230 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:12:41 -0500 (0:00:00.093) 0:00:59.323 ******* skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:12:41 -0500 (0:00:00.068) 0:00:59.392 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 11 November 2024 20:12:41 -0500 (0:00:00.403) 0:00:59.796 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 11 November 2024 20:12:42 -0500 (0:00:00.083) 0:00:59.879 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:12:42 -0500 (0:00:00.137) 0:01:00.017 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:12:42 -0500 (0:00:00.108) 0:01:00.125 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:12:42 -0500 (0:00:00.110) 0:01:00.235 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:12:42 -0500 (0:00:00.065) 0:01:00.300 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:12:42 -0500 (0:00:00.077) 0:01:00.378 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:12:44 -0500 (0:00:01.731) 0:01:02.110 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:12:45 -0500 (0:00:01.512) 0:01:03.622 ******* ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:12:45 -0500 (0:00:00.055) 0:01:03.677 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:12:45 -0500 (0:00:00.054) 0:01:03.732 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:12:45 -0500 (0:00:00.065) 0:01:03.797 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:12:46 -0500 (0:00:00.088) 0:01:03.885 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:12:46 -0500 (0:00:00.102) 0:01:03.988 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:12:46 -0500 (0:00:00.085) 0:01:04.074 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:12:46 -0500 (0:00:00.093) 0:01:04.167 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:12:46 -0500 (0:00:00.141) 0:01:04.308 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:12:46 -0500 (0:00:00.104) 0:01:04.412 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:12:46 -0500 (0:00:00.087) 0:01:04.500 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:12:46 -0500 (0:00:00.101) 0:01:04.601 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:12:46 -0500 (0:00:00.111) 0:01:04.713 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:12:47 -0500 (0:00:00.369) 0:01:05.082 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:12:47 -0500 (0:00:00.654) 0:01:05.737 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41978tfwtw7gl/tmpjdn4sbr5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:12:48 -0500 (0:00:00.518) 0:01:06.255 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:12:49 -0500 (0:00:00.713) 0:01:06.969 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:12:49 -0500 (0:00:00.053) 0:01:07.023 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:12:49 -0500 (0:00:00.067) 0:01:07.090 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:12:49 -0500 (0:00:00.091) 0:01:07.182 ******* skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:12:49 -0500 (0:00:00.086) 0:01:07.268 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:12:49 -0500 (0:00:00.432) 0:01:07.701 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 11 November 2024 20:12:50 -0500 (0:00:00.130) 0:01:07.831 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:12:50 -0500 (0:00:00.167) 0:01:07.998 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:12:50 -0500 (0:00:00.108) 0:01:08.107 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:12:50 -0500 (0:00:00.152) 0:01:08.260 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:12:50 -0500 (0:00:00.055) 0:01:08.315 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:12:50 -0500 (0:00:00.058) 0:01:08.373 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:12:52 -0500 (0:00:01.694) 0:01:10.068 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:12:53 -0500 (0:00:01.617) 0:01:11.685 ******* ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:12:53 -0500 (0:00:00.088) 0:01:11.773 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:12:54 -0500 (0:00:00.083) 0:01:11.857 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:12:54 -0500 (0:00:00.056) 0:01:11.914 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:12:54 -0500 (0:00:00.064) 0:01:11.978 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:12:54 -0500 (0:00:00.067) 0:01:12.046 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:12:54 -0500 (0:00:00.051) 0:01:12.098 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:12:54 -0500 (0:00:00.067) 0:01:12.165 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:12:54 -0500 (0:00:00.132) 0:01:12.298 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:12:54 -0500 (0:00:00.080) 0:01:12.379 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:12:54 -0500 (0:00:00.170) 0:01:12.549 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:12:54 -0500 (0:00:00.083) 0:01:12.632 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:12:54 -0500 (0:00:00.059) 0:01:12.692 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:12:54 -0500 (0:00:00.081) 0:01:12.773 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:12:55 -0500 (0:00:00.644) 0:01:13.418 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41978tfwtw7gl/tmptb4658ov" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:12:55 -0500 (0:00:00.363) 0:01:13.781 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:12:56 -0500 (0:00:00.480) 0:01:14.262 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:12:56 -0500 (0:00:00.082) 0:01:14.344 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:12:56 -0500 (0:00:00.083) 0:01:14.428 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:12:56 -0500 (0:00:00.092) 0:01:14.521 ******* skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:12:56 -0500 (0:00:00.085) 0:01:14.606 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:12:57 -0500 (0:00:00.497) 0:01:15.104 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 => (item=tasks/assert_device_present.yml) included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 11 November 2024 20:12:57 -0500 (0:00:00.142) 0:01:15.247 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 11 November 2024 20:12:57 -0500 (0:00:00.142) 0:01:15.389 ******* ok: [managed-node2] => { "changed": false, "stat": { "atime": 1731373969.0246704, "block_size": 4096, "blocks": 0, "ctime": 1731373969.0246704, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36086, "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": 1731373969.0246704, "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-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 11 November 2024 20:12:57 -0500 (0:00:00.370) 0:01:15.760 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 11 November 2024 20:12:58 -0500 (0:00:00.082) 0:01:15.843 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:12:58 -0500 (0:00:00.124) 0:01:15.968 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:12:58 -0500 (0:00:00.081) 0:01:16.049 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:12:58 -0500 (0:00:00.385) 0:01:16.434 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:12:58 -0500 (0:00:00.053) 0:01:16.487 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017610", "end": "2024-11-11 20:12:59.195241", "rc": 1, "start": "2024-11-11 20:12:59.177631" } 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-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:12:59 -0500 (0:00:00.606) 0:01:17.094 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:12:59 -0500 (0:00:00.092) 0:01:17.187 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:12:59 -0500 (0:00:00.087) 0:01:17.275 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:12:59 -0500 (0:00:00.128) 0:01:17.403 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:12:59 -0500 (0:00:00.085) 0:01:17.489 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 11 November 2024 20:12:59 -0500 (0:00:00.098) 0:01:17.588 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:12:59 -0500 (0:00:00.161) 0:01:17.749 ******* skipping: [managed-node2] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:13:00 -0500 (0:00:00.150) 0:01:17.899 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:13:00 -0500 (0:00:00.089) 0:01:17.989 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:13:00 -0500 (0:00:00.256) 0:01:18.245 ******* ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.045982", "end": "2024-11-11 20:13:00.799149", "rc": 0, "start": "2024-11-11 20:13:00.753167" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Monday 11 November 2024 20:13:00 -0500 (0:00:00.440) 0:01:18.685 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:13:01 -0500 (0:00:00.134) 0:01:18.820 ******* ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:13:01 -0500 (0:00:00.082) 0:01:18.902 ******* ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:13:01 -0500 (0:00:00.158) 0:01:19.061 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:13:01 -0500 (0:00:00.086) 0:01:19.147 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:13:01 -0500 (0:00:00.075) 0:01:19.222 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002935", "end": "2024-11-11 20:13:01.720350", "rc": 0, "start": "2024-11-11 20:13:01.717415" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:13:01 -0500 (0:00:00.384) 0:01:19.607 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:13:01 -0500 (0:00:00.092) 0:01:19.699 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:13:01 -0500 (0:00:00.087) 0:01:19.786 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 11 November 2024 20:13:02 -0500 (0:00:00.141) 0:01:19.928 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:02 -0500 (0:00:00.171) 0:01:20.099 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:02 -0500 (0:00:00.105) 0:01:20.205 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:02 -0500 (0:00:00.099) 0:01:20.304 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:02 -0500 (0:00:00.088) 0:01:20.392 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:02 -0500 (0:00:00.080) 0:01:20.473 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:04 -0500 (0:00:01.715) 0:01:22.188 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:05 -0500 (0:00:01.562) 0:01:23.751 ******* ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:06 -0500 (0:00:00.065) 0:01:23.817 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:06 -0500 (0:00:00.061) 0:01:23.878 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:06 -0500 (0:00:00.051) 0:01:23.929 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:06 -0500 (0:00:00.054) 0:01:23.984 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:06 -0500 (0:00:00.066) 0:01:24.051 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:06 -0500 (0:00:00.200) 0:01:24.251 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:06 -0500 (0:00:00.140) 0:01:24.392 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:06 -0500 (0:00:00.173) 0:01:24.565 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:06 -0500 (0:00:00.099) 0:01:24.665 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:06 -0500 (0:00:00.081) 0:01:24.746 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:07 -0500 (0:00:00.096) 0:01:24.843 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:07 -0500 (0:00:00.086) 0:01:24.929 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:07 -0500 (0:00:00.082) 0:01:25.012 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:07 -0500 (0:00:00.745) 0:01:25.758 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41978tfwtw7gl/tmphaftsv2v" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:08 -0500 (0:00:00.405) 0:01:26.163 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:08 -0500 (0:00:00.641) 0:01:26.804 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:09 -0500 (0:00:00.063) 0:01:26.868 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:09 -0500 (0:00:00.060) 0:01:26.929 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:09 -0500 (0:00:00.081) 0:01:27.010 ******* skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:09 -0500 (0:00:00.067) 0:01:27.078 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 11 November 2024 20:13:09 -0500 (0:00:00.594) 0:01:27.672 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 11 November 2024 20:13:09 -0500 (0:00:00.091) 0:01:27.764 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:10 -0500 (0:00:00.145) 0:01:27.909 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:10 -0500 (0:00:00.115) 0:01:28.025 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:10 -0500 (0:00:00.061) 0:01:28.086 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:10 -0500 (0:00:00.058) 0:01:28.145 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:10 -0500 (0:00:00.080) 0:01:28.226 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:12 -0500 (0:00:01.758) 0:01:29.984 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:13 -0500 (0:00:01.555) 0:01:31.539 ******* ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:13 -0500 (0:00:00.094) 0:01:31.634 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:13 -0500 (0:00:00.107) 0:01:31.741 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:14 -0500 (0:00:00.124) 0:01:31.866 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:14 -0500 (0:00:00.247) 0:01:32.114 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:14 -0500 (0:00:00.176) 0:01:32.290 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:14 -0500 (0:00:00.090) 0:01:32.381 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:14 -0500 (0:00:00.111) 0:01:32.493 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:14 -0500 (0:00:00.150) 0:01:32.643 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:14 -0500 (0:00:00.082) 0:01:32.726 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:15 -0500 (0:00:00.083) 0:01:32.809 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:15 -0500 (0:00:00.098) 0:01:32.907 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:15 -0500 (0:00:00.081) 0:01:32.989 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:15 -0500 (0:00:00.080) 0:01:33.070 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:15 -0500 (0:00:00.589) 0:01:33.659 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41978tfwtw7gl/tmp6r7y0wl0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:16 -0500 (0:00:00.407) 0:01:34.066 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:17 -0500 (0:00:00.933) 0:01:34.999 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:17 -0500 (0:00:00.086) 0:01:35.085 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:17 -0500 (0:00:00.084) 0:01:35.170 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:17 -0500 (0:00:00.088) 0:01:35.258 ******* skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:17 -0500 (0:00:00.140) 0:01:35.398 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 11 November 2024 20:13:17 -0500 (0:00:00.380) 0:01:35.779 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:18 -0500 (0:00:00.133) 0:01:35.912 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:18 -0500 (0:00:00.134) 0:01:36.046 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:18 -0500 (0:00:00.097) 0:01:36.143 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:18 -0500 (0:00:00.084) 0:01:36.228 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:18 -0500 (0:00:00.090) 0:01:36.318 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:20 -0500 (0:00:01.630) 0:01:37.948 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:21 -0500 (0:00:01.450) 0:01:39.399 ******* ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:21 -0500 (0:00:00.072) 0:01:39.471 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:21 -0500 (0:00:00.083) 0:01:39.555 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:21 -0500 (0:00:00.216) 0:01:39.772 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:22 -0500 (0:00:00.076) 0:01:39.848 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:22 -0500 (0:00:00.072) 0:01:39.920 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:22 -0500 (0:00:00.066) 0:01:39.986 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:22 -0500 (0:00:00.064) 0:01:40.051 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:22 -0500 (0:00:00.088) 0:01:40.140 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:22 -0500 (0:00:00.054) 0:01:40.194 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:22 -0500 (0:00:00.057) 0:01:40.252 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:22 -0500 (0:00:00.091) 0:01:40.343 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:22 -0500 (0:00:00.088) 0:01:40.431 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:22 -0500 (0:00:00.086) 0:01:40.518 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:23 -0500 (0:00:00.580) 0:01:41.098 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41978tfwtw7gl/tmporauhhma" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:23 -0500 (0:00:00.402) 0:01:41.500 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:24 -0500 (0:00:00.471) 0:01:41.972 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:24 -0500 (0:00:00.054) 0:01:42.027 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:24 -0500 (0:00:00.056) 0:01:42.083 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:24 -0500 (0:00:00.101) 0:01:42.185 ******* skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:24 -0500 (0:00:00.052) 0:01:42.238 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:13:24 -0500 (0:00:00.376) 0:01:42.614 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 11 November 2024 20:13:24 -0500 (0:00:00.079) 0:01:42.694 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:25 -0500 (0:00:00.125) 0:01:42.820 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:25 -0500 (0:00:00.175) 0:01:42.995 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:25 -0500 (0:00:00.106) 0:01:43.102 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:25 -0500 (0:00:00.097) 0:01:43.199 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:25 -0500 (0:00:00.096) 0:01:43.296 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:27 -0500 (0:00:01.687) 0:01:44.983 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:28 -0500 (0:00:01.704) 0:01:46.687 ******* ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:28 -0500 (0:00:00.082) 0:01:46.770 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:29 -0500 (0:00:00.059) 0:01:46.830 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:29 -0500 (0:00:00.059) 0:01:46.889 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:29 -0500 (0:00:00.056) 0:01:46.946 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:29 -0500 (0:00:00.063) 0:01:47.010 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:29 -0500 (0:00:00.072) 0:01:47.082 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:29 -0500 (0:00:00.119) 0:01:47.201 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:29 -0500 (0:00:00.200) 0:01:47.402 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:29 -0500 (0:00:00.086) 0:01:47.488 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:29 -0500 (0:00:00.073) 0:01:47.562 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:29 -0500 (0:00:00.074) 0:01:47.636 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:29 -0500 (0:00:00.055) 0:01:47.692 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:29 -0500 (0:00:00.051) 0:01:47.744 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:30 -0500 (0:00:00.903) 0:01:48.647 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41978tfwtw7gl/tmps8kd3ph2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:31 -0500 (0:00:00.476) 0:01:49.124 ******* ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:32 -0500 (0:00:00.706) 0:01:49.830 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:32 -0500 (0:00:00.083) 0:01:49.913 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:32 -0500 (0:00:00.094) 0:01:50.008 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:32 -0500 (0:00:00.159) 0:01:50.167 ******* skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:32 -0500 (0:00:00.093) 0:01:50.261 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:13:32 -0500 (0:00:00.453) 0:01:50.715 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 11 November 2024 20:13:33 -0500 (0:00:00.116) 0:01:50.831 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:13:33 -0500 (0:00:00.133) 0:01:50.965 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:13:33 -0500 (0:00:00.084) 0:01:51.049 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:13:33 -0500 (0:00:00.440) 0:01:51.490 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:13:33 -0500 (0:00:00.145) 0:01:51.635 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018595", "end": "2024-11-11 20:13:34.453523", "rc": 1, "start": "2024-11-11 20:13:34.434928" } 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-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:13:34 -0500 (0:00:00.796) 0:01:52.431 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:13:34 -0500 (0:00:00.109) 0:01:52.541 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:13:34 -0500 (0:00:00.069) 0:01:52.611 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:13:34 -0500 (0:00:00.183) 0:01:52.794 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:13:35 -0500 (0:00:00.068) 0:01:52.863 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 11 November 2024 20:13:35 -0500 (0:00:00.052) 0:01:52.915 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:13:35 -0500 (0:00:00.059) 0:01:52.975 ******* skipping: [managed-node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:13:35 -0500 (0:00:00.057) 0:01:53.032 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:13:35 -0500 (0:00:00.054) 0:01:53.086 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:13:35 -0500 (0:00:00.082) 0:01:53.169 ******* ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.047899", "end": "2024-11-11 20:13:35.708159", "rc": 0, "start": "2024-11-11 20:13:35.660260" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Monday 11 November 2024 20:13:35 -0500 (0:00:00.409) 0:01:53.579 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 11 November 2024 20:13:35 -0500 (0:00:00.080) 0:01:53.659 ******* ok: [managed-node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 11 November 2024 20:13:35 -0500 (0:00:00.055) 0:01:53.715 ******* ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 11 November 2024 20:13:36 -0500 (0:00:00.098) 0:01:53.813 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 11 November 2024 20:13:36 -0500 (0:00:00.080) 0:01:53.893 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 11 November 2024 20:13:36 -0500 (0:00:00.142) 0:01:54.036 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002878", "end": "2024-11-11 20:13:36.605917", "rc": 0, "start": "2024-11-11 20:13:36.603039" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 11 November 2024 20:13:36 -0500 (0:00:00.460) 0:01:54.497 ******* ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 11 November 2024 20:13:36 -0500 (0:00:00.080) 0:01:54.577 ******* ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 11 November 2024 20:13:36 -0500 (0:00:00.077) 0:01:54.654 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 => (item=tasks/activate_profile.yml) included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 11 November 2024 20:13:36 -0500 (0:00:00.124) 0:01:54.779 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:37 -0500 (0:00:00.101) 0:01:54.881 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:37 -0500 (0:00:00.084) 0:01:54.966 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:37 -0500 (0:00:00.066) 0:01:55.032 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:37 -0500 (0:00:00.079) 0:01:55.111 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:37 -0500 (0:00:00.066) 0:01:55.178 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:38 -0500 (0:00:01.611) 0:01:56.789 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:40 -0500 (0:00:01.706) 0:01:58.496 ******* ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:40 -0500 (0:00:00.080) 0:01:58.576 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:40 -0500 (0:00:00.067) 0:01:58.644 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:40 -0500 (0:00:00.055) 0:01:58.700 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:40 -0500 (0:00:00.056) 0:01:58.756 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:41 -0500 (0:00:00.063) 0:01:58.820 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:41 -0500 (0:00:00.056) 0:01:58.876 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:41 -0500 (0:00:00.064) 0:01:58.941 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:41 -0500 (0:00:00.091) 0:01:59.033 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:41 -0500 (0:00:00.056) 0:01:59.089 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:41 -0500 (0:00:00.053) 0:01:59.142 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:41 -0500 (0:00:00.061) 0:01:59.204 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:41 -0500 (0:00:00.054) 0:01:59.259 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:41 -0500 (0:00:00.052) 0:01:59.311 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:42 -0500 (0:00:00.537) 0:01:59.848 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41978tfwtw7gl/tmpgphob1lf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:42 -0500 (0:00:00.372) 0:02:00.221 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:43 -0500 (0:00:00.595) 0:02:00.817 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:43 -0500 (0:00:00.062) 0:02:00.879 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:43 -0500 (0:00:00.069) 0:02:00.948 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:43 -0500 (0:00:00.057) 0:02:01.005 ******* skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:43 -0500 (0:00:00.053) 0:02:01.058 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 11 November 2024 20:13:43 -0500 (0:00:00.386) 0:02:01.445 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 11 November 2024 20:13:43 -0500 (0:00:00.084) 0:02:01.530 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:43 -0500 (0:00:00.165) 0:02:01.695 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:44 -0500 (0:00:00.137) 0:02:01.833 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:44 -0500 (0:00:00.095) 0:02:01.929 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:44 -0500 (0:00:00.087) 0:02:02.016 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:44 -0500 (0:00:00.085) 0:02:02.102 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:46 -0500 (0:00:01.853) 0:02:03.955 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:47 -0500 (0:00:01.616) 0:02:05.571 ******* ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:47 -0500 (0:00:00.057) 0:02:05.629 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:47 -0500 (0:00:00.058) 0:02:05.687 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:47 -0500 (0:00:00.053) 0:02:05.741 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:47 -0500 (0:00:00.055) 0:02:05.796 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:48 -0500 (0:00:00.076) 0:02:05.873 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:48 -0500 (0:00:00.052) 0:02:05.926 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:48 -0500 (0:00:00.064) 0:02:05.990 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:48 -0500 (0:00:00.091) 0:02:06.081 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:48 -0500 (0:00:00.051) 0:02:06.133 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:48 -0500 (0:00:00.055) 0:02:06.188 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:48 -0500 (0:00:00.062) 0:02:06.251 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:48 -0500 (0:00:00.052) 0:02:06.304 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:48 -0500 (0:00:00.054) 0:02:06.359 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:49 -0500 (0:00:00.696) 0:02:07.056 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41978tfwtw7gl/tmpj70_mw61" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:49 -0500 (0:00:00.368) 0:02:07.425 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:50 -0500 (0:00:00.755) 0:02:08.180 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:50 -0500 (0:00:00.084) 0:02:08.265 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:50 -0500 (0:00:00.133) 0:02:08.398 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:50 -0500 (0:00:00.123) 0:02:08.522 ******* skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:50 -0500 (0:00:00.083) 0:02:08.606 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 11 November 2024 20:13:51 -0500 (0:00:00.453) 0:02:09.059 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:51 -0500 (0:00:00.145) 0:02:09.204 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:51 -0500 (0:00:00.101) 0:02:09.306 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:51 -0500 (0:00:00.072) 0:02:09.379 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:51 -0500 (0:00:00.056) 0:02:09.435 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:51 -0500 (0:00:00.057) 0:02:09.493 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:13:53 -0500 (0:00:01.727) 0:02:11.221 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:13:54 -0500 (0:00:01.481) 0:02:12.703 ******* ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:13:54 -0500 (0:00:00.058) 0:02:12.761 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:13:55 -0500 (0:00:00.053) 0:02:12.814 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:13:55 -0500 (0:00:00.052) 0:02:12.867 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:13:55 -0500 (0:00:00.073) 0:02:12.941 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:13:55 -0500 (0:00:00.105) 0:02:13.046 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:13:55 -0500 (0:00:00.064) 0:02:13.111 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:13:55 -0500 (0:00:00.082) 0:02:13.194 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:13:55 -0500 (0:00:00.092) 0:02:13.286 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:13:55 -0500 (0:00:00.052) 0:02:13.339 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:13:55 -0500 (0:00:00.054) 0:02:13.394 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:13:55 -0500 (0:00:00.061) 0:02:13.455 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:13:55 -0500 (0:00:00.051) 0:02:13.506 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:13:55 -0500 (0:00:00.153) 0:02:13.659 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:13:56 -0500 (0:00:00.542) 0:02:14.201 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41978tfwtw7gl/tmpjnv2jdjh" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:13:56 -0500 (0:00:00.433) 0:02:14.635 ******* changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:13:57 -0500 (0:00:00.623) 0:02:15.259 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:13:57 -0500 (0:00:00.084) 0:02:15.343 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:13:57 -0500 (0:00:00.085) 0:02:15.429 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:13:57 -0500 (0:00:00.084) 0:02:15.514 ******* skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:13:57 -0500 (0:00:00.063) 0:02:15.577 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 11 November 2024 20:13:58 -0500 (0:00:00.384) 0:02:15.962 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 11 November 2024 20:13:58 -0500 (0:00:00.129) 0:02:16.091 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 11 November 2024 20:13:58 -0500 (0:00:00.159) 0:02:16.250 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 11 November 2024 20:13:58 -0500 (0:00:00.140) 0:02:16.391 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 11 November 2024 20:13:58 -0500 (0:00:00.179) 0:02:16.571 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 11 November 2024 20:13:58 -0500 (0:00:00.057) 0:02:16.629 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 11 November 2024 20:13:58 -0500 (0:00:00.055) 0:02:16.685 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 11 November 2024 20:14:00 -0500 (0:00:01.599) 0:02:18.284 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 11 November 2024 20:14:02 -0500 (0:00:01.700) 0:02:19.984 ******* ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 11 November 2024 20:14:02 -0500 (0:00:00.095) 0:02:20.080 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 11 November 2024 20:14:02 -0500 (0:00:00.125) 0:02:20.205 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 11 November 2024 20:14:02 -0500 (0:00:00.118) 0:02:20.323 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 11 November 2024 20:14:02 -0500 (0:00:00.101) 0:02:20.425 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 11 November 2024 20:14:02 -0500 (0:00:00.110) 0:02:20.536 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 11 November 2024 20:14:02 -0500 (0:00:00.090) 0:02:20.627 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 11 November 2024 20:14:02 -0500 (0:00:00.084) 0:02:20.711 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 11 November 2024 20:14:03 -0500 (0:00:00.151) 0:02:20.863 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 11 November 2024 20:14:03 -0500 (0:00:00.091) 0:02:20.955 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 11 November 2024 20:14:03 -0500 (0:00:00.256) 0:02:21.211 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 11 November 2024 20:14:03 -0500 (0:00:00.099) 0:02:21.311 ******* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 11 November 2024 20:14:03 -0500 (0:00:00.091) 0:02:21.403 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 11 November 2024 20:14:03 -0500 (0:00:00.090) 0:02:21.493 ******* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 11 November 2024 20:14:04 -0500 (0:00:00.632) 0:02:22.126 ******* ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-41978tfwtw7gl/tmp961sgz4h" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 11 November 2024 20:14:04 -0500 (0:00:00.406) 0:02:22.533 ******* ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 11 November 2024 20:14:05 -0500 (0:00:00.521) 0:02:23.054 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 11 November 2024 20:14:05 -0500 (0:00:00.082) 0:02:23.136 ******* ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 11 November 2024 20:14:05 -0500 (0:00:00.083) 0:02:23.220 ******* ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 11 November 2024 20:14:05 -0500 (0:00:00.090) 0:02:23.310 ******* skipping: [managed-node2] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 11 November 2024 20:14:05 -0500 (0:00:00.074) 0:02:23.385 ******* ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 11 November 2024 20:14:05 -0500 (0:00:00.416) 0:02:23.802 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 11 November 2024 20:14:06 -0500 (0:00:00.145) 0:02:23.947 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 11 November 2024 20:14:06 -0500 (0:00:00.190) 0:02:24.138 ******* ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 11 November 2024 20:14:06 -0500 (0:00:00.080) 0:02:24.219 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 11 November 2024 20:14:06 -0500 (0:00:00.384) 0:02:24.604 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 11 November 2024 20:14:06 -0500 (0:00:00.103) 0:02:24.708 ******* fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017654", "end": "2024-11-11 20:14:07.342885", "rc": 1, "start": "2024-11-11 20:14:07.325231" } 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-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 11 November 2024 20:14:07 -0500 (0:00:00.520) 0:02:25.228 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 11 November 2024 20:14:07 -0500 (0:00:00.092) 0:02:25.321 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 11 November 2024 20:14:07 -0500 (0:00:00.163) 0:02:25.485 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 11 November 2024 20:14:07 -0500 (0:00:00.095) 0:02:25.581 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 11 November 2024 20:14:07 -0500 (0:00:00.096) 0:02:25.677 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 11 November 2024 20:14:07 -0500 (0:00:00.086) 0:02:25.764 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 11 November 2024 20:14:08 -0500 (0:00:00.090) 0:02:25.854 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.876916", "end": "2024-11-11 20:14:09.245539", "rc": 0, "start": "2024-11-11 20:14:08.368623" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 11 November 2024 20:14:09 -0500 (0:00:01.277) 0:02:27.132 ******* ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 11 November 2024 20:14:09 -0500 (0:00:00.087) 0:02:27.219 ******* ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 11 November 2024 20:14:09 -0500 (0:00:00.084) 0:02:27.304 ******* skipping: [managed-node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => { "changed": false } MSG: All items skipped TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 11 November 2024 20:14:09 -0500 (0:00:00.078) 0:02:27.382 ******* ok: [managed-node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 11 November 2024 20:14:09 -0500 (0:00:00.065) 0:02:27.448 ******* included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 11 November 2024 20:14:09 -0500 (0:00:00.151) 0:02:27.600 ******* ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042556", "end": "2024-11-11 20:14:10.160353", "rc": 0, "start": "2024-11-11 20:14:10.117797" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 11 November 2024 20:14:10 -0500 (0:00:00.463) 0:02:28.064 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008421", "end": "2024-11-11 20:14:10.664745", "rc": 0, "start": "2024-11-11 20:14:10.656324" } 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:f0:58:f2:3d:1f brd ff:ff:ff:ff:ff:ff inet 10.31.8.236/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2702sec preferred_lft 2702sec inet6 fe80::10f0:58ff:fef2:3d1f/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.8.1 dev eth0 proto dhcp src 10.31.8.236 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.236 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-ZqU/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 11 November 2024 20:14:10 -0500 (0:00:00.469) 0:02:28.533 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.309569", "end": "2024-11-11 20:14:11.360898", "rc": 0, "start": "2024-11-11 20:14:11.051329" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 3351 0 --:--:-- --:--:-- --:--:-- 3351 % 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 1484 0 --:--:-- --:--:-- --:--:-- 1484 PLAY RECAP ********************************************************************* managed-node2 : ok=335 changed=13 unreachable=0 failed=0 skipped=287 rescued=0 ignored=10 Monday 11 November 2024 20:14:11 -0500 (0:00:00.682) 0:02:29.216 ******* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.85s /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.73s /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.72s /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.72s /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.71s /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.70s /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.70s /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.70s /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.69s /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-ZqU/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26