[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. ansible-playbook [core 2.16.9] 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-S3X 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-S3X/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-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Monday 12 August 2024 05:21:39 -0400 (0:00:00.011) 0:00:00.011 ********* ok: [managed_node3] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Monday 12 August 2024 05:21:40 -0400 (0:00:01.216) 0:00:01.227 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed_node3 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Monday 12 August 2024 05:21:40 -0400 (0:00:00.024) 0:00:01.252 ********* ok: [managed_node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Monday 12 August 2024 05:21:41 -0400 (0:00:00.728) 0:00:01.980 ********* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Monday 12 August 2024 05:21:42 -0400 (0:00:00.535) 0:00:02.516 ********* ok: [managed_node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Monday 12 August 2024 05:21:42 -0400 (0:00:00.049) 0:00:02.565 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Monday 12 August 2024 05:21:42 -0400 (0:00:00.015) 0:00:02.581 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed_node3 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Monday 12 August 2024 05:21:42 -0400 (0:00:00.055) 0:00:02.637 ********* ok: [managed_node3] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:24 Monday 12 August 2024 05:21:42 -0400 (0:00:00.529) 0:00:03.166 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:30 Monday 12 August 2024 05:21:42 -0400 (0:00:00.014) 0:00:03.181 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '7'", "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:35 Monday 12 August 2024 05:21:42 -0400 (0:00:00.015) 0:00:03.196 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.244202", "end": "2024-08-12 05:21:43.256020", "rc": 0, "start": "2024-08-12 05:21:43.011818" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:40 Monday 12 August 2024 05:21:43 -0400 (0:00:00.596) 0:00:03.793 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version == '6'", "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Monday 12 August 2024 05:21:43 -0400 (0:00:00.014) 0:00:03.808 ********* ok: [managed_node3] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Monday 12 August 2024 05:21:43 -0400 (0:00:00.029) 0:00:03.837 ********* ok: [managed_node3] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Monday 12 August 2024 05:21:44 -0400 (0:00:00.824) 0:00:04.662 ********* ok: [managed_node3] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Monday 12 August 2024 05:21:44 -0400 (0:00:00.039) 0:00:04.702 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:21:44 -0400 (0:00:00.050) 0:00:04.752 ********* ok: [managed_node3] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:21:44 -0400 (0:00:00.055) 0:00:04.807 ********* ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:21:44 -0400 (0:00:00.120) 0:00:04.928 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:21:44 -0400 (0:00:00.073) 0:00:05.002 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:21:44 -0400 (0:00:00.068) 0:00:05.071 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003256", "end": "2024-08-12 05:21:44.965327", "rc": 0, "start": "2024-08-12 05:21:44.962071" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:21:45 -0400 (0:00:00.442) 0:00:05.513 ********* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:21:45 -0400 (0:00:00.063) 0:00:05.577 ********* ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:21:45 -0400 (0:00:00.063) 0:00:05.641 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node3 => (item=tasks/delete_interface.yml) included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node3 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 12 August 2024 05:21:45 -0400 (0:00:00.089) 0:00:05.730 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007670", "end": "2024-08-12 05:21:45.625495", "rc": 1, "start": "2024-08-12 05:21:45.617825" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 12 August 2024 05:21:45 -0400 (0:00:00.479) 0:00:06.209 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:21:45 -0400 (0:00:00.068) 0:00:06.278 ********* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 12 August 2024 05:21:46 -0400 (0:00:00.427) 0:00:06.705 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:21:46 -0400 (0:00:00.059) 0:00:06.764 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 August 2024 05:21:46 -0400 (0:00:00.060) 0:00:06.825 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:21:46 -0400 (0:00:00.097) 0:00:06.922 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:21:46 -0400 (0:00:00.097) 0:00:07.019 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:21:46 -0400 (0:00:00.071) 0:00:07.091 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:21:46 -0400 (0:00:00.076) 0:00:07.168 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:21:46 -0400 (0:00:00.072) 0:00:07.241 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:21:48 -0400 (0:00:01.999) 0:00:09.240 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:21:50 -0400 (0:00:01.883) 0:00:11.123 ********* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:21:50 -0400 (0:00:00.094) 0:00:11.218 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:21:50 -0400 (0:00:00.070) 0:00:11.288 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:21:50 -0400 (0:00:00.059) 0:00:11.347 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:21:50 -0400 (0:00:00.055) 0:00:11.403 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:21:50 -0400 (0:00:00.070) 0:00:11.474 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:21:51 -0400 (0:00:00.056) 0:00:11.530 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:21:51 -0400 (0:00:00.073) 0:00:11.604 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:21:51 -0400 (0:00:00.210) 0:00:11.815 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:21:51 -0400 (0:00:00.073) 0:00:11.889 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:21:51 -0400 (0:00:00.073) 0:00:11.962 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:21:51 -0400 (0:00:00.070) 0:00:12.032 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:21:51 -0400 (0:00:00.057) 0:00:12.089 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:21:51 -0400 (0:00:00.055) 0:00:12.145 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:21:52 -0400 (0:00:00.900) 0:00:13.045 ********* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37546_mkkdzhp/tmpd93ftk5o" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:21:53 -0400 (0:00:00.728) 0:00:13.774 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:21:54 -0400 (0:00:01.132) 0:00:14.907 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:21:54 -0400 (0:00:00.092) 0:00:14.999 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:21:54 -0400 (0:00:00.103) 0:00:15.103 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:21:54 -0400 (0:00:00.156) 0:00:15.260 ********* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:21:54 -0400 (0:00:00.178) 0:00:15.438 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 August 2024 05:21:55 -0400 (0:00:00.714) 0:00:16.153 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:21:55 -0400 (0:00:00.082) 0:00:16.235 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 12 August 2024 05:21:56 -0400 (0:00:00.278) 0:00:16.513 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:21:56 -0400 (0:00:00.232) 0:00:16.745 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:21:56 -0400 (0:00:00.091) 0:00:16.837 ********* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723454514.3332872, "block_size": 4096, "blocks": 8, "ctime": 1723454514.3342872, "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": 1723454514.3342872, "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-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:21:56 -0400 (0:00:00.488) 0:00:17.325 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:21:56 -0400 (0:00:00.091) 0:00:17.416 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017929", "end": "2024-08-12 05:21:57.277944", "rc": 1, "start": "2024-08-12 05:21:57.260015" } 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-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:21:57 -0400 (0:00:00.426) 0:00:17.843 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:21:57 -0400 (0:00:00.073) 0:00:17.916 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004141", "end": "2024-08-12 05:21:58.782358", "rc": 0, "start": "2024-08-12 05:21:57.778217" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:21:58 -0400 (0:00:01.467) 0:00:19.384 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:21:59 -0400 (0:00:00.115) 0:00:19.500 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003082", "end": "2024-08-12 05:21:59.378564", "rc": 0, "start": "2024-08-12 05:21:59.375482" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:21:59 -0400 (0:00:00.459) 0:00:19.960 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 12 August 2024 05:21:59 -0400 (0:00:00.105) 0:00:20.066 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 12 August 2024 05:21:59 -0400 (0:00:00.101) 0:00:20.167 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 12 August 2024 05:21:59 -0400 (0:00:00.095) 0:00:20.263 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:21:59 -0400 (0:00:00.077) 0:00:20.341 ********* skipping: [managed_node3] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed_node3] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:21:59 -0400 (0:00:00.106) 0:00:20.447 ********* ok: [managed_node3] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:22:00 -0400 (0:00:00.166) 0:00:20.614 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:22:00 -0400 (0:00:00.090) 0:00:20.704 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035089", "end": "2024-08-12 05:22:00.585506", "rc": 1, "start": "2024-08-12 05:22:00.550417" } 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-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Monday 12 August 2024 05:22:00 -0400 (0:00:00.460) 0:00:21.164 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:22:00 -0400 (0:00:00.108) 0:00:21.273 ********* ok: [managed_node3] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:22:00 -0400 (0:00:00.079) 0:00:21.352 ********* ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:22:00 -0400 (0:00:00.122) 0:00:21.474 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:22:01 -0400 (0:00:00.081) 0:00:21.555 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:22:01 -0400 (0:00:00.079) 0:00:21.635 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003239", "end": "2024-08-12 05:22:01.520218", "rc": 0, "start": "2024-08-12 05:22:01.516979" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:22:01 -0400 (0:00:00.462) 0:00:22.097 ********* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:22:01 -0400 (0:00:00.070) 0:00:22.168 ********* ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:22:01 -0400 (0:00:00.066) 0:00:22.235 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed_node3 => (item=tasks/delete_interface.yml) included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node3 => (item=tasks/assert_device_absent.yml) TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Monday 12 August 2024 05:22:01 -0400 (0:00:00.127) 0:00:22.362 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005805", "end": "2024-08-12 05:22:02.213368", "rc": 1, "start": "2024-08-12 05:22:02.207563" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 12 August 2024 05:22:02 -0400 (0:00:00.434) 0:00:22.797 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:22:02 -0400 (0:00:00.139) 0:00:22.937 ********* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 12 August 2024 05:22:02 -0400 (0:00:00.468) 0:00:23.405 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:22:03 -0400 (0:00:00.103) 0:00:23.508 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed_node3 => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 12 August 2024 05:22:03 -0400 (0:00:00.164) 0:00:23.673 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:22:03 -0400 (0:00:00.162) 0:00:23.836 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:22:03 -0400 (0:00:00.121) 0:00:23.957 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:22:03 -0400 (0:00:00.066) 0:00:24.024 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:22:03 -0400 (0:00:00.061) 0:00:24.085 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:22:03 -0400 (0:00:00.059) 0:00:24.144 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:22:05 -0400 (0:00:01.841) 0:00:25.986 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:22:07 -0400 (0:00:01.736) 0:00:27.723 ********* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:22:07 -0400 (0:00:00.105) 0:00:27.829 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:22:07 -0400 (0:00:00.096) 0:00:27.925 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:22:07 -0400 (0:00:00.067) 0:00:27.993 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:22:07 -0400 (0:00:00.072) 0:00:28.065 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:22:07 -0400 (0:00:00.071) 0:00:28.137 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:22:07 -0400 (0:00:00.057) 0:00:28.194 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:22:07 -0400 (0:00:00.095) 0:00:28.290 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:22:07 -0400 (0:00:00.165) 0:00:28.456 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:22:08 -0400 (0:00:00.139) 0:00:28.596 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:22:08 -0400 (0:00:00.098) 0:00:28.694 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:22:08 -0400 (0:00:00.120) 0:00:28.815 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:22:08 -0400 (0:00:00.128) 0:00:28.943 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:22:08 -0400 (0:00:00.096) 0:00:29.040 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:22:09 -0400 (0:00:00.702) 0:00:29.743 ********* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37546_mkkdzhp/tmpzqa53_6e" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:22:09 -0400 (0:00:00.405) 0:00:30.149 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:22:10 -0400 (0:00:00.536) 0:00:30.685 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:22:10 -0400 (0:00:00.088) 0:00:30.774 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:22:10 -0400 (0:00:00.093) 0:00:30.867 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:22:10 -0400 (0:00:00.114) 0:00:30.982 ********* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:22:10 -0400 (0:00:00.113) 0:00:31.095 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 12 August 2024 05:22:11 -0400 (0:00:00.450) 0:00:31.546 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:22:11 -0400 (0:00:00.062) 0:00:31.608 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed_node3 => (item=tasks/assert_device_absent.yml) included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Monday 12 August 2024 05:22:11 -0400 (0:00:00.096) 0:00:31.704 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:22:11 -0400 (0:00:00.079) 0:00:31.784 ********* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Monday 12 August 2024 05:22:11 -0400 (0:00:00.384) 0:00:32.168 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 12 August 2024 05:22:11 -0400 (0:00:00.079) 0:00:32.248 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:22:11 -0400 (0:00:00.179) 0:00:32.428 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:22:12 -0400 (0:00:00.095) 0:00:32.524 ********* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723454530.1034238, "block_size": 4096, "blocks": 8, "ctime": 1723454530.1034238, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301237, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1723454530.1034238, "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-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:22:12 -0400 (0:00:00.495) 0:00:33.019 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:22:12 -0400 (0:00:00.127) 0:00:33.147 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017462", "end": "2024-08-12 05:22:13.090978", "rc": 1, "start": "2024-08-12 05:22:13.073516" } 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-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:22:13 -0400 (0:00:00.499) 0:00:33.647 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:22:13 -0400 (0:00:00.058) 0:00:33.705 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004166", "end": "2024-08-12 05:22:14.545771", "rc": 0, "start": "2024-08-12 05:22:13.541605" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:22:14 -0400 (0:00:01.434) 0:00:35.139 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:22:14 -0400 (0:00:00.127) 0:00:35.266 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003122", "end": "2024-08-12 05:22:15.166899", "rc": 0, "start": "2024-08-12 05:22:15.163777" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:22:15 -0400 (0:00:00.488) 0:00:35.755 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 12 August 2024 05:22:15 -0400 (0:00:00.078) 0:00:35.833 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 12 August 2024 05:22:15 -0400 (0:00:00.075) 0:00:35.908 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 12 August 2024 05:22:15 -0400 (0:00:00.062) 0:00:35.971 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:22:15 -0400 (0:00:00.069) 0:00:36.040 ********* skipping: [managed_node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:22:15 -0400 (0:00:00.086) 0:00:36.127 ********* ok: [managed_node3] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:22:15 -0400 (0:00:00.096) 0:00:36.224 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:22:15 -0400 (0:00:00.233) 0:00:36.457 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035074", "end": "2024-08-12 05:22:16.421717", "rc": 1, "start": "2024-08-12 05:22:16.386643" } 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-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Monday 12 August 2024 05:22:16 -0400 (0:00:00.522) 0:00:36.980 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:22:16 -0400 (0:00:00.139) 0:00:37.120 ********* ok: [managed_node3] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:22:16 -0400 (0:00:00.111) 0:00:37.231 ********* ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:22:16 -0400 (0:00:00.197) 0:00:37.428 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:22:17 -0400 (0:00:00.140) 0:00:37.568 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:22:17 -0400 (0:00:00.106) 0:00:37.675 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003254", "end": "2024-08-12 05:22:17.522586", "rc": 0, "start": "2024-08-12 05:22:17.519332" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:22:17 -0400 (0:00:00.500) 0:00:38.175 ********* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:22:17 -0400 (0:00:00.109) 0:00:38.285 ********* ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:22:17 -0400 (0:00:00.110) 0:00:38.396 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 August 2024 05:22:18 -0400 (0:00:00.177) 0:00:38.573 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:22:18 -0400 (0:00:00.182) 0:00:38.756 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:22:18 -0400 (0:00:00.104) 0:00:38.860 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:22:18 -0400 (0:00:00.068) 0:00:38.929 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:22:18 -0400 (0:00:00.069) 0:00:38.998 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:22:18 -0400 (0:00:00.163) 0:00:39.161 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:22:20 -0400 (0:00:01.957) 0:00:41.119 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:22:22 -0400 (0:00:01.784) 0:00:42.903 ********* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:22:22 -0400 (0:00:00.100) 0:00:43.004 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:22:22 -0400 (0:00:00.095) 0:00:43.100 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:22:22 -0400 (0:00:00.095) 0:00:43.196 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:22:22 -0400 (0:00:00.138) 0:00:43.334 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:22:22 -0400 (0:00:00.123) 0:00:43.458 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:22:23 -0400 (0:00:00.108) 0:00:43.566 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:22:23 -0400 (0:00:00.188) 0:00:43.755 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:22:23 -0400 (0:00:00.180) 0:00:43.935 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:22:23 -0400 (0:00:00.102) 0:00:44.038 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:22:23 -0400 (0:00:00.101) 0:00:44.140 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:22:23 -0400 (0:00:00.118) 0:00:44.258 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:22:23 -0400 (0:00:00.117) 0:00:44.376 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:22:23 -0400 (0:00:00.096) 0:00:44.472 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:22:24 -0400 (0:00:00.640) 0:00:45.112 ********* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37546_mkkdzhp/tmpb76kcrzn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:22:25 -0400 (0:00:00.435) 0:00:45.548 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:22:25 -0400 (0:00:00.589) 0:00:46.138 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:22:25 -0400 (0:00:00.087) 0:00:46.225 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:22:25 -0400 (0:00:00.138) 0:00:46.364 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:22:26 -0400 (0:00:00.128) 0:00:46.492 ********* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:22:26 -0400 (0:00:00.119) 0:00:46.612 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 August 2024 05:22:26 -0400 (0:00:00.503) 0:00:47.115 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:22:26 -0400 (0:00:00.071) 0:00:47.187 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node3 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 12 August 2024 05:22:26 -0400 (0:00:00.170) 0:00:47.357 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:22:26 -0400 (0:00:00.117) 0:00:47.474 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:22:27 -0400 (0:00:00.159) 0:00:47.634 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:22:27 -0400 (0:00:00.088) 0:00:47.722 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:22:27 -0400 (0:00:00.094) 0:00:47.817 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:22:27 -0400 (0:00:00.063) 0:00:47.881 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:22:29 -0400 (0:00:01.771) 0:00:49.652 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:22:30 -0400 (0:00:01.475) 0:00:51.128 ********* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:22:30 -0400 (0:00:00.061) 0:00:51.190 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:22:30 -0400 (0:00:00.057) 0:00:51.247 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:22:30 -0400 (0:00:00.090) 0:00:51.338 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:22:30 -0400 (0:00:00.078) 0:00:51.417 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:22:31 -0400 (0:00:00.113) 0:00:51.531 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:22:31 -0400 (0:00:00.097) 0:00:51.628 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:22:31 -0400 (0:00:00.112) 0:00:51.741 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:22:31 -0400 (0:00:00.234) 0:00:51.976 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:22:31 -0400 (0:00:00.112) 0:00:52.088 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:22:31 -0400 (0:00:00.126) 0:00:52.215 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:22:31 -0400 (0:00:00.129) 0:00:52.345 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:22:31 -0400 (0:00:00.095) 0:00:52.440 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:22:32 -0400 (0:00:00.162) 0:00:52.603 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:22:33 -0400 (0:00:01.030) 0:00:53.633 ********* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37546_mkkdzhp/tmpvkp6l0nm" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:22:33 -0400 (0:00:00.443) 0:00:54.077 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:22:34 -0400 (0:00:00.888) 0:00:54.966 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:22:34 -0400 (0:00:00.098) 0:00:55.065 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:22:34 -0400 (0:00:00.175) 0:00:55.240 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "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-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:22:34 -0400 (0:00:00.166) 0:00:55.407 ********* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:22:35 -0400 (0:00:00.202) 0:00:55.609 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:22:35 -0400 (0:00:00.499) 0:00:56.108 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node3 => (item=tasks/assert_device_present.yml) included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed_node3 => (item=tasks/assert_profile_present.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 12 August 2024 05:22:35 -0400 (0:00:00.201) 0:00:56.310 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:22:36 -0400 (0:00:00.220) 0:00:56.530 ********* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723454554.3234627, "block_size": 4096, "blocks": 0, "ctime": 1723454554.3234627, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32024, "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": 1723454554.3234627, "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-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 12 August 2024 05:22:36 -0400 (0:00:00.504) 0:00:57.035 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Monday 12 August 2024 05:22:36 -0400 (0:00:00.118) 0:00:57.153 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:22:36 -0400 (0:00:00.164) 0:00:57.317 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:22:36 -0400 (0:00:00.113) 0:00:57.430 ********* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723454554.167632, "block_size": 4096, "blocks": 8, "ctime": 1723454545.5595574, "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": 1723454545.5595574, "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-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:22:37 -0400 (0:00:00.520) 0:00:57.951 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:22:37 -0400 (0:00:00.132) 0:00:58.083 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018215", "end": "2024-08-12 05:22:38.321477", "rc": 1, "start": "2024-08-12 05:22:38.303262" } 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-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:22:38 -0400 (0:00:00.792) 0:00:58.876 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:22:38 -0400 (0:00:00.061) 0:00:58.937 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003092", "end": "2024-08-12 05:22:38.805285", "rc": 0, "start": "2024-08-12 05:22:38.802193" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:22:38 -0400 (0:00:00.456) 0:00:59.394 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:22:38 -0400 (0:00:00.065) 0:00:59.460 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003072", "end": "2024-08-12 05:22:39.339472", "rc": 0, "start": "2024-08-12 05:22:39.336400" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:22:39 -0400 (0:00:00.458) 0:00:59.918 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Monday 12 August 2024 05:22:39 -0400 (0:00:00.078) 0:00:59.997 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Monday 12 August 2024 05:22:39 -0400 (0:00:00.074) 0:01:00.071 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Monday 12 August 2024 05:22:39 -0400 (0:00:00.075) 0:01:00.147 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:22:39 -0400 (0:00:00.095) 0:01:00.242 ********* skipping: [managed_node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:22:39 -0400 (0:00:00.073) 0:01:00.315 ********* ok: [managed_node3] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:22:39 -0400 (0:00:00.110) 0:01:00.425 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:22:40 -0400 (0:00:00.188) 0:01:00.614 ********* ok: [managed_node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043524", "end": "2024-08-12 05:22:40.522489", "rc": 0, "start": "2024-08-12 05:22:40.478965" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Monday 12 August 2024 05:22:40 -0400 (0:00:00.495) 0:01:01.109 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:22:40 -0400 (0:00:00.109) 0:01:01.218 ********* ok: [managed_node3] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:22:40 -0400 (0:00:00.071) 0:01:01.290 ********* ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined. 'lsr_assert_when' is undefined" } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:22:40 -0400 (0:00:00.107) 0:01:01.398 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:22:41 -0400 (0:00:00.144) 0:01:01.542 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:22:41 -0400 (0:00:00.133) 0:01:01.675 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003247", "end": "2024-08-12 05:22:41.803141", "rc": 0, "start": "2024-08-12 05:22:41.799894" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:22:41 -0400 (0:00:00.728) 0:01:02.403 ********* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:22:42 -0400 (0:00:00.116) 0:01:02.519 ********* ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:22:42 -0400 (0:00:00.109) 0:01:02.629 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node3 => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 August 2024 05:22:42 -0400 (0:00:00.175) 0:01:02.804 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:22:42 -0400 (0:00:00.193) 0:01:02.997 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:22:42 -0400 (0:00:00.163) 0:01:03.161 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:22:42 -0400 (0:00:00.106) 0:01:03.267 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:22:42 -0400 (0:00:00.087) 0:01:03.355 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:22:42 -0400 (0:00:00.071) 0:01:03.426 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:22:44 -0400 (0:00:01.780) 0:01:05.207 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:22:46 -0400 (0:00:01.577) 0:01:06.785 ********* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:22:46 -0400 (0:00:00.071) 0:01:06.856 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:22:46 -0400 (0:00:00.069) 0:01:06.926 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:22:46 -0400 (0:00:00.063) 0:01:06.989 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:22:46 -0400 (0:00:00.072) 0:01:07.062 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:22:46 -0400 (0:00:00.070) 0:01:07.133 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:22:46 -0400 (0:00:00.062) 0:01:07.195 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:22:46 -0400 (0:00:00.095) 0:01:07.291 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:22:46 -0400 (0:00:00.166) 0:01:07.457 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:22:47 -0400 (0:00:00.099) 0:01:07.556 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:22:47 -0400 (0:00:00.097) 0:01:07.654 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:22:47 -0400 (0:00:00.079) 0:01:07.733 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:22:47 -0400 (0:00:00.074) 0:01:07.808 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:22:47 -0400 (0:00:00.098) 0:01:07.906 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:22:48 -0400 (0:00:00.634) 0:01:08.541 ********* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37546_mkkdzhp/tmppw1calnt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:22:48 -0400 (0:00:00.431) 0:01:08.972 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:22:49 -0400 (0:00:00.540) 0:01:09.513 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:22:49 -0400 (0:00:00.080) 0:01:09.593 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:22:49 -0400 (0:00:00.125) 0:01:09.719 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:22:49 -0400 (0:00:00.110) 0:01:09.829 ********* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:22:49 -0400 (0:00:00.094) 0:01:09.923 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 August 2024 05:22:50 -0400 (0:00:00.611) 0:01:10.535 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 12 August 2024 05:22:50 -0400 (0:00:00.125) 0:01:10.660 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:22:50 -0400 (0:00:00.204) 0:01:10.864 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:22:50 -0400 (0:00:00.213) 0:01:11.077 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:22:50 -0400 (0:00:00.111) 0:01:11.189 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:22:50 -0400 (0:00:00.218) 0:01:11.407 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:22:51 -0400 (0:00:00.102) 0:01:11.510 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:22:52 -0400 (0:00:01.794) 0:01:13.304 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:22:54 -0400 (0:00:01.655) 0:01:14.960 ********* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:22:54 -0400 (0:00:00.065) 0:01:15.025 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:22:54 -0400 (0:00:00.085) 0:01:15.110 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:22:54 -0400 (0:00:00.075) 0:01:15.186 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:22:54 -0400 (0:00:00.076) 0:01:15.262 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:22:54 -0400 (0:00:00.079) 0:01:15.341 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:22:54 -0400 (0:00:00.057) 0:01:15.399 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:22:54 -0400 (0:00:00.086) 0:01:15.486 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:22:55 -0400 (0:00:00.105) 0:01:15.591 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:22:55 -0400 (0:00:00.057) 0:01:15.649 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:22:55 -0400 (0:00:00.061) 0:01:15.710 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:22:55 -0400 (0:00:00.106) 0:01:15.816 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:22:55 -0400 (0:00:00.065) 0:01:15.882 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:22:55 -0400 (0:00:00.097) 0:01:15.980 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:22:56 -0400 (0:00:00.627) 0:01:16.607 ********* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37546_mkkdzhp/tmpuj0gs2pn" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:22:56 -0400 (0:00:00.472) 0:01:17.079 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:22:57 -0400 (0:00:01.059) 0:01:18.138 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:22:57 -0400 (0:00:00.100) 0:01:18.239 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:22:57 -0400 (0:00:00.156) 0:01:18.395 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:22:58 -0400 (0:00:00.175) 0:01:18.571 ********* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:22:58 -0400 (0:00:00.111) 0:01:18.682 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:22:58 -0400 (0:00:00.444) 0:01:19.127 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node3 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 12 August 2024 05:22:58 -0400 (0:00:00.148) 0:01:19.275 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:22:59 -0400 (0:00:00.273) 0:01:19.549 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:22:59 -0400 (0:00:00.319) 0:01:19.869 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:22:59 -0400 (0:00:00.093) 0:01:19.962 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:22:59 -0400 (0:00:00.076) 0:01:20.039 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:22:59 -0400 (0:00:00.063) 0:01:20.102 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:23:01 -0400 (0:00:01.760) 0:01:21.862 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:23:02 -0400 (0:00:01.484) 0:01:23.347 ********* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:23:02 -0400 (0:00:00.061) 0:01:23.408 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:23:02 -0400 (0:00:00.079) 0:01:23.487 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:23:03 -0400 (0:00:00.094) 0:01:23.582 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:23:03 -0400 (0:00:00.098) 0:01:23.681 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:23:03 -0400 (0:00:00.115) 0:01:23.797 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:23:03 -0400 (0:00:00.143) 0:01:23.940 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:23:03 -0400 (0:00:00.176) 0:01:24.116 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:23:04 -0400 (0:00:00.444) 0:01:24.561 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:23:04 -0400 (0:00:00.180) 0:01:24.742 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:23:04 -0400 (0:00:00.162) 0:01:24.904 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:23:04 -0400 (0:00:00.131) 0:01:25.035 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:23:04 -0400 (0:00:00.139) 0:01:25.174 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:23:04 -0400 (0:00:00.134) 0:01:25.309 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:23:05 -0400 (0:00:00.823) 0:01:26.132 ********* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37546_mkkdzhp/tmphzmfymvy" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:23:06 -0400 (0:00:00.589) 0:01:26.722 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:23:06 -0400 (0:00:00.610) 0:01:27.332 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:23:06 -0400 (0:00:00.098) 0:01:27.430 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:23:07 -0400 (0:00:00.100) 0:01:27.531 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:23:07 -0400 (0:00:00.080) 0:01:27.611 ********* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:23:07 -0400 (0:00:00.071) 0:01:27.683 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:23:07 -0400 (0:00:00.468) 0:01:28.151 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed_node3 => (item=tasks/assert_device_present.yml) included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node3 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Monday 12 August 2024 05:23:07 -0400 (0:00:00.114) 0:01:28.266 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed_node3 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Monday 12 August 2024 05:23:08 -0400 (0:00:00.225) 0:01:28.492 ********* ok: [managed_node3] => { "changed": false, "stat": { "atime": 1723454577.4742374, "block_size": 4096, "blocks": 0, "ctime": 1723454577.4742374, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32155, "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": 1723454577.4742374, "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-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Monday 12 August 2024 05:23:08 -0400 (0:00:00.437) 0:01:28.929 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 12 August 2024 05:23:08 -0400 (0:00:00.064) 0:01:28.994 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:23:08 -0400 (0:00:00.120) 0:01:29.115 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:23:08 -0400 (0:00:00.122) 0:01:29.237 ********* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:23:09 -0400 (0:00:00.509) 0:01:29.746 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:23:09 -0400 (0:00:00.104) 0:01:29.851 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018139", "end": "2024-08-12 05:23:09.762769", "rc": 1, "start": "2024-08-12 05:23:09.744630" } 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-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:23:09 -0400 (0:00:00.519) 0:01:30.371 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:23:10 -0400 (0:00:00.174) 0:01:30.545 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:23:10 -0400 (0:00:00.082) 0:01:30.627 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:23:10 -0400 (0:00:00.089) 0:01:30.717 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:23:10 -0400 (0:00:00.063) 0:01:30.781 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 12 August 2024 05:23:10 -0400 (0:00:00.058) 0:01:30.840 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:23:10 -0400 (0:00:00.076) 0:01:30.916 ********* skipping: [managed_node3] => { "changed": false, "skipped_reason": "No items in the list" } TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:23:10 -0400 (0:00:00.163) 0:01:31.080 ********* ok: [managed_node3] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:23:10 -0400 (0:00:00.137) 0:01:31.217 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:23:10 -0400 (0:00:00.179) 0:01:31.396 ********* ok: [managed_node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.044151", "end": "2024-08-12 05:23:11.312588", "rc": 0, "start": "2024-08-12 05:23:11.268437" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Monday 12 August 2024 05:23:11 -0400 (0:00:00.494) 0:01:31.891 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:23:11 -0400 (0:00:00.199) 0:01:32.091 ********* ok: [managed_node3] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:23:11 -0400 (0:00:00.174) 0:01:32.266 ********* ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:23:12 -0400 (0:00:00.235) 0:01:32.501 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:23:12 -0400 (0:00:00.184) 0:01:32.685 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:23:12 -0400 (0:00:00.138) 0:01:32.824 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003095", "end": "2024-08-12 05:23:12.702776", "rc": 0, "start": "2024-08-12 05:23:12.699681" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:23:12 -0400 (0:00:00.433) 0:01:33.257 ********* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:23:12 -0400 (0:00:00.075) 0:01:33.332 ********* ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:23:12 -0400 (0:00:00.061) 0:01:33.394 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node3 => (item=tasks/activate_profile.yml) included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed_node3 => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 August 2024 05:23:13 -0400 (0:00:00.128) 0:01:33.523 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:23:13 -0400 (0:00:00.104) 0:01:33.627 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:23:13 -0400 (0:00:00.096) 0:01:33.723 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:23:13 -0400 (0:00:00.068) 0:01:33.791 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:23:13 -0400 (0:00:00.061) 0:01:33.853 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:23:13 -0400 (0:00:00.064) 0:01:33.918 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:23:15 -0400 (0:00:01.711) 0:01:35.630 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:23:16 -0400 (0:00:01.518) 0:01:37.149 ********* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:23:16 -0400 (0:00:00.080) 0:01:37.229 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:23:16 -0400 (0:00:00.061) 0:01:37.290 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:23:16 -0400 (0:00:00.056) 0:01:37.347 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:23:16 -0400 (0:00:00.097) 0:01:37.444 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:23:17 -0400 (0:00:00.081) 0:01:37.526 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:23:17 -0400 (0:00:00.080) 0:01:37.606 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:23:17 -0400 (0:00:00.114) 0:01:37.721 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:23:17 -0400 (0:00:00.165) 0:01:37.887 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:23:17 -0400 (0:00:00.101) 0:01:37.988 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:23:17 -0400 (0:00:00.067) 0:01:38.056 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:23:17 -0400 (0:00:00.083) 0:01:38.139 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:23:17 -0400 (0:00:00.067) 0:01:38.206 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:23:17 -0400 (0:00:00.058) 0:01:38.265 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:23:18 -0400 (0:00:00.589) 0:01:38.854 ********* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37546_mkkdzhp/tmphh6q5hhu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:23:18 -0400 (0:00:00.438) 0:01:39.293 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:23:19 -0400 (0:00:00.573) 0:01:39.866 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:23:19 -0400 (0:00:00.058) 0:01:39.925 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:23:19 -0400 (0:00:00.061) 0:01:39.986 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:23:19 -0400 (0:00:00.065) 0:01:40.051 ********* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:23:19 -0400 (0:00:00.058) 0:01:40.110 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 August 2024 05:23:20 -0400 (0:00:00.495) 0:01:40.605 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 12 August 2024 05:23:20 -0400 (0:00:00.063) 0:01:40.669 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:23:20 -0400 (0:00:00.105) 0:01:40.775 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:23:20 -0400 (0:00:00.097) 0:01:40.872 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:23:20 -0400 (0:00:00.069) 0:01:40.942 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:23:20 -0400 (0:00:00.085) 0:01:41.027 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:23:20 -0400 (0:00:00.084) 0:01:41.112 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:23:22 -0400 (0:00:01.839) 0:01:42.951 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:23:24 -0400 (0:00:01.857) 0:01:44.809 ********* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:23:24 -0400 (0:00:00.122) 0:01:44.932 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:23:24 -0400 (0:00:00.141) 0:01:45.074 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:23:24 -0400 (0:00:00.095) 0:01:45.169 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:23:24 -0400 (0:00:00.096) 0:01:45.266 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:23:24 -0400 (0:00:00.122) 0:01:45.389 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:23:25 -0400 (0:00:00.111) 0:01:45.500 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:23:25 -0400 (0:00:00.116) 0:01:45.617 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:23:25 -0400 (0:00:00.121) 0:01:45.738 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:23:25 -0400 (0:00:00.061) 0:01:45.799 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:23:25 -0400 (0:00:00.064) 0:01:45.864 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:23:25 -0400 (0:00:00.127) 0:01:45.992 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:23:25 -0400 (0:00:00.160) 0:01:46.153 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:23:25 -0400 (0:00:00.207) 0:01:46.361 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:23:26 -0400 (0:00:00.909) 0:01:47.271 ********* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37546_mkkdzhp/tmpcg5k3s7_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:23:27 -0400 (0:00:00.450) 0:01:47.721 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:23:28 -0400 (0:00:00.843) 0:01:48.564 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:23:28 -0400 (0:00:00.098) 0:01:48.663 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:23:28 -0400 (0:00:00.115) 0:01:48.778 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:23:28 -0400 (0:00:00.223) 0:01:49.001 ********* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:23:28 -0400 (0:00:00.096) 0:01:49.098 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Monday 12 August 2024 05:23:29 -0400 (0:00:00.460) 0:01:49.559 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:23:29 -0400 (0:00:00.109) 0:01:49.668 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:23:29 -0400 (0:00:00.151) 0:01:49.820 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:23:29 -0400 (0:00:00.108) 0:01:49.929 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:23:29 -0400 (0:00:00.102) 0:01:50.031 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:23:29 -0400 (0:00:00.175) 0:01:50.207 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:23:31 -0400 (0:00:01.899) 0:01:52.106 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:23:33 -0400 (0:00:01.550) 0:01:53.657 ********* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:23:33 -0400 (0:00:00.102) 0:01:53.760 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:23:33 -0400 (0:00:00.094) 0:01:53.854 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:23:33 -0400 (0:00:00.098) 0:01:53.952 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:23:33 -0400 (0:00:00.099) 0:01:54.052 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:23:33 -0400 (0:00:00.124) 0:01:54.176 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:23:33 -0400 (0:00:00.108) 0:01:54.284 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:23:33 -0400 (0:00:00.090) 0:01:54.375 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:23:34 -0400 (0:00:00.118) 0:01:54.493 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:23:34 -0400 (0:00:00.096) 0:01:54.590 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:23:34 -0400 (0:00:00.081) 0:01:54.671 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:23:34 -0400 (0:00:00.087) 0:01:54.759 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:23:34 -0400 (0:00:00.084) 0:01:54.844 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:23:34 -0400 (0:00:00.087) 0:01:54.931 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:23:35 -0400 (0:00:00.724) 0:01:55.656 ********* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37546_mkkdzhp/tmp44x23p29" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:23:35 -0400 (0:00:00.469) 0:01:56.126 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:23:36 -0400 (0:00:00.679) 0:01:56.805 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:23:36 -0400 (0:00:00.094) 0:01:56.900 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:23:36 -0400 (0:00:00.232) 0:01:57.133 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:23:36 -0400 (0:00:00.136) 0:01:57.270 ********* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:23:36 -0400 (0:00:00.107) 0:01:57.377 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:23:37 -0400 (0:00:00.464) 0:01:57.841 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 12 August 2024 05:23:37 -0400 (0:00:00.154) 0:01:57.996 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:23:37 -0400 (0:00:00.147) 0:01:58.144 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:23:37 -0400 (0:00:00.162) 0:01:58.306 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:23:37 -0400 (0:00:00.085) 0:01:58.392 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:23:37 -0400 (0:00:00.065) 0:01:58.457 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:23:38 -0400 (0:00:00.071) 0:01:58.529 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:23:39 -0400 (0:00:01.696) 0:02:00.225 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:23:41 -0400 (0:00:01.546) 0:02:01.772 ********* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:23:41 -0400 (0:00:00.068) 0:02:01.841 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:23:41 -0400 (0:00:00.081) 0:02:01.922 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:23:41 -0400 (0:00:00.134) 0:02:02.057 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:23:41 -0400 (0:00:00.210) 0:02:02.267 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:23:41 -0400 (0:00:00.138) 0:02:02.405 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:23:42 -0400 (0:00:00.122) 0:02:02.528 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:23:42 -0400 (0:00:00.155) 0:02:02.683 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:23:42 -0400 (0:00:00.124) 0:02:02.807 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:23:42 -0400 (0:00:00.061) 0:02:02.869 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:23:42 -0400 (0:00:00.059) 0:02:02.929 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:23:42 -0400 (0:00:00.069) 0:02:02.998 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:23:42 -0400 (0:00:00.061) 0:02:03.060 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:23:42 -0400 (0:00:00.067) 0:02:03.128 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:23:43 -0400 (0:00:00.678) 0:02:03.806 ********* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37546_mkkdzhp/tmp2i0phpaw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:23:44 -0400 (0:00:00.864) 0:02:04.671 ********* ok: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:23:44 -0400 (0:00:00.574) 0:02:05.246 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:23:44 -0400 (0:00:00.096) 0:02:05.342 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:23:44 -0400 (0:00:00.076) 0:02:05.419 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:23:45 -0400 (0:00:00.076) 0:02:05.496 ********* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:23:45 -0400 (0:00:00.061) 0:02:05.557 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:23:45 -0400 (0:00:00.418) 0:02:05.976 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node3 => (item=tasks/assert_profile_absent.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 12 August 2024 05:23:45 -0400 (0:00:00.135) 0:02:06.112 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:23:45 -0400 (0:00:00.157) 0:02:06.269 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:23:45 -0400 (0:00:00.102) 0:02:06.372 ********* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:23:46 -0400 (0:00:00.458) 0:02:06.830 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:23:46 -0400 (0:00:00.096) 0:02:06.926 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018168", "end": "2024-08-12 05:23:46.813630", "rc": 1, "start": "2024-08-12 05:23:46.795462" } 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-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:23:46 -0400 (0:00:00.444) 0:02:07.371 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:23:46 -0400 (0:00:00.099) 0:02:07.471 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:23:47 -0400 (0:00:00.060) 0:02:07.531 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:23:47 -0400 (0:00:00.065) 0:02:07.597 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:23:47 -0400 (0:00:00.097) 0:02:07.694 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 12 August 2024 05:23:47 -0400 (0:00:00.089) 0:02:07.784 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:23:47 -0400 (0:00:00.102) 0:02:07.886 ********* skipping: [managed_node3] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed_node3] => { "changed": false } MSG: All items skipped TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:23:47 -0400 (0:00:00.116) 0:02:08.002 ********* ok: [managed_node3] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:23:47 -0400 (0:00:00.099) 0:02:08.102 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:23:47 -0400 (0:00:00.159) 0:02:08.261 ********* ok: [managed_node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042552", "end": "2024-08-12 05:23:48.223255", "rc": 0, "start": "2024-08-12 05:23:48.180703" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Monday 12 August 2024 05:23:48 -0400 (0:00:00.540) 0:02:08.802 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed_node3 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Monday 12 August 2024 05:23:48 -0400 (0:00:00.152) 0:02:08.955 ********* ok: [managed_node3] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Monday 12 August 2024 05:23:48 -0400 (0:00:00.086) 0:02:09.042 ********* ok: [managed_node3] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed_node3] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed_node3] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed_node3] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed_node3] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed_node3] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed_node3] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Monday 12 August 2024 05:23:48 -0400 (0:00:00.131) 0:02:09.173 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed_node3 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Monday 12 August 2024 05:23:48 -0400 (0:00:00.083) 0:02:09.256 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed_node3 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Monday 12 August 2024 05:23:48 -0400 (0:00:00.160) 0:02:09.417 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003173", "end": "2024-08-12 05:23:49.284458", "rc": 0, "start": "2024-08-12 05:23:49.281285" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Monday 12 August 2024 05:23:49 -0400 (0:00:00.429) 0:02:09.846 ********* ok: [managed_node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Monday 12 August 2024 05:23:49 -0400 (0:00:00.098) 0:02:09.945 ********* ok: [managed_node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Monday 12 August 2024 05:23:49 -0400 (0:00:00.118) 0:02:10.064 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed_node3 => (item=tasks/create_bridge_profile.yml) included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed_node3 => (item=tasks/activate_profile.yml) included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Monday 12 August 2024 05:23:49 -0400 (0:00:00.179) 0:02:10.243 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:23:49 -0400 (0:00:00.192) 0:02:10.436 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:23:50 -0400 (0:00:00.169) 0:02:10.605 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:23:50 -0400 (0:00:00.124) 0:02:10.729 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:23:50 -0400 (0:00:00.093) 0:02:10.823 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:23:50 -0400 (0:00:00.076) 0:02:10.900 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:23:52 -0400 (0:00:01.722) 0:02:12.623 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:23:53 -0400 (0:00:01.550) 0:02:14.174 ********* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:23:53 -0400 (0:00:00.074) 0:02:14.248 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:23:53 -0400 (0:00:00.059) 0:02:14.307 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:23:53 -0400 (0:00:00.075) 0:02:14.382 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:23:53 -0400 (0:00:00.096) 0:02:14.479 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:23:54 -0400 (0:00:00.115) 0:02:14.595 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:23:54 -0400 (0:00:00.101) 0:02:14.696 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:23:54 -0400 (0:00:00.113) 0:02:14.810 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:23:54 -0400 (0:00:00.168) 0:02:14.978 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:23:54 -0400 (0:00:00.099) 0:02:15.078 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:23:54 -0400 (0:00:00.097) 0:02:15.176 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:23:54 -0400 (0:00:00.123) 0:02:15.300 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:23:54 -0400 (0:00:00.101) 0:02:15.402 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:23:55 -0400 (0:00:00.094) 0:02:15.496 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:23:55 -0400 (0:00:00.658) 0:02:16.155 ********* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37546_mkkdzhp/tmp7dgk56v1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:23:56 -0400 (0:00:00.587) 0:02:16.742 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:23:56 -0400 (0:00:00.673) 0:02:17.416 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:23:56 -0400 (0:00:00.058) 0:02:17.475 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:23:57 -0400 (0:00:00.097) 0:02:17.572 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:23:57 -0400 (0:00:00.103) 0:02:17.676 ********* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:23:57 -0400 (0:00:00.097) 0:02:17.773 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Monday 12 August 2024 05:23:57 -0400 (0:00:00.465) 0:02:18.238 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Monday 12 August 2024 05:23:57 -0400 (0:00:00.066) 0:02:18.305 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:23:57 -0400 (0:00:00.106) 0:02:18.412 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:23:58 -0400 (0:00:00.106) 0:02:18.518 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:23:58 -0400 (0:00:00.067) 0:02:18.586 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:23:58 -0400 (0:00:00.062) 0:02:18.648 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:23:58 -0400 (0:00:00.061) 0:02:18.710 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:24:00 -0400 (0:00:01.855) 0:02:20.566 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:24:01 -0400 (0:00:01.553) 0:02:22.120 ********* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:24:01 -0400 (0:00:00.080) 0:02:22.200 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:24:01 -0400 (0:00:00.091) 0:02:22.292 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:24:01 -0400 (0:00:00.098) 0:02:22.390 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:24:02 -0400 (0:00:00.101) 0:02:22.492 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:24:02 -0400 (0:00:00.187) 0:02:22.680 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:24:02 -0400 (0:00:00.114) 0:02:22.795 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:24:02 -0400 (0:00:00.152) 0:02:22.947 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:24:02 -0400 (0:00:00.271) 0:02:23.219 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:24:02 -0400 (0:00:00.080) 0:02:23.300 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:24:02 -0400 (0:00:00.082) 0:02:23.382 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:24:02 -0400 (0:00:00.074) 0:02:23.457 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:24:03 -0400 (0:00:00.057) 0:02:23.515 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:24:03 -0400 (0:00:00.147) 0:02:23.663 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:24:04 -0400 (0:00:00.893) 0:02:24.556 ********* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37546_mkkdzhp/tmpn8fkzvn1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:24:04 -0400 (0:00:00.642) 0:02:25.199 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:24:05 -0400 (0:00:00.848) 0:02:26.048 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:24:05 -0400 (0:00:00.139) 0:02:26.187 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:24:05 -0400 (0:00:00.123) 0:02:26.310 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:24:05 -0400 (0:00:00.149) 0:02:26.460 ********* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:24:06 -0400 (0:00:00.179) 0:02:26.640 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 12 August 2024 05:24:06 -0400 (0:00:00.545) 0:02:27.185 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:24:06 -0400 (0:00:00.184) 0:02:27.370 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:24:07 -0400 (0:00:00.173) 0:02:27.544 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:24:07 -0400 (0:00:00.162) 0:02:27.707 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:24:07 -0400 (0:00:00.109) 0:02:27.816 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:24:07 -0400 (0:00:00.181) 0:02:27.997 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:24:09 -0400 (0:00:01.743) 0:02:29.741 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:24:10 -0400 (0:00:01.539) 0:02:31.281 ********* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:24:10 -0400 (0:00:00.105) 0:02:31.386 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:24:11 -0400 (0:00:00.149) 0:02:31.535 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:24:11 -0400 (0:00:00.127) 0:02:31.663 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:24:11 -0400 (0:00:00.101) 0:02:31.765 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:24:11 -0400 (0:00:00.116) 0:02:31.881 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:24:11 -0400 (0:00:00.100) 0:02:31.982 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:24:11 -0400 (0:00:00.153) 0:02:32.136 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:24:11 -0400 (0:00:00.197) 0:02:32.333 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:24:11 -0400 (0:00:00.118) 0:02:32.451 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:24:12 -0400 (0:00:00.169) 0:02:32.620 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:24:12 -0400 (0:00:00.106) 0:02:32.727 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:24:12 -0400 (0:00:00.236) 0:02:32.963 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:24:12 -0400 (0:00:00.106) 0:02:33.069 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:24:13 -0400 (0:00:00.840) 0:02:33.910 ********* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37546_mkkdzhp/tmpqrs5zop3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:24:13 -0400 (0:00:00.495) 0:02:34.405 ********* changed: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:24:14 -0400 (0:00:00.843) 0:02:35.249 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:24:14 -0400 (0:00:00.093) 0:02:35.342 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:24:14 -0400 (0:00:00.115) 0:02:35.458 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:24:15 -0400 (0:00:00.116) 0:02:35.574 ********* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:24:15 -0400 (0:00:00.125) 0:02:35.700 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Monday 12 August 2024 05:24:15 -0400 (0:00:00.564) 0:02:36.264 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed_node3 => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Monday 12 August 2024 05:24:15 -0400 (0:00:00.162) 0:02:36.426 ********* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Monday 12 August 2024 05:24:16 -0400 (0:00:00.361) 0:02:36.788 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed_node3 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Monday 12 August 2024 05:24:16 -0400 (0:00:00.377) 0:02:37.166 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Monday 12 August 2024 05:24:16 -0400 (0:00:00.111) 0:02:37.277 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Monday 12 August 2024 05:24:16 -0400 (0:00:00.113) 0:02:37.390 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not __network_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Monday 12 August 2024 05:24:17 -0400 (0:00:00.111) 0:02:37.502 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Monday 12 August 2024 05:24:18 -0400 (0:00:01.763) 0:02:39.265 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Monday 12 August 2024 05:24:20 -0400 (0:00:01.545) 0:02:40.811 ********* ok: [managed_node3] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Monday 12 August 2024 05:24:20 -0400 (0:00:00.110) 0:02:40.922 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Monday 12 August 2024 05:24:20 -0400 (0:00:00.094) 0:02:41.017 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Monday 12 August 2024 05:24:20 -0400 (0:00:00.104) 0:02:41.121 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int > 9", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Monday 12 August 2024 05:24:20 -0400 (0:00:00.099) 0:02:41.221 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Monday 12 August 2024 05:24:20 -0400 (0:00:00.115) 0:02:41.337 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "ansible_distribution_major_version | int < 8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Monday 12 August 2024 05:24:20 -0400 (0:00:00.078) 0:02:41.415 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Monday 12 August 2024 05:24:21 -0400 (0:00:00.085) 0:02:41.500 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "not network_packages is subset(ansible_facts.packages.keys())", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Monday 12 August 2024 05:24:21 -0400 (0:00:00.123) 0:02:41.624 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Monday 12 August 2024 05:24:21 -0400 (0:00:00.150) 0:02:41.775 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Monday 12 August 2024 05:24:21 -0400 (0:00:00.061) 0:02:41.836 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "__network_wireless_connections_defined or __network_team_connections_defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Monday 12 August 2024 05:24:21 -0400 (0:00:00.098) 0:02:41.935 ********* skipping: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Monday 12 August 2024 05:24:21 -0400 (0:00:00.101) 0:02:42.036 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_provider == \"nm\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Monday 12 August 2024 05:24:21 -0400 (0:00:00.098) 0:02:42.135 ********* ok: [managed_node3] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Monday 12 August 2024 05:24:22 -0400 (0:00:00.663) 0:02:42.798 ********* ok: [managed_node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-37546_mkkdzhp/tmpcdh55598" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Monday 12 August 2024 05:24:22 -0400 (0:00:00.437) 0:02:43.236 ********* ok: [managed_node3] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Monday 12 August 2024 05:24:23 -0400 (0:00:00.577) 0:02:43.813 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "network_state != {}", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Monday 12 August 2024 05:24:23 -0400 (0:00:00.071) 0:02:43.884 ********* ok: [managed_node3] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Monday 12 August 2024 05:24:23 -0400 (0:00:00.075) 0:02:43.960 ********* ok: [managed_node3] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Monday 12 August 2024 05:24:23 -0400 (0:00:00.078) 0:02:44.038 ********* skipping: [managed_node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Monday 12 August 2024 05:24:23 -0400 (0:00:00.061) 0:02:44.099 ********* ok: [managed_node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Monday 12 August 2024 05:24:24 -0400 (0:00:00.407) 0:02:44.507 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed_node3 => (item=tasks/assert_profile_absent.yml) included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed_node3 => (item=tasks/get_NetworkManager_NVR.yml) TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Monday 12 August 2024 05:24:24 -0400 (0:00:00.098) 0:02:44.605 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed_node3 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Monday 12 August 2024 05:24:24 -0400 (0:00:00.137) 0:02:44.742 ********* ok: [managed_node3] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Monday 12 August 2024 05:24:24 -0400 (0:00:00.061) 0:02:44.803 ********* ok: [managed_node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Monday 12 August 2024 05:24:24 -0400 (0:00:00.398) 0:02:45.201 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Monday 12 August 2024 05:24:24 -0400 (0:00:00.095) 0:02:45.296 ********* fatal: [managed_node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017938", "end": "2024-08-12 05:24:25.169066", "rc": 1, "start": "2024-08-12 05:24:25.151128" } 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-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Monday 12 August 2024 05:24:25 -0400 (0:00:00.426) 0:02:45.723 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "nm_profile_exists.rc == 0", "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Monday 12 August 2024 05:24:25 -0400 (0:00:00.064) 0:02:45.788 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Monday 12 August 2024 05:24:25 -0400 (0:00:00.060) 0:02:45.848 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Monday 12 August 2024 05:24:25 -0400 (0:00:00.062) 0:02:45.911 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Monday 12 August 2024 05:24:25 -0400 (0:00:00.061) 0:02:45.973 ********* skipping: [managed_node3] => { "changed": false, "false_condition": "profile_stat.stat.exists", "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Monday 12 August 2024 05:24:25 -0400 (0:00:00.059) 0:02:46.033 ********* ok: [managed_node3] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 12 August 2024 05:24:25 -0400 (0:00:00.065) 0:02:46.098 ********* ok: [managed_node3] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.862681", "end": "2024-08-12 05:24:26.798203", "rc": 0, "start": "2024-08-12 05:24:25.935522" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 12 August 2024 05:24:26 -0400 (0:00:01.281) 0:02:47.380 ********* ok: [managed_node3] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 12 August 2024 05:24:26 -0400 (0:00:00.099) 0:02:47.480 ********* ok: [managed_node3] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Monday 12 August 2024 05:24:27 -0400 (0:00:00.104) 0:02:47.584 ********* skipping: [managed_node3] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item['condition']", "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } skipping: [managed_node3] => { "changed": false } MSG: All items skipped TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Monday 12 August 2024 05:24:27 -0400 (0:00:00.073) 0:02:47.658 ********* ok: [managed_node3] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Monday 12 August 2024 05:24:27 -0400 (0:00:00.089) 0:02:47.747 ********* included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed_node3 => (item=tasks/cleanup_profile+device.yml) included: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed_node3 => (item=tasks/check_network_dns.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Monday 12 August 2024 05:24:27 -0400 (0:00:00.190) 0:02:47.938 ********* ok: [managed_node3] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.043100", "end": "2024-08-12 05:24:27.831473", "rc": 0, "start": "2024-08-12 05:24:27.788373" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Monday 12 August 2024 05:24:27 -0400 (0:00:00.456) 0:02:48.395 ********* ok: [managed_node3] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008458", "end": "2024-08-12 05:24:28.244626", "rc": 0, "start": "2024-08-12 05:24:28.236168" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:c0:e6:80:89:83 brd ff:ff:ff:ff:ff:ff inet 10.31.42.38/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2391sec preferred_lft 2391sec inet6 fe80::cc0:e6ff:fe80:8983/64 scope link valid_lft forever preferred_lft forever 40: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 02:e9:84:31:f5:d6 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.42.38 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.42.38 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Monday 12 August 2024 05:24:28 -0400 (0:00:00.414) 0:02:48.810 ********* ok: [managed_node3] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.192375", "end": "2024-08-12 05:24:28.894981", "rc": 0, "start": "2024-08-12 05:24:28.702606" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 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.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 3465 0 --:--:-- --:--:-- --:--:-- 3465 % 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 3683 0 --:--:-- --:--:-- --:--:-- 3683 PLAY RECAP ********************************************************************* managed_node3 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Monday 12 August 2024 05:24:29 -0400 (0:00:00.780) 0:02:49.590 ********* =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.00s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.96s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.90s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.88s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.86s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.86s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.84s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.79s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.78s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.78s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.77s /tmp/collections-S3X/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-S3X/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-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.74s /tmp/collections-S3X/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-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.66s /tmp/collections-S3X/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26