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-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:5 Saturday 12 October 2024 13:53:02 -0400 (0:00:00.027) 0:00:00.027 ****** ok: [managed-node2] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:8 Saturday 12 October 2024 13:53:03 -0400 (0:00:01.056) 0:00:01.084 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:3 Saturday 12 October 2024 13:53:03 -0400 (0:00:00.040) 0:00:01.125 ****** ok: [managed-node2] TASK [Check if system is ostree] *********************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:17 Saturday 12 October 2024 13:53:03 -0400 (0:00:00.464) 0:00:01.589 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:22 Saturday 12 October 2024 13:53:04 -0400 (0:00:00.440) 0:00:02.029 ****** ok: [managed-node2] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:26 Saturday 12 October 2024 13:53:04 -0400 (0:00:00.036) 0:00:02.066 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/tasks/el_repo_setup.yml:51 Saturday 12 October 2024 13:53:04 -0400 (0:00:00.033) 0:00:02.100 ****** included: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml for managed-node2 TASK [Create EPEL 8] *********************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:8 Saturday 12 October 2024 13:53:04 -0400 (0:00:00.076) 0:00:02.176 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:26 Saturday 12 October 2024 13:53:04 -0400 (0:00:00.394) 0:00:02.570 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:32 Saturday 12 October 2024 13:53:04 -0400 (0:00:00.017) 0:00:02.588 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:37 Saturday 12 October 2024 13:53:04 -0400 (0:00:00.016) 0:00:02.605 ****** [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.221048", "end": "2024-10-12 13:53:05.253718", "rc": 0, "start": "2024-10-12 13:53:05.032670" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/tasks/enable_epel.yml:42 Saturday 12 October 2024 13:53:05 -0400 (0:00:00.541) 0:00:03.146 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/tests_states_initscripts.yml:10 Saturday 12 October 2024 13:53:05 -0400 (0:00:00.017) 0:00:03.163 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:3 Saturday 12 October 2024 13:53:05 -0400 (0:00:00.016) 0:00:03.180 ****** ok: [managed-node2] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:11 Saturday 12 October 2024 13:53:05 -0400 (0:00:00.592) 0:00:03.773 ****** ok: [managed-node2] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:22 Saturday 12 October 2024 13:53:05 -0400 (0:00:00.017) 0:00:03.790 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:53:05 -0400 (0:00:00.030) 0:00:03.821 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:53:05 -0400 (0:00:00.018) 0:00:03.839 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.074) 0:00:03.914 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.028) 0:00:03.942 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.023) 0:00:03.966 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002799", "end": "2024-10-12 13:53:06.400317", "rc": 0, "start": "2024-10-12 13:53:06.397518" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.343) 0:00:04.310 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.023) 0:00:04.334 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.021) 0:00:04.355 ****** included: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.039) 0:00:04.395 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007134", "end": "2024-10-12 13:53:06.846015", "rc": 1, "start": "2024-10-12 13:53:06.838881" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.340) 0:00:04.736 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:53:06 -0400 (0:00:00.029) 0:00:04.765 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 13:53:07 -0400 (0:00:00.336) 0:00:05.102 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:53:07 -0400 (0:00:00.031) 0:00:05.134 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 13:53:07 -0400 (0:00:00.041) 0:00:05.175 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:53:07 -0400 (0:00:00.111) 0:00:05.287 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:53:07 -0400 (0:00:00.035) 0:00:05.322 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:53:07 -0400 (0:00:00.018) 0:00:05.340 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:53:07 -0400 (0:00:00.016) 0:00:05.357 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:53:07 -0400 (0:00:00.017) 0:00:05.374 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:53:09 -0400 (0:00:01.743) 0:00:07.117 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:53:10 -0400 (0:00:01.602) 0:00:08.719 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:53:10 -0400 (0:00:00.051) 0:00:08.771 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:53:10 -0400 (0:00:00.039) 0:00:08.810 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:53:11 -0400 (0:00:00.041) 0:00:08.851 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:53:11 -0400 (0:00:00.042) 0:00:08.894 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:53:11 -0400 (0:00:00.050) 0:00:08.944 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:53:11 -0400 (0:00:00.033) 0:00:08.978 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:53:11 -0400 (0:00:00.038) 0:00:09.016 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:53:11 -0400 (0:00:00.092) 0:00:09.108 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:53:11 -0400 (0:00:00.035) 0:00:09.143 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:53:11 -0400 (0:00:00.038) 0:00:09.182 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:53:11 -0400 (0:00:00.047) 0:00:09.230 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:53:11 -0400 (0:00:00.055) 0:00:09.286 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:53:11 -0400 (0:00:00.051) 0:00:09.338 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:53:12 -0400 (0:00:00.934) 0:00:10.272 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48563tx16fp32/tmpoc4rqlp0" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:53:12 -0400 (0:00:00.486) 0:00:10.758 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:53:13 -0400 (0:00:01.007) 0:00:11.766 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:53:13 -0400 (0:00:00.035) 0:00:11.802 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:53:13 -0400 (0:00:00.035) 0:00:11.838 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:53:14 -0400 (0:00:00.035) 0:00:11.873 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:53:14 -0400 (0:00:00.033) 0:00:11.907 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 13:53:14 -0400 (0:00:00.646) 0:00:12.553 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:53:14 -0400 (0:00:00.064) 0:00:12.618 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 12 October 2024 13:53:14 -0400 (0:00:00.133) 0:00:12.752 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:53:15 -0400 (0:00:00.115) 0:00:12.867 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:53:15 -0400 (0:00:00.072) 0:00:12.940 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728755593.852599, "block_size": 4096, "blocks": 8, "ctime": 1728755593.852599, "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": 1728755593.852599, "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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:53:15 -0400 (0:00:00.383) 0:00:13.323 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:53:15 -0400 (0:00:00.036) 0:00:13.360 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017364", "end": "2024-10-12 13:53:15.883436", "rc": 1, "start": "2024-10-12 13:53:15.866072" } 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:53:15 -0400 (0:00:00.443) 0:00:13.803 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:53:16 -0400 (0:00:00.055) 0:00:13.859 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002590", "end": "2024-10-12 13:53:16.381005", "rc": 0, "start": "2024-10-12 13:53:16.378415" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:53:16 -0400 (0:00:00.467) 0:00:14.326 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:53:16 -0400 (0:00:00.063) 0:00:14.390 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002717", "end": "2024-10-12 13:53:16.844655", "rc": 0, "start": "2024-10-12 13:53:16.841938" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:53:16 -0400 (0:00:00.384) 0:00:14.775 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 12 October 2024 13:53:16 -0400 (0:00:00.066) 0:00:14.841 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 12 October 2024 13:53:17 -0400 (0:00:00.055) 0:00:14.897 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 12 October 2024 13:53:17 -0400 (0:00:00.055) 0:00:14.952 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:53:17 -0400 (0:00:00.040) 0:00:14.993 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:53:17 -0400 (0:00:00.046) 0:00:15.040 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:53:17 -0400 (0:00:00.054) 0:00:15.094 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:53:17 -0400 (0:00:00.128) 0:00:15.222 ****** 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.032992", "end": "2024-10-12 13:53:17.749343", "rc": 1, "start": "2024-10-12 13:53:17.716351" } 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:45 Saturday 12 October 2024 13:53:17 -0400 (0:00:00.486) 0:00:15.708 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:53:17 -0400 (0:00:00.113) 0:00:15.822 ****** ok: [managed-node2] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:53:18 -0400 (0:00:00.057) 0:00:15.880 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:53:18 -0400 (0:00:00.126) 0:00:16.006 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:53:18 -0400 (0:00:00.138) 0:00:16.145 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:53:18 -0400 (0:00:00.072) 0:00:16.217 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002752", "end": "2024-10-12 13:53:18.671469", "rc": 0, "start": "2024-10-12 13:53:18.668717" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:53:18 -0400 (0:00:00.361) 0:00:16.578 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:53:18 -0400 (0:00:00.039) 0:00:16.618 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:53:18 -0400 (0:00:00.050) 0:00:16.669 ****** included: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml for managed-node2 included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/delete_interface.yml:3 Saturday 12 October 2024 13:53:18 -0400 (0:00:00.086) 0:00:16.755 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005302", "end": "2024-10-12 13:53:19.197247", "rc": 1, "start": "2024-10-12 13:53:19.191945" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 13:53:19 -0400 (0:00:00.347) 0:00:17.103 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:53:19 -0400 (0:00:00.056) 0:00:17.159 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 13:53:19 -0400 (0:00:00.408) 0:00:17.568 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:53:19 -0400 (0:00:00.057) 0:00:17.626 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 12 October 2024 13:53:19 -0400 (0:00:00.136) 0:00:17.762 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:53:20 -0400 (0:00:00.084) 0:00:17.847 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:53:20 -0400 (0:00:00.067) 0:00:17.915 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:53:20 -0400 (0:00:00.042) 0:00:17.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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:53:20 -0400 (0:00:00.034) 0:00:17.992 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:53:20 -0400 (0:00:00.034) 0:00:18.027 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:53:21 -0400 (0:00:01.525) 0:00:19.552 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:53:23 -0400 (0:00:01.528) 0:00:21.080 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.105) 0:00:21.185 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.103) 0:00:21.288 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.067) 0:00:21.356 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.095) 0:00:21.452 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.052) 0:00:21.505 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.047) 0:00:21.552 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.061) 0:00:21.614 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.081) 0:00:21.695 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.034) 0:00:21.730 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.062) 0:00:21.792 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:53:23 -0400 (0:00:00.043) 0:00:21.836 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:53:24 -0400 (0:00:00.054) 0:00:21.891 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:53:24 -0400 (0:00:00.048) 0:00:21.940 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:53:24 -0400 (0:00:00.571) 0:00:22.511 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48563tx16fp32/tmpfb4of8lf" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:53:25 -0400 (0:00:00.416) 0:00:22.928 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:53:25 -0400 (0:00:00.548) 0:00:23.476 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:53:25 -0400 (0:00:00.041) 0:00:23.517 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:53:25 -0400 (0:00:00.046) 0:00:23.563 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:53:25 -0400 (0:00:00.052) 0:00:23.616 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:53:25 -0400 (0:00:00.054) 0:00:23.670 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 12 October 2024 13:53:26 -0400 (0:00:00.377) 0:00:24.048 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:53:26 -0400 (0:00:00.059) 0:00:24.107 ****** included: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml for managed-node2 included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:3 Saturday 12 October 2024 13:53:26 -0400 (0:00:00.150) 0:00:24.257 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:53:26 -0400 (0:00:00.079) 0:00:24.337 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_absent.yml:5 Saturday 12 October 2024 13:53:26 -0400 (0:00:00.348) 0:00:24.685 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 12 October 2024 13:53:26 -0400 (0:00:00.047) 0:00:24.733 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:53:26 -0400 (0:00:00.074) 0:00:24.808 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:53:26 -0400 (0:00:00.035) 0:00:24.843 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728755605.5588503, "block_size": 4096, "blocks": 8, "ctime": 1728755605.5598502, "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": 1728755605.5598502, "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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.335) 0:00:25.178 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.041) 0:00:25.220 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.016581", "end": "2024-10-12 13:53:27.706531", "rc": 1, "start": "2024-10-12 13:53:27.689950" } 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.412) 0:00:25.632 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:53:27 -0400 (0:00:00.057) 0:00:25.690 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003745", "end": "2024-10-12 13:53:29.136196", "rc": 0, "start": "2024-10-12 13:53:28.132451" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:53:29 -0400 (0:00:01.394) 0:00:27.085 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:53:29 -0400 (0:00:00.087) 0:00:27.173 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:01.003769", "end": "2024-10-12 13:53:30.689993", "rc": 0, "start": "2024-10-12 13:53:29.686224" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:53:30 -0400 (0:00:01.453) 0:00:28.627 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 12 October 2024 13:53:30 -0400 (0:00:00.079) 0:00:28.706 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 12 October 2024 13:53:30 -0400 (0:00:00.062) 0:00:28.769 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 12 October 2024 13:53:30 -0400 (0:00:00.066) 0:00:28.836 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:53:31 -0400 (0:00:00.065) 0:00:28.901 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:53:31 -0400 (0:00:00.084) 0:00:28.986 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:53:31 -0400 (0:00:00.227) 0:00:29.214 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:53:31 -0400 (0:00:00.136) 0:00:29.350 ****** 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.031578", "end": "2024-10-12 13:53:31.892467", "rc": 1, "start": "2024-10-12 13:53:31.860889" } 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:65 Saturday 12 October 2024 13:53:31 -0400 (0:00:00.470) 0:00:29.821 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:53:32 -0400 (0:00:00.080) 0:00:29.901 ****** ok: [managed-node2] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:53:32 -0400 (0:00:00.067) 0:00:29.969 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:53:32 -0400 (0:00:00.123) 0:00:30.092 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:53:32 -0400 (0:00:00.093) 0:00:30.186 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:53:32 -0400 (0:00:00.090) 0:00:30.276 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002970", "end": "2024-10-12 13:53:32.722398", "rc": 0, "start": "2024-10-12 13:53:32.719428" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:53:32 -0400 (0:00:00.377) 0:00:30.653 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:53:32 -0400 (0:00:00.040) 0:00:30.694 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:53:32 -0400 (0:00:00.094) 0:00:30.788 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 13:53:33 -0400 (0:00:00.104) 0:00:30.893 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:53:33 -0400 (0:00:00.095) 0:00:30.988 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:53:33 -0400 (0:00:00.097) 0:00:31.086 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:53:33 -0400 (0:00:00.074) 0:00:31.160 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:53:33 -0400 (0:00:00.051) 0:00:31.212 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:53:33 -0400 (0:00:00.048) 0:00:31.260 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:53:34 -0400 (0:00:01.511) 0:00:32.772 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:53:36 -0400 (0:00:01.430) 0:00:34.203 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.046) 0:00:34.249 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.039) 0:00:34.289 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.041) 0:00:34.330 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.039) 0:00:34.370 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.045) 0:00:34.416 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.035) 0:00:34.451 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.038) 0:00:34.489 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.078) 0:00:34.568 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.065) 0:00:34.633 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.034) 0:00:34.667 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.042) 0:00:34.709 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.040) 0:00:34.749 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:53:36 -0400 (0:00:00.056) 0:00:34.806 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:53:37 -0400 (0:00:00.572) 0:00:35.378 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48563tx16fp32/tmpei62lsxc" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:53:37 -0400 (0:00:00.410) 0:00:35.789 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:53:38 -0400 (0:00:00.610) 0:00:36.399 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:53:38 -0400 (0:00:00.100) 0:00:36.500 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:53:38 -0400 (0:00:00.067) 0:00:36.567 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:53:38 -0400 (0:00:00.090) 0:00:36.658 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:53:38 -0400 (0:00:00.058) 0:00:36.716 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 13:53:39 -0400 (0:00:00.381) 0:00:37.097 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:53:39 -0400 (0:00:00.065) 0:00:37.163 ****** included: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 12 October 2024 13:53:39 -0400 (0:00:00.084) 0:00:37.247 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:53:39 -0400 (0:00:00.143) 0:00:37.390 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:53:39 -0400 (0:00:00.136) 0:00:37.527 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:53:39 -0400 (0:00:00.073) 0:00:37.601 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:53:39 -0400 (0:00:00.066) 0:00:37.667 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:53:39 -0400 (0:00:00.056) 0:00:37.724 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:53:41 -0400 (0:00:01.506) 0:00:39.231 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:53:42 -0400 (0:00:01.513) 0:00:40.745 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:53:42 -0400 (0:00:00.048) 0:00:40.794 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:53:42 -0400 (0:00:00.047) 0:00:40.841 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.048) 0:00:40.889 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.038) 0:00:40.928 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.054) 0:00:40.982 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.053) 0:00:41.036 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.068) 0:00:41.104 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.107) 0:00:41.211 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.047) 0:00:41.259 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.091) 0:00:41.351 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.041) 0:00:41.392 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.033) 0:00:41.426 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:53:43 -0400 (0:00:00.035) 0:00:41.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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:53:44 -0400 (0:00:00.549) 0:00:42.010 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48563tx16fp32/tmpvo9tuiyj" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:53:44 -0400 (0:00:00.460) 0:00:42.471 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:53:45 -0400 (0:00:00.696) 0:00:43.168 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:53:45 -0400 (0:00:00.073) 0:00:43.241 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:53:45 -0400 (0:00:00.061) 0:00:43.302 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:53:45 -0400 (0:00:00.060) 0:00:43.363 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:53:45 -0400 (0:00:00.056) 0:00:43.420 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:53:46 -0400 (0:00:00.440) 0:00:43.860 ****** included: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 12 October 2024 13:53:46 -0400 (0:00:00.127) 0:00:43.988 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:53:46 -0400 (0:00:00.105) 0:00:44.094 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728755625.1612837, "block_size": 4096, "blocks": 0, "ctime": 1728755625.1612837, "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": 1728755625.1612837, "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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 12 October 2024 13:53:46 -0400 (0:00:00.380) 0:00:44.474 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:3 Saturday 12 October 2024 13:53:46 -0400 (0:00:00.050) 0:00:44.524 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:53:46 -0400 (0:00:00.100) 0:00:44.625 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:53:46 -0400 (0:00:00.046) 0:00:44.671 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728755625.0082686, "block_size": 4096, "blocks": 8, "ctime": 1728755618.417127, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2301244, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1728755618.417127, "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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:53:47 -0400 (0:00:00.350) 0:00:45.021 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:53:47 -0400 (0:00:00.044) 0:00:45.065 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017098", "end": "2024-10-12 13:53:47.539705", "rc": 1, "start": "2024-10-12 13:53:47.522607" } 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:53:47 -0400 (0:00:00.405) 0:00:45.471 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:53:47 -0400 (0:00:00.107) 0:00:45.579 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002717", "end": "2024-10-12 13:53:48.243986", "rc": 0, "start": "2024-10-12 13:53:48.241269" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:53:48 -0400 (0:00:00.624) 0:00:46.203 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:53:48 -0400 (0:00:00.073) 0:00:46.277 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^# system_role:network", "/etc/sysconfig/network-scripts/ifcfg-statebr" ], "delta": "0:00:00.002647", "end": "2024-10-12 13:53:48.835548", "rc": 0, "start": "2024-10-12 13:53:48.832901" } STDOUT: # system_role:network TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:53:48 -0400 (0:00:00.473) 0:00:46.751 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:5 Saturday 12 October 2024 13:53:48 -0400 (0:00:00.045) 0:00:46.796 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:10 Saturday 12 October 2024 13:53:48 -0400 (0:00:00.038) 0:00:46.834 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_present.yml:15 Saturday 12 October 2024 13:53:49 -0400 (0:00:00.038) 0:00:46.873 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:53:49 -0400 (0:00:00.036) 0:00:46.910 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:53:49 -0400 (0:00:00.030) 0:00:46.940 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:53:49 -0400 (0:00:00.035) 0:00:46.976 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:53:49 -0400 (0:00:00.096) 0:00:47.072 ****** 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.040968", "end": "2024-10-12 13:53:49.614045", "rc": 0, "start": "2024-10-12 13:53:49.573077" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:83 Saturday 12 October 2024 13:53:49 -0400 (0:00:00.470) 0:00:47.543 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:53:49 -0400 (0:00:00.133) 0:00:47.677 ****** ok: [managed-node2] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:53:49 -0400 (0:00:00.046) 0:00:47.723 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:53:49 -0400 (0:00:00.084) 0:00:47.807 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:53:50 -0400 (0:00:00.095) 0:00:47.903 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:53:50 -0400 (0:00:00.091) 0:00:47.994 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002644", "end": "2024-10-12 13:53:50.528013", "rc": 0, "start": "2024-10-12 13:53:50.525369" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:53:50 -0400 (0:00:00.482) 0:00:48.477 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:53:50 -0400 (0:00:00.073) 0:00:48.551 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:53:50 -0400 (0:00:00.043) 0:00:48.594 ****** included: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 13:53:50 -0400 (0:00:00.077) 0:00:48.672 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:53:50 -0400 (0:00:00.058) 0:00:48.731 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:53:50 -0400 (0:00:00.107) 0:00:48.838 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:53:51 -0400 (0:00:00.069) 0:00:48.908 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:53:51 -0400 (0:00:00.054) 0:00:48.962 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:53:51 -0400 (0:00:00.053) 0:00:49.016 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:53:52 -0400 (0:00:01.553) 0:00:50.570 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:53:54 -0400 (0:00:01.456) 0:00:52.026 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:53:54 -0400 (0:00:00.109) 0:00:52.135 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:53:54 -0400 (0:00:00.077) 0:00:52.213 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:53:54 -0400 (0:00:00.074) 0:00:52.288 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:53:54 -0400 (0:00:00.057) 0:00:52.345 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:53:54 -0400 (0:00:00.066) 0:00:52.412 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:53:54 -0400 (0:00:00.057) 0:00:52.469 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:53:54 -0400 (0:00:00.067) 0:00:52.537 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:53:54 -0400 (0:00:00.130) 0:00:52.667 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:53:54 -0400 (0:00:00.084) 0:00:52.751 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:53:54 -0400 (0:00:00.054) 0:00:52.806 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:53:55 -0400 (0:00:00.092) 0:00:52.898 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:53:55 -0400 (0:00:00.094) 0:00:52.993 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:53:55 -0400 (0:00:00.046) 0:00:53.039 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:53:55 -0400 (0:00:00.532) 0:00:53.571 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48563tx16fp32/tmprbkv2zhd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:53:56 -0400 (0:00:00.430) 0:00:54.001 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:53:56 -0400 (0:00:00.746) 0:00:54.748 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:53:56 -0400 (0:00:00.034) 0:00:54.782 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:53:56 -0400 (0:00:00.037) 0:00:54.820 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:53:57 -0400 (0:00:00.037) 0:00:54.857 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:53:57 -0400 (0:00:00.033) 0:00:54.890 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 13:53:57 -0400 (0:00:00.343) 0:00:55.234 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 12 October 2024 13:53:57 -0400 (0:00:00.048) 0:00:55.282 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:53:57 -0400 (0:00:00.103) 0:00:55.385 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:53:57 -0400 (0:00:00.103) 0:00:55.489 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:53:57 -0400 (0:00:00.044) 0:00:55.533 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:53:57 -0400 (0:00:00.034) 0:00:55.568 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:53:57 -0400 (0:00:00.033) 0:00:55.601 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:53:59 -0400 (0:00:01.622) 0:00:57.224 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:54:00 -0400 (0:00:01.414) 0:00:58.638 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:54:00 -0400 (0:00:00.039) 0:00:58.678 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:54:00 -0400 (0:00:00.034) 0:00:58.712 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:54:00 -0400 (0:00:00.059) 0:00:58.772 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:54:00 -0400 (0:00:00.035) 0:00:58.807 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:54:01 -0400 (0:00:00.040) 0:00:58.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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:54:01 -0400 (0:00:00.034) 0:00:58.881 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:54:01 -0400 (0:00:00.046) 0:00:58.928 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:54:01 -0400 (0:00:00.101) 0:00:59.029 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:54:01 -0400 (0:00:00.063) 0:00:59.093 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:54:01 -0400 (0:00:00.064) 0:00:59.157 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:54:01 -0400 (0:00:00.061) 0:00:59.218 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:54:01 -0400 (0:00:00.045) 0:00:59.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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:54:01 -0400 (0:00:00.042) 0:00:59.306 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:54:02 -0400 (0:00:00.677) 0:00:59.983 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48563tx16fp32/tmpe5687tc7" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:54:02 -0400 (0:00:00.499) 0:01:00.483 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:03 -0400 (0:00:00.837) 0:01:01.320 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:03 -0400 (0:00:00.037) 0:01:01.357 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:03 -0400 (0:00:00.037) 0:01:01.395 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:03 -0400 (0:00:00.047) 0:01:01.442 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:03 -0400 (0:00:00.042) 0:01:01.485 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:54:04 -0400 (0:00:00.494) 0:01:01.979 ****** included: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 12 October 2024 13:54:04 -0400 (0:00:00.107) 0:01:02.086 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:04 -0400 (0:00:00.138) 0:01:02.225 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:04 -0400 (0:00:00.127) 0:01:02.352 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:54:04 -0400 (0:00:00.076) 0:01:02.429 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:54:04 -0400 (0:00:00.057) 0:01:02.486 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:54:04 -0400 (0:00:00.050) 0:01:02.537 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:54:06 -0400 (0:00:01.578) 0:01:04.115 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:54:07 -0400 (0:00:01.392) 0:01:05.508 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:54:07 -0400 (0:00:00.037) 0:01:05.545 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:54:07 -0400 (0:00:00.036) 0:01:05.581 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:54:07 -0400 (0:00:00.043) 0:01:05.625 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:54:07 -0400 (0:00:00.055) 0:01:05.680 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:54:07 -0400 (0:00:00.066) 0:01:05.746 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:54:08 -0400 (0:00:00.104) 0:01:05.851 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:54:08 -0400 (0:00:00.055) 0:01:05.907 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:54:08 -0400 (0:00:00.095) 0:01:06.002 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:54:08 -0400 (0:00:00.035) 0:01:06.038 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:54:08 -0400 (0:00:00.034) 0:01:06.073 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:54:08 -0400 (0:00:00.038) 0:01:06.112 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:54:08 -0400 (0:00:00.034) 0:01:06.146 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:54:08 -0400 (0:00:00.034) 0:01:06.180 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:54:08 -0400 (0:00:00.492) 0:01:06.673 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48563tx16fp32/tmp_c343fub" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:54:09 -0400 (0:00:00.344) 0:01:07.018 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:09 -0400 (0:00:00.706) 0:01:07.724 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:09 -0400 (0:00:00.102) 0:01:07.826 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:10 -0400 (0:00:00.128) 0:01:07.955 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:10 -0400 (0:00:00.110) 0:01:08.066 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:10 -0400 (0:00:00.142) 0:01:08.208 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:54:10 -0400 (0:00:00.379) 0:01:08.588 ****** included: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml for managed-node2 included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:3 Saturday 12 October 2024 13:54:10 -0400 (0:00:00.076) 0:01:08.664 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_interface_stat.yml:3 Saturday 12 October 2024 13:54:10 -0400 (0:00:00.093) 0:01:08.758 ****** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1728755643.3008177, "block_size": 4096, "blocks": 0, "ctime": 1728755643.3008177, "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": 1728755643.3008177, "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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_device_present.yml:5 Saturday 12 October 2024 13:54:11 -0400 (0:00:00.540) 0:01:09.298 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 12 October 2024 13:54:11 -0400 (0:00:00.038) 0:01:09.336 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:54:11 -0400 (0:00:00.059) 0:01:09.396 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:54:11 -0400 (0:00:00.034) 0:01:09.430 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:54:11 -0400 (0:00:00.408) 0:01:09.839 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:54:12 -0400 (0:00:00.071) 0:01:09.911 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017650", "end": "2024-10-12 13:54:12.422658", "rc": 1, "start": "2024-10-12 13:54:12.405008" } 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:54:12 -0400 (0:00:00.477) 0:01:10.388 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:54:12 -0400 (0:00:00.082) 0:01:10.471 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:54:12 -0400 (0:00:00.109) 0:01:10.580 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:54:12 -0400 (0:00:00.121) 0:01:10.702 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:54:12 -0400 (0:00:00.088) 0:01:10.790 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 12 October 2024 13:54:13 -0400 (0:00:00.072) 0:01:10.863 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:54:13 -0400 (0:00:00.053) 0:01:10.917 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:54:13 -0400 (0:00:00.036) 0:01:10.953 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:54:13 -0400 (0:00:00.045) 0:01:10.999 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:54:13 -0400 (0:00:00.083) 0:01:11.083 ****** 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.040034", "end": "2024-10-12 13:54:13.572590", "rc": 0, "start": "2024-10-12 13:54:13.532556" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:102 Saturday 12 October 2024 13:54:13 -0400 (0:00:00.423) 0:01:11.506 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:54:13 -0400 (0:00:00.105) 0:01:11.611 ****** ok: [managed-node2] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:54:13 -0400 (0:00:00.089) 0:01:11.700 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:54:13 -0400 (0:00:00.090) 0:01:11.791 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:54:14 -0400 (0:00:00.057) 0:01:11.848 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:54:14 -0400 (0:00:00.054) 0:01:11.903 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002811", "end": "2024-10-12 13:54:14.335270", "rc": 0, "start": "2024-10-12 13:54:14.332459" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:54:14 -0400 (0:00:00.340) 0:01:12.243 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:54:14 -0400 (0:00:00.036) 0:01:12.280 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:54:14 -0400 (0:00:00.036) 0:01:12.317 ****** included: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml for managed-node2 TASK [Include network role] **************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 13:54:14 -0400 (0:00:00.087) 0:01:12.405 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:14 -0400 (0:00:00.082) 0:01:12.487 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:14 -0400 (0:00:00.079) 0:01:12.567 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:54:14 -0400 (0:00:00.088) 0:01:12.655 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:54:14 -0400 (0:00:00.035) 0:01:12.691 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:54:14 -0400 (0:00:00.034) 0:01:12.726 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:54:16 -0400 (0:00:01.521) 0:01:14.247 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:54:17 -0400 (0:00:01.430) 0:01:15.677 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:54:17 -0400 (0:00:00.090) 0:01:15.768 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:54:17 -0400 (0:00:00.053) 0:01:15.821 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.054) 0:01:15.876 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.085) 0:01:15.962 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.096) 0:01:16.058 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.124) 0:01:16.182 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.086) 0:01:16.269 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.124) 0:01:16.393 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.044) 0:01:16.438 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.041) 0:01:16.480 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.039) 0:01:16.519 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.034) 0:01:16.553 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:54:18 -0400 (0:00:00.040) 0:01:16.593 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:54:19 -0400 (0:00:00.607) 0:01:17.200 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48563tx16fp32/tmph1awuxjd" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:54:19 -0400 (0:00:00.497) 0:01:17.698 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:20 -0400 (0:00:00.575) 0:01:18.273 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:20 -0400 (0:00:00.043) 0:01:18.317 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:20 -0400 (0:00:00.065) 0:01:18.383 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:20 -0400 (0:00:00.073) 0:01:18.457 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:20 -0400 (0:00:00.053) 0:01:18.510 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 13:54:21 -0400 (0:00:00.546) 0:01:19.056 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 12 October 2024 13:54:21 -0400 (0:00:00.059) 0:01:19.116 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:21 -0400 (0:00:00.082) 0:01:19.198 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:21 -0400 (0:00:00.118) 0:01:19.317 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:54:21 -0400 (0:00:00.077) 0:01:19.394 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:54:21 -0400 (0:00:00.067) 0:01:19.461 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:54:21 -0400 (0:00:00.041) 0:01:19.503 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:54:23 -0400 (0:00:01.536) 0:01:21.040 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:54:24 -0400 (0:00:01.407) 0:01:22.447 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:54:24 -0400 (0:00:00.051) 0:01:22.499 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:54:24 -0400 (0:00:00.042) 0:01:22.541 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:54:24 -0400 (0:00:00.045) 0:01:22.587 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:54:24 -0400 (0:00:00.072) 0:01:22.659 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:54:24 -0400 (0:00:00.041) 0:01:22.701 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:54:24 -0400 (0:00:00.034) 0:01:22.736 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:54:24 -0400 (0:00:00.039) 0:01:22.775 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:54:24 -0400 (0:00:00.068) 0:01:22.844 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:54:25 -0400 (0:00:00.034) 0:01:22.879 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:54:25 -0400 (0:00:00.039) 0:01:22.919 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:54:25 -0400 (0:00:00.058) 0:01:22.977 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:54:25 -0400 (0:00:00.056) 0:01:23.034 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:54:25 -0400 (0:00:00.047) 0:01:23.081 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:54:25 -0400 (0:00:00.521) 0:01:23.602 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48563tx16fp32/tmph5io0itg" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:54:26 -0400 (0:00:00.405) 0:01:24.008 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:27 -0400 (0:00:01.052) 0:01:25.060 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:27 -0400 (0:00:00.036) 0:01:25.096 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:27 -0400 (0:00:00.041) 0:01:25.138 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:27 -0400 (0:00:00.056) 0:01:25.195 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:27 -0400 (0:00:00.056) 0:01:25.251 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove_profile.yml:3 Saturday 12 October 2024 13:54:27 -0400 (0:00:00.434) 0:01:25.686 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:27 -0400 (0:00:00.058) 0:01:25.744 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:27 -0400 (0:00:00.067) 0:01:25.812 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:54:28 -0400 (0:00:00.041) 0:01:25.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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:54:28 -0400 (0:00:00.034) 0:01:25.888 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:54:28 -0400 (0:00:00.039) 0:01:25.928 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:54:29 -0400 (0:00:01.587) 0:01:27.515 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:54:31 -0400 (0:00:01.414) 0:01:28.930 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:54:31 -0400 (0:00:00.037) 0:01:28.968 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:54:31 -0400 (0:00:00.036) 0:01:29.004 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:54:31 -0400 (0:00:00.035) 0:01:29.040 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:54:31 -0400 (0:00:00.035) 0:01:29.075 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:54:31 -0400 (0:00:00.042) 0:01:29.118 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:54:31 -0400 (0:00:00.068) 0:01:29.186 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:54:31 -0400 (0:00:00.043) 0:01:29.230 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:54:31 -0400 (0:00:00.072) 0:01:29.303 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:54:31 -0400 (0:00:00.037) 0:01:29.341 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:54:31 -0400 (0:00:00.038) 0:01:29.379 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:54:31 -0400 (0:00:00.042) 0:01:29.421 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:54:31 -0400 (0:00:00.046) 0:01:29.468 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:54:31 -0400 (0:00:00.055) 0:01:29.523 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:54:32 -0400 (0:00:00.695) 0:01:30.219 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48563tx16fp32/tmpx8hwx3gi" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:54:32 -0400 (0:00:00.395) 0:01:30.614 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:33 -0400 (0:00:00.495) 0:01:31.109 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:33 -0400 (0:00:00.057) 0:01:31.167 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:33 -0400 (0:00:00.084) 0:01:31.251 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:33 -0400 (0:00:00.104) 0:01:31.356 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:33 -0400 (0:00:00.071) 0:01:31.427 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:54:34 -0400 (0:00:00.419) 0:01:31.847 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 12 October 2024 13:54:34 -0400 (0:00:00.156) 0:01:32.004 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:34 -0400 (0:00:00.126) 0:01:32.131 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:34 -0400 (0:00:00.118) 0:01:32.249 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:54:34 -0400 (0:00:00.055) 0:01:32.304 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:54:34 -0400 (0:00:00.041) 0:01:32.346 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:54:34 -0400 (0:00:00.042) 0:01:32.389 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:54:36 -0400 (0:00:01.485) 0:01:33.874 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:54:37 -0400 (0:00:01.369) 0:01:35.243 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.038) 0:01:35.282 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.037) 0:01:35.319 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.035) 0:01:35.354 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.036) 0:01:35.390 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.075) 0:01:35.466 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.035) 0:01:35.501 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.042) 0:01:35.544 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.071) 0:01:35.615 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.037) 0:01:35.652 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.047) 0:01:35.700 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.068) 0:01:35.768 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:54:37 -0400 (0:00:00.056) 0:01:35.824 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:54:38 -0400 (0:00:00.056) 0:01:35.881 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:54:38 -0400 (0:00:00.599) 0:01:36.480 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48563tx16fp32/tmp4srtsltu" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:54:38 -0400 (0:00:00.354) 0:01:36.835 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:39 -0400 (0:00:00.538) 0:01:37.374 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:39 -0400 (0:00:00.034) 0:01:37.408 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:39 -0400 (0:00:00.069) 0:01:37.477 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:39 -0400 (0:00:00.038) 0:01:37.516 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:39 -0400 (0:00:00.039) 0:01:37.555 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:54:40 -0400 (0:00:00.371) 0:01:37.927 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 12 October 2024 13:54:40 -0400 (0:00:00.104) 0:01:38.031 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:54:40 -0400 (0:00:00.106) 0:01:38.138 ****** ok: [managed-node2] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:54:40 -0400 (0:00:00.059) 0:01:38.197 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:54:40 -0400 (0:00:00.560) 0:01:38.758 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:54:40 -0400 (0:00:00.065) 0:01:38.823 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017546", "end": "2024-10-12 13:54:41.359515", "rc": 1, "start": "2024-10-12 13:54:41.341969" } 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:54:41 -0400 (0:00:00.445) 0:01:39.268 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:54:41 -0400 (0:00:00.043) 0:01:39.312 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:54:41 -0400 (0:00:00.057) 0:01:39.370 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:54:41 -0400 (0:00:00.132) 0:01:39.503 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:54:41 -0400 (0:00:00.071) 0:01:39.574 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 12 October 2024 13:54:41 -0400 (0:00:00.109) 0:01:39.683 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:54:41 -0400 (0:00:00.074) 0:01:39.757 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:54:41 -0400 (0:00:00.062) 0:01:39.820 ****** ok: [managed-node2] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:54:42 -0400 (0:00:00.056) 0:01:39.877 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:54:42 -0400 (0:00:00.111) 0:01:39.988 ****** 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.044218", "end": "2024-10-12 13:54:42.569477", "rc": 0, "start": "2024-10-12 13:54:42.525259" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Include the task 'run_test.yml'] ***************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tests_states.yml:124 Saturday 12 October 2024 13:54:42 -0400 (0:00:00.513) 0:01:40.501 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:5 Saturday 12 October 2024 13:54:42 -0400 (0:00:00.126) 0:01:40.628 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:9 Saturday 12 October 2024 13:54:42 -0400 (0:00:00.061) 0:01:40.690 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:21 Saturday 12 October 2024 13:54:42 -0400 (0:00:00.119) 0:01:40.809 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:3 Saturday 12 October 2024 13:54:43 -0400 (0:00:00.101) 0:01:40.911 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Saturday 12 October 2024 13:54:43 -0400 (0:00:00.116) 0:01:41.027 ****** ok: [managed-node2] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002590", "end": "2024-10-12 13:54:43.484778", "rc": 0, "start": "2024-10-12 13:54:43.482188" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Saturday 12 October 2024 13:54:43 -0400 (0:00:00.403) 0:01:41.431 ****** ok: [managed-node2] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/show_interfaces.yml:5 Saturday 12 October 2024 13:54:43 -0400 (0:00:00.096) 0:01:41.527 ****** ok: [managed-node2] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:24 Saturday 12 October 2024 13:54:43 -0400 (0:00:00.107) 0:01:41.635 ****** included: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml for managed-node2 included: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml for managed-node2 included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Saturday 12 October 2024 13:54:43 -0400 (0:00:00.197) 0:01:41.833 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:44 -0400 (0:00:00.095) 0:01:41.929 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:44 -0400 (0:00:00.107) 0:01:42.036 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:54:44 -0400 (0:00:00.056) 0:01:42.093 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:54:44 -0400 (0:00:00.043) 0:01:42.136 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:54:44 -0400 (0:00:00.040) 0:01:42.177 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:54:45 -0400 (0:00:01.637) 0:01:43.814 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:54:47 -0400 (0:00:01.390) 0:01:45.205 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:54:47 -0400 (0:00:00.037) 0:01:45.243 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:54:47 -0400 (0:00:00.052) 0:01:45.295 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:54:47 -0400 (0:00:00.043) 0:01:45.338 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:54:47 -0400 (0:00:00.064) 0:01:45.402 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:54:47 -0400 (0:00:00.068) 0:01:45.471 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:54:47 -0400 (0:00:00.079) 0:01:45.551 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:54:47 -0400 (0:00:00.051) 0:01:45.603 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:54:47 -0400 (0:00:00.099) 0:01:45.703 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:54:47 -0400 (0:00:00.054) 0:01:45.757 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:54:47 -0400 (0:00:00.059) 0:01:45.816 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:54:48 -0400 (0:00:00.064) 0:01:45.881 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:54:48 -0400 (0:00:00.057) 0:01:45.939 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:54:48 -0400 (0:00:00.065) 0:01:46.004 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:54:48 -0400 (0:00:00.614) 0:01:46.619 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48563tx16fp32/tmp7_mls2a9" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:54:49 -0400 (0:00:00.420) 0:01:47.039 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:49 -0400 (0:00:00.699) 0:01:47.739 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:49 -0400 (0:00:00.036) 0:01:47.775 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:49 -0400 (0:00:00.039) 0:01:47.815 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:50 -0400 (0:00:00.079) 0:01:47.895 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:50 -0400 (0:00:00.059) 0:01:47.954 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Saturday 12 October 2024 13:54:50 -0400 (0:00:00.387) 0:01:48.342 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/activate_profile.yml:3 Saturday 12 October 2024 13:54:50 -0400 (0:00:00.046) 0:01:48.389 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:50 -0400 (0:00:00.061) 0:01:48.451 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:50 -0400 (0:00:00.090) 0:01:48.541 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:54:50 -0400 (0:00:00.072) 0:01:48.613 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:54:50 -0400 (0:00:00.065) 0:01:48.679 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:54:50 -0400 (0:00:00.077) 0:01:48.757 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:54:52 -0400 (0:00:01.632) 0:01:50.390 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:54:54 -0400 (0:00:01.456) 0:01:51.846 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:54:54 -0400 (0:00:00.038) 0:01:51.885 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:54:54 -0400 (0:00:00.049) 0:01:51.934 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:54:54 -0400 (0:00:00.048) 0:01:51.983 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:54:54 -0400 (0:00:00.061) 0:01:52.044 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:54:54 -0400 (0:00:00.069) 0:01:52.113 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:54:54 -0400 (0:00:00.056) 0:01:52.170 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:54:54 -0400 (0:00:00.063) 0:01:52.233 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:54:54 -0400 (0:00:00.195) 0:01:52.429 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:54:54 -0400 (0:00:00.061) 0:01:52.490 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:54:54 -0400 (0:00:00.059) 0:01:52.550 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:54:54 -0400 (0:00:00.073) 0:01:52.623 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:54:54 -0400 (0:00:00.069) 0:01:52.692 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:54:54 -0400 (0:00:00.056) 0:01:52.749 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:54:55 -0400 (0:00:00.539) 0:01:53.288 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48563tx16fp32/tmp15q84i7a" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:54:55 -0400 (0:00:00.408) 0:01:53.697 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.698) 0:01:54.395 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.035) 0:01:54.431 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.039) 0:01:54.470 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.084) 0:01:54.555 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:54:56 -0400 (0:00:00.059) 0:01:54.614 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 12 October 2024 13:54:57 -0400 (0:00:00.397) 0:01:55.012 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:54:57 -0400 (0:00:00.104) 0:01:55.116 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:54:57 -0400 (0:00:00.125) 0:01:55.241 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:54:57 -0400 (0:00:00.059) 0:01:55.301 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:54:57 -0400 (0:00:00.047) 0:01:55.348 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:54:57 -0400 (0:00:00.039) 0:01:55.388 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:54:59 -0400 (0:00:01.588) 0:01:56.976 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:55:00 -0400 (0:00:01.478) 0:01:58.455 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:55:00 -0400 (0:00:00.065) 0:01:58.520 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:55:00 -0400 (0:00:00.099) 0:01:58.620 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:55:00 -0400 (0:00:00.062) 0:01:58.682 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:55:00 -0400 (0:00:00.067) 0:01:58.750 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:55:00 -0400 (0:00:00.075) 0:01:58.826 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:55:01 -0400 (0:00:00.095) 0:01:58.922 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:55:01 -0400 (0:00:00.067) 0:01:58.989 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:55:01 -0400 (0:00:00.116) 0:01:59.106 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:55:01 -0400 (0:00:00.099) 0:01:59.205 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:55:01 -0400 (0:00:00.049) 0:01:59.254 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:55:01 -0400 (0:00:00.097) 0:01:59.352 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:55:01 -0400 (0:00:00.086) 0:01:59.439 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:55:01 -0400 (0:00:00.081) 0:01:59.520 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:55:02 -0400 (0:00:00.573) 0:02:00.094 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48563tx16fp32/tmpx5t1k7ld" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:55:02 -0400 (0:00:00.403) 0:02:00.497 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:55:03 -0400 (0:00:00.562) 0:02:01.060 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:55:03 -0400 (0:00:00.061) 0:02:01.121 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:55:03 -0400 (0:00:00.058) 0:02:01.179 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:55:03 -0400 (0:00:00.052) 0:02:01.232 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:55:03 -0400 (0:00:00.051) 0:02:01.284 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:30 Saturday 12 October 2024 13:55:03 -0400 (0:00:00.383) 0:02:01.668 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/remove+down_profile.yml:3 Saturday 12 October 2024 13:55:03 -0400 (0:00:00.064) 0:02:01.732 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Saturday 12 October 2024 13:55:03 -0400 (0:00:00.059) 0:02:01.792 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Saturday 12 October 2024 13:55:04 -0400 (0:00:00.068) 0:02:01.860 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:12 Saturday 12 October 2024 13:55:04 -0400 (0:00:00.044) 0:02:01.905 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:17 Saturday 12 October 2024 13:55:04 -0400 (0:00:00.043) 0:02:01.948 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 Saturday 12 October 2024 13:55:04 -0400 (0:00:00.038) 0:02:01.986 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 Saturday 12 October 2024 13:55:05 -0400 (0:00:01.539) 0:02:03.526 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Saturday 12 October 2024 13:55:07 -0400 (0:00:01.376) 0:02:04.903 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Saturday 12 October 2024 13:55:07 -0400 (0:00:00.039) 0:02:04.942 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Saturday 12 October 2024 13:55:07 -0400 (0:00:00.034) 0:02:04.977 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:25 Saturday 12 October 2024 13:55:07 -0400 (0:00:00.038) 0:02:05.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 DNF package manager due to wireless or team interfaces] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:36 Saturday 12 October 2024 13:55:07 -0400 (0:00:00.056) 0:02:05.072 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:48 Saturday 12 October 2024 13:55:07 -0400 (0:00:00.064) 0:02:05.136 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:60 Saturday 12 October 2024 13:55:07 -0400 (0:00:00.059) 0:02:05.196 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:73 Saturday 12 October 2024 13:55:07 -0400 (0:00:00.067) 0:02:05.263 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:85 Saturday 12 October 2024 13:55:07 -0400 (0:00:00.105) 0:02:05.369 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:96 Saturday 12 October 2024 13:55:07 -0400 (0:00:00.086) 0:02:05.455 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:109 Saturday 12 October 2024 13:55:07 -0400 (0:00:00.043) 0:02:05.499 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:122 Saturday 12 October 2024 13:55:07 -0400 (0:00:00.051) 0:02:05.551 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Saturday 12 October 2024 13:55:07 -0400 (0:00:00.041) 0:02:05.593 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:142 Saturday 12 October 2024 13:55:07 -0400 (0:00:00.035) 0:02:05.629 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:150 Saturday 12 October 2024 13:55:08 -0400 (0:00:00.515) 0:02:06.145 ****** ok: [managed-node2] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-48563tx16fp32/tmponrh4fk1" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:159 Saturday 12 October 2024 13:55:08 -0400 (0:00:00.397) 0:02:06.542 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:171 Saturday 12 October 2024 13:55:09 -0400 (0:00:00.519) 0:02:07.061 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:177 Saturday 12 October 2024 13:55:09 -0400 (0:00:00.054) 0:02:07.115 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:181 Saturday 12 October 2024 13:55:09 -0400 (0:00:00.049) 0:02:07.164 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:186 Saturday 12 October 2024 13:55:09 -0400 (0:00:00.043) 0:02:07.207 ****** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:192 Saturday 12 October 2024 13:55:09 -0400 (0:00:00.035) 0:02:07.243 ****** ok: [managed-node2] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:36 Saturday 12 October 2024 13:55:09 -0400 (0:00:00.366) 0:02:07.609 ****** included: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml for managed-node2 included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Saturday 12 October 2024 13:55:09 -0400 (0:00:00.118) 0:02:07.727 ****** included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:3 Saturday 12 October 2024 13:55:09 -0400 (0:00:00.098) 0:02:07.826 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:9 Saturday 12 October 2024 13:55:10 -0400 (0:00:00.056) 0:02:07.882 ****** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:17 Saturday 12 October 2024 13:55:10 -0400 (0:00:00.371) 0:02:08.254 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:25 Saturday 12 October 2024 13:55:10 -0400 (0:00:00.051) 0:02:08.305 ****** fatal: [managed-node2]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017666", "end": "2024-10-12 13:55:10.799654", "rc": 1, "start": "2024-10-12 13:55:10.781988" } 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:35 Saturday 12 October 2024 13:55:10 -0400 (0:00:00.431) 0:02:08.737 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:49 Saturday 12 October 2024 13:55:10 -0400 (0:00:00.059) 0:02:08.796 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:56 Saturday 12 October 2024 13:55:10 -0400 (0:00:00.046) 0:02:08.842 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:62 Saturday 12 October 2024 13:55:11 -0400 (0:00:00.065) 0:02:08.908 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_profile_stat.yml:69 Saturday 12 October 2024 13:55:11 -0400 (0:00:00.059) 0:02:08.967 ****** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/assert_profile_absent.yml:5 Saturday 12 October 2024 13:55:11 -0400 (0:00:00.068) 0:02:09.035 ****** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 12 October 2024 13:55:11 -0400 (0:00:00.124) 0:02:09.159 ****** [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.847741", "end": "2024-10-12 13:55:12.478802", "rc": 0, "start": "2024-10-12 13:55:11.631061" } STDOUT: NetworkManager-1.40.16-15.el8 TASK [Store NetworkManager version] ******************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 12 October 2024 13:55:12 -0400 (0:00:01.228) 0:02:10.388 ****** ok: [managed-node2] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 12 October 2024 13:55:12 -0400 (0:00:00.036) 0:02:10.425 ****** ok: [managed-node2] => { "networkmanager_nvr": "NetworkManager-1.40.16-15.el8" } TASK [Conditional asserts] ***************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:42 Saturday 12 October 2024 13:55:12 -0400 (0:00:00.036) 0:02:10.461 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:47 Saturday 12 October 2024 13:55:12 -0400 (0:00:00.040) 0:02:10.501 ****** 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/run_test.yml:66 Saturday 12 October 2024 13:55:12 -0400 (0:00:00.036) 0:02:10.537 ****** included: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml for managed-node2 included: /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 12 October 2024 13:55:12 -0400 (0:00:00.072) 0:02:10.610 ****** 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.044757", "end": "2024-10-12 13:55:13.090516", "rc": 0, "start": "2024-10-12 13:55:13.045759" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. TASK [Check routes and DNS] **************************************************** task path: /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:6 Saturday 12 October 2024 13:55:13 -0400 (0:00:00.388) 0:02:10.999 ****** 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.008006", "end": "2024-10-12 13:55:13.441780", "rc": 0, "start": "2024-10-12 13:55:13.433774" } 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 0a:ff:e8:02:77:79 brd ff:ff:ff:ff:ff:ff inet 10.31.13.200/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2774sec preferred_lft 2774sec inet6 fe80::8ff:e8ff:fe02:7779/64 scope link valid_lft forever preferred_lft forever 50: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 72:0c:a1:2d:4a:84 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.12.1 dev eth0 proto dhcp src 10.31.13.200 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.200 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-m5B/ansible_collections/fedora/linux_system_roles/tests/network/playbooks/tasks/check_network_dns.yml:24 Saturday 12 October 2024 13:55:13 -0400 (0:00:00.384) 0:02:11.384 ****** 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.137386", "end": "2024-10-12 13:55:13.969904", "rc": 0, "start": "2024-10-12 13:55:13.832518" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 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 11730 0 --:--:-- --:--:-- --:--:-- 11730 % 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 3306 0 --:--:-- --:--:-- --:--:-- 3306 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 12 October 2024 13:55:14 -0400 (0:00:00.476) 0:02:11.860 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.74s /tmp/collections-m5B/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-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.62s /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.60s /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.59s /tmp/collections-m5B/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-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.58s /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.55s /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.54s /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.53s /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.53s /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.52s /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.51s /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.51s /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which services are running ---- 1.49s /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:21 fedora.linux_system_roles.network : Check which packages are installed --- 1.48s /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26 fedora.linux_system_roles.network : Check which packages are installed --- 1.46s /tmp/collections-m5B/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:26