ansible-playbook [core 2.16.12] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-mRF 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-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Tuesday 08 October 2024 02:07:00 -0400 (0:00:00.008) 0:00:00.008 ******* ok: [managed-node3] TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Tuesday 08 October 2024 02:07:01 -0400 (0:00:01.173) 0:00:01.182 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Tuesday 08 October 2024 02:07:01 -0400 (0:00:00.062) 0:00:01.244 ******* ok: [managed-node3] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Tuesday 08 October 2024 02:07:02 -0400 (0:00:00.512) 0:00:01.756 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Tuesday 08 October 2024 02:07:02 -0400 (0:00:00.534) 0:00:02.291 ******* ok: [managed-node3] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Tuesday 08 October 2024 02:07:02 -0400 (0:00:00.023) 0:00:02.315 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Tuesday 08 October 2024 02:07:02 -0400 (0:00:00.017) 0:00:02.332 ******* included: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node3 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Tuesday 08 October 2024 02:07:02 -0400 (0:00:00.054) 0:00:02.386 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Tuesday 08 October 2024 02:07:03 -0400 (0:00:00.471) 0:00:02.857 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Tuesday 08 October 2024 02:07:03 -0400 (0:00:00.016) 0:00:02.874 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Tuesday 08 October 2024 02:07:03 -0400 (0:00:00.019) 0:00:02.893 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.227221", "end": "2024-10-08 02:07:04.671122", "rc": 0, "start": "2024-10-08 02:07:03.443901" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Tuesday 08 October 2024 02:07:04 -0400 (0:00:01.591) 0:00:04.485 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Tuesday 08 October 2024 02:07:04 -0400 (0:00:00.020) 0:00:04.505 ******* ok: [managed-node3] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Tuesday 08 October 2024 02:07:04 -0400 (0:00:00.052) 0:00:04.558 ******* ok: [managed-node3] TASK [Show playbook name] ****************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.852) 0:00:05.410 ******* ok: [managed-node3] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.039) 0:00:05.450 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.048) 0:00:05.499 ******* ok: [managed-node3] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.038) 0:00:05.538 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.086) 0:00:05.624 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.056) 0:00:05.681 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:07:05 -0400 (0:00:00.043) 0:00:05.725 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003181", "end": "2024-10-08 02:07:06.290007", "rc": 0, "start": "2024-10-08 02:07:06.286826" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:07:06 -0400 (0:00:00.363) 0:00:06.089 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:07:06 -0400 (0:00:00.039) 0:00:06.128 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:07:06 -0400 (0:00:00.040) 0:00:06.168 ******* included: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 => (item=tasks/delete_interface.yml) included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Tuesday 08 October 2024 02:07:06 -0400 (0:00:00.067) 0:00:06.236 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007446", "end": "2024-10-08 02:07:06.824023", "rc": 1, "start": "2024-10-08 02:07:06.816577" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 02:07:06 -0400 (0:00:00.385) 0:00:06.622 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:07:06 -0400 (0:00:00.043) 0:00:06.665 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 02:07:07 -0400 (0:00:00.370) 0:00:07.035 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:07:07 -0400 (0:00:00.040) 0:00:07.075 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:07:07 -0400 (0:00:00.050) 0:00:07.126 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:07 -0400 (0:00:00.066) 0:00:07.193 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:07 -0400 (0:00:00.056) 0:00:07.249 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:07 -0400 (0:00:00.044) 0:00:07.293 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:07 -0400 (0:00:00.046) 0:00:07.340 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:07 -0400 (0:00:00.050) 0:00:07.391 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:09 -0400 (0:00:01.822) 0:00:09.214 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:11 -0400 (0:00:02.026) 0:00:11.240 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.062) 0:00:11.303 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.057) 0:00:11.361 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.054) 0:00:11.416 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.064) 0:00:11.481 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.096) 0:00:11.577 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.064) 0:00:11.641 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:07:11 -0400 (0:00:00.075) 0:00:11.717 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:07:12 -0400 (0:00:00.175) 0:00:11.892 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:07:12 -0400 (0:00:00.136) 0:00:12.028 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:07:12 -0400 (0:00:00.089) 0:00:12.118 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:07:12 -0400 (0:00:00.117) 0:00:12.235 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:07:12 -0400 (0:00:00.099) 0:00:12.334 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:07:12 -0400 (0:00:00.082) 0:00:12.417 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:07:13 -0400 (0:00:01.021) 0:00:13.439 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42078b24ki83i/tmp7jcm7zfw" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:14 -0400 (0:00:00.412) 0:00:13.851 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:14 -0400 (0:00:00.872) 0:00:14.724 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:15 -0400 (0:00:00.100) 0:00:14.825 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:15 -0400 (0:00:00.106) 0:00:14.931 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:15 -0400 (0:00:00.080) 0:00:15.012 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:15 -0400 (0:00:00.083) 0:00:15.095 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:07:15 -0400 (0:00:00.591) 0:00:15.687 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:07:16 -0400 (0:00:00.065) 0:00:15.752 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 08 October 2024 02:07:16 -0400 (0:00:00.177) 0:00:15.929 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:07:16 -0400 (0:00:00.138) 0:00:16.067 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:07:16 -0400 (0:00:00.092) 0:00:16.160 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728367634.8629043, "block_size": 4096, "blocks": 8, "ctime": 1728367634.8629043, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728367634.8629043, "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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:07:17 -0400 (0:00:00.637) 0:00:16.797 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:07:17 -0400 (0:00:00.092) 0:00:16.889 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018501", "end": "2024-10-08 02:07:17.690822", "rc": 1, "start": "2024-10-08 02:07:17.672321" } 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:07:17 -0400 (0:00:00.681) 0:00:17.571 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:07:17 -0400 (0:00:00.083) 0:00:17.655 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.003043", "end": "2024-10-08 02:07:18.242256", "rc": 0, "start": "2024-10-08 02:07:18.239213" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:07:18 -0400 (0:00:00.418) 0:00:18.074 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:07:18 -0400 (0:00:00.094) 0:00:18.168 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002970", "end": "2024-10-08 02:07:18.883257", "rc": 0, "start": "2024-10-08 02:07:18.880287" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:07:18 -0400 (0:00:00.538) 0:00:18.706 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 08 October 2024 02:07:19 -0400 (0:00:00.065) 0:00:18.772 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 08 October 2024 02:07:19 -0400 (0:00:00.086) 0:00:18.858 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 08 October 2024 02:07:19 -0400 (0:00:00.068) 0:00:18.927 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:07:19 -0400 (0:00:00.069) 0:00:18.996 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:07:19 -0400 (0:00:00.087) 0:00:19.083 ******* ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:07:19 -0400 (0:00:00.145) 0:00:19.228 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:07:19 -0400 (0:00:00.172) 0:00:19.401 ******* 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.036114", "end": "2024-10-08 02:07:20.038702", "rc": 1, "start": "2024-10-08 02:07:20.002588" } 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Tuesday 08 October 2024 02:07:20 -0400 (0:00:00.468) 0:00:19.870 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:07:20 -0400 (0:00:00.105) 0:00:19.975 ******* ok: [managed-node3] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:07:20 -0400 (0:00:00.060) 0:00:20.036 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:07:20 -0400 (0:00:00.104) 0:00:20.140 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:07:20 -0400 (0:00:00.124) 0:00:20.265 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:07:20 -0400 (0:00:00.104) 0:00:20.369 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003152", "end": "2024-10-08 02:07:20.942807", "rc": 0, "start": "2024-10-08 02:07:20.939655" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:07:21 -0400 (0:00:00.444) 0:00:20.813 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:07:21 -0400 (0:00:00.130) 0:00:20.944 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:07:21 -0400 (0:00:00.146) 0:00:21.090 ******* included: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node3 => (item=tasks/delete_interface.yml) included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Tuesday 08 October 2024 02:07:21 -0400 (0:00:00.181) 0:00:21.272 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005647", "end": "2024-10-08 02:07:21.971365", "rc": 1, "start": "2024-10-08 02:07:21.965718" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 02:07:22 -0400 (0:00:00.592) 0:00:21.865 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:07:22 -0400 (0:00:00.117) 0:00:21.983 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 02:07:22 -0400 (0:00:00.410) 0:00:22.393 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:07:22 -0400 (0:00:00.092) 0:00:22.486 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 08 October 2024 02:07:22 -0400 (0:00:00.127) 0:00:22.614 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:22 -0400 (0:00:00.124) 0:00:22.738 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.148) 0:00:22.887 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.098) 0:00:22.986 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.091) 0:00:23.077 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:23 -0400 (0:00:00.095) 0:00:23.173 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:25 -0400 (0:00:01.702) 0:00:24.875 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:26 -0400 (0:00:01.753) 0:00:26.629 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:27 -0400 (0:00:00.127) 0:00:26.757 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:27 -0400 (0:00:00.084) 0:00:26.841 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:07:27 -0400 (0:00:00.092) 0:00:26.934 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:07:27 -0400 (0:00:00.088) 0:00:27.022 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:07:27 -0400 (0:00:00.101) 0:00:27.124 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:07:27 -0400 (0:00:00.094) 0:00:27.218 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:07:27 -0400 (0:00:00.116) 0:00:27.334 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:07:27 -0400 (0:00:00.187) 0:00:27.522 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:07:27 -0400 (0:00:00.116) 0:00:27.639 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:07:28 -0400 (0:00:00.125) 0:00:27.764 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:07:28 -0400 (0:00:00.118) 0:00:27.883 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:07:28 -0400 (0:00:00.074) 0:00:27.958 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:07:28 -0400 (0:00:00.075) 0:00:28.033 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:07:28 -0400 (0:00:00.662) 0:00:28.696 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42078b24ki83i/tmpp9i4uk7m" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:29 -0400 (0:00:00.680) 0:00:29.376 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:30 -0400 (0:00:00.606) 0:00:29.982 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:30 -0400 (0:00:00.087) 0:00:30.070 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:30 -0400 (0:00:00.093) 0:00:30.164 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:30 -0400 (0:00:00.107) 0:00:30.271 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:30 -0400 (0:00:00.093) 0:00:30.364 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.457) 0:00:30.822 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.109) 0:00:30.931 ******* included: /tmp/collections-mRF/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-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.167) 0:00:31.099 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.124) 0:00:31.223 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.418) 0:00:31.642 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 08 October 2024 02:07:31 -0400 (0:00:00.068) 0:00:31.711 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:07:32 -0400 (0:00:00.189) 0:00:31.900 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:07:32 -0400 (0:00:00.097) 0:00:31.997 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728367650.1449995, "block_size": 4096, "blocks": 8, "ctime": 1728367650.1449995, "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": 1728367650.1449995, "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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:07:32 -0400 (0:00:00.467) 0:00:32.465 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:07:32 -0400 (0:00:00.064) 0:00:32.529 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017169", "end": "2024-10-08 02:07:33.107598", "rc": 1, "start": "2024-10-08 02:07:33.090429" } 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:07:33 -0400 (0:00:00.411) 0:00:32.941 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:07:33 -0400 (0:00:00.091) 0:00:33.032 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002987", "end": "2024-10-08 02:07:33.636640", "rc": 0, "start": "2024-10-08 02:07:33.633653" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:07:33 -0400 (0:00:00.421) 0:00:33.454 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:07:33 -0400 (0:00:00.062) 0:00:33.517 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002961", "end": "2024-10-08 02:07:34.088475", "rc": 0, "start": "2024-10-08 02:07:34.085514" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.410) 0:00:33.928 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.075) 0:00:34.004 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.071) 0:00:34.075 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.077) 0:00:34.153 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.060) 0:00:34.213 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.051) 0:00:34.265 ******* ok: [managed-node3] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.060) 0:00:34.326 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:07:34 -0400 (0:00:00.086) 0:00:34.412 ******* 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.034115", "end": "2024-10-08 02:07:35.064701", "rc": 1, "start": "2024-10-08 02:07:35.030586" } 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.521) 0:00:34.933 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.082) 0:00:35.016 ******* ok: [managed-node3] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.060) 0:00:35.076 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.117) 0:00:35.193 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.094) 0:00:35.288 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:07:35 -0400 (0:00:00.122) 0:00:35.410 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003151", "end": "2024-10-08 02:07:36.025917", "rc": 0, "start": "2024-10-08 02:07:36.022766" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.457) 0:00:35.868 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.093) 0:00:35.961 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.112) 0:00:36.074 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.208) 0:00:36.282 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:36 -0400 (0:00:00.223) 0:00:36.506 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:37 -0400 (0:00:00.290) 0:00:36.797 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:37 -0400 (0:00:00.113) 0:00:36.911 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:37 -0400 (0:00:00.099) 0:00:37.010 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:37 -0400 (0:00:00.097) 0:00:37.108 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:39 -0400 (0:00:01.797) 0:00:38.905 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:40 -0400 (0:00:01.768) 0:00:40.674 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:41 -0400 (0:00:00.125) 0:00:40.799 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:41 -0400 (0:00:00.075) 0:00:40.875 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:07:41 -0400 (0:00:00.066) 0:00:40.941 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:07:41 -0400 (0:00:00.057) 0:00:40.999 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:07:41 -0400 (0:00:00.073) 0:00:41.073 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:07:41 -0400 (0:00:00.090) 0:00:41.163 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:07:41 -0400 (0:00:00.181) 0:00:41.345 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:07:41 -0400 (0:00:00.348) 0:00:41.693 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:07:42 -0400 (0:00:00.092) 0:00:41.786 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:07:42 -0400 (0:00:00.084) 0:00:41.870 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:07:42 -0400 (0:00:00.093) 0:00:41.964 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:07:42 -0400 (0:00:00.095) 0:00:42.059 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:07:42 -0400 (0:00:00.087) 0:00:42.147 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.712) 0:00:42.859 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42078b24ki83i/tmpvnpucc8q" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:43 -0400 (0:00:00.492) 0:00:43.352 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.532) 0:00:43.885 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.060) 0:00:43.945 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.059) 0:00:44.005 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.058) 0:00:44.063 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.057) 0:00:44.121 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.428) 0:00:44.550 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:07:44 -0400 (0:00:00.092) 0:00:44.642 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.210) 0:00:44.853 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.162) 0:00:45.015 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.158) 0:00:45.174 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.121) 0:00:45.295 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.117) 0:00:45.412 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:45 -0400 (0:00:00.090) 0:00:45.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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:07:47 -0400 (0:00:01.736) 0:00:47.239 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:07:49 -0400 (0:00:01.615) 0:00:48.854 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.117) 0:00:48.972 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.086) 0:00:49.058 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.098) 0:00:49.157 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.204) 0:00:49.362 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.068) 0:00:49.430 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.055) 0:00:49.486 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.094) 0:00:49.581 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:07:49 -0400 (0:00:00.145) 0:00:49.726 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:07:50 -0400 (0:00:00.080) 0:00:49.807 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:07:50 -0400 (0:00:00.087) 0:00:49.895 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:07:50 -0400 (0:00:00.102) 0:00:49.997 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:07:50 -0400 (0:00:00.087) 0:00:50.085 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:07:50 -0400 (0:00:00.095) 0:00:50.180 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:07:51 -0400 (0:00:00.647) 0:00:50.828 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42078b24ki83i/tmpsr9o_8z3" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:07:51 -0400 (0:00:00.409) 0:00:51.238 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:07:52 -0400 (0:00:00.786) 0:00:52.024 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:07:52 -0400 (0:00:00.092) 0:00:52.117 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:07:52 -0400 (0:00:00.090) 0:00:52.207 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:07:52 -0400 (0:00:00.077) 0:00:52.284 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:07:52 -0400 (0:00:00.145) 0:00:52.430 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:07:53 -0400 (0:00:00.403) 0:00:52.833 ******* included: /tmp/collections-mRF/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-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 08 October 2024 02:07:53 -0400 (0:00:00.103) 0:00:52.936 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:07:53 -0400 (0:00:00.078) 0:00:53.015 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728367672.0814486, "block_size": 4096, "blocks": 0, "ctime": 1728367672.0814486, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32063, "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": 1728367672.0814486, "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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 08 October 2024 02:07:53 -0400 (0:00:00.380) 0:00:53.396 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Tuesday 08 October 2024 02:07:53 -0400 (0:00:00.088) 0:00:53.484 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:07:53 -0400 (0:00:00.114) 0:00:53.599 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:07:53 -0400 (0:00:00.090) 0:00:53.689 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728367671.9301355, "block_size": 4096, "blocks": 8, "ctime": 1728367664.0640864, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2250798, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728367664.0640864, "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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.486) 0:00:54.175 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.091) 0:00:54.266 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018011", "end": "2024-10-08 02:07:54.862373", "rc": 1, "start": "2024-10-08 02:07:54.844362" } 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.410) 0:00:54.676 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:07:54 -0400 (0:00:00.060) 0:00:54.737 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002956", "end": "2024-10-08 02:07:55.305852", "rc": 0, "start": "2024-10-08 02:07:55.302896" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:07:55 -0400 (0:00:00.383) 0:00:55.121 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:07:55 -0400 (0:00:00.209) 0:00:55.330 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002985", "end": "2024-10-08 02:07:55.962174", "rc": 0, "start": "2024-10-08 02:07:55.959189" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:07:56 -0400 (0:00:00.542) 0:00:55.873 ******* ok: [managed-node3] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Tuesday 08 October 2024 02:07:56 -0400 (0:00:00.170) 0:00:56.043 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Tuesday 08 October 2024 02:07:56 -0400 (0:00:00.149) 0:00:56.193 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Tuesday 08 October 2024 02:07:56 -0400 (0:00:00.103) 0:00:56.296 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:07:56 -0400 (0:00:00.120) 0:00:56.417 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:07:56 -0400 (0:00:00.101) 0:00:56.518 ******* ok: [managed-node3] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:07:56 -0400 (0:00:00.172) 0:00:56.691 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.137) 0:00:56.828 ******* 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.045314", "end": "2024-10-08 02:07:57.700536", "rc": 0, "start": "2024-10-08 02:07:57.655222" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.711) 0:00:57.540 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:07:57 -0400 (0:00:00.157) 0:00:57.697 ******* ok: [managed-node3] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:07:58 -0400 (0:00:00.106) 0:00:57.804 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:07:58 -0400 (0:00:00.159) 0:00:57.963 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:07:58 -0400 (0:00:00.180) 0:00:58.143 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:07:58 -0400 (0:00:00.151) 0:00:58.295 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003117", "end": "2024-10-08 02:07:58.900147", "rc": 0, "start": "2024-10-08 02:07:58.897030" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:07:58 -0400 (0:00:00.422) 0:00:58.718 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:07:59 -0400 (0:00:00.090) 0:00:58.809 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:07:59 -0400 (0:00:00.101) 0:00:58.910 ******* included: /tmp/collections-mRF/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-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:07:59 -0400 (0:00:00.198) 0:00:59.109 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:07:59 -0400 (0:00:00.159) 0:00:59.268 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:07:59 -0400 (0:00:00.161) 0:00:59.430 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:07:59 -0400 (0:00:00.103) 0:00:59.533 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:07:59 -0400 (0:00:00.093) 0:00:59.626 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:07:59 -0400 (0:00:00.076) 0:00:59.703 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:01 -0400 (0:00:01.844) 0:01:01.548 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:03 -0400 (0:00:01.722) 0:01:03.271 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.059) 0:01:03.330 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.075) 0:01:03.406 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.085) 0:01:03.492 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:03 -0400 (0:00:00.093) 0:01:03.585 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.168) 0:01:03.754 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.067) 0:01:03.822 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.093) 0:01:03.915 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.099) 0:01:04.014 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.058) 0:01:04.073 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.087) 0:01:04.160 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.095) 0:01:04.256 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.063) 0:01:04.319 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:04 -0400 (0:00:00.065) 0:01:04.385 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:05 -0400 (0:00:00.745) 0:01:05.131 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42078b24ki83i/tmp6v58ftvm" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:05 -0400 (0:00:00.519) 0:01:05.651 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.587) 0:01:06.239 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.072) 0:01:06.311 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.061) 0:01:06.373 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.066) 0:01:06.439 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:06 -0400 (0:00:00.058) 0:01:06.497 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:08:07 -0400 (0:00:00.417) 0:01:06.915 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 08 October 2024 02:08:07 -0400 (0:00:00.076) 0:01:06.992 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:07 -0400 (0:00:00.128) 0:01:07.120 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:07 -0400 (0:00:00.149) 0:01:07.270 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:07 -0400 (0:00:00.073) 0:01:07.343 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:07 -0400 (0:00:00.075) 0:01:07.418 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:07 -0400 (0:00:00.114) 0:01:07.533 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:09 -0400 (0:00:01.797) 0:01:09.331 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:11 -0400 (0:00:01.545) 0:01:10.876 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.066) 0:01:10.942 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.060) 0:01:11.003 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.087) 0:01:11.090 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.146) 0:01:11.237 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.109) 0:01:11.346 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.093) 0:01:11.440 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.102) 0:01:11.542 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.113) 0:01:11.656 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:11 -0400 (0:00:00.063) 0:01:11.720 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:12 -0400 (0:00:00.055) 0:01:11.775 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:12 -0400 (0:00:00.068) 0:01:11.844 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:12 -0400 (0:00:00.170) 0:01:12.015 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:12 -0400 (0:00:00.086) 0:01:12.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 : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:12 -0400 (0:00:00.612) 0:01:12.714 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42078b24ki83i/tmpghzlw2_d" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:13 -0400 (0:00:00.509) 0:01:13.224 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:14 -0400 (0:00:01.135) 0:01:14.360 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:14 -0400 (0:00:00.088) 0:01:14.449 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:14 -0400 (0:00:00.095) 0:01:14.544 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:14 -0400 (0:00:00.169) 0:01:14.713 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.144) 0:01:14.857 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.533) 0:01:15.391 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Tuesday 08 October 2024 02:08:15 -0400 (0:00:00.140) 0:01:15.531 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.259) 0:01:15.791 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.338) 0:01:16.130 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.141) 0:01:16.272 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.082) 0:01:16.354 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:16 -0400 (0:00:00.072) 0:01:16.427 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:18 -0400 (0:00:01.743) 0:01:18.170 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:19 -0400 (0:00:01.522) 0:01:19.692 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.092) 0:01:19.785 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.087) 0:01:19.872 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.094) 0:01:19.966 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.084) 0:01:20.050 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.105) 0:01:20.156 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.087) 0:01:20.243 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.104) 0:01:20.348 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.173) 0:01:20.521 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:20 -0400 (0:00:00.161) 0:01:20.683 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:21 -0400 (0:00:00.086) 0:01:20.769 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:21 -0400 (0:00:00.148) 0:01:20.918 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:21 -0400 (0:00:00.129) 0:01:21.047 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:21 -0400 (0:00:00.098) 0:01:21.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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:22 -0400 (0:00:00.791) 0:01:21.937 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42078b24ki83i/tmp2f2uhzyi" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:22 -0400 (0:00:00.458) 0:01:22.395 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.596) 0:01:22.991 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.098) 0:01:23.090 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.099) 0:01:23.189 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.094) 0:01:23.284 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:23 -0400 (0:00:00.156) 0:01:23.441 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:08:24 -0400 (0:00:00.470) 0:01:23.911 ******* included: /tmp/collections-mRF/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-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Tuesday 08 October 2024 02:08:24 -0400 (0:00:00.143) 0:01:24.054 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Tuesday 08 October 2024 02:08:24 -0400 (0:00:00.186) 0:01:24.241 ******* ok: [managed-node3] => { "changed": false, "stat": { "atime": 1728367694.4652205, "block_size": 4096, "blocks": 0, "ctime": 1728367694.4652205, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32194, "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": 1728367694.4652205, "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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Tuesday 08 October 2024 02:08:24 -0400 (0:00:00.420) 0:01:24.662 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.092) 0:01:24.755 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.106) 0:01:24.861 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.066) 0:01:24.928 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.432) 0:01:25.360 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:08:25 -0400 (0:00:00.083) 0:01:25.443 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018258", "end": "2024-10-08 02:08:26.041624", "rc": 1, "start": "2024-10-08 02:08:26.023366" } 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.435) 0:01:25.879 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.076) 0:01:25.956 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.064) 0:01:26.020 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.066) 0:01:26.087 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.060) 0:01:26.147 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.058) 0:01:26.206 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.063) 0:01:26.270 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.085) 0:01:26.355 ******* ok: [managed-node3] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.147) 0:01:26.503 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:08:26 -0400 (0:00:00.140) 0:01:26.643 ******* 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.043176", "end": "2024-10-08 02:08:27.304427", "rc": 0, "start": "2024-10-08 02:08:27.261251" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Tuesday 08 October 2024 02:08:27 -0400 (0:00:00.591) 0:01:27.235 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:08:27 -0400 (0:00:00.175) 0:01:27.410 ******* ok: [managed-node3] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:08:27 -0400 (0:00:00.096) 0:01:27.507 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:08:27 -0400 (0:00:00.159) 0:01:27.667 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:08:28 -0400 (0:00:00.161) 0:01:27.829 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:08:28 -0400 (0:00:00.164) 0:01:27.993 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003262", "end": "2024-10-08 02:08:28.639688", "rc": 0, "start": "2024-10-08 02:08:28.636426" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:08:28 -0400 (0:00:00.477) 0:01:28.471 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:08:28 -0400 (0:00:00.154) 0:01:28.625 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:08:29 -0400 (0:00:00.213) 0:01:28.839 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:08:29 -0400 (0:00:00.193) 0:01:29.032 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:29 -0400 (0:00:00.260) 0:01:29.292 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:29 -0400 (0:00:00.100) 0:01:29.392 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:29 -0400 (0:00:00.066) 0:01:29.459 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:29 -0400 (0:00:00.061) 0:01:29.520 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:29 -0400 (0:00:00.059) 0:01:29.580 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:31 -0400 (0:00:01.820) 0:01:31.400 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:33 -0400 (0:00:01.572) 0:01:32.973 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.104) 0:01:33.078 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.115) 0:01:33.193 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.140) 0:01:33.334 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.075) 0:01:33.409 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.153) 0:01:33.563 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.056) 0:01:33.619 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:33 -0400 (0:00:00.073) 0:01:33.693 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:34 -0400 (0:00:00.144) 0:01:33.838 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:34 -0400 (0:00:00.088) 0:01:33.926 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:34 -0400 (0:00:00.093) 0:01:34.020 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:34 -0400 (0:00:00.120) 0:01:34.141 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:34 -0400 (0:00:00.102) 0:01:34.244 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:34 -0400 (0:00:00.092) 0:01:34.336 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:35 -0400 (0:00:00.872) 0:01:35.208 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42078b24ki83i/tmp4k5upere" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:35 -0400 (0:00:00.435) 0:01:35.644 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:36 -0400 (0:00:00.588) 0:01:36.233 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:36 -0400 (0:00:00.153) 0:01:36.387 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:36 -0400 (0:00:00.126) 0:01:36.513 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:36 -0400 (0:00:00.112) 0:01:36.625 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:36 -0400 (0:00:00.096) 0:01:36.722 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.503) 0:01:37.226 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.061) 0:01:37.287 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.097) 0:01:37.385 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.093) 0:01:37.479 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.064) 0:01:37.543 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.065) 0:01:37.608 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:37 -0400 (0:00:00.061) 0:01:37.670 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:39 -0400 (0:00:01.753) 0:01:39.424 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:41 -0400 (0:00:01.562) 0:01:40.986 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:41 -0400 (0:00:00.094) 0:01:41.081 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:41 -0400 (0:00:00.088) 0:01:41.170 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:41 -0400 (0:00:00.164) 0:01:41.335 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:41 -0400 (0:00:00.100) 0:01:41.436 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:41 -0400 (0:00:00.107) 0:01:41.544 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:41 -0400 (0:00:00.063) 0:01:41.607 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:41 -0400 (0:00:00.076) 0:01:41.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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:42 -0400 (0:00:00.100) 0:01:41.784 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:42 -0400 (0:00:00.058) 0:01:41.842 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:42 -0400 (0:00:00.056) 0:01:41.899 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:42 -0400 (0:00:00.070) 0:01:41.970 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:42 -0400 (0:00:00.057) 0:01:42.027 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:42 -0400 (0:00:00.056) 0:01:42.083 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:42 -0400 (0:00:00.585) 0:01:42.669 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42078b24ki83i/tmpobnpazku" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:43 -0400 (0:00:00.408) 0:01:43.078 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.770) 0:01:43.849 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.055) 0:01:43.905 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.062) 0:01:43.967 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.059) 0:01:44.027 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.179) 0:01:44.206 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Tuesday 08 October 2024 02:08:44 -0400 (0:00:00.436) 0:01:44.643 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:45 -0400 (0:00:00.158) 0:01:44.801 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:45 -0400 (0:00:00.148) 0:01:44.949 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:45 -0400 (0:00:00.103) 0:01:45.053 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:45 -0400 (0:00:00.094) 0:01:45.147 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:45 -0400 (0:00:00.093) 0:01:45.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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:47 -0400 (0:00:01.852) 0:01:47.093 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:48 -0400 (0:00:01.604) 0:01:48.698 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:49 -0400 (0:00:00.077) 0:01:48.775 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:49 -0400 (0:00:00.118) 0:01:48.894 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:49 -0400 (0:00:00.056) 0:01:48.951 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:49 -0400 (0:00:00.060) 0:01:49.011 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:49 -0400 (0:00:00.070) 0:01:49.082 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:49 -0400 (0:00:00.056) 0:01:49.138 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:49 -0400 (0:00:00.089) 0:01:49.227 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:49 -0400 (0:00:00.150) 0:01:49.377 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:49 -0400 (0:00:00.084) 0:01:49.462 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:49 -0400 (0:00:00.105) 0:01:49.568 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:49 -0400 (0:00:00.144) 0:01:49.712 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.113) 0:01:49.826 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.089) 0:01:49.916 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:50 -0400 (0:00:00.628) 0:01:50.545 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42078b24ki83i/tmpg1dycjv2" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:08:51 -0400 (0:00:00.433) 0:01:50.979 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:08:51 -0400 (0:00:00.731) 0:01:51.710 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:08:52 -0400 (0:00:00.111) 0:01:51.821 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:08:52 -0400 (0:00:00.133) 0:01:51.955 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:08:52 -0400 (0:00:00.417) 0:01:52.372 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:08:52 -0400 (0:00:00.135) 0:01:52.508 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.545) 0:01:53.054 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.091) 0:01:53.146 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.192) 0:01:53.338 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.141) 0:01:53.479 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:08:53 -0400 (0:00:00.135) 0:01:53.614 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:08:54 -0400 (0:00:00.145) 0:01:53.760 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:08:54 -0400 (0:00:00.099) 0:01:53.859 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:08:55 -0400 (0:00:01.841) 0:01:55.701 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:08:57 -0400 (0:00:01.754) 0:01:57.455 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:08:57 -0400 (0:00:00.066) 0:01:57.521 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:08:57 -0400 (0:00:00.057) 0:01:57.579 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:08:57 -0400 (0:00:00.056) 0:01:57.635 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:08:57 -0400 (0:00:00.061) 0:01:57.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 : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.094) 0:01:57.791 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.089) 0:01:57.881 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.114) 0:01:57.995 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.235) 0:01:58.230 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.089) 0:01:58.320 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.098) 0:01:58.418 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.096) 0:01:58.515 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.064) 0:01:58.579 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:08:58 -0400 (0:00:00.067) 0:01:58.647 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:08:59 -0400 (0:00:00.684) 0:01:59.332 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42078b24ki83i/tmplloxw015" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:09:00 -0400 (0:00:00.492) 0:01:59.824 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:09:00 -0400 (0:00:00.643) 0:02:00.468 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:09:00 -0400 (0:00:00.058) 0:02:00.526 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:09:00 -0400 (0:00:00.059) 0:02:00.586 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:09:00 -0400 (0:00:00.090) 0:02:00.677 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:09:01 -0400 (0:00:00.082) 0:02:00.759 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:09:01 -0400 (0:00:00.421) 0:02:01.181 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 08 October 2024 02:09:01 -0400 (0:00:00.115) 0:02:01.296 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:09:01 -0400 (0:00:00.088) 0:02:01.384 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:09:01 -0400 (0:00:00.064) 0:02:01.449 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:09:02 -0400 (0:00:00.436) 0:02:01.886 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:09:02 -0400 (0:00:00.059) 0:02:01.946 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018941", "end": "2024-10-08 02:09:02.537387", "rc": 1, "start": "2024-10-08 02:09:02.518446" } 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:09:02 -0400 (0:00:00.407) 0:02:02.353 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:09:02 -0400 (0:00:00.063) 0:02:02.417 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:09:02 -0400 (0:00:00.151) 0:02:02.569 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:09:02 -0400 (0:00:00.088) 0:02:02.657 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:09:03 -0400 (0:00:00.095) 0:02:02.753 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 08 October 2024 02:09:03 -0400 (0:00:00.091) 0:02:02.845 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:09:03 -0400 (0:00:00.092) 0:02:02.937 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:09:03 -0400 (0:00:00.099) 0:02:03.036 ******* ok: [managed-node3] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:09:03 -0400 (0:00:00.093) 0:02:03.130 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:09:03 -0400 (0:00:00.138) 0:02:03.269 ******* 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.043326", "end": "2024-10-08 02:09:03.942449", "rc": 0, "start": "2024-10-08 02:09:03.899123" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Tuesday 08 October 2024 02:09:04 -0400 (0:00:00.498) 0:02:03.767 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Tuesday 08 October 2024 02:09:04 -0400 (0:00:00.100) 0:02:03.867 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Tuesday 08 October 2024 02:09:04 -0400 (0:00:00.059) 0:02:03.927 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Tuesday 08 October 2024 02:09:04 -0400 (0:00:00.103) 0:02:04.031 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Tuesday 08 October 2024 02:09:04 -0400 (0:00:00.083) 0:02:04.115 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 08 October 2024 02:09:04 -0400 (0:00:00.178) 0:02:04.293 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003205", "end": "2024-10-08 02:09:04.914019", "rc": 0, "start": "2024-10-08 02:09:04.910814" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 08 October 2024 02:09:04 -0400 (0:00:00.443) 0:02:04.736 ******* ok: [managed-node3] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Tuesday 08 October 2024 02:09:05 -0400 (0:00:00.059) 0:02:04.796 ******* ok: [managed-node3] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Tuesday 08 October 2024 02:09:05 -0400 (0:00:00.064) 0:02:04.861 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node3 => (item=tasks/activate_profile.yml) included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 08 October 2024 02:09:05 -0400 (0:00:00.095) 0:02:04.956 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:09:05 -0400 (0:00:00.122) 0:02:05.079 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:09:05 -0400 (0:00:00.147) 0:02:05.226 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:09:05 -0400 (0:00:00.105) 0:02:05.331 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:09:05 -0400 (0:00:00.084) 0:02:05.416 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:09:05 -0400 (0:00:00.072) 0:02:05.489 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:09:07 -0400 (0:00:01.835) 0:02:07.324 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:09:09 -0400 (0:00:01.645) 0:02:08.970 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:09:09 -0400 (0:00:00.072) 0:02:09.042 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:09:09 -0400 (0:00:00.092) 0:02:09.135 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:09:09 -0400 (0:00:00.090) 0:02:09.225 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:09:09 -0400 (0:00:00.154) 0:02:09.380 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:09:09 -0400 (0:00:00.200) 0:02:09.581 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:09:09 -0400 (0:00:00.098) 0:02:09.679 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:09:10 -0400 (0:00:00.136) 0:02:09.816 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:09:10 -0400 (0:00:00.176) 0:02:09.993 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:09:10 -0400 (0:00:00.177) 0:02:10.170 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:09:10 -0400 (0:00:00.109) 0:02:10.280 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:09:10 -0400 (0:00:00.114) 0:02:10.394 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:09:10 -0400 (0:00:00.095) 0:02:10.490 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:09:10 -0400 (0:00:00.113) 0:02:10.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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:09:11 -0400 (0:00:00.651) 0:02:11.255 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42078b24ki83i/tmpsh4sxd6j" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:09:11 -0400 (0:00:00.465) 0:02:11.720 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:09:12 -0400 (0:00:00.739) 0:02:12.459 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:09:12 -0400 (0:00:00.062) 0:02:12.522 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:09:12 -0400 (0:00:00.060) 0:02:12.583 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:09:12 -0400 (0:00:00.069) 0:02:12.653 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:09:13 -0400 (0:00:00.100) 0:02:12.753 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 08 October 2024 02:09:13 -0400 (0:00:00.459) 0:02:13.213 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Tuesday 08 October 2024 02:09:13 -0400 (0:00:00.084) 0:02:13.298 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:09:13 -0400 (0:00:00.156) 0:02:13.454 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:09:13 -0400 (0:00:00.150) 0:02:13.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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:09:13 -0400 (0:00:00.093) 0:02:13.698 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:09:14 -0400 (0:00:00.117) 0:02:13.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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:09:14 -0400 (0:00:00.093) 0:02:13.910 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:09:15 -0400 (0:00:01.806) 0:02:15.716 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:09:17 -0400 (0:00:01.486) 0:02:17.202 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:09:17 -0400 (0:00:00.062) 0:02:17.265 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:09:17 -0400 (0:00:00.057) 0:02:17.322 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:09:17 -0400 (0:00:00.061) 0:02:17.384 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:09:17 -0400 (0:00:00.057) 0:02:17.441 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:09:17 -0400 (0:00:00.073) 0:02:17.515 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:09:17 -0400 (0:00:00.097) 0:02:17.613 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:09:17 -0400 (0:00:00.104) 0:02:17.717 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:09:18 -0400 (0:00:00.147) 0:02:17.865 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:09:18 -0400 (0:00:00.110) 0:02:17.976 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:09:18 -0400 (0:00:00.070) 0:02:18.046 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:09:18 -0400 (0:00:00.078) 0:02:18.125 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:09:18 -0400 (0:00:00.065) 0:02:18.191 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:09:18 -0400 (0:00:00.118) 0:02:18.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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.601) 0:02:18.911 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42078b24ki83i/tmpqjkvk6rf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:09:19 -0400 (0:00:00.446) 0:02:19.357 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:09:20 -0400 (0:00:00.781) 0:02:20.139 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:09:20 -0400 (0:00:00.056) 0:02:20.196 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:09:20 -0400 (0:00:00.065) 0:02:20.261 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:09:20 -0400 (0:00:00.062) 0:02:20.324 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:09:20 -0400 (0:00:00.057) 0:02:20.382 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 08 October 2024 02:09:21 -0400 (0:00:00.405) 0:02:20.787 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:09:21 -0400 (0:00:00.097) 0:02:20.885 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:09:21 -0400 (0:00:00.097) 0:02:20.983 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:09:21 -0400 (0:00:00.082) 0:02:21.066 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:09:21 -0400 (0:00:00.094) 0:02:21.160 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:09:21 -0400 (0:00:00.133) 0:02:21.294 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:09:23 -0400 (0:00:01.771) 0:02:23.065 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:09:24 -0400 (0:00:01.540) 0:02:24.606 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:09:24 -0400 (0:00:00.079) 0:02:24.685 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:09:25 -0400 (0:00:00.095) 0:02:24.780 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:09:25 -0400 (0:00:00.091) 0:02:24.872 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:09:25 -0400 (0:00:00.099) 0:02:24.971 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:09:25 -0400 (0:00:00.105) 0:02:25.076 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:09:25 -0400 (0:00:00.090) 0:02:25.167 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:09:25 -0400 (0:00:00.131) 0:02:25.298 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:09:25 -0400 (0:00:00.150) 0:02:25.449 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:09:25 -0400 (0:00:00.070) 0:02:25.519 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:09:25 -0400 (0:00:00.089) 0:02:25.609 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:09:26 -0400 (0:00:00.146) 0:02:25.755 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:09:26 -0400 (0:00:00.266) 0:02:26.022 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:09:26 -0400 (0:00:00.100) 0:02:26.123 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:09:27 -0400 (0:00:00.636) 0:02:26.760 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42078b24ki83i/tmp0xhcf414" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:09:27 -0400 (0:00:00.467) 0:02:27.227 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:09:28 -0400 (0:00:00.713) 0:02:27.941 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:09:28 -0400 (0:00:00.093) 0:02:28.034 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:09:28 -0400 (0:00:00.095) 0:02:28.129 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:09:28 -0400 (0:00:00.137) 0:02:28.267 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:09:28 -0400 (0:00:00.110) 0:02:28.378 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Tuesday 08 October 2024 02:09:29 -0400 (0:00:00.548) 0:02:28.926 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Tuesday 08 October 2024 02:09:29 -0400 (0:00:00.218) 0:02:29.145 ******* TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Tuesday 08 October 2024 02:09:29 -0400 (0:00:00.179) 0:02:29.324 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Tuesday 08 October 2024 02:09:29 -0400 (0:00:00.332) 0:02:29.656 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Tuesday 08 October 2024 02:09:30 -0400 (0:00:00.115) 0:02:29.771 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Tuesday 08 October 2024 02:09:30 -0400 (0:00:00.083) 0:02:29.855 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Tuesday 08 October 2024 02:09:30 -0400 (0:00:00.072) 0:02:29.928 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Tuesday 08 October 2024 02:09:31 -0400 (0:00:01.764) 0:02:31.693 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Tuesday 08 October 2024 02:09:33 -0400 (0:00:01.490) 0:02:33.183 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Tuesday 08 October 2024 02:09:33 -0400 (0:00:00.086) 0:02:33.270 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Tuesday 08 October 2024 02:09:33 -0400 (0:00:00.094) 0:02:33.364 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Tuesday 08 October 2024 02:09:33 -0400 (0:00:00.092) 0:02:33.457 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Tuesday 08 October 2024 02:09:33 -0400 (0:00:00.089) 0:02:33.547 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Tuesday 08 October 2024 02:09:33 -0400 (0:00:00.124) 0:02:33.671 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Tuesday 08 October 2024 02:09:34 -0400 (0:00:00.103) 0:02:33.775 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Tuesday 08 October 2024 02:09:34 -0400 (0:00:00.105) 0:02:33.880 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Tuesday 08 October 2024 02:09:34 -0400 (0:00:00.172) 0:02:34.053 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Tuesday 08 October 2024 02:09:34 -0400 (0:00:00.181) 0:02:34.235 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Tuesday 08 October 2024 02:09:34 -0400 (0:00:00.094) 0:02:34.329 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Tuesday 08 October 2024 02:09:34 -0400 (0:00:00.109) 0:02:34.439 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Tuesday 08 October 2024 02:09:34 -0400 (0:00:00.090) 0:02:34.530 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Tuesday 08 October 2024 02:09:34 -0400 (0:00:00.087) 0:02:34.618 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Tuesday 08 October 2024 02:09:35 -0400 (0:00:00.973) 0:02:35.591 ******* ok: [managed-node3] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-42078b24ki83i/tmphoehxblf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Tuesday 08 October 2024 02:09:36 -0400 (0:00:00.587) 0:02:36.178 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Tuesday 08 October 2024 02:09:37 -0400 (0:00:00.573) 0:02:36.752 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Tuesday 08 October 2024 02:09:37 -0400 (0:00:00.136) 0:02:36.888 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Tuesday 08 October 2024 02:09:37 -0400 (0:00:00.081) 0:02:36.970 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Tuesday 08 October 2024 02:09:37 -0400 (0:00:00.081) 0:02:37.052 ******* skipping: [managed-node3] => { "false_condition": "network_state != {}" } TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Tuesday 08 October 2024 02:09:37 -0400 (0:00:00.063) 0:02:37.115 ******* ok: [managed-node3] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Tuesday 08 October 2024 02:09:37 -0400 (0:00:00.498) 0:02:37.614 ******* included: /tmp/collections-mRF/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-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 08 October 2024 02:09:38 -0400 (0:00:00.152) 0:02:37.766 ******* included: /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Tuesday 08 October 2024 02:09:38 -0400 (0:00:00.234) 0:02:38.001 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Tuesday 08 October 2024 02:09:38 -0400 (0:00:00.074) 0:02:38.076 ******* ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Tuesday 08 October 2024 02:09:38 -0400 (0:00:00.423) 0:02:38.499 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Tuesday 08 October 2024 02:09:38 -0400 (0:00:00.059) 0:02:38.558 ******* fatal: [managed-node3]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018109", "end": "2024-10-08 02:09:39.158831", "rc": 1, "start": "2024-10-08 02:09:39.140722" } 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Tuesday 08 October 2024 02:09:39 -0400 (0:00:00.430) 0:02:38.989 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Tuesday 08 October 2024 02:09:39 -0400 (0:00:00.061) 0:02:39.051 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Tuesday 08 October 2024 02:09:39 -0400 (0:00:00.058) 0:02:39.110 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Tuesday 08 October 2024 02:09:39 -0400 (0:00:00.064) 0:02:39.174 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Tuesday 08 October 2024 02:09:39 -0400 (0:00:00.059) 0:02:39.234 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 08 October 2024 02:09:39 -0400 (0:00:00.066) 0:02:39.300 ******* ok: [managed-node3] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 08 October 2024 02:09:39 -0400 (0:00:00.090) 0:02:39.391 ******* ok: [managed-node3] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.862765", "end": "2024-10-08 02:09:40.924499", "rc": 0, "start": "2024-10-08 02:09:40.061734" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 08 October 2024 02:09:40 -0400 (0:00:01.351) 0:02:40.743 ******* ok: [managed-node3] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 08 October 2024 02:09:41 -0400 (0:00:00.060) 0:02:40.803 ******* ok: [managed-node3] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Tuesday 08 October 2024 02:09:41 -0400 (0:00:00.064) 0:02:40.868 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Tuesday 08 October 2024 02:09:41 -0400 (0:00:00.077) 0:02:40.945 ******* 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Tuesday 08 October 2024 02:09:41 -0400 (0:00:00.103) 0:02:41.049 ******* included: /tmp/collections-mRF/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-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 08 October 2024 02:09:41 -0400 (0:00:00.258) 0:02:41.307 ******* 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.041604", "end": "2024-10-08 02:09:41.969713", "rc": 0, "start": "2024-10-08 02:09:41.928109" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Tuesday 08 October 2024 02:09:42 -0400 (0:00:00.499) 0:02:41.807 ******* 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.008701", "end": "2024-10-08 02:09:42.421133", "rc": 0, "start": "2024-10-08 02:09:42.412432" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 12:03:b5:23:55:87 brd ff:ff:ff:ff:ff:ff inet 10.31.8.12/22 brd 10.31.11.255 scope global dynamic noprefixroute eth0 valid_lft 2331sec preferred_lft 2331sec inet6 fe80::1003:b5ff:fe23:5587/64 scope link valid_lft forever preferred_lft forever 40: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 5e:29:58:f8:1e:b2 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.8.1 dev eth0 proto dhcp src 10.31.8.12 metric 100 10.31.8.0/22 dev eth0 proto kernel scope link src 10.31.8.12 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-mRF/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Tuesday 08 October 2024 02:09:42 -0400 (0:00:00.433) 0:02:42.240 ******* 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.264212", "end": "2024-10-08 02:09:43.083273", "rc": 0, "start": "2024-10-08 02:09:42.819061" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 13863 0 --:--:-- --:--:-- --:--:-- 13863 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1334 0 --:--:-- --:--:-- --:--:-- 1328 PLAY RECAP ********************************************************************* managed-node3 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Tuesday 08 October 2024 02:09:43 -0400 (0:00:00.732) 0:02:42.973 ******* =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 2.03s /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.85s /tmp/collections-mRF/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-mRF/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-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.82s /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.80s /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.77s /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.76s /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.75s /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-mRF/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-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.72s /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/collections-mRF/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21