ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_initscripts.yml ***************************************** 2 plays in /tmp/collections-qJt/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-qJt/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 11 January 2025 07:51:33 -0500 (0:00:00.020) 0:00:00.020 ****** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 11 January 2025 07:51:34 -0500 (0:00:00.947) 0:00:00.968 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml for managed-node2 TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 11 January 2025 07:51:34 -0500 (0:00:00.041) 0:00:01.009 ****** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 11 January 2025 07:51:34 -0500 (0:00:00.484) 0:00:01.494 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 11 January 2025 07:51:35 -0500 (0:00:00.501) 0:00:01.996 ****** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 11 January 2025 07:51:35 -0500 (0:00:00.076) 0:00:02.072 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 11 January 2025 07:51:35 -0500 (0:00:00.059) 0:00:02.132 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 11 January 2025 07:51:35 -0500 (0:00:00.107) 0:00:02.240 ****** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 11 January 2025 07:51:36 -0500 (0:00:00.515) 0:00:02.755 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 11 January 2025 07:51:36 -0500 (0:00:00.018) 0:00:02.773 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 11 January 2025 07:51:36 -0500 (0:00:00.023) 0:00:02.796 ****** [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node2] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.226669", "end": "2025-01-11 07:51:36.705686", "rc": 0, "start": "2025-01-11 07:51:36.479017" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 11 January 2025 07:51:36 -0500 (0:00:00.617) 0:00:03.414 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 11 January 2025 07:51:36 -0500 (0:00:00.019) 0:00:03.433 ****** ok: [managed-node2] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 11 January 2025 07:51:36 -0500 (0:00:00.021) 0:00:03.455 ****** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 11 January 2025 07:51:37 -0500 (0:00:00.623) 0:00:04.078 ****** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 11 January 2025 07:51:37 -0500 (0:00:00.022) 0:00:04.101 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile] ******************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 11 January 2025 07:51:37 -0500 (0:00:00.033) 0:00:04.134 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 11 January 2025 07:51:37 -0500 (0:00:00.023) 0:00:04.158 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_present.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 11 January 2025 07:51:37 -0500 (0:00:00.063) 0:00:04.222 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:51:37 -0500 (0:00:00.025) 0:00:04.247 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:51:37 -0500 (0:00:00.023) 0:00:04.270 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002899", "end": "2025-01-11 07:51:37.948875", "rc": 0, "start": "2025-01-11 07:51:37.945976" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:51:38 -0500 (0:00:00.422) 0:00:04.692 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:51:38 -0500 (0:00:00.029) 0:00:04.722 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 11 January 2025 07:51:38 -0500 (0:00:00.049) 0:00:04.772 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 11 January 2025 07:51:38 -0500 (0:00:00.131) 0:00:04.903 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007090", "end": "2025-01-11 07:51:38.661889", "rc": 1, "start": "2025-01-11 07:51:38.654799" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 11 January 2025 07:51:38 -0500 (0:00:00.461) 0:00:05.364 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:51:38 -0500 (0:00:00.026) 0:00:05.391 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 11 January 2025 07:51:39 -0500 (0:00:00.343) 0:00:05.734 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 11 January 2025 07:51:39 -0500 (0:00:00.023) 0:00:05.757 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 11 January 2025 07:51:39 -0500 (0:00:00.032) 0:00:05.790 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:51:39 -0500 (0:00:00.104) 0:00:05.895 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:51:39 -0500 (0:00:00.039) 0:00:05.935 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:51:39 -0500 (0:00:00.022) 0:00:05.957 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:51:39 -0500 (0:00:00.018) 0:00:05.976 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:51:39 -0500 (0:00:00.019) 0:00:05.995 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:51:41 -0500 (0:00:01.668) 0:00:07.664 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:51:42 -0500 (0:00:01.907) 0:00:09.572 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:51:42 -0500 (0:00:00.043) 0:00:09.615 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:51:43 -0500 (0:00:00.038) 0:00:09.654 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:51:43 -0500 (0:00:00.036) 0:00:09.691 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:51:43 -0500 (0:00:00.042) 0:00:09.733 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:51:43 -0500 (0:00:00.065) 0:00:09.798 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:51:43 -0500 (0:00:00.046) 0:00:09.844 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:51:43 -0500 (0:00:00.103) 0:00:09.948 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:51:43 -0500 (0:00:00.128) 0:00:10.077 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:51:43 -0500 (0:00:00.074) 0:00:10.152 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:51:43 -0500 (0:00:00.064) 0:00:10.216 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:51:43 -0500 (0:00:00.081) 0:00:10.298 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:51:43 -0500 (0:00:00.096) 0:00:10.394 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:51:43 -0500 (0:00:00.066) 0:00:10.461 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:51:44 -0500 (0:00:00.917) 0:00:11.378 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49257jwig9mv_/tmpxivb460t" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:51:45 -0500 (0:00:00.464) 0:00:11.843 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:51:46 -0500 (0:00:00.848) 0:00:12.691 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:51:46 -0500 (0:00:00.099) 0:00:12.791 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:51:46 -0500 (0:00:00.067) 0:00:12.859 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:51:46 -0500 (0:00:00.109) 0:00:12.969 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:51:46 -0500 (0:00:00.059) 0:00:13.028 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 11 January 2025 07:51:46 -0500 (0:00:00.563) 0:00:13.592 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 11 January 2025 07:51:47 -0500 (0:00:00.066) 0:00:13.658 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 11 January 2025 07:51:47 -0500 (0:00:00.135) 0:00:13.793 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 11 January 2025 07:51:47 -0500 (0:00:00.172) 0:00:13.965 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 11 January 2025 07:51:47 -0500 (0:00:00.063) 0:00:14.028 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1736599905.935855, "block_size": 4096, "blocks": 8, "ctime": 1736599905.935855, "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": 1736599905.935855, "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-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 11 January 2025 07:51:47 -0500 (0:00:00.397) 0:00:14.425 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 11 January 2025 07:51:47 -0500 (0:00:00.040) 0:00:14.466 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017316", "end": "2025-01-11 07:51:48.128196", "rc": 1, "start": "2025-01-11 07:51:48.110880" } 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-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 11 January 2025 07:51:48 -0500 (0:00:00.407) 0:00:14.874 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 11 January 2025 07:51:48 -0500 (0:00:00.067) 0:00:14.941 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003824", "end": "2025-01-11 07:51:49.599150", "rc": 0, "start": "2025-01-11 07:51:48.595326" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 11 January 2025 07:51:49 -0500 (0:00:01.380) 0:00:16.322 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 11 January 2025 07:51:49 -0500 (0:00:00.047) 0:00:16.369 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002754", "end": "2025-01-11 07:51:50.049117", "rc": 0, "start": "2025-01-11 07:51:50.046363" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 11 January 2025 07:51:50 -0500 (0:00:00.402) 0:00:16.771 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 11 January 2025 07:51:50 -0500 (0:00:00.048) 0:00:16.820 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 11 January 2025 07:51:50 -0500 (0:00:00.041) 0:00:16.861 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 11 January 2025 07:51:50 -0500 (0:00:00.042) 0:00:16.904 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 11 January 2025 07:51:50 -0500 (0:00:00.054) 0:00:16.959 ****** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_present.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_present.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 11 January 2025 07:51:50 -0500 (0:00:00.083) 0:00:17.042 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 11 January 2025 07:51:50 -0500 (0:00:00.065) 0:00:17.107 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 11 January 2025 07:51:50 -0500 (0:00:00.119) 0:00:17.227 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.035239", "end": "2025-01-11 07:51:51.020152", "rc": 1, "start": "2025-01-11 07:51:50.984913" } 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-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 11 January 2025 07:51:51 -0500 (0:00:00.537) 0:00:17.764 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 11 January 2025 07:51:51 -0500 (0:00:00.113) 0:00:17.878 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 11 January 2025 07:51:51 -0500 (0:00:00.070) 0:00:17.949 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 11 January 2025 07:51:51 -0500 (0:00:00.138) 0:00:18.087 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:51:51 -0500 (0:00:00.117) 0:00:18.205 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:51:51 -0500 (0:00:00.097) 0:00:18.302 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002799", "end": "2025-01-11 07:51:52.019160", "rc": 0, "start": "2025-01-11 07:51:52.016361" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:51:52 -0500 (0:00:00.497) 0:00:18.799 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:51:52 -0500 (0:00:00.094) 0:00:18.894 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 11 January 2025 07:51:52 -0500 (0:00:00.076) 0:00:18.970 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 TASK [Remove test interface if necessary] ************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 11 January 2025 07:51:52 -0500 (0:00:00.130) 0:00:19.100 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005707", "end": "2025-01-11 07:51:52.795265", "rc": 1, "start": "2025-01-11 07:51:52.789558" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 11 January 2025 07:51:52 -0500 (0:00:00.432) 0:00:19.533 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:51:52 -0500 (0:00:00.099) 0:00:19.632 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 11 January 2025 07:51:53 -0500 (0:00:00.454) 0:00:20.087 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 11 January 2025 07:51:53 -0500 (0:00:00.048) 0:00:20.136 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 11 January 2025 07:51:53 -0500 (0:00:00.089) 0:00:20.226 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:51:53 -0500 (0:00:00.088) 0:00:20.315 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:51:53 -0500 (0:00:00.134) 0:00:20.449 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:51:53 -0500 (0:00:00.079) 0:00:20.528 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:51:53 -0500 (0:00:00.122) 0:00:20.651 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:51:54 -0500 (0:00:00.058) 0:00:20.710 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:51:55 -0500 (0:00:01.630) 0:00:22.340 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:51:57 -0500 (0:00:01.495) 0:00:23.836 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:51:57 -0500 (0:00:00.039) 0:00:23.876 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:51:57 -0500 (0:00:00.038) 0:00:23.915 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:51:57 -0500 (0:00:00.038) 0:00:23.953 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:51:57 -0500 (0:00:00.063) 0:00:24.016 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:51:57 -0500 (0:00:00.046) 0:00:24.063 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:51:57 -0500 (0:00:00.043) 0:00:24.106 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:51:57 -0500 (0:00:00.075) 0:00:24.182 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:51:57 -0500 (0:00:00.108) 0:00:24.291 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:51:57 -0500 (0:00:00.059) 0:00:24.350 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:51:57 -0500 (0:00:00.045) 0:00:24.396 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:51:57 -0500 (0:00:00.055) 0:00:24.451 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:51:57 -0500 (0:00:00.043) 0:00:24.495 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:51:57 -0500 (0:00:00.049) 0:00:24.544 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:51:58 -0500 (0:00:00.563) 0:00:25.108 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49257jwig9mv_/tmp59doml6x" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:51:58 -0500 (0:00:00.372) 0:00:25.480 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:51:59 -0500 (0:00:00.645) 0:00:26.126 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:51:59 -0500 (0:00:00.057) 0:00:26.184 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:51:59 -0500 (0:00:00.119) 0:00:26.303 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:51:59 -0500 (0:00:00.071) 0:00:26.375 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:51:59 -0500 (0:00:00.070) 0:00:26.445 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 11 January 2025 07:52:00 -0500 (0:00:00.612) 0:00:27.057 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 11 January 2025 07:52:00 -0500 (0:00:00.071) 0:00:27.129 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 11 January 2025 07:52:00 -0500 (0:00:00.093) 0:00:27.222 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:52:00 -0500 (0:00:00.083) 0:00:27.306 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 11 January 2025 07:52:01 -0500 (0:00:00.465) 0:00:27.771 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 11 January 2025 07:52:01 -0500 (0:00:00.065) 0:00:27.837 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 11 January 2025 07:52:01 -0500 (0:00:00.104) 0:00:27.942 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 11 January 2025 07:52:01 -0500 (0:00:00.111) 0:00:28.053 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1736599919.30894, "block_size": 4096, "blocks": 8, "ctime": 1736599919.30894, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 4177724, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1736599919.30894, "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-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 11 January 2025 07:52:01 -0500 (0:00:00.444) 0:00:28.498 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 11 January 2025 07:52:01 -0500 (0:00:00.050) 0:00:28.548 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018164", "end": "2025-01-11 07:52:02.241895", "rc": 1, "start": "2025-01-11 07:52:02.223731" } 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-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 11 January 2025 07:52:02 -0500 (0:00:00.426) 0:00:28.975 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 11 January 2025 07:52:02 -0500 (0:00:00.048) 0:00:29.024 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002727", "end": "2025-01-11 07:52:02.675121", "rc": 0, "start": "2025-01-11 07:52:02.672394" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 11 January 2025 07:52:02 -0500 (0:00:00.373) 0:00:29.397 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 11 January 2025 07:52:02 -0500 (0:00:00.053) 0:00:29.451 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002805", "end": "2025-01-11 07:52:03.126601", "rc": 0, "start": "2025-01-11 07:52:03.123796" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 11 January 2025 07:52:03 -0500 (0:00:00.417) 0:00:29.869 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 11 January 2025 07:52:03 -0500 (0:00:00.074) 0:00:29.944 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 11 January 2025 07:52:03 -0500 (0:00:00.100) 0:00:30.044 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 11 January 2025 07:52:03 -0500 (0:00:00.115) 0:00:30.159 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 11 January 2025 07:52:03 -0500 (0:00:00.060) 0:00:30.219 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 11 January 2025 07:52:03 -0500 (0:00:00.099) 0:00:30.319 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 11 January 2025 07:52:03 -0500 (0:00:00.053) 0:00:30.373 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 11 January 2025 07:52:03 -0500 (0:00:00.075) 0:00:30.449 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.034592", "end": "2025-01-11 07:52:04.134250", "rc": 1, "start": "2025-01-11 07:52:04.099658" } 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-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 11 January 2025 07:52:04 -0500 (0:00:00.446) 0:00:30.895 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 11 January 2025 07:52:04 -0500 (0:00:00.101) 0:00:30.997 ****** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 11 January 2025 07:52:04 -0500 (0:00:00.092) 0:00:31.090 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 11 January 2025 07:52:04 -0500 (0:00:00.190) 0:00:31.280 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:52:04 -0500 (0:00:00.105) 0:00:31.386 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:52:04 -0500 (0:00:00.103) 0:00:31.490 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002870", "end": "2025-01-11 07:52:05.175505", "rc": 0, "start": "2025-01-11 07:52:05.172635" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:52:05 -0500 (0:00:00.405) 0:00:31.895 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:52:05 -0500 (0:00:00.075) 0:00:31.970 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 11 January 2025 07:52:05 -0500 (0:00:00.039) 0:00:32.009 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 11 January 2025 07:52:05 -0500 (0:00:00.100) 0:00:32.110 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:52:05 -0500 (0:00:00.097) 0:00:32.207 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:52:05 -0500 (0:00:00.116) 0:00:32.323 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:52:05 -0500 (0:00:00.056) 0:00:32.380 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:52:05 -0500 (0:00:00.045) 0:00:32.425 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:52:05 -0500 (0:00:00.044) 0:00:32.470 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:52:07 -0500 (0:00:01.653) 0:00:34.123 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:52:09 -0500 (0:00:01.711) 0:00:35.834 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:52:09 -0500 (0:00:00.075) 0:00:35.910 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:52:09 -0500 (0:00:00.060) 0:00:35.970 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:52:09 -0500 (0:00:00.061) 0:00:36.031 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:52:09 -0500 (0:00:00.073) 0:00:36.104 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:52:09 -0500 (0:00:00.078) 0:00:36.183 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:52:09 -0500 (0:00:00.049) 0:00:36.232 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:52:09 -0500 (0:00:00.067) 0:00:36.299 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:52:09 -0500 (0:00:00.125) 0:00:36.425 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:52:09 -0500 (0:00:00.081) 0:00:36.507 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:52:09 -0500 (0:00:00.037) 0:00:36.544 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:52:09 -0500 (0:00:00.043) 0:00:36.587 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:52:09 -0500 (0:00:00.042) 0:00:36.630 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:52:10 -0500 (0:00:00.050) 0:00:36.680 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:52:10 -0500 (0:00:00.860) 0:00:37.541 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49257jwig9mv_/tmpic2prt53" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:52:11 -0500 (0:00:00.411) 0:00:37.952 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:52:11 -0500 (0:00:00.549) 0:00:38.502 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:52:11 -0500 (0:00:00.045) 0:00:38.547 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:52:11 -0500 (0:00:00.052) 0:00:38.599 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:52:11 -0500 (0:00:00.039) 0:00:38.639 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:52:12 -0500 (0:00:00.036) 0:00:38.675 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 11 January 2025 07:52:12 -0500 (0:00:00.480) 0:00:39.155 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Test] ******************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 11 January 2025 07:52:12 -0500 (0:00:00.046) 0:00:39.201 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 11 January 2025 07:52:12 -0500 (0:00:00.078) 0:00:39.280 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:52:12 -0500 (0:00:00.102) 0:00:39.382 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:52:12 -0500 (0:00:00.154) 0:00:39.537 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:52:12 -0500 (0:00:00.092) 0:00:39.629 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:52:13 -0500 (0:00:00.074) 0:00:39.705 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:52:13 -0500 (0:00:00.078) 0:00:39.783 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:52:14 -0500 (0:00:01.713) 0:00:41.496 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:52:16 -0500 (0:00:01.573) 0:00:43.069 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:52:16 -0500 (0:00:00.044) 0:00:43.114 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:52:16 -0500 (0:00:00.040) 0:00:43.154 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:52:16 -0500 (0:00:00.047) 0:00:43.201 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:52:16 -0500 (0:00:00.048) 0:00:43.250 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:52:16 -0500 (0:00:00.051) 0:00:43.302 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:52:16 -0500 (0:00:00.038) 0:00:43.340 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:52:16 -0500 (0:00:00.044) 0:00:43.385 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:52:16 -0500 (0:00:00.077) 0:00:43.462 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:52:16 -0500 (0:00:00.072) 0:00:43.535 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:52:16 -0500 (0:00:00.037) 0:00:43.572 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:52:16 -0500 (0:00:00.044) 0:00:43.617 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:52:17 -0500 (0:00:00.039) 0:00:43.656 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:52:17 -0500 (0:00:00.043) 0:00:43.700 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:52:17 -0500 (0:00:00.562) 0:00:44.262 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49257jwig9mv_/tmpi_su2hk8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:52:18 -0500 (0:00:00.516) 0:00:44.778 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:52:19 -0500 (0:00:01.000) 0:00:45.778 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:52:19 -0500 (0:00:00.041) 0:00:45.820 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:52:19 -0500 (0:00:00.050) 0:00:45.871 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:52:19 -0500 (0:00:00.049) 0:00:45.920 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:52:19 -0500 (0:00:00.053) 0:00:45.973 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 11 January 2025 07:52:19 -0500 (0:00:00.547) 0:00:46.521 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 11 January 2025 07:52:19 -0500 (0:00:00.121) 0:00:46.643 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:52:20 -0500 (0:00:00.092) 0:00:46.736 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1736599938.953489, "block_size": 4096, "blocks": 0, "ctime": 1736599938.953489, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34920, "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": 1736599938.953489, "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-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 11 January 2025 07:52:20 -0500 (0:00:00.387) 0:00:47.124 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 11 January 2025 07:52:20 -0500 (0:00:00.079) 0:00:47.203 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 11 January 2025 07:52:20 -0500 (0:00:00.149) 0:00:47.353 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 11 January 2025 07:52:20 -0500 (0:00:00.101) 0:00:47.454 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1736599938.7960637, "block_size": 4096, "blocks": 8, "ctime": 1736599931.763019, "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": 1736599931.763019, "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-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 11 January 2025 07:52:21 -0500 (0:00:00.516) 0:00:47.971 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 11 January 2025 07:52:21 -0500 (0:00:00.043) 0:00:48.014 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017670", "end": "2025-01-11 07:52:21.714095", "rc": 1, "start": "2025-01-11 07:52:21.696425" } 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-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 11 January 2025 07:52:21 -0500 (0:00:00.423) 0:00:48.437 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 11 January 2025 07:52:21 -0500 (0:00:00.084) 0:00:48.522 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.004405", "end": "2025-01-11 07:52:23.182335", "rc": 0, "start": "2025-01-11 07:52:22.177930" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 11 January 2025 07:52:23 -0500 (0:00:01.388) 0:00:49.910 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 11 January 2025 07:52:23 -0500 (0:00:00.048) 0:00:49.959 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003810", "end": "2025-01-11 07:52:24.616287", "rc": 0, "start": "2025-01-11 07:52:23.612477" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 11 January 2025 07:52:24 -0500 (0:00:01.404) 0:00:51.363 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 11 January 2025 07:52:24 -0500 (0:00:00.086) 0:00:51.449 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 11 January 2025 07:52:24 -0500 (0:00:00.065) 0:00:51.516 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 11 January 2025 07:52:24 -0500 (0:00:00.100) 0:00:51.616 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 11 January 2025 07:52:25 -0500 (0:00:00.118) 0:00:51.734 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 11 January 2025 07:52:25 -0500 (0:00:00.097) 0:00:51.832 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 11 January 2025 07:52:25 -0500 (0:00:00.125) 0:00:51.958 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 11 January 2025 07:52:25 -0500 (0:00:00.133) 0:00:52.091 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042037", "end": "2025-01-11 07:52:25.803740", "rc": 0, "start": "2025-01-11 07:52:25.761703" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 11 January 2025 07:52:25 -0500 (0:00:00.495) 0:00:52.586 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 11 January 2025 07:52:26 -0500 (0:00:00.087) 0:00:52.674 ****** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 11 January 2025 07:52:26 -0500 (0:00:00.052) 0:00:52.726 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 11 January 2025 07:52:26 -0500 (0:00:00.094) 0:00:52.821 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:52:26 -0500 (0:00:00.061) 0:00:52.882 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:52:26 -0500 (0:00:00.064) 0:00:52.947 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002960", "end": "2025-01-11 07:52:26.718249", "rc": 0, "start": "2025-01-11 07:52:26.715289" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:52:26 -0500 (0:00:00.521) 0:00:53.468 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:52:26 -0500 (0:00:00.131) 0:00:53.600 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 11 January 2025 07:52:27 -0500 (0:00:00.071) 0:00:53.672 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 11 January 2025 07:52:27 -0500 (0:00:00.171) 0:00:53.843 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:52:27 -0500 (0:00:00.100) 0:00:53.944 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:52:27 -0500 (0:00:00.119) 0:00:54.064 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:52:27 -0500 (0:00:00.060) 0:00:54.124 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:52:27 -0500 (0:00:00.049) 0:00:54.174 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:52:27 -0500 (0:00:00.039) 0:00:54.214 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:52:29 -0500 (0:00:01.588) 0:00:55.802 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:52:30 -0500 (0:00:01.548) 0:00:57.350 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:52:30 -0500 (0:00:00.048) 0:00:57.399 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:52:30 -0500 (0:00:00.050) 0:00:57.450 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:52:30 -0500 (0:00:00.062) 0:00:57.512 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:52:30 -0500 (0:00:00.038) 0:00:57.551 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:52:30 -0500 (0:00:00.046) 0:00:57.597 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:52:30 -0500 (0:00:00.038) 0:00:57.635 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:52:31 -0500 (0:00:00.045) 0:00:57.681 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:52:31 -0500 (0:00:00.097) 0:00:57.779 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:52:31 -0500 (0:00:00.066) 0:00:57.845 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:52:31 -0500 (0:00:00.130) 0:00:57.975 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:52:31 -0500 (0:00:00.090) 0:00:58.066 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:52:31 -0500 (0:00:00.067) 0:00:58.134 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:52:31 -0500 (0:00:00.068) 0:00:58.202 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:52:32 -0500 (0:00:00.597) 0:00:58.799 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49257jwig9mv_/tmphn3nyqw_" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:52:32 -0500 (0:00:00.430) 0:00:59.230 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:52:33 -0500 (0:00:00.768) 0:00:59.998 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:52:33 -0500 (0:00:00.071) 0:01:00.070 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:52:33 -0500 (0:00:00.108) 0:01:00.178 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:52:33 -0500 (0:00:00.065) 0:01:00.243 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:52:33 -0500 (0:00:00.081) 0:01:00.325 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 11 January 2025 07:52:34 -0500 (0:00:00.485) 0:01:00.810 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 11 January 2025 07:52:34 -0500 (0:00:00.108) 0:01:00.918 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:52:34 -0500 (0:00:00.108) 0:01:01.027 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:52:34 -0500 (0:00:00.119) 0:01:01.147 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:52:34 -0500 (0:00:00.064) 0:01:01.211 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:52:34 -0500 (0:00:00.050) 0:01:01.261 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:52:34 -0500 (0:00:00.041) 0:01:01.303 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:52:36 -0500 (0:00:01.664) 0:01:02.967 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:52:37 -0500 (0:00:01.508) 0:01:04.476 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:52:37 -0500 (0:00:00.060) 0:01:04.537 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:52:37 -0500 (0:00:00.038) 0:01:04.575 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:52:37 -0500 (0:00:00.038) 0:01:04.613 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:52:37 -0500 (0:00:00.039) 0:01:04.652 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:52:38 -0500 (0:00:00.067) 0:01:04.719 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:52:38 -0500 (0:00:00.037) 0:01:04.757 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:52:38 -0500 (0:00:00.044) 0:01:04.801 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:52:38 -0500 (0:00:00.075) 0:01:04.877 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:52:38 -0500 (0:00:00.036) 0:01:04.914 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:52:38 -0500 (0:00:00.037) 0:01:04.951 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:52:38 -0500 (0:00:00.042) 0:01:04.994 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:52:38 -0500 (0:00:00.037) 0:01:05.031 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:52:38 -0500 (0:00:00.037) 0:01:05.068 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:52:38 -0500 (0:00:00.572) 0:01:05.641 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49257jwig9mv_/tmp91b5k8vj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:52:39 -0500 (0:00:00.377) 0:01:06.018 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:52:40 -0500 (0:00:00.724) 0:01:06.743 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:52:40 -0500 (0:00:00.040) 0:01:06.783 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:52:40 -0500 (0:00:00.050) 0:01:06.834 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:52:40 -0500 (0:00:00.063) 0:01:06.898 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:52:40 -0500 (0:00:00.079) 0:01:06.977 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 11 January 2025 07:52:40 -0500 (0:00:00.659) 0:01:07.637 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 11 January 2025 07:52:41 -0500 (0:00:00.182) 0:01:07.819 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:52:41 -0500 (0:00:00.234) 0:01:08.054 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:52:41 -0500 (0:00:00.128) 0:01:08.183 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:52:41 -0500 (0:00:00.102) 0:01:08.285 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:52:41 -0500 (0:00:00.047) 0:01:08.333 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:52:41 -0500 (0:00:00.043) 0:01:08.376 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:52:43 -0500 (0:00:01.566) 0:01:09.943 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:52:44 -0500 (0:00:01.492) 0:01:11.436 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:52:44 -0500 (0:00:00.039) 0:01:11.475 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:52:44 -0500 (0:00:00.039) 0:01:11.515 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:52:44 -0500 (0:00:00.038) 0:01:11.554 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:52:44 -0500 (0:00:00.037) 0:01:11.591 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:52:44 -0500 (0:00:00.046) 0:01:11.638 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:52:45 -0500 (0:00:00.038) 0:01:11.676 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:52:45 -0500 (0:00:00.043) 0:01:11.720 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:52:45 -0500 (0:00:00.077) 0:01:11.797 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:52:45 -0500 (0:00:00.038) 0:01:11.836 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:52:45 -0500 (0:00:00.035) 0:01:11.871 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:52:45 -0500 (0:00:00.046) 0:01:11.918 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:52:45 -0500 (0:00:00.038) 0:01:11.956 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:52:45 -0500 (0:00:00.036) 0:01:11.993 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:52:45 -0500 (0:00:00.543) 0:01:12.537 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49257jwig9mv_/tmp_492qlz7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:52:46 -0500 (0:00:00.397) 0:01:12.934 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:52:46 -0500 (0:00:00.494) 0:01:13.428 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:52:46 -0500 (0:00:00.040) 0:01:13.468 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:52:46 -0500 (0:00:00.047) 0:01:13.516 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:52:46 -0500 (0:00:00.050) 0:01:13.567 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:52:46 -0500 (0:00:00.058) 0:01:13.625 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 11 January 2025 07:52:47 -0500 (0:00:00.444) 0:01:14.070 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 11 January 2025 07:52:47 -0500 (0:00:00.178) 0:01:14.249 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml for managed-node2 TASK [Get stat for interface statebr] ****************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 11 January 2025 07:52:47 -0500 (0:00:00.129) 0:01:14.378 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1736599959.9468749, "block_size": 4096, "blocks": 0, "ctime": 1736599959.9468749, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35051, "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": 1736599959.9468749, "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-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 11 January 2025 07:52:48 -0500 (0:00:00.571) 0:01:14.950 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 11 January 2025 07:52:48 -0500 (0:00:00.065) 0:01:15.015 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 11 January 2025 07:52:48 -0500 (0:00:00.109) 0:01:15.124 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 11 January 2025 07:52:48 -0500 (0:00:00.069) 0:01:15.194 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 11 January 2025 07:52:48 -0500 (0:00:00.442) 0:01:15.637 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 11 January 2025 07:52:49 -0500 (0:00:00.055) 0:01:15.692 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017617", "end": "2025-01-11 07:52:49.428657", "rc": 1, "start": "2025-01-11 07:52:49.411040" } 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-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 11 January 2025 07:52:49 -0500 (0:00:00.496) 0:01:16.188 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 11 January 2025 07:52:49 -0500 (0:00:00.068) 0:01:16.257 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 11 January 2025 07:52:49 -0500 (0:00:00.048) 0:01:16.306 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 11 January 2025 07:52:49 -0500 (0:00:00.047) 0:01:16.353 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 11 January 2025 07:52:49 -0500 (0:00:00.043) 0:01:16.396 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 11 January 2025 07:52:49 -0500 (0:00:00.050) 0:01:16.447 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 11 January 2025 07:52:49 -0500 (0:00:00.048) 0:01:16.495 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 11 January 2025 07:52:49 -0500 (0:00:00.093) 0:01:16.588 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 11 January 2025 07:52:50 -0500 (0:00:00.130) 0:01:16.718 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 11 January 2025 07:52:50 -0500 (0:00:00.133) 0:01:16.852 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.042298", "end": "2025-01-11 07:52:50.615635", "rc": 0, "start": "2025-01-11 07:52:50.573337" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 11 January 2025 07:52:50 -0500 (0:00:00.501) 0:01:17.354 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 11 January 2025 07:52:50 -0500 (0:00:00.148) 0:01:17.502 ****** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 11 January 2025 07:52:50 -0500 (0:00:00.118) 0:01:17.620 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 11 January 2025 07:52:51 -0500 (0:00:00.161) 0:01:17.782 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:52:51 -0500 (0:00:00.091) 0:01:17.874 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:52:51 -0500 (0:00:00.075) 0:01:17.949 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002553", "end": "2025-01-11 07:52:51.628078", "rc": 0, "start": "2025-01-11 07:52:51.625525" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:52:51 -0500 (0:00:00.431) 0:01:18.381 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:52:51 -0500 (0:00:00.063) 0:01:18.445 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 11 January 2025 07:52:51 -0500 (0:00:00.094) 0:01:18.539 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 11 January 2025 07:52:52 -0500 (0:00:00.118) 0:01:18.658 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:52:52 -0500 (0:00:00.142) 0:01:18.800 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:52:52 -0500 (0:00:00.118) 0:01:18.919 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:52:52 -0500 (0:00:00.075) 0:01:18.994 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:52:52 -0500 (0:00:00.099) 0:01:19.094 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:52:52 -0500 (0:00:00.060) 0:01:19.155 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:52:54 -0500 (0:00:01.725) 0:01:20.880 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:52:55 -0500 (0:00:01.624) 0:01:22.505 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:52:55 -0500 (0:00:00.065) 0:01:22.571 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:52:55 -0500 (0:00:00.060) 0:01:22.631 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:52:56 -0500 (0:00:00.063) 0:01:22.694 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:52:56 -0500 (0:00:00.071) 0:01:22.765 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:52:56 -0500 (0:00:00.082) 0:01:22.847 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:52:56 -0500 (0:00:00.062) 0:01:22.910 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:52:56 -0500 (0:00:00.061) 0:01:22.971 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:52:56 -0500 (0:00:00.098) 0:01:23.069 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:52:56 -0500 (0:00:00.042) 0:01:23.112 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:52:56 -0500 (0:00:00.071) 0:01:23.183 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:52:56 -0500 (0:00:00.043) 0:01:23.227 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:52:56 -0500 (0:00:00.037) 0:01:23.264 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:52:56 -0500 (0:00:00.038) 0:01:23.302 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:52:57 -0500 (0:00:00.558) 0:01:23.861 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49257jwig9mv_/tmply1t8gxt" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:52:57 -0500 (0:00:00.395) 0:01:24.256 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:52:58 -0500 (0:00:00.692) 0:01:24.949 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:52:58 -0500 (0:00:00.092) 0:01:25.041 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:52:58 -0500 (0:00:00.070) 0:01:25.111 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:52:58 -0500 (0:00:00.070) 0:01:25.182 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:52:58 -0500 (0:00:00.060) 0:01:25.243 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 11 January 2025 07:52:59 -0500 (0:00:00.441) 0:01:25.685 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 11 January 2025 07:52:59 -0500 (0:00:00.077) 0:01:25.762 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:52:59 -0500 (0:00:00.079) 0:01:25.841 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:52:59 -0500 (0:00:00.114) 0:01:25.956 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:52:59 -0500 (0:00:00.082) 0:01:26.038 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:52:59 -0500 (0:00:00.096) 0:01:26.135 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:52:59 -0500 (0:00:00.078) 0:01:26.213 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:53:01 -0500 (0:00:01.647) 0:01:27.861 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:53:02 -0500 (0:00:01.491) 0:01:29.352 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:53:02 -0500 (0:00:00.060) 0:01:29.412 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:53:02 -0500 (0:00:00.048) 0:01:29.461 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:53:02 -0500 (0:00:00.043) 0:01:29.505 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:53:02 -0500 (0:00:00.048) 0:01:29.553 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:53:02 -0500 (0:00:00.058) 0:01:29.612 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:53:02 -0500 (0:00:00.039) 0:01:29.652 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:53:03 -0500 (0:00:00.043) 0:01:29.695 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:53:03 -0500 (0:00:00.078) 0:01:29.773 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:53:03 -0500 (0:00:00.038) 0:01:29.811 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:53:03 -0500 (0:00:00.037) 0:01:29.849 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:53:03 -0500 (0:00:00.045) 0:01:29.894 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:53:03 -0500 (0:00:00.073) 0:01:29.968 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:53:03 -0500 (0:00:00.037) 0:01:30.005 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:53:03 -0500 (0:00:00.557) 0:01:30.563 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49257jwig9mv_/tmp0kwtnv9b" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:53:04 -0500 (0:00:00.429) 0:01:30.992 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:53:05 -0500 (0:00:00.830) 0:01:31.822 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:53:05 -0500 (0:00:00.036) 0:01:31.859 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:53:05 -0500 (0:00:00.050) 0:01:31.910 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:53:05 -0500 (0:00:00.051) 0:01:31.962 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:53:05 -0500 (0:00:00.096) 0:01:32.058 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 11 January 2025 07:53:06 -0500 (0:00:00.665) 0:01:32.723 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:53:06 -0500 (0:00:00.110) 0:01:32.834 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:53:06 -0500 (0:00:00.077) 0:01:32.911 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:53:06 -0500 (0:00:00.073) 0:01:32.985 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:53:06 -0500 (0:00:00.066) 0:01:33.052 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:53:06 -0500 (0:00:00.056) 0:01:33.108 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:53:08 -0500 (0:00:01.609) 0:01:34.717 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:53:09 -0500 (0:00:01.457) 0:01:36.174 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:53:09 -0500 (0:00:00.040) 0:01:36.215 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:53:09 -0500 (0:00:00.037) 0:01:36.253 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:53:09 -0500 (0:00:00.037) 0:01:36.290 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:53:09 -0500 (0:00:00.038) 0:01:36.328 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:53:09 -0500 (0:00:00.045) 0:01:36.373 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:53:09 -0500 (0:00:00.045) 0:01:36.419 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:53:09 -0500 (0:00:00.048) 0:01:36.467 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:53:09 -0500 (0:00:00.074) 0:01:36.541 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:53:09 -0500 (0:00:00.037) 0:01:36.579 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:53:09 -0500 (0:00:00.038) 0:01:36.617 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:53:10 -0500 (0:00:00.042) 0:01:36.660 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:53:10 -0500 (0:00:00.076) 0:01:36.736 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:53:10 -0500 (0:00:00.040) 0:01:36.777 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:53:10 -0500 (0:00:00.612) 0:01:37.390 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49257jwig9mv_/tmp_4xt7ltu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:53:11 -0500 (0:00:00.427) 0:01:37.817 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:53:11 -0500 (0:00:00.512) 0:01:38.329 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:53:11 -0500 (0:00:00.056) 0:01:38.386 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:53:11 -0500 (0:00:00.062) 0:01:38.448 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:53:11 -0500 (0:00:00.084) 0:01:38.533 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:53:11 -0500 (0:00:00.103) 0:01:38.636 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 11 January 2025 07:53:12 -0500 (0:00:00.475) 0:01:39.112 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 11 January 2025 07:53:12 -0500 (0:00:00.131) 0:01:39.243 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:53:12 -0500 (0:00:00.180) 0:01:39.423 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:53:12 -0500 (0:00:00.097) 0:01:39.521 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:53:12 -0500 (0:00:00.076) 0:01:39.597 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:53:12 -0500 (0:00:00.042) 0:01:39.640 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:53:13 -0500 (0:00:00.048) 0:01:39.688 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:53:14 -0500 (0:00:01.666) 0:01:41.355 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:53:16 -0500 (0:00:01.570) 0:01:42.925 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:53:16 -0500 (0:00:00.046) 0:01:42.972 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:53:16 -0500 (0:00:00.056) 0:01:43.029 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:53:16 -0500 (0:00:00.083) 0:01:43.112 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:53:16 -0500 (0:00:00.068) 0:01:43.181 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:53:16 -0500 (0:00:00.068) 0:01:43.249 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:53:16 -0500 (0:00:00.057) 0:01:43.306 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:53:16 -0500 (0:00:00.093) 0:01:43.400 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:53:16 -0500 (0:00:00.170) 0:01:43.570 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:53:17 -0500 (0:00:00.123) 0:01:43.693 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:53:17 -0500 (0:00:00.079) 0:01:43.773 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:53:17 -0500 (0:00:00.084) 0:01:43.858 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:53:17 -0500 (0:00:00.110) 0:01:43.969 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:53:17 -0500 (0:00:00.059) 0:01:44.029 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:53:18 -0500 (0:00:00.684) 0:01:44.713 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49257jwig9mv_/tmpbmlf2m83" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:53:18 -0500 (0:00:00.389) 0:01:45.102 ****** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:53:18 -0500 (0:00:00.526) 0:01:45.628 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:53:19 -0500 (0:00:00.046) 0:01:45.675 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:53:19 -0500 (0:00:00.044) 0:01:45.719 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:53:19 -0500 (0:00:00.045) 0:01:45.764 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:53:19 -0500 (0:00:00.039) 0:01:45.804 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 11 January 2025 07:53:19 -0500 (0:00:00.401) 0:01:46.205 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 11 January 2025 07:53:19 -0500 (0:00:00.087) 0:01:46.293 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 11 January 2025 07:53:19 -0500 (0:00:00.068) 0:01:46.361 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 11 January 2025 07:53:19 -0500 (0:00:00.072) 0:01:46.434 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 11 January 2025 07:53:20 -0500 (0:00:00.358) 0:01:46.792 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 11 January 2025 07:53:20 -0500 (0:00:00.038) 0:01:46.831 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018472", "end": "2025-01-11 07:53:20.547149", "rc": 1, "start": "2025-01-11 07:53:20.528677" } 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-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 11 January 2025 07:53:20 -0500 (0:00:00.523) 0:01:47.354 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 11 January 2025 07:53:20 -0500 (0:00:00.086) 0:01:47.441 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 11 January 2025 07:53:20 -0500 (0:00:00.130) 0:01:47.571 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 11 January 2025 07:53:21 -0500 (0:00:00.118) 0:01:47.689 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 11 January 2025 07:53:21 -0500 (0:00:00.067) 0:01:47.757 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 11 January 2025 07:53:21 -0500 (0:00:00.119) 0:01:47.876 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 11 January 2025 07:53:21 -0500 (0:00:00.094) 0:01:47.970 ****** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 11 January 2025 07:53:21 -0500 (0:00:00.114) 0:01:48.085 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 11 January 2025 07:53:21 -0500 (0:00:00.062) 0:01:48.148 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 11 January 2025 07:53:21 -0500 (0:00:00.117) 0:01:48.266 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.044077", "end": "2025-01-11 07:53:22.019545", "rc": 0, "start": "2025-01-11 07:53:21.975468" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 11 January 2025 07:53:22 -0500 (0:00:00.504) 0:01:48.770 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml for managed-node2 TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 11 January 2025 07:53:22 -0500 (0:00:00.083) 0:01:48.854 ****** ok: [managed-node2] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 11 January 2025 07:53:22 -0500 (0:00:00.060) 0:01:48.914 ****** ok: [managed-node2] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [managed-node2] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [managed-node2] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [managed-node2] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": false, "what": "tasks/assert_device_absent.yml" } ] } ok: [managed-node2] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [managed-node2] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 11 January 2025 07:53:22 -0500 (0:00:00.141) 0:01:49.056 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml for managed-node2 TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 11 January 2025 07:53:22 -0500 (0:00:00.106) 0:01:49.162 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml for managed-node2 TASK [Gather current interface info] ******************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 11 January 2025 07:53:22 -0500 (0:00:00.101) 0:01:49.263 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003084", "end": "2025-01-11 07:53:22.947802", "rc": 0, "start": "2025-01-11 07:53:22.944718" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 11 January 2025 07:53:23 -0500 (0:00:00.410) 0:01:49.673 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 11 January 2025 07:53:23 -0500 (0:00:00.070) 0:01:49.744 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 11 January 2025 07:53:23 -0500 (0:00:00.064) 0:01:49.809 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 11 January 2025 07:53:23 -0500 (0:00:00.134) 0:01:49.943 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:53:23 -0500 (0:00:00.152) 0:01:50.096 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:53:23 -0500 (0:00:00.136) 0:01:50.232 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:53:23 -0500 (0:00:00.113) 0:01:50.345 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:53:23 -0500 (0:00:00.076) 0:01:50.422 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:53:23 -0500 (0:00:00.059) 0:01:50.482 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:53:25 -0500 (0:00:01.620) 0:01:52.102 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:53:26 -0500 (0:00:01.433) 0:01:53.536 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:53:26 -0500 (0:00:00.038) 0:01:53.575 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:53:26 -0500 (0:00:00.038) 0:01:53.613 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:53:26 -0500 (0:00:00.038) 0:01:53.652 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:53:27 -0500 (0:00:00.037) 0:01:53.690 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:53:27 -0500 (0:00:00.045) 0:01:53.735 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:53:27 -0500 (0:00:00.038) 0:01:53.774 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:53:27 -0500 (0:00:00.042) 0:01:53.816 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:53:27 -0500 (0:00:00.077) 0:01:53.894 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:53:27 -0500 (0:00:00.040) 0:01:53.934 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:53:27 -0500 (0:00:00.046) 0:01:53.981 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:53:27 -0500 (0:00:00.071) 0:01:54.052 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:53:27 -0500 (0:00:00.119) 0:01:54.172 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:53:27 -0500 (0:00:00.061) 0:01:54.233 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:53:28 -0500 (0:00:00.639) 0:01:54.873 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49257jwig9mv_/tmpqlk1yrpv" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:53:28 -0500 (0:00:00.409) 0:01:55.282 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:53:29 -0500 (0:00:00.587) 0:01:55.869 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:53:29 -0500 (0:00:00.038) 0:01:55.908 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:53:29 -0500 (0:00:00.041) 0:01:55.949 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:53:29 -0500 (0:00:00.045) 0:01:55.994 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:53:29 -0500 (0:00:00.058) 0:01:56.053 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 11 January 2025 07:53:29 -0500 (0:00:00.487) 0:01:56.541 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add ifcfg-rh profile 'statebr'" ] } } TASK [Include network role] **************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 11 January 2025 07:53:29 -0500 (0:00:00.067) 0:01:56.608 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:53:30 -0500 (0:00:00.166) 0:01:56.774 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:53:30 -0500 (0:00:00.120) 0:01:56.895 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:53:30 -0500 (0:00:00.073) 0:01:56.968 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:53:30 -0500 (0:00:00.063) 0:01:57.032 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:53:30 -0500 (0:00:00.059) 0:01:57.092 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:53:32 -0500 (0:00:01.644) 0:01:58.736 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:53:33 -0500 (0:00:01.612) 0:02:00.348 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:53:33 -0500 (0:00:00.078) 0:02:00.427 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:53:33 -0500 (0:00:00.131) 0:02:00.558 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:53:33 -0500 (0:00:00.075) 0:02:00.633 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:53:34 -0500 (0:00:00.058) 0:02:00.692 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:53:34 -0500 (0:00:00.112) 0:02:00.804 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:53:34 -0500 (0:00:00.066) 0:02:00.871 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:53:34 -0500 (0:00:00.101) 0:02:00.973 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:53:34 -0500 (0:00:00.174) 0:02:01.147 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:53:34 -0500 (0:00:00.065) 0:02:01.212 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:53:34 -0500 (0:00:00.063) 0:02:01.276 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:53:34 -0500 (0:00:00.068) 0:02:01.344 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:53:34 -0500 (0:00:00.060) 0:02:01.405 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:53:34 -0500 (0:00:00.101) 0:02:01.506 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:53:35 -0500 (0:00:00.562) 0:02:02.069 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49257jwig9mv_/tmpju4h3kjz" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:53:35 -0500 (0:00:00.402) 0:02:02.472 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active) [003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:53:36 -0500 (0:00:00.809) 0:02:03.281 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:53:36 -0500 (0:00:00.059) 0:02:03.341 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:53:36 -0500 (0:00:00.068) 0:02:03.410 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)\n[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr (not-active)", "[003] #0, state:up persistent_state:present, 'statebr': call 'ifup statebr': rc=0, out='b''', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:53:36 -0500 (0:00:00.064) 0:02:03.474 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:53:36 -0500 (0:00:00.064) 0:02:03.539 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 11 January 2025 07:53:37 -0500 (0:00:00.417) 0:02:03.957 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:53:37 -0500 (0:00:00.102) 0:02:04.060 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:53:37 -0500 (0:00:00.104) 0:02:04.164 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:53:37 -0500 (0:00:00.074) 0:02:04.239 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:53:37 -0500 (0:00:00.060) 0:02:04.299 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:53:37 -0500 (0:00:00.061) 0:02:04.361 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:53:39 -0500 (0:00:01.605) 0:02:05.966 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:53:40 -0500 (0:00:01.461) 0:02:07.428 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:53:40 -0500 (0:00:00.044) 0:02:07.472 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:53:40 -0500 (0:00:00.049) 0:02:07.522 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:53:40 -0500 (0:00:00.053) 0:02:07.576 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:53:40 -0500 (0:00:00.039) 0:02:07.615 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:53:41 -0500 (0:00:00.054) 0:02:07.669 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:53:41 -0500 (0:00:00.041) 0:02:07.711 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:53:41 -0500 (0:00:00.046) 0:02:07.758 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:53:41 -0500 (0:00:00.076) 0:02:07.834 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:53:41 -0500 (0:00:00.050) 0:02:07.885 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:53:41 -0500 (0:00:00.059) 0:02:07.945 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:53:41 -0500 (0:00:00.070) 0:02:08.015 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:53:41 -0500 (0:00:00.066) 0:02:08.081 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:53:41 -0500 (0:00:00.110) 0:02:08.191 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:53:42 -0500 (0:00:00.592) 0:02:08.784 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49257jwig9mv_/tmpzx375ah4" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:53:42 -0500 (0:00:00.421) 0:02:09.205 ****** changed: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:53:43 -0500 (0:00:00.535) 0:02:09.740 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:53:43 -0500 (0:00:00.039) 0:02:09.780 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:53:43 -0500 (0:00:00.040) 0:02:09.821 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': down connection statebr skipped because not active", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-statebr'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:53:43 -0500 (0:00:00.042) 0:02:09.863 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:53:43 -0500 (0:00:00.043) 0:02:09.907 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 11 January 2025 07:53:43 -0500 (0:00:00.375) 0:02:10.283 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 11 January 2025 07:53:43 -0500 (0:00:00.078) 0:02:10.362 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 11 January 2025 07:53:43 -0500 (0:00:00.194) 0:02:10.556 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for managed-node2 TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 11 January 2025 07:53:44 -0500 (0:00:00.159) 0:02:10.716 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check if system is ostree] *********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 11 January 2025 07:53:44 -0500 (0:00:00.137) 0:02:10.854 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Set flag to indicate system is ostree] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 11 January 2025 07:53:44 -0500 (0:00:00.145) 0:02:11.000 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 11 January 2025 07:53:44 -0500 (0:00:00.064) 0:02:11.065 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 11 January 2025 07:53:46 -0500 (0:00:01.604) 0:02:12.670 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 11 January 2025 07:53:47 -0500 (0:00:01.487) 0:02:14.158 ****** ok: [managed-node2] => {} MSG: Using network provider: initscripts TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 11 January 2025 07:53:47 -0500 (0:00:00.040) 0:02:14.198 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 11 January 2025 07:53:47 -0500 (0:00:00.040) 0:02:14.238 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 11 January 2025 07:53:47 -0500 (0:00:00.039) 0:02:14.278 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 11 January 2025 07:53:47 -0500 (0:00:00.039) 0:02:14.317 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 11 January 2025 07:53:47 -0500 (0:00:00.047) 0:02:14.365 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 11 January 2025 07:53:47 -0500 (0:00:00.039) 0:02:14.404 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 11 January 2025 07:53:47 -0500 (0:00:00.044) 0:02:14.449 ****** skipping: [managed-node2] => { "changed": false, "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-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 11 January 2025 07:53:47 -0500 (0:00:00.091) 0:02:14.541 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 11 January 2025 07:53:47 -0500 (0:00:00.064) 0:02:14.605 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 11 January 2025 07:53:48 -0500 (0:00:00.063) 0:02:14.669 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 11 January 2025 07:53:48 -0500 (0:00:00.139) 0:02:14.808 ****** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 11 January 2025 07:53:48 -0500 (0:00:00.070) 0:02:14.878 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 11 January 2025 07:53:48 -0500 (0:00:00.076) 0:02:14.955 ****** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 11 January 2025 07:53:48 -0500 (0:00:00.610) 0:02:15.565 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-49257jwig9mv_/tmpbargpzdl" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 11 January 2025 07:53:49 -0500 (0:00:00.419) 0:02:15.985 ****** ok: [managed-node2] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist [004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 11 January 2025 07:53:49 -0500 (0:00:00.564) 0:02:16.549 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 11 January 2025 07:53:49 -0500 (0:00:00.059) 0:02:16.609 ****** ok: [managed-node2] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 11 January 2025 07:53:50 -0500 (0:00:00.061) 0:02:16.670 ****** ok: [managed-node2] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist\n[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)\n", "stderr_lines": [ "[003] #0, state:down persistent_state:absent, 'statebr': ifcfg file '/etc/sysconfig/network-scripts/ifcfg-statebr' does not exist", "[004] #0, state:down persistent_state:absent, 'statebr': delete ifcfg-rh files for 'statebr' (no files present)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 11 January 2025 07:53:50 -0500 (0:00:00.061) 0:02:16.732 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 11 January 2025 07:53:50 -0500 (0:00:00.095) 0:02:16.827 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 11 January 2025 07:53:50 -0500 (0:00:00.622) 0:02:17.450 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for managed-node2 TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 11 January 2025 07:53:50 -0500 (0:00:00.159) 0:02:17.610 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml for managed-node2 TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 11 January 2025 07:53:51 -0500 (0:00:00.105) 0:02:17.715 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 11 January 2025 07:53:51 -0500 (0:00:00.059) 0:02:17.775 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 11 January 2025 07:53:51 -0500 (0:00:00.475) 0:02:18.251 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 11 January 2025 07:53:51 -0500 (0:00:00.063) 0:02:18.314 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018107", "end": "2025-01-11 07:53:51.999233", "rc": 1, "start": "2025-01-11 07:53:51.981126" } 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-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 11 January 2025 07:53:52 -0500 (0:00:00.433) 0:02:18.748 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 11 January 2025 07:53:52 -0500 (0:00:00.062) 0:02:18.811 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 11 January 2025 07:53:52 -0500 (0:00:00.072) 0:02:18.884 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 11 January 2025 07:53:52 -0500 (0:00:00.095) 0:02:18.979 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 11 January 2025 07:53:52 -0500 (0:00:00.075) 0:02:19.055 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 11 January 2025 07:53:52 -0500 (0:00:00.089) 0:02:19.145 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 11 January 2025 07:53:52 -0500 (0:00:00.084) 0:02:19.230 ****** [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ok: [managed-node2] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.876643", "end": "2025-01-11 07:53:53.777949", "rc": 0, "start": "2025-01-11 07:53:52.901306" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 11 January 2025 07:53:53 -0500 (0:00:01.297) 0:02:20.527 ****** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 11 January 2025 07:53:53 -0500 (0:00:00.059) 0:02:20.587 ****** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 11 January 2025 07:53:53 -0500 (0:00:00.051) 0:02:20.638 ****** skipping: [managed-node2] => (item={'what': 'tasks/assert_device_absent.yml', 'condition': False}) => { "ansible_loop_var": "item", "changed": false, "item": { "condition": false, "what": "tasks/assert_device_absent.yml" }, "skip_reason": "Conditional result was False" } TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 11 January 2025 07:53:54 -0500 (0:00:00.053) 0:02:20.691 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 11 January 2025 07:53:54 -0500 (0:00:00.050) 0:02:20.741 ****** included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml for managed-node2 TASK [Cleanup profile and device] ********************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 11 January 2025 07:53:54 -0500 (0:00:00.085) 0:02:20.827 ****** ok: [managed-node2] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.044977", "end": "2025-01-11 07:53:54.523556", "rc": 0, "start": "2025-01-11 07:53:54.478579" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 11 January 2025 07:53:54 -0500 (0:00:00.426) 0:02:21.253 ****** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008034", "end": "2025-01-11 07:53:54.907666", "rc": 0, "start": "2025-01-11 07:53:54.899632" } 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 02:5f:5b:2e:bb:c9 brd ff:ff:ff:ff:ff:ff inet 10.31.46.90/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2728sec preferred_lft 2728sec inet6 fe80::5f:5bff:fe2e:bbc9/64 scope link valid_lft forever preferred_lft forever 50: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether fa:56:17:4d:88:e0 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.44.1 dev eth0 proto dhcp src 10.31.46.90 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.90 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-qJt/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 11 January 2025 07:53:55 -0500 (0:00:00.408) 0:02:21.661 ****** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.121070", "end": "2025-01-11 07:53:55.493667", "rc": 0, "start": "2025-01-11 07:53:55.372597" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 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:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 6354 0 --:--:-- --:--:-- --:--:-- 6354 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 13227 0 --:--:-- --:--:-- --:--:-- 13227 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=336 changed=13 unreachable=0 failed=0 skipped=286 rescued=0 ignored=10 Saturday 11 January 2025 07:53:55 -0500 (0:00:00.537) 0:02:22.198 ****** =============================================================================== fedora.linux_system_roles.network : Check which packages are installed --- 1.91s /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.71s /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.71s /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.67s /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.66s /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.65s /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.64s /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.63s /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.62s /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.61s /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.61s /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.60s /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.57s /tmp/collections-qJt/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26